[Libav-user] Hardware decoding via libva

faeem faeem.ali at gmail.com
Sat Dec 22 13:28:54 CET 2012

Thanks for the YUV->RGB tip. I'll look into that.

I think I read on wikipedia that ffmpeg/libavcodec has no va-api 
support, but does contain data structures that allow it to be used with 
va-api. I figured someone here would have some idea on what to do, and 
I've already got some very useful advice and code examples.

So, thanks :)


On 22/12/2012 14:22, Carl Eugen Hoyos wrote:
> faeem <faeem.ali at ...> writes:
>> I'll need to run the YUV to RGB conversion on each frame
>> if I'm running OpenGL and this will still be CPU intensive.
> (I don't think this is correct but it is not related to
> va-api at all, consider testing mplayer -vo gl, it is
> very fast because it does not need CPU conversion of
> YUV->RGB.)
> [...]
>> Is this correct?
> I am certainly no expert for va-api, but I wonder if
> you already realized that ffmpeg and ffplay (the
> applications) do not support va-api in any way,
> libavcodec contains code that application may use
> to decode using va-api, see vlc source code and
> the linked MPlayer patch for examples.
> Carl Eugen
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

More information about the Libav-user mailing list