[Libva] Status of libva and mplayer/ffmpeg?

Erik Slagter erik at slagter.name
Mon Oct 10 11:21:29 PDT 2011


I have now pulled the mplayer version from

git://gitorious.org/vaapi/mplayer.git

from branch:

remotes/origin/hwaccel-vaapi

It compiles okay, but when I try to run it, it segfaults. This only 
happens when no filters are specified, otherwise it just runs 
unaccellerated. Any idea? I also tried other files, including from mpeg 
transport streams. Especially the "xvmc"/"mpeg2" line puzzles me, it's 
all h264. Also xmvc has never worked for me anyway - with mpeg2. I have 
libvaapi and va-intel installed from git.

eos erik:/nfs/video/muziek $ mplayer -vo vaapi -va vaapi 'BBC Children 
In Need 2010.mp4'
MPlayer SVN-r34180-4.5.1 (C) 2000-2011 MPlayer Team

Playing BBC Children In Need 2010.mp4.
Cache fill:  0.00% (0 bytes)

libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  1440x1080  24bpp  25.000 fps  9979.2 kbps (1218.2 kbyte/s)
Clip info:
  major_brand: isom
  minor_version: 1
  compatible_brands: isomavc1
  creation_time: 2010-12-18 10:43:39
libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/dri/i965_drv_video.so
libva: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 115.3 kbit/7.50% (ratio: 14407->192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
[VD_FFMPEG] Trying pixfmt=1.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vaapi] 1440x1080 => 1920x1080 H.264 VA-API Acceleration  [fs]
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[1]    30192 segmentation fault  mplayer -vo vaapi -va vaapi 'BBC 
Children In Need 2010.mp4'


More information about the Libva mailing list