|
I am mixing a video stream with a static image. That's working fine. I would like to dynamically turn the image off/on at certain times. My idea was to put a valve after the image stream and use a controller to toggle the drop property. But alas, I get an error when trying to create that controller,
In [45]: gst.Controller( gst.element_factory_make( 'valve' ), 'drop' )
** (ipython:2530): CRITICAL **: gst_controlled_property_new: assertion `(pspec->flags & (G_PARAM_WRITABLE | GST_PARAM_CONTROLLABLE | G_PARAM_CONSTRUCT_ONLY)) == (G_PARAM_WRITABLE | GST_PARAM_CONTROLLABLE)' failed
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
/mnt/transfer/<ipython console> in <module>()
RuntimeError: could not create GstController object
|