[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)

Similar Messages

  • [solved]X11: MGA driver issues: video playback (mplayer) and 3D

    Hello,
    I am new to Arch, but I am not new to Linux. I installed Arch yesterday, before I was experimenting with it in VirtualBox and -to test the compatibility with my real hardware- I also tried the "Archie" live CD.
    But there was one thing that the combination of VirtualBox and Archie could not test: the X Window System itself, because in Archie there was an older and VESA-only version and you could not upgrade it and VirtualBox was, well, virtual.
    I have a Matrox card G550, so I installed the xf86-video-mga package. At first it did not work at all (blank screen), but when I switched the console from framebuffer to "normal" text mode it started working, but...
    1) the 3D performance (glxgears) is about half of the FPS I got on my previous Linux system
    2) when I tried to play video with mplayer, xine or vlc, there was blue screen instead of the picture. - I can send you a screenshot, but it's just a blue box where the picture should be
    I discovered, that this bluescreen thing is "solved" with some arcane xorg.conf option I discovered with "man mga" - in fact, I tried each of the options in hope for this to fix:
    Option "ShadowFB" "on"
    but this thing slows the 3D performance even more, so the OpenGL version of Doom is not playable any more :(
    Also the mplayer itself behaves differently than on my old Linux: When I resize the window or go fullscreen, on the old system it resized or fullscreened the entire picture and now just the window is bigger and the picture remains the same. I solved this with -vo sdl, but it seems the picture has poorer quality in this case
    at all, I think something is missing in the xorg configuration, because the mplayer and 3D behavior suggest so.
    here is my config:
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/local"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/artwiz-fonts/"
    EndSection
    Section "Module"
    Load "xtrap"
    Load "dbe"
    Load "GLcore"
    Load "extmod"
    Load "record"
    Load "dri"
    Load "glx"
    #Load "freetype"
    #Load "type1"
    #Load "v4l"
    #Load "drm"
    #Load "type1"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbLayout" "us,cz_qwerty"
    Option "XkbModel" "pc104"
    Option "XkbOptions" "grp:alt_shift_toggle,grp:switch,grp_led:scroll"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "Monitor"
    DisplaySize 380 300 # mm
    Identifier "Monitor0"
    VendorName "BNQ"
    ModelName "BenQ FP91G+"
    ### Comment all HorizSync and VertRefresh values to use DDC:
    HorizSync 30.0 - 83.0
    VertRefresh 43.0 - 76.0
    Option "DPMS"
    UseModes "Modes[0]"
    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 "HWcursor" # [<bool>]
    #Option "PciRetry" # [<bool>]
    #Option "SyncOnGreen" # [<bool>]
    #Option "NoAccel" # [<bool>]
    #Option "Overlay" # [<str>]
    #Option "MGASDRAM" # [<bool>]
    #Option "ShadowFB" # [<bool>]
    #Option "UseFBDev" # [<bool>]
    #Option "ColorKey" # <i>
    #Option "SetMclk" # <freq>
    #Option "OverclockMem" # [<bool>]
    #Option "VideoKey" # <i>
    #Option "TexturedVideo" # [<bool>]
    #Option "Int10" # [<bool>]
    #Option "AGPMode" # <i>
    #Option "AGPSize" # <i>
    #Option "DRI" # [<bool>]
    #Option "OldDmaInit" # [<bool>]
    #Option "ForcePciDma" # [<bool>]
    #Option "AccelMethod" # [<str>]
    Identifier "Card0"
    Driver "mga"
    VendorName "Matrox Graphics, Inc."
    BoardName "MGA G550 AGP"
    BusID "PCI:1:0:0"
    Option "HwCursor" "off" #protoze jinak tam neni
    Option "DRI" "on"
    Option "ShadowFB" "on" #jo ale pomalejsi 3D
    #Option "OldDMAInit" "on"
    Option "AGPMode" "4"
    #Option "TexturedVideo" "on" #nefunguje
    Option "AccelMethod" "EXA"
    EndSection
    Section "DRI"
    Group "video"
    Mode 0666
    EndSection
    Section "Modes"
    Identifier "Modes[0]"
    Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync
    -vsync
    ModeLine "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 16
    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
    Modes "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1280x1024" "1024x768" "800x600"
    EndSubSection
    EndSection
    I use 16bpp because 24bpp is slower...
    thank you in advance,
       Daniel
    Last edited by danielsoft (2008-03-04 16:21:17)

    the solution was to downgrade the x server and matrox drivers
    (I found the old packages at http://mir2.archlinuxfr.org/archlinux/c … i686.old/)
    the following packages were downgraded:
    xf86-input-keyboard-1.1.1-1.pkg.tar.gz
    xf86-input-mouse-1.2.1-1.pkg.tar.gz
    xf86-video-mga-1.4.6.1-1.pkg.tar.gz
    xorg-server-1.2.0-5.pkg.tar.gz
    xorg-xkb-utils-1.0.2-2.pkg.tar.gz

  • Watching CNN and Yahoo videos with mplayer-plugin [SOLVED]

    I had a hell of a time trying to view CNN videos (http://www.cnn.com) and Yahoo videos with mplayer-plugin (firefox) and didn't seem to find any solutions in a forum search.
    The following worked for me:
    To get it working at all, I had to edit /etc/mplayerplug-in.conf and add/edit the following options:
    noembed=1
    To get smooth video and sound without choppy playback, I had to add/edit the following options to /etc/mplayerplug-in.conf:
    cachesize = 1024
    These value for cachesize will obviously vary depending on your internet connection.  But, with my DSL/broadband connection, the default cachesize of 512 was for some reason resulting in *very* choppy playback.  The cachsize of 1024 fixed everything. 
    I can now view CNN and Yahoo videos with no problem.
    Just thought I'd share if anyone is having similar problems.

    Thanks

  • [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)

  • 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...

  • [SOLVED] .mkv audio issues after updating x264, ffmpeg and mplayer

    Since I updated to x264-20100410-1, ffmpeg-22837-2 and mplayer-31029-1 the audio of random mkv files is having issues. While it seems to be in sync with the video it sounds as if it was slowed down.
    The problem was solved after downgrading back to the previous versions with:
    pacman -U /var/cache/pacman/pkg/x264-20100312-1-i686.pkg.tar.xz
    /var/cache/pacman/pkg/ffmpeg-22511-1-i686.pkg.tar.xz
    /var/cache/pacman/pkg/mplayer-30886-1-i686.pkg.tar.xz
    I can't pinpoint the precise culprit using the binary packages and have no time right now to recompile them and track the problem individually, sorry.
    Last edited by dresb (2011-02-07 16:30:03)

    I reinstalled the new versions and tried again but the problem seems to be independent of the -vo (or -ao) drv. I even tried null as -vo but the sound is still distorted. The video plays fine.
    The logs of the current (problematic) versions:
    MPlayer SVN-r31029-4.4.3 (C) 2000-2010 MPlayer Team
    CPU vendor name: GenuineIntel max cpuid level: 10
    CPU: Genuine Intel(R) CPU T2080 @ 1.73GHz (Family: 6, Model: 14, Stepping: 12)
    extended cpuid-level: 8
    extended cache-info: 67125312
    Detected cache-line size is 64 bytes
    Testing OS support for SSE... yes.
    Tests of OS support for SSE passed.
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/andres/.mplayer/codecs.conf'
    Reading /home/andres/.mplayer/codecs.conf: Can't open '/home/andres/.mplayer/codecs.conf': No such file or directory
    Reading /etc/mplayer/codecs.conf: 150 audio & 337 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 --enable-liba52-internal --language=all --confdir=/etc/mplayer --extra-cflags=-fno-strict-aliasing
    CommandLine: '-v' 'South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv'
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/andres/.mplayer/fonts'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/andres/.mplayer/input.conf'
    Can't open input config file /home/andres/.mplayer/input.conf: No such file or directory
    Parsing input config file /etc/mplayer/input.conf
    Input config file /etc/mplayer/input.conf parsed: 91 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('South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.conf') -> '/home/andres/.mplayer/South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.conf'
    Playing South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.
    get_path('sub/') -> '/home/andres/.mplayer/sub/'
    [file] File size is 41061991 bytes
    STREAM: [file] South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    LAVF_check: Matroska file format
    Checking for YUV4MPEG2
    ASF_check: not ASF guid!
    Checking for REAL
    Checking for SMJPEG
    [mkv] Found the head...
    [mkv] + a segment...
    [mkv] /---- [ parsing seek head ] ---------
    [mkv] /---- [ parsing cues ] -----------
    [mkv] \---- [ parsing cues ] -----------
    [mkv] /---- [ parsing chapters ] ---------
    [mkv] Chapter 0 from 00:00:00.097 to 00:00:00.000, 00:00:00.097
    [mkv] \---- [ parsing chapters ] ---------
    [mkv] \---- [ parsing seek head ] ---------
    [mkv] |+ segment information...
    [mkv] | + timecode scale: 1000000
    [mkv] | + duration: 1305.942s
    [mkv] |+ segment tracks...
    [mkv] | + a track...
    [mkv] | + Track number: 1
    [mkv] | + Track type: Video
    [mkv] | + Default flag: 1
    [mkv] | + Codec ID: V_MPEG4/ISO/AVC
    [mkv] | + CodecPrivate, length 40
    [mkv] | + Default duration: 41.708ms ( = 23.976 fps)
    [mkv] | + Language: und
    [mkv] | + Video track
    [mkv] | + Pixel width: 624
    [mkv] | + Pixel height: 352
    [mkv] | + Display width: 624
    [mkv] | + Display height: 352
    [mkv] | + a track...
    [mkv] | + Track number: 2
    [mkv] | + Track type: Audio
    [mkv] | + Default flag: 1
    [mkv] | + Codec ID: A_AAC
    [mkv] | + CodecPrivate, length 7
    [mkv] | + Default duration: 42.667ms ( = 23.438 fps)
    [mkv] | + Language: und
    [mkv] | + Audio track
    [mkv] | + Sampling frequency: 24000.000000
    [mkv] | + Channels: 2
    [mkv] |+ found cluster, headers are parsed completely :)
    ==> Found video stream: 1
    [mkv] Aspect: 1.772727
    [mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
    ==> Found audio stream: 2
    [mkv] Track ID 2: audio (A_AAC), -aid 0, -alang und
    [mkv] Will play video track 1.
    Matroska file format detected.
    VIDEO: [avc1] 624x352 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:31 fourcc:0x31637661 size:624x352 fps:23.976 ftime:=0.0417
    get_path('sub/') -> '/home/andres/.mplayer/sub/'
    X11 opening display: :0
    vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
    vo: X11 running at 1280x800 with depth 24 and 32 bpp (":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] Detected wm supports STAYS_ON_TOP state.
    [x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
    Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
    [vdpau] Error when calling vdp_device_create_x11: 1
    [VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
    [xv common] Drawing no colorkey.
    [xv common] Maximum source image dimensions: 2048x2048
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    INFO: libavcodec init OK!
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
    FFmpeg's libavcodec audio codec
    INFO: libavcodec "aac" init OK!
    AUDIO: 24000 Hz, 2 ch, s16le, 128.0 kbit/16.67% (ratio: 16000->96000)
    Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    Building audio filter chain for 24000Hz/2ch/s16le -> 0Hz/0ch/??...
    [libaf] Adding filter dummy
    [dummy] Was reinitialized: 24000Hz/2ch/s16le
    [dummy] Was reinitialized: 24000Hz/2ch/s16le
    Trying every known audio driver...
    ao2: 24000 Hz 2 chans s16le
    audio_setup: using '/dev/dsp' dsp device
    audio_setup: using '/dev/mixer' mixer device
    audio_setup: using 'pcm' mixer device
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    alsa-init: requested format: 24000 Hz, 2 channels, 9
    alsa-init: using ALSA 1.0.22
    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 24000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
    [dummy] Was reinitialized: 24000Hz/2ch/s16le
    [libaf] Adding filter lavcresample
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    [dummy] Was reinitialized: 48000Hz/2ch/s16le
    Starting playback...
    [libaf] Reallocating memory in module lavcresample, old len = 0, new len = 36869
    Increasing filtered audio buffer size from 0 to 36800
    [h264 @ 0x8a214e0]no picture
    [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 0)
    Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
    VO Config (624x352->624x352,flags=0,'MPlayer',0x32315659)
    VO: [xv] 624x352 => 624x352 Planar YV12
    VO: Description: X11/Xv
    VO: Author: Gerd Knorr <[email protected]> and others
    Xvideo image format: 0x32595559 (YUY2) packed
    Xvideo image format: 0x32315659 (YV12) planar
    Xvideo image format: 0x30323449 (I420) planar
    Xvideo image format: 0x59565955 (UYVY) packed
    Xvideo image format: 0x434d5658 (XVMC) planar
    using Xvideo port 96 for hw scaling
    *** [vo] Exporting mp_image_t, 624x352x12bpp YUV planar, 329472 bytes
    Unicode font: 5025 glyphs.
    Unicode font: 5025 glyphs.
    Increasing filtered audio buffer size from 36800 to 36864 1.7% 4 0
    [h264 @ 0x8a214e0]no picture
    A: 82.0 V: 93.5 A-V:-11.550 ct: -2.541 0/ 0 6% 1% 1.8% 0 0
    The previous versions:
    MPlayer SVN-r30886-4.4.3 (C) 2000-2010 MPlayer Team
    CPU vendor name: GenuineIntel max cpuid level: 10
    CPU: Genuine Intel(R) CPU T2080 @ 1.73GHz (Family: 6, Model: 14, Stepping: 12)
    extended cpuid-level: 8
    extended cache-info: 67125312
    Detected cache-line size is 64 bytes
    Testing OS support for SSE... yes.
    Tests of OS support for SSE passed.
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/andres/.mplayer/codecs.conf'
    Reading /home/andres/.mplayer/codecs.conf: Can't open '/home/andres/.mplayer/codecs.conf': No such file or directory
    Reading /etc/mplayer/codecs.conf: 150 audio & 335 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 --enable-liba52-internal --language=all --confdir=/etc/mplayer --extra-cflags=-fno-strict-aliasing
    CommandLine: '-v' 'South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv'
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/andres/.mplayer/fonts'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/andres/.mplayer/input.conf'
    Can't open input config file /home/andres/.mplayer/input.conf: No such file or directory
    Parsing input config file /etc/mplayer/input.conf
    Input config file /etc/mplayer/input.conf parsed: 90 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('South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.conf') -> '/home/andres/.mplayer/South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.conf'
    Playing South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv.
    get_path('sub/') -> '/home/andres/.mplayer/sub/'
    [file] File size is 41061991 bytes
    STREAM: [file] South.Park.S14E04.You.Have.0.Friends.HDTV.XviD-FQM-muxed.mkv
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    LAVF_check: Matroska file format
    Checking for YUV4MPEG2
    ASF_check: not ASF guid!
    Checking for REAL
    Checking for SMJPEG
    [mkv] Found the head...
    [mkv] + a segment...
    [mkv] /---- [ parsing seek head ] ---------
    [mkv] /---- [ parsing cues ] -----------
    [mkv] \---- [ parsing cues ] -----------
    [mkv] /---- [ parsing chapters ] ---------
    [mkv] Chapter 0 from 00:00:00.097 to 00:00:00.000, 00:00:00.097
    [mkv] \---- [ parsing chapters ] ---------
    [mkv] \---- [ parsing seek head ] ---------
    [mkv] |+ segment information...
    [mkv] | + timecode scale: 1000000
    [mkv] | + duration: 1305.942s
    [mkv] |+ segment tracks...
    [mkv] | + a track...
    [mkv] | + Track number: 1
    [mkv] | + Track type: Video
    [mkv] | + Default flag: 1
    [mkv] | + Codec ID: V_MPEG4/ISO/AVC
    [mkv] | + CodecPrivate, length 40
    [mkv] | + Default duration: 41.708ms ( = 23.976 fps)
    [mkv] | + Language: und
    [mkv] | + Video track
    [mkv] | + Pixel width: 624
    [mkv] | + Pixel height: 352
    [mkv] | + Display width: 624
    [mkv] | + Display height: 352
    [mkv] | + a track...
    [mkv] | + Track number: 2
    [mkv] | + Track type: Audio
    [mkv] | + Default flag: 1
    [mkv] | + Codec ID: A_AAC
    [mkv] | + CodecPrivate, length 7
    [mkv] | + Default duration: 42.667ms ( = 23.438 fps)
    [mkv] | + Language: und
    [mkv] | + Audio track
    [mkv] | + Sampling frequency: 24000.000000
    [mkv] | + Channels: 2
    [mkv] |+ found cluster, headers are parsed completely :)
    ==> Found video stream: 1
    [mkv] Aspect: 1.772727
    [mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
    ==> Found audio stream: 2
    [mkv] Track ID 2: audio (A_AAC), -aid 0, -alang und
    [mkv] Will play video track 1.
    Matroska file format detected.
    VIDEO: [avc1] 624x352 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:31 fourcc:0x31637661 size:624x352 fps:23.976 ftime:=0.0417
    get_path('sub/') -> '/home/andres/.mplayer/sub/'
    X11 opening display: :0
    vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
    vo: X11 running at 1280x800 with depth 24 and 32 bpp (":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] Detected wm supports STAYS_ON_TOP state.
    [x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
    Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
    [vdpau] Error when calling vdp_device_create_x11: 1
    [VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
    [xv common] Drawing no colorkey.
    [xv common] Maximum source image dimensions: 2048x2048
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    INFO: libavcodec init OK!
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    dec_audio: Allocating 6144 bytes for input buffer.
    dec_audio: Allocating 65536 + 65536 = 131072 bytes for output buffer.
    FAAD: Decoder init done (0Bytes)!
    FAAD: Negotiated samplerate: 48000Hz channels: 2
    FAAD: compressed input bitrate missing, assuming 128kbit/s!
    AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    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 every known audio driver...
    ao2: 48000 Hz 2 chans s16le
    audio_setup: using '/dev/dsp' dsp device
    audio_setup: using '/dev/mixer' mixer device
    audio_setup: using 'pcm' mixer device
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    alsa-init: requested format: 48000 Hz, 2 channels, 9
    alsa-init: using ALSA 1.0.22
    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
    [h264 @ 0x8a89bc0]no picture
    [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 0)
    Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
    VO Config (624x352->624x352,flags=0,'MPlayer',0x32315659)
    VO: [xv] 624x352 => 624x352 Planar YV12
    VO: Description: X11/Xv
    VO: Author: Gerd Knorr <[email protected]> and others
    Xvideo image format: 0x32595559 (YUY2) packed
    Xvideo image format: 0x32315659 (YV12) planar
    Xvideo image format: 0x30323449 (I420) planar
    Xvideo image format: 0x59565955 (UYVY) packed
    Xvideo image format: 0x434d5658 (XVMC) planar
    using Xvideo port 96 for hw scaling
    *** [vo] Exporting mp_image_t, 624x352x12bpp YUV planar, 329472 bytes
    Unicode font: 5025 glyphs.
    Unicode font: 5025 glyphs.
    [h264 @ 0x8a89bc0]no picture1 ct: 0.041 0/ 0 15% 3% 1.8% 4 0
    EDIT: I've just seen your edit
    Last edited by dresb (2010-04-14 21:03:59)

  • My Many Irritations (story) and a New Solved Problem (video playback)

    This topic is just going to ramble through the many things that have irritated me about my iPod since the purchase only three weeks ago. Don't get me wrong, though, I still love the thing. For the most serious problems, check out Numbers 3 and 11.
    Lets see... where to begin...
    I originally had no interest in the iPod, but some time after the unveiling of the fifth generation's new capabilities a friend of mine started talking about it quite a lot. And so, some time in early November, my hype for the video iPod had grown greatly. I downloaded Videora iPod converter and started converting music videos like crazy.
    By the time December rolled in I had successfully converted almost all of my 150 or so music videos and imported them into iTunes. With Christmas coming up I was wondering if I should just ask for it as a gift, but impatience set in and I bought it on the fifth of December, and have greatly enjoyed it since.
    Sounds peachy, but there's a fair bit that I left out.
    Number 1. I love viewing movie trailers on Apple's website. But with the recent update to the quicktime software, it was required to get the updated version. With that came iTunes, a program that was at the time unwanted and an irratation.
    Number 2. Videora iPod Converter has it's fair share of bugs. While I successfully converted many a video with it, I found it would 100% of the time fail to convert files of the .wmv format (Windows Media). As well, I would later find a more serious problem.
    Number 3. On the first day of using the iPod I had a serious error. I had been watching videos just fine all day, and the iPod was working perfectly. I then chose a video to play and inexplicably the iPod froze. These are the symptoms: black screen, backlight on, no responce from controls.
    Tired, as it was the end of the day, I was unwilling to go to the computer room and attempt to find a solution online. And so, I gambled that the backlight would drain the battery and hoped that upon a recharge, everything would be fine. As the backlight was illuminating my bedroom, I put the iPod in it's sleeve to dim it a bit and went to sleep.
    As you can imagine, this was kind of scary. I was afraid that I had bricked my iPod on it's first day.
    In the morning, the battery had died and I was able to recharge it by syncing it with my computer. After charging, I tried a few videos and then tried the offending video. Again it froze, but this time I was confident that the backlight would drain the battery and it would be fine.
    I then looked at the folder wherin I had saved the converted video. Among all my other videos was the offending one. I played it in Quicktime 7, and everything was fine until I realized the length of the video was double what it should be. After what should be the end of the music video came two minutes of a white screen. The file size was also abnormally large, compared to the other videos.
    It turns out that Videora iPod Converter can sometimes produce corrupt files, and these corrupt files will not be detected by iTunes as corrupt. Such files can be trasferred to iTunes and to your iPod without any error or problem, but will lock up your iPod when played. Now, when converting batches of videos with Videora, I scan the file-sizes to see if any are abnormally large; after all, using the same settings on a batch of similar in length videos should produce files of similar size.
    It occurs to me now that the method for resetting the iPod might have worked as an alternative to draining the battery.
    Number 4. I should mention that the battery life on this thing was (for me) unexpectedly low when playing videos. I'm not saying that mine is defective or anything, but I just found that the battery runs down pretty quick when playing videos; quicker than I had thought it might. Not a big problem, though.
    Number 5. In a search to find something to convert my .wmv videos to an iPod compatible format I found the ImToo converter. It works quite well, but the trial version is limited to videos of five minutes or less in length. I'm considering paying for the full version, but if someone knows of another reliable .wmv converter, I'd be glad to try that. For now, ImToo is good enough as most music videos are less than five minutes long, but I do have some other videos in the .wmv format that I would like to transcode.
    Number 6. In mid December I went out of town for three days. Of course, I brought along my new favorite portable media player. Not surprisingly, the battery soon ran low and I was without my computer to recharge it. So I went out to a store and bought Apple's official USB Power Adapter. I thought it was kind of expensive, especially considering that they used to be BUNDLED with the older iPod models, but I was happy to find I would now be able to charge my iPod. Wrong. Something that was not made obvious to me by the package description (if it is even mentioned there) is that the darn thing needs the USB cable that came with the iPod. It does not come with one, and so if all you have is a wall socket, the USB Power Adapter, and an iPod, you're screwed. Unless it's the iPod shuffle, which apparantly is the only thing that works with the USB Power Adapter out of the box. As far as portability goes, I feel this hurts. I would have liked to keep my USB cable attached to my computer. After all, it is a pain to get to the back of my computer and keep plugging it in or unplugging it.
    Number 7. I'm rather irritated with certain aspects of the iPod's interface considering music videos and regular song files. I spent a good amount of time adding artist and album tags to all of my music videos. These tags make sorting the videos in iTunes much easier.
    First, the iPod's interface does not allow for the search of videos through album tags, but does through artist tags.
    Second, going to Music>Albums> gives a long, cluttered list of Albums because of all of my music videos and one-hit songs that belong to only one album each.
    I suppose there is a workaround.
    Number 8. I recently bought another accessory for my iPod. The LOGiiX Amplified Fold-Up Speakers. A very attractive and portable set of speakers for the iPod. It comes with a little stand that holds the iPod in place, and works off of either 4 AAA Batteries or AC Power. Yet again, this is a product that DOES NOT come with the power adapter. Now, I think I MAY have one somewhere in my house... perhaps the power adapter that CAME WITH my SONY MD that is being replaced with the iPod will work....
    Oh, and that little clip-on stand I mentioned? I expect it to be lost soon because when I fold up my portable speakers there is no way to clip the stand onto the outside of the speakers.
    Now, as far as portability goes, I have to carry with me (at the most) seven things: the iPod, the headphones, the USB connector, the USB power adapter, the fold-up speakers, the little stand, and an AC power adapter.
    Number 9. Minor irritation in my control of the clickwheel. After this long, I still accidentally select the wrong thing, and often take a fair time to get the highlight where I want. Meh, this one I'll figure out eventually.
    Number 10. There was something irritating about entirely forgetting my login for my Apple ID and having to create this brand new one for today.
    Number 11. Just today, I have come across a problem with the video not playing. I watched one video just fine, went to the Videos>Movies> tab and, as mentioned above, accidentally highlighted a video I did not wish to play and hit the Select button. Normally when this happens I wait until the video has loaded - when the screen goes black and the white Play symbol appears in the top left. But this time, I immediately hit the Menu button to go back to the Movies tab. The video's loading was interrupted and I went back to the Movies tab.
    Now, when I select and play ANY video, after a noticable but short wait the screen goes black, another noticably longer wait and the play symbol appears, and then a black screen for a few seconds and the iPod skips ahead to the next video, which behaves in the exact same way.
    I have powered down the iPod using the method of holding the pause button, but the problem persits.
    My music videos can be played as songs by finding them under the Music tab, but no videos play as videos.
    I am not at my home computer, and so running iPod updater or just trying to sync is not an option right now.
    I will soon try to reset the iPod using the method described on Apple's support website.
    EDIT Okay, the reset did the trick. Videos are playing fine now. I still want to share my iPod story, so I'll leave this here, but have changed it from being a question. Below are the instructions I followed for the reset.
    RESETTING THE IPOD
    1. Toggle the Hold switch on and off. (Slide it to Hold, then turn it off again.)
    2. Press and hold the Menu and Select buttons until the Apple logo appears, about 6 to 10 seconds. You may need to repeat this step.

    Nice Rant session:
    "It turns out that Videora iPod Converter can sometimes produce corrupt files, and these corrupt files will not be detected by iTunes as corrupt. Such files can be trasferred to iTunes and to your iPod without any error or problem, but will lock up your iPod when played. Now, when converting batches of videos with Videora, I scan the file-sizes to see if any are abnormally large; after all, using the same settings on a batch of similar in length videos should produce files of similar size."
    What did you expect for freeware? Nice effort but because it's free everyone thinks it's a gem. It's not. This web site has been flooded with questions that should be directed at the authors website. Video conversion and editing is not for the beginner. Sounds to me that you have a bunch of badly converted videos that are causing a lot of problems. Videora problems:
    Known Bugs
    Audio/Video sync
    Problem - Output files can be out-of-sync. While no set pattern has been established, it seems to be more frequent with input files of 23.976 fps, non-DVD rips, and WMV/MPG filetypes.
    Workaround solutions - Try the custom option '-async 1'. If the disconnect gradually increases over time, setting 29.97 fps sometimes gets rid of the problem regardless of the input fps. You can also use AviSynth to assume the FPS and have the audio sync to that. If it's a sudden disconnect, check your VOB Cell settings in DVD Decrypter settings per this thread. Otherwise, test with an AviSynth script per the DaProphecy's method in the FAQ. For non-DVD files, PSPVideo 9 may be a good short-term solution until the converter stabilizes some more or try something like AviDemux.
    Audio track not getting picked up
    Problem - The IFO stream rip is fine, but the converted file has no sound. The debug info showed to audio track getting picked up. The most obvious case with this is the Madagascar DVD.
    Workaround solution ideas - Test with an AviSynth script per the DaProphecy's method in the FAQ (untested). Use a different DVD ripper.
    Program doesn't start (.NET issue?)
    Problem - Converter errors upon starting with an extended dump.
    Solution ideas - Update .NET framework (in all languages you're using!) to most recent solution. Clean out registry. Neither of these have worked for some.
    Progress meter incorrect
    Problem - During transcodes, the progress meter can be incorrect; thus, transcoding continues after the meter hits 100% and time remaining is zero. People have been seeing this more often with VOB files and/or the H.264 codec.
    Workaround - Figure out the length of your movie in seconds and compare that to the 'Processed' field. A 2-hour movie will not finish until Processed hits 7200 seconds.
    Artifacts (bad video quality) in darker scenes
    Problem - Scenes with darker background colors tend to have more artifacts (blocked video). It's much more obvious on the iPod, so this may be an Apple firmware problem.
    Workaround ideas - Use a VBR setting (FQ->VBR, two-pass A->VBR) to improve video quality. The custom option '-mbd 2' might help.
    Desktop icon
    Problem - When installing, the desktop icon does not appear/stick when using lower color setups.
    Workarounds - Select a 32-bit color scheme in your desktop settings, or change the icon in the shortcut.
    Profile changes don't always stick
    Problem - If you make a change to a profile, click apply, and immediately trancdoe with that profile, the transcode might not use the new settings.
    Workarounds - Once you click apply, swtich to another profile and back again to make sure the change is still there. If that doesn't work, create a new profile.
    Can only install/use with admin rights
    Problem - There have been reports of non-admin users not being able to use the converter.
    Workarounds - Separate installs or give all users admin rights.
    Who in their right mind would use a program that has these many critical bugs to convert files for the IPOD. People who are cheap, kids with no money and people who are just plain gullably.
    A little research and downloading a trial from this site would have solved your video problems early on;
    http://www.divmm.com/
    The 5th Gen IPOD was designed to support video content that was purchased on the ITunes web site. For everything else, you are on your own.

  • HT201401 I had restored my iPhone 4 but after restore my camera can't function well after take picture from the camera it's didn't display in the Photo Gallery even can't take a video record,how to solve this?and i had tried to restore again,still the sam

    I had restored my iPhone 4 but after restore my camera can't function well after take picture from the camera it's didn't display in the Photo Gallery even can't take a video record,how to solve this?and i had tried to restore again,still the same
    kindly reply and fix this for me
    reply to my email,tq

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • [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

  • Ratpoison and mplayer [SOLVED]

    Hello,
    I am trying to watch some videos with mplayer, my wm of choice is ratpoison.
    My issue is that when I launch
    mplayer -fs /path/to/file
    from urxvt the window with the playback pops up as a very small window, not at all fullscreen as I requested.
    What could I be doing wrong here? Is there something about ratpoison I should change or is it just something that has to do with mplayer?
    /David
    Last edited by dlind (2010-07-31 17:20:28)

    There are two ways to go about this.
    First, you can add
    unmanage MPlayer
    to your ~/.ratpoisonrc.  This will leave mplayer completely unmanaged by ratpoison, meaning it won't respond to keyboard input and it can only be killed by typing 'killall mplayer' into the ratpoison exec bar.
    A better way is to use the tmpwm command, which switches to another wm temporarily for all windows, and then transfers control back to ratpoison when that window manager is killed.  For example, to use openbox temporarily just execute or create a bind for
    ratpoison -c "tmpwm openbox"
    A clever trick is to bind the same key combo to start openbox within ratpoison as well as to kill openbox within openbox(or whichever other wm you want to use)
    EDIT: I think tmpwm works best with the git pull of ratpoison, which I use.  I'm not sure how well it works in the standard repo version.
    EDIT #2: Here's another way, which streamlines the whole process.  You can launch your videos like this.
    ratpoison -c "tmpwm openbox" & mplayer -fs path/to/video && killall openbox
    It will automatically send you back to ratpoison when you exit mplayer, so you won't even have to think about the fact that you're in another window manager.  You could make a simple bash function or script for that as well so you don't have to type it every time.
    Last edited by splittercode (2010-07-31 17:26:09)

  • [Solved]Catalyst14.1 and X server1.15, X crashed when playing video

    Last upgrade to catalyst 14.1-1 and xorg-server 1.15.0 When playing local video,the X server crashed.Nothing's wrong unless playing local video,Watching online video and ingame video ,as well as playing video in Vmware has nothing wrong.I've tried vlc and smplayer,things happend in the same way.
    terminal's output
    X.Org X Server 1.15.0
    Release Date: 2013-12-27
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.12.5-1-ARCH x86_64
    Current Operating System: Linux Empter 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64
    Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=49e3db97-2d9a-490c-bd4f-d059b61a176c rw quiet
    Build Date: 09 January 2014 08:47:24AM
    Current version of pixman: 0.32.4
    Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.1.log", Time: Thu Feb 6 14:05:29 2014
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    Initializing built-in extension Generic Event Extension
    Initializing built-in extension SHAPE
    Initializing built-in extension MIT-SHM
    Initializing built-in extension XInputExtension
    Initializing built-in extension XTEST
    Initializing built-in extension BIG-REQUESTS
    Initializing built-in extension SYNC
    Initializing built-in extension XKEYBOARD
    Initializing built-in extension XC-MISC
    Initializing built-in extension SECURITY
    Initializing built-in extension XINERAMA
    Initializing built-in extension XFIXES
    Initializing built-in extension RENDER
    Initializing built-in extension RANDR
    Initializing built-in extension COMPOSITE
    Initializing built-in extension DAMAGE
    Initializing built-in extension MIT-SCREEN-SAVER
    Initializing built-in extension DOUBLE-BUFFER
    Initializing built-in extension RECORD
    Initializing built-in extension DPMS
    Initializing built-in extension Present
    Initializing built-in extension DRI3
    Initializing built-in extension X-Resource
    Initializing built-in extension XVideo
    Initializing built-in extension XVideo-MotionCompensation
    Initializing built-in extension XFree86-VidModeExtension
    Initializing built-in extension XFree86-DGA
    Initializing built-in extension XFree86-DRI
    Initializing built-in extension DRI2
    Loading extension GLX
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
    Loading extension ATIFGLRXDRI
    Loading extension FGLRXEXTENSION
    Loading extension GLESX
    Loading extension AMDXVOPL
    Loading extension AMDXVBA
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Compat map for group 2 redefined
    > Using new definition
    > Warning: Compat map for group 3 redefined
    > Using new definition
    > Warning: Compat map for group 4 redefined
    > Using new definition
    Errors from xkbcomp are not fatal to the X server
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Compat map for group 2 redefined
    > Using new definition
    > Warning: Compat map for group 3 redefined
    > Using new definition
    > Warning: Compat map for group 4 redefined
    > Using new definition
    Errors from xkbcomp are not fatal to the X server
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Compat map for group 2 redefined
    > Using new definition
    > Warning: Compat map for group 3 redefined
    > Using new definition
    > Warning: Compat map for group 4 redefined
    > Using new definition
    Errors from xkbcomp are not fatal to the X server
    (EE)
    (EE) Backtrace:
    (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x584ae8]
    (EE) 1: /usr/bin/X (0x400000+0x1887c9) [0x5887c9]
    (EE) 2: /usr/lib/libpthread.so.0 (0x7f2454ecf000+0xf870) [0x7f2454ede870]
    (EE) 3: /usr/lib/xorg/modules/drivers/fglrx_drv.so (xdl_xs115_atiddxPixmapIsTypeOf+0x25) [0x7f2451c56af5]
    (EE) 4: /usr/lib/xorg/modules/drivers/fglrx_drv.so (atiddxPixmapIsTypeOf+0xd) [0x7f2451a7046d]
    (EE) 5: /usr/lib/xorg/modules/amdxmm.so (X740XvPutImage+0x197) [0x7f244ebd5957]
    (EE) 6: /usr/bin/X (0x400000+0x8b9c2) [0x48b9c2]
    (EE) 7: /usr/bin/X (0x400000+0xd31c2) [0x4d31c2]
    (EE) 8: /usr/bin/X (0x400000+0x35d1e) [0x435d1e]
    (EE) 9: /usr/bin/X (0x400000+0x39b2a) [0x439b2a]
    (EE) 10: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7f2453b42b05]
    (EE) 11: /usr/bin/X (0x400000+0x250ce) [0x4250ce]
    (EE)
    (EE) Segmentation fault at address 0x47
    (EE)
    Fatal server error:
    (EE) Caught signal 11 (Segmentation fault). Server aborting
    (EE)
    (EE)
    Please consult the The X.Org Foundation support
    at [url]http://wiki.x.org[/url]
    for help.
    (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
    (EE)
    (EE) Server terminated with error (1). Closing log file.
    xinit: connection to X server lost
    Last edited by empter (2014-02-07 03:35:27)

    Linkas wrote:Many users have this problem. There is a workaround in this thread: The AMD/ATI Bar & Grill, post #6237
    Please link to the post https://bbs.archlinux.org/viewtopic.php … 7#p1377967 and not to the page, because different users may be using different paging settings. For me that tread has "only" 84 pages :-)
    The link to each post is locate under date and time e.g. '2014-02-03 21:03:01'.

  • [SOLVED]mplayer and mplayer-plugin

    I have been trying to install mplayer and mplayer-plugin for several days from several mirrors in the USA. this is the error message I keep receiving:
    error: failed retrieving file 'smbclient-3.2.5-1-i686.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'mplayer-1.0rc2-8-i686.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (unexpected error)
    Errors occurred, no packages were upgraded.
    Anyone else having this issue?
    THANKS!!!
    Last edited by cphase (2008-12-16 22:31:16)

    Update your pacman database (pacman -Sy) or really force it to update (pacman -Syy).  The packages you are trying to download are not the latest versions

  • [SOLVED] OpenGL video playback slow on radeonhd

    Hi,
    My video playback is very slow when using OpenGL output, both in VLC and mplayer.  When using the x11 driver, the playback is normal in VLC, but in mplayer there is a problem with the aspect: the picture does not scale.
    I have a Radeon mobility X1600 and an up to date Arch64. glxinfo report direct rendering, and glxgears gives about 215 FPS at the default window size (if I make it smaller, then it boosts to about 700). I don't use fglrx, since I can't put the laptop in suspend to ram mode with it - rather, I can but then I can't wake it up
    Any ideas?
    Thanks!
    Eduardo
    Last edited by ezacaria (2008-12-22 13:45:49)

    Hi,
    Thanks for the link!
    I realized that the offical Xorg ati driver also has support for my card. I just switched to it, and the mplayer problems are solved Incidentally, the glxgears count went up to about 1450. The suspend to ram also works, so I think I'll stick to this driver.
    Thanks again!
    Regards,
    Eduardo

  • Mplayer-30286-1 cannot play rmvb video, while mplayer-29776-1 can.

    I find my mplayer can't play the rmvb files, after upgrading to mplayer-30286-1. The outputs are:
    MPlayer UNKNOWN-4.4.2 (C) 2000-2009 MPlayer Team
    142 audio & 332 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 M***C.rmvb.
    REAL file format detected.
    Stream description: Audio Stream
    Stream mimetype: audio/x-pn-realaudio
    [real] Audio stream found, -aid 0
    Stream description: Video Stream
    Stream mimetype: video/x-pn-realvideo
    [real] Video stream found, -vid 1
    Stream mimetype: logical-fileinfo
    VIDEO: [RV40] 480x360 24bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
    Clip info:
    title: M***C
    author: r****e
    copyright: http://r***t.com
    [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
    =================================================
    Opening video decoder: [realvid] RealVideo decoder
    magic code not found in ext_subs, expect crash
    magic code not found in ext_subs, expect crash
    magic code not found in ext_subs, expect crash
    MPlayer interrupted by signal 11 in module: init_video_codec
    - MPlayer crashed by bad usage of CPU/FPU/RAM.
    Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
    disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
    - MPlayer crashed. This shouldn't happen.
    It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
    gcc version. If you think it's MPlayer's fault, please read
    DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
    won't help unless you provide this information when reporting a possible bug.
    Downgrading to mplayer-29776-1 solved the problem. So it must be a bug for mplayer-30286-1.

    I don't think it's a bug of ffmpeg, because I find that ffplay is working well on the rmvb file, while mplayer can't.
    I can give you some debug info here for mplayer:
    Program received signal SIGSEGV, Segmentation fault.
    0x00000000 in ?? ()
    (gdb) bt
    #0 0x00000000 in ?? ()
    #1 0x61051b89 in ?? ()
    #2 0x00000000 in ?? ()
    (gdb) disass $pc-32 $pc+32
    Dump of assembler code from 0xffffffe0 to 0x20:
    End of assembler dump.
    (gdb) info all-registers
    eax 0x1 1
    ecx 0xbfffd468 -1073752984
    edx 0xbfebfb01 -1075053823
    ebx 0x0 0
    esp 0xbfffd440 0xbfffd440
    ebp 0xbfffd46c 0xbfffd46c
    esi 0x8ead6d8 149608152
    edi 0xbfffd59c -1073752676
    eip 0x0 0
    eflags 0x10246 [ PF ZF IF RF ]
    cs 0x73 115
    ss 0x7b 123
    ds 0x7b 123
    es 0x7b 123
    fs 0x8f 143
    gs 0x33 51
    st0 0 (raw 0x00000000000000000000)
    st1 0 (raw 0x00000000000000000000)
    st2 0 (raw 0x00000000000000000000)
    st3 0 (raw 0x00000000000000000000)
    st4 0 (raw 0x00000000000000000000)
    st5 0 (raw 0x00000000000000000000)
    st6 0 (raw 0x00000000000000000000)
    st7 -1 (raw 0xbfff8000000000000000)
    fctrl 0x37f 895
    fstat 0x20 32
    ftag 0xffff 65535
    fiseg 0x73 115
    fioff 0x80f4eb9 135220921
    foseg 0x7b 123
    fooff 0xbfffd6d8 -1073752360
    fop 0x55d 1373
    xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
    xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
    xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
    xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
    xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
    ---Type <return> to continue, or q <return> to quit---
    xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
    xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
    xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
    mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
    mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
    mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
    mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
    mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
    mm4 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
    mm5 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
    mm6 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
    mm7 {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0,
    0x0, 0x0, 0x0, 0x0, 0x80}}

  • Does the video adapter output both S-Video and Composite simultaneously?

    I have a multi-zone receiver which converts S-Video to component for the main zone and passes S-Video signals through to zone 2 but does not convert them to composite which is how that zone is set up. I solved a similar problem with my DVD player by connecting both the component output and composite output of the DVD player to the receiver allowing high quality viewing in the lounge room and passable viewing in the bedroom.
    I realise the quality from the adapter is questionable particularly for composite but I'm still interested if both S-Video and composite signals are output from the MBP 17" via the adapter simultanesouly.
    Thanks,
    Max.

    I have a follow-up question which may help answer the original question. Does the MBP have to detect the external display when connected via S-Video/Composite in the same way that it has to when connected via DVI? My Dell notebook had so much trouble detecting composite and S-Video connections that eventually I gave up so I'm a little "once bitten twice shy" on this. If the MBP doesn't attempt to detect the external display via S-Video or composite then it must output both S-Video and Composite signals continuously (which would be great).
    Thanks,
    Max.

Maybe you are looking for