Multi IP Camera Issue

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Multi IP Camera Issue

EnthuMan
Hello,
   I am trying to stream video from multiple IP cameras and writing them to a named pipe. When I stream from one or two cameras everything works fine but when I increase the number of camers to 5 or 6 then it works for few seconds and then I get the following error: 

ERROR: from element /GstPipeline:pipeline0/GstFileSink:filesink0: Could not write to resource.
Additional debug info:
gstelements_private.c(317): gst_writev_buffers (): /GstPipeline:pipeline0/GstFileSink:filesink0:
Error while writing to file descriptor 5: Broken pipe
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc2/GstUDPSrc:udpsrc7: Internal data stream error.
Additional debug info:
gstbasesrc.c(2950): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc2/GstUDPSrc:udpsrc7:
streaming stopped, reason error (-5)

The first time it ran for a few hours before it stopped but everytime since then it stops after a few seconds. Also, the memory utilization after this "crash" keeps going (I have seen it go up from ~1.5% (when it is working fine) to up to 45% (I killed gst-launch-1.0 after that)

I use the following:

gst-launch-1.0 -e rtspsrc location=rtsp://192.168.0.221 ! rtph264depay ! mux. rtspsrc location=rtsp://192.168.0.222/1 !rtph264depay ! mux. rtspsrc location=rtsp://192.168.0.223/1 ! rtph264depay ! mux. rtspsrc location=rtsp://192.168.0.225/1 ! rtph264depay ! mux. rtspsrc location=rtsp://192.168.0.226/1 ! rtph264depay ! mux. rtspsrc location=rtsp://192.168.0.227/1 ! rtph264depay ! mux. mpegtsmux name=mux ! filesink location=videots

Please advise,
Regards,

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel