location how to set current as name instead of digits

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

location how to set current as name instead of digits

Shubham Shrivastava
g_object_set(G_OBJECT (data.filesink),"location","/home/CAM1/Cam1_%03d.mp4","async",0, NULL);

want to write as

g_object_set(G_OBJECT (data.filesink),"location","/home/CAM1/Cam1_asctime(tm).mp4","async",0, NULL);



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: location how to set current as name instead of digits

Shubham Shrivastava


On Sat, Jun 30, 2018 at 11:18 AM, Shubham Shrivastava <[hidden email]> wrote:
g_object_set(G_OBJECT (data.filesink),"location","/home/CAM1/Cam1_%03d.mp4","async",0, NULL);

want to write as

g_object_set(G_OBJECT (data.filesink),"location","/home/CAM1/Cam1_asctime(tm).mp4","async",0, NULL);




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel