于 2010年04月01日 16:33, Gwenole Beauchesne 写道:
On Thu, 1 Apr 2010, Kite Lau wrote:

Here it is:

Version 2010.02.24

bash-4.1# grep VAAPI *.mak *.h
config.mak:VAAPI = yes
config.mak:CONFIG_VAAPI=yes

OK.

$ ./mplayer -vo help

./mplayer -vo help
MPlayer SVN-r30589-4.4.3 (C) 2000-2010 MPlayer Team
Available video output drivers:
        xv      X11/Xv
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        gl      X11 (OpenGL)
        gl2     X11 (OpenGL) - multiple textures version
        matrixview      MatrixView (OpenGL)
        dga     DGA ( Direct Graphic Access V2.0 )
        sdl     SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
        fbdev   Framebuffer Device
        fbdev2  Framebuffer Device
        svga    SVGAlib
        aa      AAlib
        caca    libcaca
        v4l2    V4L2 MPEG Video Decoder Output
        xvidix  X11 (VIDIX)
        cvidix  console VIDIX
        null    Null video output
        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
        vaapi   VA API with X11

150 audio & 338 video codecs
$ ./mplayer -vo vaapi -va vaapi -msglevel vo=9 /path/to/some/mpeg2-video

./mplayer -vo vaapi -va vaapi xxx/xxx/vts_01_1.vob
MPlayer SVN-r30589-4.4.3 (C) 2000-2010 MPlayer Team
150 audio & 338 video codecs

Playing xxx/xxx/vts_01_1.vob.
Cache fill:  0.00% (0 bytes)
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  9641.2 kbps (1205.2 kbyte/s)
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
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VA API accelerated codec.
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
[VD_FFMPEG] Trying pixfmt=1.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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.
Unsupported PixelFormat 61
[VD_FFMPEG] Trying pixfmt=0.
Unsupported PixelFormat 61

...same as above 8 lines and not repeated here...

[mpeg2video @ 0xd2dd80]decoding to PIX_FMT_NONE is not supported.
[mpeg2video @ 0xd2dd80]mpeg_decode_postinit() failure
Error while decoding frame!

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)


_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to