Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

At work we have an "camera pc" which monitors an ipcam. I'm using rtsp and VLC to display te stream on a monitor. However, the stream is eating up approximately 50GB a day so I edited the crontab to disable the eth0 interface between 17.00 and 8:30. The problem is that VLC won't reconnect when the interface is back up in the morning and of course I want it to happen automatically..

I tried setting the camera settings lower, but VLC will only display a black screen.

So if anybody has any suggestions, I'm all ears..

Tl;dr : How can I set VLC to automatically reconnect a video stream?

share|improve this question

1 Answer 1

Try starting vlc with --loop parameter. If VLC recognizes the stream has stopped, it should restart when it resumes.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.