After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773506 - splitmuxsink: add support for monotonic file index increment
splitmuxsink: add support for monotonic file index increment
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-26 04:50 UTC by Baby octopus
Modified: 2018-11-03 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Baby octopus 2016-10-26 04:50:59 UTC
Splitmuxsink currently rotates the file index i.e., 0, 1 , 2, 3, 0, 1, 2, 3... and so on rather than incrementing monotonically. This can be added as a property
Comment 1 Tim-Philipp Müller 2016-10-26 09:15:40 UTC
it does?
Comment 2 Baby octopus 2016-10-26 09:38:54 UTC
No rolls over once max file is reached and rolls back to index 0
Comment 3 Tim-Philipp Müller 2016-10-26 09:46:00 UTC
Interesting. I wonder if that's intentional or a bug. I would have expected it to simply delete old files but continue with the numbering. Jan?
Comment 4 Baby octopus 2016-10-26 10:00:26 UTC
Is it by design because splitmuxsink will not have capability to delete files from sinks such as curlftpsink/curlhttpsink, hence rotate the same files?
Comment 5 Jan Schmidt 2016-10-26 11:19:33 UTC
Correct, splitmuxsink has no knowledge of the actual storage - it just sets a location on a sink element. There's no API by which it could request file deletion.
Comment 6 Baby octopus 2016-10-26 12:02:49 UTC
Understandable. It would be a good feature enhancement if it can be done, provided file deletion API is supported in future
Comment 7 Jan Schmidt 2016-10-26 12:17:52 UTC
FWIW, you can use the format-location signal to manually set any pattern / sequence of filename you like, and the splitmuxsink-fragment-opened and splitmuxsink-fragment-closed bus messages to know when it starts/stops using a particular file.
Comment 8 GStreamer system administrator 2018-11-03 15:13:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/312.