Page 1 of 1
HTTP Secured Streaming - How To???
Posted: 03 Nov 2007 12:26
by SteveCZ
Hello guys,
I'd like to setup streaming via http (in Windows) and to use its parameters user and pwd. But because I'm a beginner in VLC I don't now, where should I write them. I tried the following command:
Code: Select all
vlc video.avi :sout=#std{access=http,mux=ts,dst=192.168.1.2:8080,user=myuser,pwd=password}
but it doesn't work.
What is the correct syntax? Where should be the parameters placed correctly?
And finally, how can I such a stream open in VLC? Where will I write these parameteres for playing this video?
Thanks for your answers in advance.
SteveCZ
Re: HTTP Secured Streaming - How To???
Posted: 03 Nov 2007 16:36
by funman
please don't poste twice in different forums
Re: HTTP Secured Streaming - How To???
Posted: 04 Nov 2007 14:03
by SteveCZ
Hey guys, no one knows where to write the appropriate parameteres?:-)
Re: HTTP Secured Streaming - How To???
Posted: 05 Nov 2007 19:46
by Rémi Denis-Courmont
s/:sout=/--sout/
Re: HTTP Secured Streaming - How To???
Posted: 05 Nov 2007 20:53
by SteveCZ
I don't understand your replay at all.
Re: HTTP Secured Streaming - How To???
Posted: 09 Nov 2007 12:55
by SteveCZ
I can't believe that anyone hasnt' tried that and no one knows the answer...
Re: HTTP Secured Streaming - How To???
Posted: 09 Nov 2007 13:28
by revolunet
believe it or not but i think VLC doesn't provide any http auth mecanism for streaming (unlike http admin).
a workaround could be to proxify this stream which an Apach ReverseProxy which handles the auth mecanism...
Re: HTTP Secured Streaming - How To???
Posted: 09 Nov 2007 13:43
by ssbssa
Rémi meant you should replace ':sout=' with '--sout', so try:
vlc video.avi --sout=#std{access=http,mux=ts,dst=192.168.1.2:8080,user=myuser,pwd=password}
Re: HTTP Secured Streaming - How To???
Posted: 09 Nov 2007 13:45
by SteveCZ
OK, but what are the parameters http pwd and user for? It is in documnetation..
Look at:
http://wiki.videolan.org/Documentation: ... mmand_Line and find 2nd occurance of the word "http".
Thanks
SteveCZ
Re: HTTP Secured Streaming - How To???
Posted: 09 Nov 2007 14:20
by SteveCZ
for ssbssa: when i use -- instead of : it is the same:-(
Re: HTTP Secured Streaming - How To???
Posted: 13 Nov 2007 16:06
by SteveCZ
I'm starting to think those parameters are of no use....
Re: HTTP Secured Streaming - How To???
Posted: 14 Nov 2007 06:03
by mxm
'user' and 'pwd' parameters is not accepted by 'std'. It is accepted by 'http' access_output module.
For input it is specified in url.
See example
Code: Select all
new ch1 broadcast enabled
setup ch1 input ../1.avi
setup ch1 output #std{access=http{user=myuser,pwd=password},mux=ts,dst=192.168.0.14:8080}
new ch2 broadcast enabled
setup ch2 input http://myuser:password@192.168.0.14:8080
control ch1 play
control ch2 play
Re: HTTP Secured Streaming - How To???
Posted: 14 Nov 2007 10:22
by revolunet
so vlc does support http auth for streaming !!! wow, once again VLC ROCKS !!!!!
eash day a new discovery on this forum
Re: HTTP Secured Streaming - How To???
Posted: 14 Nov 2007 17:09
by SteveCZ
Thx man, it finally works for my!!!! Thanks, thanks, thanks!!!
SteveCZ