Page 1 of 1

http stream dropout interruption causes VLC to quit

Posted: 09 Aug 2016 00:16
by lunix
The following works except that any stream interruption causes VLC to stop even when stream recovers.

cvlc -q http://ice41.securenetsystems.net/KFNN --sout=#transcode{vcodec=none,acodec=mp3,ab=32,channels=1,samplerate=44100}:file{mux=mp3,dst=${DIR}${FILENAME} --run-time ${LENGTH} vlc://quit

So, I read about solving this and found the following: --http-continuous --http-reconnect
so added the following to the above as:

cvlc -q --http-continuous --http-reconnect http://ice41.securenetsystems.net/KFNN --sout=#transcode{vcodec=none,acodec=ogg,ab=32,channels=1,samplerate=44100}:file{mux=ogg,dst=${DIR}${FILENAME} --run-time ${LENGTH} vlc://quit

However, I get no output to the file.

cvlc -q --http-continuous --http-reconnect http://ice41.securenetsystems.net/KFNN
I do hear output to my speakers with the above.

Anyone have any ideas?

Re: http stream dropout interruption causes VLC to quit

Posted: 09 Aug 2016 11:08
by Jean-Baptiste Kempf
Did you try just --http-reconnect ?