PushSrc Framerate Synchronization
Maurice Ackel
maurice.ackel at students.uni-mannheim.de
Mon Aug 16 11:21:03 UTC 2021
Hi there,
I’m fairly new to GStreamer and currently trying to build a live PushSrc element. I’m a bit confused about the synchronization of the „fill“ function to the frame rate of the pipeline. I thought that it might be enough to negotiate a certain frame rate and then the PushSrc base class would call the fill function in this interval. However, this seems not to be the case. So what I am wondering now is two things:
1. How does an element determine when to call the fill/alloc/create function?
2. What do I need to do in order to sync my fill function to the pipeline frame rate (i.e. wait for a new frame time to do my capturing, etc.)
Thanks!
Maurice
More information about the gstreamer-devel
mailing list