Search code examples
pythonvideogstreamercairogobject

Cairooverlay in Gstreamer1.0/Python 3


I'm trying to use cairooverlay with Gstreamer 1.0 and python 3.

I started trying to traslate this example in python. So far i've managed to obtain this code where the pipeline works and the cairooverlay "draw" callback is called. The problem now is how to write stuff on it. The second argument is a misterious "CairoContext" with no method at all, so i'm at loss.


Solution

  • I found the problem as a bug in cairooverlay gobject binding.

    The bug is described here and a workaround is provided here