splitmuxsink passing buffers in bursts

logidelic bill at orbit.org
Tue Oct 1 20:28:05 UTC 2019


I have a pipeline which uses splitmuxsink to write to a file. I noticed
immediately that, as opposed to filesink, the file only gets updated in
(relatively) infrequent bursts, rather than regularly if using a regular
filesink.

This is not due to filesink's buffering mode: I tried them all and it had no
effect.

Just to be sure, I switched splitmuxsink to use an appsink instead of a
filesink and, indeed, the appsink's new_sample callback is called in bursts,
instead of being called regularly if we use a straight appsink without
splitmuxsink.

In case you were wondering I set the appsink's sync property to FALSE.
Indeed, with all settings in the pipeline identical, except for the
existence of splitmuxsink, I see that with splitmuxsink buffers arrive at
the final sink in bursts, whereas they arrive regularly otherwise.

Any ideas what causes this and if there is a setting that can fix it?
Getting the buffers in a timely manner is important in my case...

Thank you!



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list