Terminate pipeline after fixed time

Vinayak Agarwal vinayakagarwal6996 at gmail.com
Tue Jun 8 13:38:27 UTC 2021

I am trying to composite multiple videos and then filesink them in C application. I wanted to know how to terminate the pipeline after a fixed time (say 10s). I tried using the GST_MESSAGE_DURATION event and terminating from there, but the file is created but not written to. I think I need to somehow signal to the file sink element to flush the data before termination.

Any help would be appreciated. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210608/077decd1/attachment.htm>

More information about the gstreamer-devel mailing list