AW: AW: PushSrc Framerate Synchronization

Thornton, Keith keith.thornton at zeiss.com
Tue Aug 17 06:43:11 UTC 2021


Hi,
I have proprietary plugins in which I use a condition variable to block the create or alloc function until there is a frame to be handled. There are similar mechanisms available in Glib if you want to write a fully conformant plugin.
Gruesse

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> Im Auftrag von Maurice Ackel via gstreamer-devel
Gesendet: Montag, 16. August 2021 20:47
An: gstreamer-devel at lists.freedesktop.org
Cc: Maurice Ackel <maurice.ackel at students.uni-mannheim.de>
Betreff: Re: AW: PushSrc Framerate Synchronization

Hi Keith,

Thank you very much for this information. Do you possibly have any pointers towards how I can block the fill function until the frame time of the next frame is reached? I wan’t to prevent that my fill function runs more often than required if the frame rate is set low. So far I have figured that I need to get a GstClockId, which I can then use to wait on a certain time. However, that’s more or less it :D

Any help would be much appreciated.

Best
Maurice 


More information about the gstreamer-devel mailing list