I have this script running:
Code: Select all
vlc -I dummy --verbose 2 --loop --sout '#transcode{vcodec=DIV3,vb=512,scale=1}:standard{access=mmsh,mux=asfh,dst=<dest-IP>:8080}' http://source_URL
My problem is that when the connection to the webcam (input source) fails i still have a pending VLC object which does not restore the connection as soon as the link is up again. I tried to solve by adding the --loop option but it doesn't work if the period of failure is longer than about 20 minutes.
Is there any way to keep VLC constantly poll for the connection when it is down so that it can be restored??
Thank you very much in advance
Chris