Not working splitmuxsink

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Not working splitmuxsink

Shubham Shrivastava
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
Reply | Threaded
Open this post in threaded view
|

AW: Not working splitmuxsink

Thornton, Keith

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
Reply | Threaded
Open this post in threaded view
|

Re: Not working splitmuxsink

Shubham Shrivastava
In reply to this post by Shubham Shrivastava
how to use splitnow and format location signal?
can u please give me some idea or code 


On Thu, Jun 7, 2018 at 6:03 PM, Shubham Shrivastava <[hidden email]> wrote:
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
Reply | Threaded
Open this post in threaded view
|

Re: Not working splitmuxsink

Shubham Shrivastava
im using gstreamer 1.0 version on ubantu 16.04

On Thu, Jun 7, 2018 at 6:46 PM, Shubham Shrivastava <[hidden email]> wrote:
how to use splitnow and format location signal?
can u please give me some idea or code 


On Thu, Jun 7, 2018 at 6:03 PM, Shubham Shrivastava <[hidden email]> wrote:
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