Live view stream on RPi: howto keep the it running after a drop?

Nick6

n3wb
May 15, 2020
18
2
EU
Hi

I want to be able to have a full screen live view from IP cams with a RPi.
So far, this is not a problem by using VLC or Omxplayer.
With Omxplayer I get better results regarding image quality.
VLC has a loop option but the image quality is not good.

Now I'm searching for a way to keep the stream alive after a disconnect for whatever reason.
Maybe there is a way to handle this with a script but my knowledge of scripting/Linux is very minimal.

Anybody who can help with this please?
 
Yes, it's been done in a few projects. One mentioned is from SvenVD here, it will try to re-connect if stream is lost....

Aslo, here is another one, don't have experience with it..