Multi IP Camera Issue

Shashank Mutha shashankmutha at gmail.com
Fri May 25 10:29:46 UTC 2018


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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180525/927f5f89/attachment.html>


More information about the gstreamer-devel mailing list