Hardware encoding for screencasts
Try h264 on intel and AMD hardware using VA-API, using vapostproc to do the color conversion using specialized hardware. We're not adding a vaapi pipeline using the color conversion GL shader here, as vapostproc color conversion should be better suited for anything needed by vaapi based encoders/decoders.
A capsfilter is used to enforce the use of DMAbuf (memory:DMABuf) with the new explicit modifier API (format=DMA_DRM).
Also, we're using the new va* gst elements instead of the vaapi* ones here, as the vaapi* elements are deprecated, while the va* elements are actively maintained.
Related: #5908
Edited by Robert Mader