Controlling number of frames in video with Splitmuxsink split-now
Dwight Kulkarni
dwight at realtime-7.com
Wed Oct 25 15:42:44 UTC 2023
Hi all,
I am pushing frames onto a pipeline as follows:
app_src --> ... ---> splitmuxsink
When I push frames onto app_src after every 15th frame I call "split-now"
on splitmuxsink.
My expectation is the video will have 15 frames in it. But when I check, it
has exactly 30 frames every time.
The output to screen shows 2 or 3 calls to split-now before the
split-mux-sink format-location-callback output saying it's saving a video.
Could it be that the split-now calls are occurring too frequently so
splitmux sink is setting the preferred time that it can save data to the
next feasible split-now point which happens to encompass two split-now
calls, therefore 30 frames are in the video ?
Thanks.
Dwight Kulkarni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20231025/e4dc08fb/attachment.htm>
More information about the gstreamer-devel
mailing list