How to make file name as Current date and time.

Nicolas Dufresne nicolas at ndufresne.ca
Fri Jul 6 10:32:56 UTC 2018


Le vendredi 06 juillet 2018 à 10:01 +0530, Shubham Shrivastava a écrit :
> g_object_set (G_OBJECT (data.filesink), "location","/home/shubham/
> Videos/video_%03d.mp4","async",0, NULL);
> 
> As it makes file nameed after 10 minutes gap like this .....video_000.mp4,
> 
>                                                                                      video_001.mp4
> 
>                                                                                      video_999.mp4
> 
>                                                                                      and goes on...
> 
> 
> But how to make a file named like      --------- Wednesday 02:30 2018 .mp4
>                                                        --------- Wednesday 02:40 2018.mp4
>                                                        --------- Wednesday 02:30 2018.mp4

It's not currently possible with multifilesink, the element would need
to be enhanced. Maybe like splitmuxsink, with a format-location signal.

> 
> 
> 
> pLZ hELP!
> 
> I m new to gstreamer.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list