Gstreamer Query
Tim Müller
tim at centricular.com
Thu Jun 7 08:45:10 UTC 2018
On Thu, 2018-06-07 at 13:07 +0530, Shubham Shrivastava wrote:
Hi,
> How to change file name after 10 mins and split multiple files.
> I can spilt files but not able to change their name .
>
> g_object_set(G_OBJECT (data.filesink), "location",
> "/home/shubham/splintng/Videos/Shubham.mp4","next-file", 4,
> "multifilesink", "max-file-size", 10000000,0, NULL);
>
> This is working but same file overrides after max size so i want to
> change name after spilt can u people help me.
Have a look at the splitmuxsink element instead. It has a "format-
location" signal that allows you to dynamically generate the filename
for each chunk, and also a "split-now" action signal (Since: 1.14).
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list