Fwd: How to give path in location in this form

Shubham Shrivastava shubham333vm at gmail.com
Sat Jun 30 10:40:21 UTC 2018


---------- Forwarded message ----------
From: Shubham Shrivastava <shubham333vm at gmail.com>
Date: Sat, Jun 30, 2018 at 2:35 PM
Subject: How to give path in location in this form
To: gstreamer-devel at lists.freedesktop.org


 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/fc181e41/attachment.html>


More information about the gstreamer-devel mailing list