Page 1 of 1

--http-reconnect question

Posted: 12 Jun 2012 15:10
by wadewilson
I am streaming from a bunch of IP cameras but just through the gui wizard. One of the problems I have is if the camera restarts itself, I need to restart the stream. If I start streaming with the command line, will the "--http-reconnect" command automatically reconnect to the IP camera stream after the camera restarts itself?

Re: --http-reconnect question

Posted: 12 Jun 2012 17:34
by wadewilson
Also, where would I put in my command? So far I have,

vlc http://12.1.49.32:8212 --sout #transcode{vcodec=WMV2,vb=800,scale=1,acodec=wma2,ab=128,channels=2}:duplicate{dst=http{mux=asf,dst=:9093/},dst=display}

Where would I insert the "--http-reconnect"?

Re: --http-reconnect question

Posted: 18 Jun 2012 15:28
by deranjer
Have you tried what they suggest in this thread? viewtopic.php?f=14&t=51100
They say the :sout-keep command (added at the end of your entire command like so: :duplicate{dst=http{mux=asf,dst=:9093/},dst=display} :sout-keep) will reconnect the stream. They were having issues with playlist changes on vlc, so not sure if the exact same problem.