vaapi and x-forwarding

Victor Jaquez vjaquez at
Tue Jun 15 09:02:57 UTC 2021

On Tue, 15 Jun 2021 at 03:32, Marianna S. Buschle via gstreamer-devel wrote:
> Now I would like a bit more elegant solution, since I need to handle anyway
> the HAVE_CONTEXT and NEED_CONTEXT messages on the bus because I want to
> decouple my pipelines.
> So I would like to do something like

Yes, that's the way to choose programmatically and specific display
(DRM in your case).

> but with the 'vaGetDisplayDRM()'.
> However I can't seem to find python bindings for the VAAPI API?

I'm not a python expert but  this looks the way

>>> from ctypes import *
>>> va_drm = cdll.LoadLibrary("/usr/lib/x86_64-linux-gnu/")
>>> va_drm.vaGetDisplayDRM(opened_fd)


More information about the gstreamer-devel mailing list