[Xcb] [EXTERNAL] - the sample code for the screen capture to the hw acceleration encoder

Peter Harris pharris at opentext.com
Thu Sep 24 16:45:22 UTC 2020


On 2020-09-23 Wei-fu Chen wrote:
> Hi,
> 
> I am new to the XCB /XLIB and currently would like do the screen 
> recording by using Intel hardware acceleration encoder.
> 
> I did some search on Google but could not find the sample code or the 
> document about that.
> 
> I would appreciate that if someone may point me in the right direction.
> Thanks!

Sounds like you want VA-API: https://01.org/linuxmedia/vaapi

An example of capture and encode (using a wide variety of APIs, across a variety of platforms) is OBS: https://obsproject.com/

Peter Harris


More information about the Xcb mailing list