splitmuxsink location with date/time format

tom tomschuring at gmail.com
Tue Aug 31 05:28:00 UTC 2021


Hello,

splitmuxsink only supports a sequence number of the split file like:
location=myvideo%05d.mp4

if I were to add support for a date/time format as well so users of this
plugin won't need to implement it using the format_location_callback
would that be accepted, or is that out of scope for the gstreamer project ?

I was thinking of using the same format as
https://man7.org/linux/man-pages/man1/date.1.html  has

for example:
  location=myvideo-%Y%m%d%H%M%S.mp4
  would give a file myvideo-20210831152645.mp4

Your thoughts please.
Kind Regards,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210831/b61c5bb6/attachment.htm>


More information about the gstreamer-devel mailing list