I would pull 1 jpg from the stream, on failure, it changes state and does something. on success drop jpeg and do nothing.
On 2019. Jan 30., Wed at 18:30, discarn8 <discarn8-at-yahoo....@ffmpeg.org> wrote: > I'm using multiple instances of ffplay, on a linux distro, to play multiple > rtsp streams from multiple security cameras. However, due to the crowded > wifi environment I'm in and the 2.4ghz limitations of the cameras, I > occasionally drop / lose connection to one or more cameras, and thus lose > the rtsp stream. Other than watching for motion or staring at the time > display in the stream, to see if it's still "ticking", I have no way to > know > if the stream is active or not. Barring switching to a UDP rtsp stream > (which provides for horrible video quality), is there a known, existing > error message or process flag that I can filter on, to be made aware of the > stream loss? I've seemingly tried every warning level, but I don't see a > message alerting me to the stream drop. ffplay just keeps on ticking. > > Currently, I am stuck with scripting a shutdown and restart of ffplay every > 1/2 hour, for the most common "offenders", but I'm thinking that someone > else must have crossed this bridge before, and resolved the issue. > > Anyone? > > > > -- > Sent from: http://www.ffmpeg-archive.org/ > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".