How can I time out from a bad URL ?
Posted: 31 May 2018 20:21
Hi,
I am using a command such as the following as part of a windows batch file:
In this command, "--run-time 10", as intended, stops the streaming of a connected URL to the file after 10 seconds.
The problem is that if the stream at the URL is down, vlc keeps trying to connect and does not quit. How then do I tell vlc to quit if failing to connect to the specified URL stream after, let's say, x secs.
Thx
gc
I am using a command such as the following as part of a windows batch file:
Code: Select all
vlc !URL! --sout=#std{access=file,mux=mp3,dst=!FILENAME!} --run-time 10 vlc://quit
The problem is that if the stream at the URL is down, vlc keeps trying to connect and does not quit. How then do I tell vlc to quit if failing to connect to the specified URL stream after, let's say, x secs.
Thx
gc