Jump to content

rutopy

Members
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    rutopy reacted to gnome3 in [Orange Pi One] VDPAU mpeg4 problem   
    Hello All,
     
    I have Orange Pi one board with Armbian 5.20 Desktop and Kodi/mpv/mplayer installed.
    I want to make OP1 a home media center.
    Desktop is set to 1080p60 (1920x1080p 60Hz, by h3disp script).
     
    My problem:
    Everything works perfect when playing videos mkv (x264/h264), mpeg2, mpeg etc. for mpv, mplayer, kodi even 1080p materials.
    But I have a problem playing videos coded with MPEG4 (popular avi xvid).
     
    MPV config:
    vo=vdpau
    hwdec=vdpau
    fs=yes
    framedrop=vo
    Video looks like this: http://pasteboard.co/i5YOuOebV.jpg
    When I use vo=x11 and video is not in fullscreen everyting is OK, on full screen i get:
    LIBGL: Initialising glshim Playing: The.English.Patient[Eng]Dvdrip.Dino.avi (+) Video --vid=1 (mpeg4) (+) Audio --aid=1 (mp3) [vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO. VO does not support requested hardware decoder, or loading it failed. AO: [pulse] 44100Hz stereo 2ch s16 Using software decoding. VO: [x11] 624x336 yuv420p [osd/libass] PlayResX undefined, setting to -1 AV: 00:00:03 / 02:35:08 (0%) A-V: 0.018 Dropped: 66 [ffmpeg] swscaler: No accelerated colorspace conversion found from yuv420p to bgra. AV: 00:00:03 / 02:35:08 (0%) A-V: 0.000 Dropped: 67 [vo/x11] can't keep up! Waiting for XShm completion events... AV: 00:00:15 / 02:35:08 (0%) A-V: 0.000 Dropped: 142 [ffmpeg] swscaler: No accelerated colorspace conversion found from yuv420p to bgra. AV: 00:00:19 / 02:35:08 (0%) A-V: 0.000 Dropped: 147 and image freezes or is see one frame every 1 second.
     
    Mplayer/SMplayer
    Evething is set to auto.
    Video looks like this: http://pasteboard.co/i62Avb8k9.jpg
    VLC behaves the same like mplayer.
     
    Kodi:
    Video look normal but it has only 15fps and there are frames drops.
    http://pasteboard.co/i6iSVoB2A.png
     
    vdpauinfo output:
    [VDPAU SUNXI] VE version 0x1680 opened [VDPAU SUNXI] OSD enabled, using pixman display: :0 screen: 0 API version: 1 Information string: sunxi VDPAU Driver Video surface: name width height types ------------------------------------------- 420 8192 8192 NV12 YV12 Decoder capabilities: name level macbs width height ------------------------------------------- MPEG1 0 32400 3840 2160 MPEG2_SIMPLE 3 32400 3840 2160 MPEG2_MAIN 3 32400 3840 2160 H264_BASELINE 51 32400 3840 2160 H264_MAIN 51 32400 3840 2160 H264_HIGH 51 32400 3840 2160 MPEG4_PART2_SP 5 32400 3840 2160 MPEG4_PART2_ASP 5 32400 3840 2160 Output surface: name width height nat types ---------------------------------------------------- B8G8R8A8 8192 8192 - R8G8B8A8 8192 8192 - Bitmap surface: name width height ------------------------------ B8G8R8A8 8192 8192 R8G8B8A8 8192 8192 Video mixer: feature name sup ------------------------------------ DEINTERLACE_TEMPORAL - DEINTERLACE_TEMPORAL_SPATIAL - INVERSE_TELECINE - NOISE_REDUCTION - SHARPNESS - LUMA_KEY - HIGH QUALITY SCALING - L1 - HIGH QUALITY SCALING - L2 - HIGH QUALITY SCALING - L3 - HIGH QUALITY SCALING - L4 - HIGH QUALITY SCALING - L5 - HIGH QUALITY SCALING - L6 - HIGH QUALITY SCALING - L7 - HIGH QUALITY SCALING - L8 - HIGH QUALITY SCALING - L9 - parameter name sup min max ----------------------------------------------------- VIDEO_SURFACE_WIDTH y 0 8192 VIDEO_SURFACE_HEIGHT y 0 8192 CHROMA_TYPE y LAYERS y 0 0 attribute name sup min max ----------------------------------------------------- BACKGROUND_COLOR - CSC_MATRIX - NOISE_REDUCTION_LEVEL - SHARPNESS_LEVEL - LUMA_KEY_MIN_LUMA - LUMA_KEY_MAX_LUMA - Video file information:
    Playing The.English.Patient[Eng]Dvdrip.Dino.avi. Detected file format: AVI (Audio Video Interleaved) (libavformat) [lavf] stream 0: video (mpeg4), -vid 0 [lavf] stream 1: audio (mp3), -aid 0 [ass] Shaper: FriBidi 0.19.6 (SIMPLE) HarfBuzz-ng 0.9.35 (COMPLEX) [ass] Using font provider fontconfig Clip info: encoder: VirtualDubMod 1.5.4.1 (build 2178/release) Load subtitles in . [VDPAU SUNXI] VE version 0x1680 opened [VDPAU SUNXI] OSD enabled, using pixman Selected video codec: MPEG-4 part 2 [libavcodec] Selected audio codec: MPEG 1.0/2.0/2.5 layers I, II, III [mpg123] AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.27% (ratio: 4000->176400) AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample) Starting playback... VIDEO: 624x336 25.000 fps 0.0 kbps ( 0.0 kB/s) VO: [vdpau] 624x336 => 624x336 Planar YV12 Please help me solve this problem, so i could watch mpeg4 videos.
  2. Like
    rutopy reacted to Igor in BananaPiPro. Video Accelerated No Work.   
    No support for this feature in the modern kernel yet. It's also written at the download page and some other places.
  3. Like
    rutopy reacted to rufik in How to upgrade legacy to mainline orange pi pc?   
    Ups, thanks for info.
    How can I revert it? Just change repo and apt-get upgrade?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines