Hi
You may want to look at the splitmuxsink element:
You can do something like the following:
gst-launch-1.0 uridecodebin uri=<a href="rtsp://ip_address:port/mapping" class="">rtsp://ip_address:port/mapping ! encodebin ! splitmuxsink max-size-time=600000000000 location=video_%03d.mp4
That pipeline will record the video stream in 10min chunk videos. I may be missing some properties, but I hope it gets you started.
Michael
I am new to GStreamer. I want to read live video stream from an IP camera and
write 10 minutes chunk of the video stream into a new mp4 file every 10
minutes. How should I approach this? What elements should I used in the
pipeline to dump the streams?
Thanks in advance.
Silvia
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel