[Libva] Howto use VAAPI with FFMPEG
Max Müller
mxmr at gmx.net
Mon Aug 24 05:50:38 PDT 2009
Gwenole Beauchesne schrieb:
> 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.
Thank you Gwenole,
your reply helped me a lot! Your example is very useful!
Greetings,
Max
More information about the Libva
mailing list