Quantcast
Channel: MediaSPIP
Viewing all articles
Browse latest Browse all 118120

GStreamer pipeline should automatically switch back to the live stream

$
0
0

I am using below list of version.

Gstreamer-1.24.10, windows 10.

I'm working on a GStreamer pipeline to handle RTSP camera streams. When the RTSP camera goes offline, I want to display a image or black screen instead of stopping the pipeline. Once the RTSP stream is back online, the pipeline should automatically switch back to the live stream.

Below pipeline work but rtsp server not response that time 3 camera stop (After 19 seconds...) but 1 camera not ping that's not fulfill my requirements(My requirement is not stoping live view)

I have already tried pipeline belowed:

gst-launch-1.0 compositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_1::xpos=240 sink_1::ypos=0 sink_2::xpos=480 sink_2::ypos=0 ! videoconvert ! autovideosink sync=false rtspsrc location=rtspt://USERNAME:PASSWORD@IP:PORT/Streaming/Channels/101 ! rtph265depay ! avdec_h265 ! videoconvert ! videoscale ! video/x-raw,width=640,height=360 ! comp. rtspsrc location=rtspt://USERNAME:PASSWORD@IP:PORT/Streaming/Channels/101 ! rtph265depay ! avdec_h265 ! videoconvert ! videoscale ! video/x-raw,width=640,height=360 ! comp. rtspsrc location=rtspt://USERNAME:PASSWORD@IP:PORT/Streaming/Channels/101 ! rtph265depay ! avdec_h265 ! videoconvert ! videoscale ! video/x-raw,width=640,height=360 ! comp.

Can you please let me know.How to deal with this issue??


Viewing all articles
Browse latest Browse all 118120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>