[FFmpeg-user] Any way to detect loss of rtsp stream in ffplay?
Zoltan Kerenyi Nagy
kerenyi.nagy.zoltan at gmail.com
Wed Jan 30 19:55:59 EET 2019
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.com at ffmpeg.org>
> 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
> 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.
> Sent from: http://www.ffmpeg-archive.org/
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user