http stream dropout interruption causes VLC to quit

*nix specific usage questions
lunix
New Cone
New Cone
Posts: 5
Joined: 18 Mar 2008 01:15
VLC version: 2.2.2-5
Operating System: Linux
Location: Felton, CA USA

http stream dropout interruption causes VLC to quit

Postby lunix » 09 Aug 2016 00:16

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: http stream dropout interruption causes VLC to quit

Postby Jean-Baptiste Kempf » 09 Aug 2016 11:08

Did you try just --http-reconnect ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests