GNOME Bugzilla – Bug 781497
multifilesink: add "prefix" property
Last modified: 2018-11-03 15:18:28 UTC
Created attachment 350066 [details] [review] add property prefix multifilesink add property "prefix" multifilesink prefix="record/%Y/%m/%d/%H%M" location=-%010d.ts"" prefix is the syntax for strftime and automatically creates the required directory /2017/04/01/1056-0000000001.ts
this should depend on https://bugzilla.gnome.org/show_bug.cgi?id=779213 to use the reference timestamp instead of some current time. this should also avoid localtime which is not thread-safe
for clean code, I will not speak. I use prefix in hlssink, and decided to share this with others if the developers will consider this option necessary, I think they will not be difficult to include this code with their bug fixes.
-- 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/366.