Controlling number of frames in video with Splitmuxsink split-now
Dwight Kulkarni via gstreamer-devel <[email protected]> Wed, 25 Oct 2023 11:42:44 -0400
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <CAKW2B8jKpzr6=25OejY03X7Y0niGH+tkb5Z-ihNpE6cAYn3oXw@mail.gmail.com> |
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