Re: [FFmpeg-user] Any way to detect loss of rtsp stream in ffplay?

2019-01-30 Thread discarn8
Zoltan - the only problem with this, that I just realized is this: As I mentioned before, the cameras intermittently lose connection. Supposing that I send the ffmpeg test command while the camera connection is good, and then the camera stream input to ffplay drops. Ffplay will continue displayi

Re: [FFmpeg-user] Any way to detect loss of rtsp stream in ffplay?

2019-01-30 Thread discarn8
Zoltan: Ok, I tested this and you are correct - it works. Thank you, very much. I unplugged the camera and ran the ffmpeg command, you suggested and I promptly received a: "Connection to tcp://192.168.0.2 failed: Connection refused http://192.168.0.2: Connection refused" I can work with this.

Re: [FFmpeg-user] Any way to detect loss of rtsp stream in ffplay?

2019-01-30 Thread Zoltan Kerenyi Nagy
I did this and it works: ffmpeg -i rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov -y -f image2 -qscale 0 -frames 1 test.jpg On Wed, 30 Jan 2019 at 19:34, discarn8 wrote: > Thanks, Zoltan. I had not thought of that. I'll test it tonight and report > back. Thanks very much. > >

Re: [FFmpeg-user] Any way to detect loss of rtsp stream in ffplay?

2019-01-30 Thread discarn8
Thanks, Zoltan. I had not thought of that. I'll test it tonight and report back. Thanks very much. -- Sent from: http://www.ffmpeg-archive.org/ ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsu

Re: [FFmpeg-user] Any way to detect loss of rtsp stream in ffplay?

2019-01-30 Thread Zoltan Kerenyi Nagy
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 wrote: > I'm using multiple instances of ffplay, on a linux distro, to play multiple > rtsp streams from multiple security cameras.

[FFmpeg-user] Any way to detect loss of rtsp stream in ffplay?

2019-01-30 Thread discarn8
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 rt