On Mon, 2020-10-12 at 21:34 +0530, transport raj wrote:
Hi,
> Using splitmuxsink element, the following source code snippet results
> in
> g_object_set(G_OBJECT(splitmux),"location","/home/video%02d.mov");
There's a NULL terminator argument missing here for this vararg
function.
> output as below
> video02.mov video05.mov video08.mov video11.mov video14.mov
>
> I need resulting videos to be generated based on timestamps dd:mm:yy
> hh:mm:ss.
>
> How to generate the same?
If the filename timestamps are based on wall clock time, then you can
use the "format-location" signal.
If they are based on timestamps on the buffers you can use the "format-
location-full" signal:
https://gstreamer.freedesktop.org/documentation/multifile/splitmuxsink.html?gi-language=c#splitmuxsink::format-location-fullCheers
Tim
--
Tim Müller, Centricular Ltd -
http://www.centricular.com_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel