First of all, I'm not sure if this is the correct place to post - the problem might be linux-specific (I'm using Debian etch) but I think it is a general one. Anyway..
I'm having a problem streaming with VLC (stream in, stream out). Seems it doesn't timeout when my internet connection dies and instead it just stands still, streaming nothing in or (obviously) out. The problem is that it continue to stand still after my internet connection comes back!
What I want is that VLC dies when either my internet connection dies or the input stream dies.
This is my current execution line (bash script):
Code: Select all
vlc \
-I dummy \
-vvv \
--repeat \
--no-video \
--http-reconnect \
--http-caching=3000 \
--ipv4-timeout=3000 \
--sout="#std{access=http,mux=raw,dst=localhost:1100}}" \
http://123.123.123.123:10000 vlc://quit