[Intel-gfx] libva to play h264 on GMA4500HD

Alexey Fisher bug-track at fisher-privat.net
Mon Jul 12 23:02:05 CEST 2010


Hallo all,

i trying to test current libva, but have problem to play H264 video.
If i'm correct this board ( intel DG45ID (GMA4500HD), Vendor: 0x8086,
Device: 0x2e22, Revision: 0x03 (A3)) should support it, mpeg2 videos are
played correctly.

mplayer return this error:
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  976x544  24bpp  25.000 fps  2455.9 kbps (299.8 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 1
 compatible_brands: isom
libva: libva version 0.31.1
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VA API accelerated codec.
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 127.9 kbit/9.07% (ratio: 15991->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
directory
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
[VD_FFMPEG] Trying pixfmt=1.
Movie-Aspect is 1.79:1 - prescaling to correct movie aspect.
VO: [vaapi] 976x544 => 976x544 H.264 VA-API Acceleration 
[VD_FFMPEG] XVMC-accelerated MPEG-2.
mplayer: i965_avc_ildb.c:621: i965_avc_ildb_decode_init: Assertion
`avc_ildb_context->urb.cs_start + avc_ildb_context->urb.num_cs_entries *
avc_ildb_context->urb.size_cs_entry <= ((((&i965->intel)->device_id ==
0x0042) || ((&i965->intel)->device_id == 0x0046)) ? 1024 :
(((&i965->intel)->device_id == 0x2E02 || (&i965->intel)->device_id ==
0x2E12 || (&i965->intel)->device_id == 0x2E22 ||
(&i965->intel)->device_id == 0x2E32) || ((&i965->intel)->device_id ==
0x2A42)) ? 384 : 256)' failed.

=================================================================

i use libva from git master, ( last commit e9c00fc43e "Fix vaGetImage()
bounds checking code."), libdrm 2.4.21 from ubuntu ppa. And ubuntu
kernel 2.6.35-7-generic.






More information about the Intel-gfx mailing list