AW: Not working splitmuxsink
Thornton, Keith
keith.thornton at zeiss.com
Thu Jun 7 12:58:52 UTC 2018
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:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Shubham Shrivastava
Gesendet: Donnerstag, 7. Juni 2018 14:34
An: gstreamer-devel at lists.freedesktop.org
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);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180607/2a291fa4/attachment.html>
More information about the gstreamer-devel
mailing list