[SOLVED] Faulty video output with mpv/mplayer, vaapi

Hi,
I have a HD6870 with the proprietary catalyst drivers installed, and the packages needed to enable vaapi. The problem I have is that every video application like mpv, mplayer or whatever refuses to give me correct video output with vaapi. mpv for example gives me these errors, depending on filetype:
avi:
(+) Video --vid=1 (h264)
(+) Audio --aid=1 (mp3)
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'xvba'
libva info: Trying to open /usr/lib/dri//xvba_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'xvba'
libva info: Trying to open /usr/lib/dri//xvba_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
Using hardware decoding.
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'xvba'
libva info: Trying to open /usr/lib/dri//xvba_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
AO: [alsa] 48000Hz stereo 2ch s16
[vaapi] Decoder profile 'VAProfileH264Main' not available.
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
Error while decoding frame!
Error using hardware decoding, falling back to software decoding.
mp4:
(+) Video --vid=1 (*) (h264)
(+) Audio --aid=1 --alang=eng (*) (aac)
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'xvba'
libva info: Trying to open /usr/lib/dri//xvba_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'xvba'
libva info: Trying to open /usr/lib/dri//xvba_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
Using hardware decoding.
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'xvba'
libva info: Trying to open /usr/lib/dri//xvba_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
AO: [alsa] 48000Hz stereo 2ch float
xvba_video: XVBA_CreateDecode(): status 2
[vaapi] vaCreateContext(): unknown libva error
[ffmpeg/video] h264: decode_slice_header error
[ffmpeg/video] h264: no frame!
Error while decoding frame!
Error using hardware decoding, falling back to software decoding.
wmv:
(+) Video --vid=1 (wmv3)
(+) Audio --aid=1 --alang=eng (wmav2)
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'xvba'
libva info: Trying to open /usr/lib/dri//xvba_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'xvba'
libva info: Trying to open /usr/lib/dri//xvba_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
Using hardware decoding.
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'xvba'
libva info: Trying to open /usr/lib/dri//xvba_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
xvba_video: XVBA_CreateDecode(): status 2
[vaapi] vaCreateContext(): unknown libva error
xvba_video: XVBA_CreateDecode(): status 2
[vaapi] vaCreateContext(): unknown libva error
[ffmpeg/video] wmv3: decoding to AV_PIX_FMT_NONE is not supported.
Could not open codec.
Error initializing hardware decoding, falling back to software decoding.
mpv doesn't crash, it just falls back to software decoding and gives me a grey screen when it's not fullscreen, and when it's fullscreen it tears a lot and flashes random grey stripes everywhere - sound still works fine. Any ideas on what can be at fault here? The only video output that gives me an OK image without tearing or anything else is x11, but it's really slow.
vainfo gives me this:
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'xvba'
libva info: Trying to open /usr/lib/dri//xvba_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.37 (libva 1.5.1)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.8.0
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
Last edited by Median (2015-06-07 10:01:38)

Gusar wrote:
Uninstall libva-xvba-driver and do
export LIBVA_DRIVER_NAME=fglrx
Now try vainfo again. Instead of "Splitted-Desktop Systems XvBA backend for VA-API - 0.8.0" it should say "AMD MMD 1.0" or something like that.
Thanks, now VA-API at least gives me an output - but the video just flashes in fullscreen. I think another thing to notice here is that the video only plays correctly (gives me an output), if I play it on monitor 1 (I use three monitors) - but I can't get rid of the screen flashing.
EDIT: Fullscreen only flashes when I use mpv, with smplayer (+mpv) it works ok - but it lags from time to time. mplayer-vaapi won't give me a smooth playback either with -vo and -va as vaapi, and the screen also flashes when I'm using it.
Any idea on what's wrong? Is it my use of three monitors? This is really, really annoying.
Last edited by Median (2015-06-06 18:51:40)

Similar Messages

  • Mac2TV (Video Output) with Radeon X1900 soon? Please?

    Has anyone got this to work? ATI can we expect this anytime soon?
    "Mac2TV (Video Output) with RADEON Cards
    The RADEON X1900 G5 Mac Edition product does support TV out functionality, albeit this version of ATI Displays does not currently support Mac2TV features at this time."
    -Jonathan

    The Apple DVI to Video adapter should work on one port of the 1900
    <http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=6C 04E07A&nplm=M9267G%2FA>

  • [SOLVED]X11 video output only with ati open source drivers

    Hi everyone,
    my nvidia graphics card died recently and I replaced it with an ATI Radeon HD 4870, which in hindsight might have been a mistake.
    I installed the catalyst driver at first, ran into some problems, finally decided to switch to the open source xf86-video-ati driver. Followed the ati wiki, but ended up with X11 video output only. Can't watch anything full screen, general performance is sluggish. The output of xvinfo is:
    screen #0
    no adaptors present
    Here are the (hopefully) relevant parts of my xorg.conf:
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "dri2"
    Load "dbe"
    Load "record"
    Load "glx"
    Load "extmod"
    Load "dri"
    Load "drm"
    EndSection
    Section "Monitor"
    #DisplaySize 470 300 # mm
    Identifier "Monitor0"
    VendorName "SAM"
    ModelName "SyncMaster"
    HorizSync 30.0 - 81.0
    VertRefresh 56.0 - 75.0
    Option "DPMS"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" # [<bool>]
    #Option "SWcursor" # [<bool>]
    #Option "Dac6Bit" # [<bool>]
    #Option "Dac8Bit" # [<bool>]
    #Option "BusType" # [<str>]
    #Option "CPPIOMode" # [<bool>]
    #Option "CPusecTimeout" # <i>
    Option "AGPMode" "8"
    #Option "AGPFastWrite" # [<bool>]
    #Option "AGPSize" # <i>
    #Option "GARTSize" # <i>
    #Option "RingSize" # <i>
    #Option "BufferSize" # <i>
    #Option "EnableDepthMoves" # [<bool>]
    #Option "EnablePageFlip" # [<bool>]
    #Option "NoBackBuffer" # [<bool>]
    #Option "DMAForXv" # [<bool>]
    #Option "FBTexPercent" # <i>
    #Option "DepthBits" # <i>
    #Option "PCIAPERSize" # <i>
    #Option "AccelDFS" # [<bool>]
    #Option "IgnoreEDID" # [<bool>]
    #Option "DisplayPriority" # [<str>]
    #Option "PanelSize" # [<str>]
    #Option "ForceMinDotClock" # <freq>
    Option "ColorTiling" "on"
    #Option "VideoKey" # <i>
    #Option "RageTheatreCrystal" # <i>
    #Option "RageTheatreTunerPort" # <i>
    #Option "RageTheatreCompositePort" # <i>
    #Option "RageTheatreSVideoPort" # <i>
    #Option "TunerType" # <i>
    #Option "RageTheatreMicrocPath" # <str>
    #Option "RageTheatreMicrocType" # <str>
    #Option "ScalerWidth" # <i>
    #Option "RenderAccel" # [<bool>]
    #Option "SubPixelOrder" # [<str>]
    #Option "ShowCache" # [<bool>]
    #Option "DynamicClocks" # [<bool>]
    #Option "VGAAccess" # [<bool>]
    #Option "ReverseDDC" # [<bool>]
    #Option "LVDSProbePLL" # [<bool>]
    Option "AccelMethod" "EXA"
    #Option "DRI" # [<bool>]
    #Option "ConnectorTable" # <str>
    #Option "DefaultConnectorTable" # [<bool>]
    #Option "DefaultTMDSPLL" # [<bool>]
    #Option "TVDACLoadDetect" # [<bool>]
    #Option "ForceTVOut" # [<bool>]
    #Option "TVStandard" # <str>
    #Option "IgnoreLidStatus" # [<bool>]
    #Option "DefaultTVDACAdj" # [<bool>]
    #Option "Int10" # [<bool>]
    #Option "EXAVSync" # [<bool>]
    #Option "ATOMTVOut" # [<bool>]
    #Option "R4xxATOM" # [<bool>]
    Identifier "Card0"
    Driver "radeon"
    VendorName "ATI Technologies Inc"
    BoardName "RV770 [Radeon HD 4870]"
    BusID "PCI:1:0:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Section "DRI"
    Mode 0666
    EndSection
    Any ideas?
    Last edited by Raisuli (2009-05-31 16:08:41)

    I think I had XV with this stuff: xf86-video-radeonhd-git-r6xx-r7xx and drm-radeon-module-git-r6xx-r7xx

  • [solved]No video output in Skype with nvidia driver - vesa works fine!

    Hi,
    I'm struggling to get Skype video working. The webcam works perfectly - the other side can see me. But I can see neither myself nor my opponent - the corresponding place in the Skype window just gets white. It doesn't matter whether Compiz is active or not. I can also see myself when using cheese, video output also works properly.
    Now, I supposed that it's an issue with my graphics driver (the proprietary nvidia driver) and changed it to vesa in the xorg.conf. Well, I have a resolution of 800x600 now, but the video in Skype is working perfectly! I will go ahead and try an older version of the nvidia driver but maybe it's a known issue and there is a workaround?
    Thanks,
    PhotonX
    edit: Same problem on the 173 driver version.
    Last edited by PhotonX (2009-08-27 18:49:21)

    Solution found here: http://ubuntu-virginia.ubuntuforums.org … ostcount=3

  • TV S-Video output with Iphone 3G ?

    Hello !
    I searched a lot around, but didnt'help to clarify this :
    I would like to use video output on my Iphone 3G. My TV has an S-Video input.
    1) Does Iphone 3G has a S-Video output?
    2) If answer is yes : can you indicate the hardware ?
    3) If answer is no : it there something existing to convert YPbPr signal to S-Video ?
    Thanks for any support because I'm not a video expert and feel a little bit lost !

    Thank you for your answer. I knew this helpful article.
    So the first solution is to use composite video signal.
    But, as I would like to use the high quality component video signal to feed the S-Video input of the TV, my question is now :
    Is there a simple mean to convert "component video" to "S-Video" signal ? Is it performed with a simple adapter or does it need an active box for signal conversion ?
    Thanks for any idea!

  • Bad Video Output -- with example

    I've seen several people complain about the poor quality of the video output from FCE and this is something I've experienced myself so I'd like to find a solution. When people make these posts about quality, the usual response is that there must be some sort of user error or bad input. If that's the case, then the "correct" way to convert video remains a mystery to many of us. Let's shine some light on that dark corner...
    To wit, here's a sample screen capture showing the original .MOV file from my camera on the left and the output of FCE on the right:
    http://www.photo.net/photodb/photo?photo_id=5215575
    Clearly something went awry in the conversion process, but it's nothing I've done explicitly. Perhaps you can help me identify what did go wrong, why it went wrong, and how to avoid it in the future.
    First some details.
    The original input file (on the left) came from a Canon SD700-IS camera and was put through a File|Save As process in Quicktime Pro to make it a proper .MOV file. Viewing the video clip within FCE, it looks just as good as the source version.
    But once I've exported the entire sequence to a file, the video looks kinda crappy -- like in the frame on the right. Part of the issue is stretching the source 640x480 to NTSC 720x480, but beyond that it looks like the compression was done very poorly. Things are just a LOT blurrier and there's very little contrast.
    The bottom line is -- what are some of us just simply not seeing.
    Cheers,
    ALF
    Powermac Dual G5 2.3Ghz   Mac OS X (10.4.4)  

    Hopefully this helps explain my understanding better...
    I'm familiar with MJPG, but the video is not MJPG when I put it into FCE. The picture on the left has already been converted by Quicktime.
    While MJPG is a series of JPG images and each individual JPG image is compressed slightly (I don't do lots of compression in the camera), the point I was making is that each of these frames is a key frame. When QT or FCE or anything else converts such a file it has a WEALTH of information to use and therefore image quality shouldn't degrade.
    One of the things I don't understand is the insistence that upsampling is occurring. While FCE may indeed be upsampling, it SHOULD NOT BE because I've centered the input video within the 720x480 DV frame. No scaling need occur.
    This is akin to making something smaller than 720x480 in After Effects, for example, and importing to FCE as an overlay for something. There should be no quality degradtion because that's not being scaled to 720x480 either -- it's just a small part of the screen.
    There also isn't an issue with frame rate because, as I mentioned, the source video is 30fps. Any suggestion otherwise is assuming 15fps for the source video, which is incorrect.
    The only thing that leaves as a factor is interlacing -- the source video is most certainly not interlaced. So as I understand things right now, the loss in video quality I've seen is due to artifacts introduced by interlacing and delta-compression. Because I've seen lots of example of delta compression which don't look this bad, I'm hoping there's some way I can tweak the amount of compression or something. Not much I can do about interlacing, though.
    As to the camcorder issue, the reason I said it's not germane is because it's the data that's important rather than where it came from. I could just as easily get a 640x480 Quicktime, AVI, or MPEG file as source and see the same type of degradation (I've done it).
    The problem is how FCE treats 640x480 (or anything less than 720x480) video. By default it does indeed upscale to fill the full DV frame. But it also provides the ability to drop smaller video onto part of the frame as well as the ability to scale video within the frame.
    So if FCE is putting my 640x480 video through a scaling process to place it as a centered 640x480 image in the 720x480 frame, and scaling that again for DVD out put, then yeah I can see where degradation would occur. I just don't believe it should be doing that first scaling.
    I also don't understand why interlacing would cause so much degradation, but as has been said it could be the combination of that and the (unnecessary) scaling.
    ALF

  • How to get Composite video output with Lightning devices?

    I am replacing my last 30-pin device this week, and now all of our devices are Lightning cords.  I have the Apple Composite AV cables in my vehicles, but Apple does not offer a Lightning version of them.  From what I read on the 30-pin to Lightning adapters, they do power and audio only at best, and so don't support video.  So, does anyone either know of a lightning AV adapter (with composite out), or a 30-to-8 pin adapter that will work with the above cables?
    Thanks.

    I should add, I saw this (http://store.apple.com/us/product/MD824ZM/A/lightning-to-30-pin-adapter-02-m?fno de=3c) but reviews said they had issues with video.  Does anyone know if that works with video?

  • [Solved]black video output on poweron

    I ripped out my nvidia 9600GT to use the onboard card wich is an nvidia 8200 chip. Bios and grub menu is there without problems but once udev starts to do it's bussiness the screen turns black((but doesn't go into sleepmode), I can log in fine and startx and then the screen comes back. Any ideas?
    Last edited by jigsawman (2011-12-22 23:39:15)

    latest proprietary driver, 290.10
    Here's my dmesg http://pastebin.com/Ajuwzq5Y

  • 8 video outputs working simultaneously

    Hi,
    I’m preparing a conference with a huge screen projection; It’s 60 meters width and 5 meters hight. This space demand six projectors working simultaneously; and every projector will cover a 10 meters width; the sixth part of the screen.
    I will buy a MacPro and my question is the fallowing:
    Can I have 8 video outputs with this specifications?
    Mac Pro 2.66GHz Quad-Core Intel Xeon + 4x NVIDIA GeForce GT 120 512MB
    Are the screens organized like 1 - 2 - 3 - 4 - 5 - 6 working as a big large screen?
    Thanks a lot for the help
    David

    Theoretically this will work. The hardware itself will perform the task you've set it. Obviously the higher the resolution the less the likelihood is things will work smoothly.
    That being said you'll possibly need some special software. Basically in OSX you can assign each port to be an 'independent' screen and arrange them in literally any configuration you want. Remember though 'maximizing' an application will only take up 1 screen (you can manually resize the app to cover more than one screen of course). I haven't looked into it but there may be a software product that easily lets you maximize applications across all your screens at once with a simple click of the button. You may have better luck in windows running in bootcamp finding said application / tool but I am nervous about how all those cards will perform under windows.
    You may also find it cheaper to do something other than a Mac Pro with 4 cards. It sounds like you only actually need 3 cards (60 meters wide with each card putting out to 2 projects each of which covers 10 meters). Otherwise you can build a PC with Matrox Triple Head cards and just get 2. Lastly, your dimensions will be a little off. There aren't any natively supported resolutions of 2:1 but instead 16:9, 16:10, and 4:3. Basically I'm saying you'll have something a little higher than 5 meters if you do each projector to be 10m wide.
    Good luck!

  • [SOLVED] no webm video with mpv

    For some reason I get no video playing vp8 encoded file with mpv. All other video formats play fine but with webm files I only seem to get audio playback and no video.
    I reinstalled my system recently and webm files played fine before that, so I might be just missing some library that I don't know of. libvpx is installed and up to date though.
    here's the mpv output
    $ mpv Digital_Show_and_Tell-720p.webm
    Playing: Digital_Show_and_Tell-720p.webm
    Detected file format: Matroska
    [stream] Video --vid=1 (vp8)
    [stream] Audio (+) --aid=1 (*) (vorbis)
    Video: no video
    Selected audio codec: Vorbis [lavc:vorbis]
    AO: [pulse] 48000Hz stereo 2ch float
    the video I'm trying to view can be downloaded here https://www.xiph.org/video/vid2.shtml
    It also plays fine embedded in chromium.
    any suggestions welcome
    Last edited by ooo (2014-05-01 17:10:44)

    libquvi-0.9.4-2 libquvi-scripts-0.9.20131130-1
    lua-bitop-1.0.2-2 lua-expat-1.3.0-1 lua-socket-3.0rc1-3
    portaudio-19_20140130-1 mpv-0.3.8-1
    this is what gets pulled in when i install mpv.
    this is what i get when playing the file:
    mpv Digi*
    Playing: Digital_Show_and_Tell-360p.webm
    [mkv] SeekHead position beyond end of file - incomplete file?
    Detected file format: Matroska
    [stream] Video (+) --vid=1 (vp8)
    [stream] Audio (+) --aid=1 (*) (vorbis)
    [vo/vdpau] Error when calling vdp_device_create_x11: 1
    [vo/opengl/x11] X11 error: BadAlloc (insufficient resources for operation)
    [vo/opengl] Could not create GL3 context. Retrying with legacy context.
    Selected video codec: On2 VP8 [lavc:vp8]
    Selected audio codec: Vorbis [lavc:vorbis]
    AO: [alsa] 48000Hz stereo 2ch floatp
    VO: [opengl] 640x360 => 640x360 420p
    (Paused) AV: 00:00:10 / 00:23:52 (0%) A-V: 0.000
    (haven't downloaded it all the way).

  • [SOLVED] streaming videos directly to mplayer?

    basically what i want to do is watching online videos from the shell via mplayer and elinks w/o downloading them, but not to be limited to youtube, so youtube-viewer is not an option. problem is that mplayer doesn't seem to do the job. some claim you only have to pass an url as an arg for it and that's it.
    $ mplayer -prefer-ipv4 [url]http://www.youtube.com/watch?v=QCuq0_nY3Xk[/url]
    MPlayer SVN-r36498-snapshot-4.8.2 (C) 2000-2013 MPlayer Team
    206 audio & 433 video codecs
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    Playing http://www.youtube.com/watch?v=QCuq0_nY3Xk.
    Resolving www.youtube.com for AF_INET...
    Connecting to server www.youtube.com[173.194.39.137]: 80...
    Cache size set to 320 KBytes
    Cache fill: 2.35% (7716 bytes)
    libavformat version 55.19.104 (internal)
    Exiting... (End of file)
    but that's not it, alas. i passed in different cache sizes as well, but that didn't help either. the funny thing is that youtube-viewer uses mplayer as well and worked perfectly out of the box. i looked at the script and mostly additional args are there as extras.
    cache => 30000,
    cache_min => 5,
    lower_cache => 2000,
    lower_cache_min => 3,
    mplayer => get_mplayer(),
    mplayer_srt_args => '-sub %s',
    mplayer_arguments => '-prefer-ipv4 -really-quiet -cache %d -cache-min %d',
    # Get mplayer
    sub get_mplayer {
    if ($constant{win32}) {
    my $smplayer = catfile($ENV{ProgramFiles}, qw(SMPlayer mplayer mplayer.exe));
    if (not -e $smplayer) {
    warn "\n\n!!! Please install SMPlayer in order to stream YouTube videos.\n\n";
    return $smplayer; # Windows MPlayer
    else {
    my $mplayer_path = '/usr/bin/mplayer';
    return -x $mplayer_path ? $mplayer_path : q{mplayer} # *NIX MPlayer
    anyone had this issue before? i really could use some ideas. thanks in advance
    Last edited by wootsgoinon (2014-03-17 01:07:10)

    mpv is great for X, but it won't work on the framebuffer (not for me at least).
    mplayer -vo help
    Available video output drivers:
    vdpau VDPAU with X11
    xv X11/Xv
    gl_nosw OpenGL no software rendering
    x11 X11 ( XImage/Shm )
    xover General X11 driver for overlay capable video output drivers
    sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
    gl OpenGL
    gl_tiled X11 (OpenGL) - multiple textures version
    dga DGA ( Direct Graphic Access V2.0 )
    fbdev Framebuffer Device
    fbdev2 Framebuffer Device
    matrixview MatrixView (OpenGL)
    aa AAlib
    caca libcaca
    v4l2 V4L2 MPEG Video Decoder Output
    xvidix X11 (VIDIX)
    cvidix console VIDIX
    null Null video output
    xvmc XVideo Motion Compensation
    mpegpes MPEG-PES to DVB card
    yuv4mpeg yuv4mpeg output for mjpegtools
    png PNG file
    jpeg JPEG file
    gif89a animated GIF output
    tga Targa output
    pnm PPM/PGM/PGMYUV file
    md5sum md5sum of each frame
    mng MNG file
    mpv -vo help
    Available video outputs:
    vdpau : VDPAU with X11
    opengl : Extended OpenGL Renderer
    xv : X11/Xv
    opengl-old : OpenGL (legacy VO, may work better on older GPUs)
    vaapi : VA API with X11
    x11 : X11 ( XImage/Shm )
    null : Null video output
    image : Write video frames to image files
    opengl-hq : Extended OpenGL Renderer (high quality rendering preset)
    wayland : Wayland SHM video output

  • Upgraded libva,xvba-video, mplayer-vaapi: white rectangles in a movie

    hi,
    today I upgraded libva from repo, xvba-video from AUR and recompiled mplayer-vaapi. With mplayer option `-vo gl' movie plays fine, but with `-vo vaapi:gl' (that's why I have mplayer-vaapi) instead of subtitles there are white rectangles (see picture). What's wrong?
    Thanks
    here's mplayer output (msglevel=all=6, vo=vaapi:gl, ):
    MPlayer SVN-r31303-4.5.0 (C) 2000-2010 MPlayer Team
    CPU vendor name: GenuineIntel max cpuid level: 10
    CPU: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz (Family: 6, Model: 15, Stepping: 2)
    extended cpuid-level: 8
    extended cache-info: 134242368
    Detected cache-line size is 64 bytes
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/cinan/.mplayer/codecs.conf'
    Reading /home/cinan/.mplayer/codecs.conf: Can't open '/home/cinan/.mplayer/codecs.conf': No such file or directory
    Reading /etc/mplayer/codecs.conf: 154 audio & 334 video codecs
    Configuration: --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --disable-liblzo --disable-speex --disable-openal --disable-fribidi --disable-libdv --disable-musepack --disable-esd --disable-mga --enable-xvmc --language=all --confdir=/etc/mplayer --extra-cflags=-fno-strict-aliasing --enable-vaapi
    CommandLine: '/media/data/download/V.2009.S01E04.Its.Only.the.Beginning.HDTV.XviD-FQM.avi'
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/cinan/.mplayer/fonts'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/cinan/.mplayer/input.conf'
    Parsing input config file /home/cinan/.mplayer/input.conf
    Input config file /home/cinan/.mplayer/input.conf parsed: 54 binds
    Setting up LIRC support...
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    get_path('V.2009.S01E04.Its.Only.the.Beginning.HDTV.XviD-FQM.avi.conf') -> '/home/cinan/.mplayer/V.2009.S01E04.Its.Only.the.Beginning.HDTV.XviD-FQM.avi.conf'
    Playing /media/data/download/V.2009.S01E04.Its.Only.the.Beginning.HDTV.XviD-FQM.avi.
    get_path('sub/') -> '/home/cinan/.mplayer/sub/'
    [file] File size is 367449578 bytes
    STREAM: [file] /media/data/download/V.2009.S01E04.Its.Only.the.Beginning.HDTV.XviD-FQM.avi
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    LAVF_check: AVI format
    AVI file format detected.
    list_end=0x146
    ======= AVI Header =======
    us/frame: 41708 (fps=23.976)
    max bytes/sec: 0
    padding: 0
    MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
    frames total: 59292 initial: 0
    streams: 2
    Suggested BufferSize: 0
    Size: 624 x 352
    ==========================
    list_end=0xD4
    ==> Found video stream: 0
    [aviheader] Video stream found, -vid 0
    ====== STREAM Header =====
    Type: vids FCC: XVID (44495658)
    Flags: 0
    Priority: 0 Language: 0
    InitialFrames: 0
    Rate: 23976024/1000000 = 23.976
    Start: 0 Len: 59292
    Suggested BufferSize: 127506
    Quality 0
    Sample size: 0
    ==========================
    Found 'bih', 40 bytes of 40
    ======= VIDEO Format ======
    biSize 40
    biWidth 624
    biHeight 352
    biPlanes 1
    biBitCount 24
    biCompression 1145656920='XVID'
    biSizeImage 658944
    ===========================
    Regenerating keyframe table for MPEG-4 video.
    list_end=0x146
    ==> Found audio stream: 1
    [aviheader] Audio stream found, -aid 1
    ====== STREAM Header =====
    Type: auds FCC: (0)
    Flags: 0
    Priority: 0 Language: 0
    InitialFrames: 0
    Rate: 48000/1152 = 41.667
    Start: 0 Len: 103039
    Suggested BufferSize: 0
    Quality 0
    Sample size: 0
    ==========================
    Found 'wf', 30 bytes of 18
    ======= WAVE Format =======
    Format Tag: 85 (0x55)
    Channels: 2
    Samplerate: 48000
    avg byte/sec: 16000
    Block align: 1152
    bits/sample: 16
    cbSize: 12
    mp3.wID=1
    mp3.fdwFlags=0x2
    mp3.nBlockSize=1152
    mp3.nFramesPerBlock=1
    mp3.nCodecDelay=0
    ==========================================================================
    list_end=0x16A
    hdr=Software size=16
    Software : transcode-1.0.4
    list_end=0x15BF3432
    Found movie at 0x800 - 0x15BF3432
    Reading INDEX block, 162331 chunks for 59292 frames (fpos=364852282).
    AVI index offset: 0x0 (movi=0x800 idx0=0x800 idx1=0x11C66)
    Auto-selected AVI video ID = 0
    Auto-selected AVI audio ID = 1
    AVI: Searching for audio stream (id:1)
    XXX initial v_pts=0.000 a_pos=0 (0.000)
    AVI video size=322223780 (59292) audio size=41298048 (103039)
    VIDEO: [XVID] 624x352 24bpp 23.976 fps 1042.4 kbps (127.2 kbyte/s)
    Auto-selected AVI audio ID = 1
    [V] filefmt:3 fourcc:0x44495658 size:624x352 fps:23.976 ftime:=0.0417
    Clip info:
    Software: transcode-1.0.4
    get_path('sub/') -> '/home/cinan/.mplayer/sub/'
    [file] File size is 36608 bytes
    STREAM: [file] /media/data/download/V S01E04.srt
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    SUB: Detected subtitle file format: subviewer
    SUB: opened iconv descriptor.
    SUB: closed iconv descriptor.
    SUB: Read 503 subtitles, 0 bad line(s).
    SUB: Adjusted 84 subtitle(s).
    SUB: Added subtitle file (1): /media/data/download/V S01E04.srt
    [vo_vaapi] Using OpenGL rendering
    X11 opening display: :0.0
    vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
    vo: X11 running at 1680x1050 with depth 24 and 32 bpp (":0.0" => local display)
    [x11] Detected wm supports NetWM.
    [x11] Detected wm supports FULLSCREEN state.
    [x11] Detected wm supports ABOVE state.
    [x11] Detected wm supports BELOW state.
    [x11] Current fstype setting doesn't honour any X atoms
    libva: libva version 0.31.1-sds1
    Xlib: extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
    libva: va_openDriver() returns 0
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    [VD_FFMPEG] VA API accelerated codec.
    Unsupported PixelFormat 61
    [VD_FFMPEG] Trying pixfmt=1.
    [ffmpeg] aspect_ratio: 0.000000
    VDec: vo config request - 624 x 352 (preferred colorspace: MPEG-4 VA-API Acceleration)
    Trying filter chain: vo
    VDec: using MPEG-4 VA-API Acceleration as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    VO Config (624x352->624x352,flags=0,'MPlayer',0x56410020)
    VO: [vaapi] 624x352 => 624x352 MPEG-4 VA-API Acceleration
    VO: Description: VA API with X11
    VO: Author: Gwenole Beauchesne <[email protected]>
    [vo_vaapi] Using 1:1 VA surface mapping
    FATAL: Cannot initialize video driver.
    Unsupported PixelFormat 61
    [VD_FFMPEG] Trying pixfmt=0.
    [ffmpeg] aspect_ratio: 0.000000
    Unsupported PixelFormat 61
    VDec: vo config request - 624 x 352 (preferred colorspace: Unknown 0x0000)
    Trying filter chain: vo
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    SwScale params: -1 x -1 (-1=no scaling)
    Trying filter chain: scale vo
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=2.
    [ffmpeg] aspect_ratio: 0.000000
    VDec: vo config request - 624 x 352 (preferred colorspace: MPEG-4 Part 2 VDPAU acceleration)
    Trying filter chain: vo
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    SwScale params: -1 x -1 (-1=no scaling)
    Trying filter chain: scale vo
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=3.
    [ffmpeg] aspect_ratio: 0.000000
    VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
    Trying filter chain: vo
    VDec: using Planar YV12 as output csp (no 2)
    Movie-Aspect is undefined - no prescaling applied.
    VO Config (624x352->624x352,flags=0,'MPlayer',0x32315659)
    VO: [vaapi] 624x352 => 624x352 Planar YV12
    VO: Description: VA API with X11
    VO: Author: Gwenole Beauchesne <[email protected]>
    INFO: libavcodec init OK!
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
    mp3lib: using SSE optimized decore!
    MP3lib: init layer2&3 finished, tables done
    MPEG 1.0, Layer III, 48000 Hz 128 kbit Stereo, BPF: 384
    Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
    AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
    [libaf] Adding filter dummy
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    Trying preferred audio driver 'alsa', options '[none]'
    alsa-init: requested format: 48000 Hz, 2 channels, 9
    alsa-init: using ALSA 1.0.23
    alsa-init: setup for 1/2 channel(s)
    alsa-init: using device default
    alsa-init: pcm opened in blocking mode
    alsa-init: got buffersize=32768
    alsa-init: got period size 1024
    alsa: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little Endian
    AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
    AO: Description: ALSA-0.9.x-1.x audio output
    AO: Author: Alex Beregszaszi, Zsolt Barat <[email protected]>
    AO: Comment: under developement
    Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    Starting playback...
    Increasing filtered audio buffer size from 0 to 34816
    [ffmpeg] aspect_ratio: 1.772727
    VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
    Trying filter chain: vo
    VDec: using Planar YV12 as output csp (no 2)
    Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
    VO Config (624x352->624x352,flags=0,'MPlayer',0x32315659)
    VO: [vaapi] 624x352 => 624x352 Planar YV12
    VO: Description: VA API with X11
    VO: Author: Gwenole Beauchesne <[email protected]>
    *** [vo] Allocating (slices) mp_image_t, 624x352x12bpp YUV planar, 329472 bytes
    *** [vo] Allocating (slices) mp_image_t, 624x352x12bpp YUV planar, 329472 bytes
    Unicode font: 654 glyphs.
    Unicode font: 654 glyphs.
    *** [vo] Allocating (slices) mp_image_t, 624x352x12bpp YUV planar, 329472 bytes
    Uninit audio filters... 0.004 ct: -0.026 28/ 28 12% 8% 0.5% 1 0
    [libaf] Removing filter dummy
    Uninit audio: mp3lib
    Uninit video: ffmpeg
    alsa-uninit: pcm closed
    vo: uninit ...

    The frame at which I've pressed F stays on the screen until I return to fullscreen.
    By the way, vaapi also makes subtitles look bad. They're very low quality in fullscreen, very blurred. With vaapi disabled they look fine. I remember I've had this problem before, but now I can't find my old config nor the solution. I think it had something to do with mplayer not scaling subtitles size when entering fullscreen...

  • Mplayer Video Output module?

    Hi.
    I've been using Mplayer (via SMplayer) to play videos for a year and it works perfectly.
    Since I got a laptop with a GeForce Go 7300 I always installed the latest proprietary NVIDIA drivers, so I thought that gl2 was the best video output module for me.
    Today I was searching the Mplayer docs for encoding options and I found this:
    http://www.mplayerhq.hu/DOCS/HTML/en/opengl.html
    Player supports displaying movies using OpenGL, but if your platform/driver supports xv as should be the case on a PC with Linux, use xv instead, OpenGL performance is considerably worse. If you have an X11 implementation without xv support, OpenGL is a viable alternative.
    So it seems that XV is the best option?
    Do you know anything about this? What's the best?

    xv is indeed the best -vo. Only use gl if you are having problems with xv, eg if you are running xcompmgr.

  • What's up with current Mini HDMI out having faulty video??

    What's up with issues the current Mini has with HDMI output--- faulty video/audio to 1080P Monitors??

    Have youlooked at this long-running discussion:
    Mac mini (Mid 2010) and later: Frequently asked questions about HDMI

  • [Solved] xvba-video and mplayer

    Good evening,
    I just installed mplayer-vaapi and xvba-video. On the wiki page it says I should now run the following to play a video using xvba-video:
    $ mplayer -vo vaapi:gl -va vaapi movie.avi
    Now, I can add -vo vaapi:gl to ~/.mplayer/config, but can I also store -va vaapi somewhere, so I won't have to type it every time I want to start watching a movie?
    Last edited by Unia (2012-02-08 21:29:57)

    Oh, great, I didn't know every option could go there!
    I haven't tested it on all codecs yet, just watched an .avi with it with no issues. I'll try an .mp4 now
    EDIT: Some quick tests with an .mp4 show no issues. I don't have any other formats on my laptop so I can't test those, sorry.
    Last edited by Unia (2012-02-08 21:29:46)

Maybe you are looking for

  • How to do this in select?

    CREATE TABLE ITEM_IDENTIFIER ID NUMBER(19) NOT NULL, IDENTIFIER VARCHAR2(255 BYTE) NOT NULL, PRIORITY_RANK NUMBER(10), ITEM_ID NUMBER(19) NOT NULL, IDENTIFIER_TYPE_ID NUMBER(19) NOT NULL Insert into ITEM_IDENTIFIER(identifier,priority_rank,item_id,id

  • SSO using Kerberso receiving "Integrity check on decrypted field failed (31

    I am trying to implement SSO for an application that is running on a WebLogic Server. I have flagged the AD Service user for DES encryption, added spn through setspn, created the keytab file, reset the password (to the same value), moved the keytab f

  • Dvd wont burn movie all the way

    The dvd is 4.7 GB and the movie is 4.1 the dvd wont burn the whole movie it stops a little before the movie is over. HOw do we burn a long movie onto dvd?

  • How can i get a serial number for my iphone 4s

    my iphone stuck in recovery mode. i need a serial number how can get it fixed?

  • Help needed with X11 for Gimp.

    Hi, I'm trying to install the open source imaging editing software GIMP (I'm to cheap to pay for photoshop!), and have tried to install X11 as required before installing GIMP but its not working. I've tried installing X11 by both downloading it from