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 781497 - multifilesink: add "prefix" property
multifilesink: add "prefix" property
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-04-19 12:56 UTC by Ligverd
Modified: 2018-11-03 15:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add property prefix multifilesink (4.76 KB, patch)
2017-04-19 12:56 UTC, Ligverd
none Details | Review

Description Ligverd 2017-04-19 12:56:52 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
Comment 1 Philippe De Muyter 2017-04-26 12:56:43 UTC
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
Comment 2 Ligverd 2017-05-17 07:05:51 UTC
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.
Comment 3 GStreamer system administrator 2018-11-03 15:18:28 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/366.