timestamp based video files

transport raj rajtransport08 at gmail.com
Thu Oct 15 18:18:05 UTC 2020


Hi

For the below command,
g_object_set(G_OBJECT(splitmux),"location","/home/video%02d.mov" ,NULL);

 we get output as below
video01.mov   video02.mov   video03.mov   video04.mov   video05.mov


In order to get the output as timestamp-based dd:mm:yy hh:mm:ss video
files, I was suggested to use the format_location_callback signal. How to
implement the same? Please can anyone share a sample code?


gchararray <https://developer.gnome.org/gobject/unstable/gobject-Standard-Parameter-and-Value-Types.html#gchararray>
format_location_callback (GstElement
<https://gstreamer.freedesktop.org/documentation/gstreamer/gstelement.html#GstElement>
 splitmux,
                          guint
<https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint>
fragment_id,
                          gpointer
<https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer>
udata)


Regards
Raj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201015/e3db6276/attachment.htm>


More information about the gstreamer-devel mailing list