--http-reconnect question

About encoding, codec settings, muxers and filter usage
wadewilson
New Cone
New Cone
Posts: 5
Joined: 05 Jun 2012 14:36

--http-reconnect question

Postby wadewilson » 12 Jun 2012 15:10

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?

wadewilson
New Cone
New Cone
Posts: 5
Joined: 05 Jun 2012 14:36

Re: --http-reconnect question

Postby wadewilson » 12 Jun 2012 17:34

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"?

deranjer
New Cone
New Cone
Posts: 7
Joined: 18 Jun 2012 14:52

Re: --http-reconnect question

Postby deranjer » 18 Jun 2012 15:28

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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 14 guests