Hi,
Gst-inspect-1.0 splitmuxsink is your friend.
The parameters are different
You could for instance set the filename to something like video%05d.mp4
You could set max-size-bytes to
10000000
So that you get files like video00001.mp4, video00002.mp4…
You can also receive the format-location or format-location-full signals on the bus to change the filename as #Vinod suggested
regards
Von: gstreamer-devel [mailto:[hidden email]]
Im Auftrag von Shubham Shrivastava
Gesendet: Donnerstag, 7. Juni 2018 14:34
An: [hidden email]
Betreff: Not working splitmuxsink
GstElement *splitmuxsink;
data.splitmuxsink = gst_element_factory_make("splitmuxsink", "splitmuxsink");
g_object_set(G_OBJECT (data.splitmuxsink), "location", "/home/shubham/splintng/Videos/Shubham.mp4","next-file", 4, "multifilesink", "max-file-size", 10000000,0, NULL);
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel