On Thu, 2018-06-07 at 13:07 +0530, Shubham Shrivastava wrote:
> 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).