splitmuxsink files naming format

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

splitmuxsink files naming format

Abu Abdullah
Hi,

Can i format the name of the generated files from splitmuxsink with time e.g.
20-07-2018_09:00:00_00.mp4
20-07-2018_09:01:00_00.mp4
20-07-2018_09:02:00_00.mp4

something that can be done like this:
splitmuxsink location=`date +%d-%m-%Y_%H:%M:%S`_%02d.mp4
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: splitmuxsink files naming format

Gst-Geek
Hi  Abu Abdullah,

Yes it is possible through "format-location-full" signal. Register call back
function to the signal, and return the required name through call back. This
should be handled in the application.

It is not possible through location property.




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel