How to give path in location in this form

Shubham Shrivastava shubham333vm at gmail.com
Sat Jun 30 09:05:59 UTC 2018


 sprintf(fullpath,
"/home/Videos/Date%02d%02d%d/CAM1",tt->tm_mday,tt->tm_mon + 1, tt-> tm_year
+ 1900);
 g_object_set(G_OBJECT
(data.filesink),"location","fullpath/Cam1_%03d.mp4","async",0, NULL);

instead of

g_object_set(G_OBJECT
(data.filesink),"location","/home/shubham/Videos/Date16062018/CAM1/Cam1_%03d.mp4","async",0,
NULL);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180630/0e4f53c4/attachment.html>


More information about the gstreamer-devel mailing list