[Libav-user] Hardware decoding via libva

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Dec 22 13:22:16 CET 2012

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 


> 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

More information about the Libav-user mailing list