[Libva] Can libva encode from opengl texture?

Xiang, Haihao haihao.xiang at intel.com
Wed Mar 25 17:52:10 PDT 2015


> Hello,
> 
> 
> I want to encode my opengl rendering result into h264 with libva. I
> found the bottleneck is actually preparing the yuv image from the rgb
> rendering result. 


It depends on the implementation of the underlying driver. for
intel-driver, you can use a RGB surface as input, the driver will
convert RGB to YUV internally. 


> NVIDIA, for example, provides a way to directly encode an opengl
> texture map into video. I wonder if similar function exists with
> libva? I know it has some interoperability with egl, but I'm not sure
> if it is just for displaying decoded result?
> 
> 
> Thank you,
> 
> 
> Shi
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva




More information about the Libva mailing list