On Tue, 2010-03-30 at 16:43 +0800, Kite Lau wrote:
> 于 2010年03月30日 12:51, Xiang, Haihao 写道:
> 
> >> bash-4.1$ vainfo
> >> libva: libva version 0.31.0
> >> vainfo: dri2_util.c:164: isDRI2Connected: Assertion `dri_state->fd>= 0'
> >> failed.
> > Please check the mode of dri device, such as /dev/dri/card0.
> >
> 
> Yes you are right it is a permission problem for /dev/dri/card0. I fixed 
> it and now vaininfo shows:
> 
> libva: libva version 0.31.0
> libva: va_getDriverName() returns 0
> libva: Trying to open /usr/lib64/dri/i965_drv_video.so
> libva: va_openDriver() returns 0
> vainfo: VA API version: 0.31
> vainfo: Driver version: i965 Driver 0.1
> vainfo: Supported profile and entrypoints
>        VAProfileMPEG2Simple            :      VAEntrypointVLD
>        VAProfileMPEG2Main              :      VAEntrypointVLD
> 
> 
> But mplayer-vaapi still refused to play complaining the following:
> 
> bash-4.1$ ./mplayer -vo vaapi -vc vaapi *disk3.ts

It should be ./mplayer -vo vaapi -va vaapi xxxx


> 
> Playing xxxxxxxxxxxxxxxx.disk3.ts.
> Cache fill:  0.00% (0 bytes)
> TS file format detected.
> VIDEO H264(pid=4129) AUDIO A52(pid=4133) NO SUBS (yet)!  PROGRAM N. 1
> FPS seems to be: 23.976025
> SUB: Added subtitle file (1): 
> ./cars.blu-ray.remux.1080p.h264.lpcm.dd5...@silu.disk3.srt
> libva: libva version 0.31.0
> libva: va_getDriverName() returns 0
> libva: Trying to open /usr/lib64/dri/i965_drv_video.so
> libva: va_openDriver() returns 0
> ==========================================================================
> Forced video codec: vaapi
> Cannot find codec matching selected -vo and video format 0x10000005.
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 48000 Hz, 2 ch, s16le, 640.0 kbit/41.67% (ratio: 80000->192000)
> Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
> ==========================================================================
> [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or 
> resource busy
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Video: no video
> 
> What could be wrong?
> 
> Thanks and best regards,
> 
> Kite

_______________________________________________
Libva mailing list
Libva@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to