[Libva] Howto use VAAPI with FFMPEG

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Thu Aug 20 09:33:56 PDT 2009


Hi,

On Thu, 20 Aug 2009, Max Müller wrote:

> Is there anywhere a little example or a howto  how libav is used
> together with libva? There seems to be (many?) differences about the
> usage from libav if hardware acceleration is required.

A very quick answer:
<http://www.splitted-desktop.com/~gbeauchesne/hwdecode-demos/>

- Look for ffmpeg files
- You have to initialize struct vaapi_context in your player
- You have to write AVCodecContext.{get_format,get_buffer,release_buffer}
+ MPlayer -> libvo/vo_vaapi.c to help further

This displays a static image. I will try to elaborate more tomorrow.

Regards,
Gwenole.


More information about the Libva mailing list