How to change file name to timestamp

Shubham Shrivastava shubham333vm at gmail.com
Mon Jul 2 07:11:24 UTC 2018


g_object_set(G_OBJECT
(data.filesink),"location","/home/shubham/Videos/Date16062018/CAM1/Cam1_%03d.mp4","async",0,
NULL);
g_object_set(G_OBJECT (data.filesink),"next-file", 4,"multifilesink", 0,
NULL);
g_object_set(G_OBJECT (data.filesink), "max-file-size", 5000000,
"multifilesink", 0, NULL);
g_object_set(G_OBJECT (data.filesink), "max-files ",5, "multifilesink", 0,
NULL);

How to put filename as a curret date time insted of Cam1_%03d.mp4 and
change after max-file-size.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180702/69177aed/attachment.html>


More information about the gstreamer-devel mailing list