How to give path in location in this form

Marie Maurer meinemailingliste2 at online.de
Sat Jun 30 09:16:05 UTC 2018


Some like

sprintf(fullpath, 
"/home/Videos/Date%02d%02d%d/CAM1/Cam1_%%03d.mp4",tt->tm_mday,tt->tm_mon 
+ 1, tt-> tm_year + 1900);

  g_object_set(G_OBJECT (data.filesink),"location",fullpath,"async",0, 
NULL);

Best regards,

Marie

Am 30.06.2018 um 11:05 schrieb Shubham Shrivastava:
>  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);
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180630/ef3827d0/attachment.html>


More information about the gstreamer-devel mailing list