HTTP Secured Streaming - How To???

About encoding, codec settings, muxers and filter usage
SteveCZ
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Nov 2007 11:39

HTTP Secured Streaming - How To???

Postby SteveCZ » 03 Nov 2007 12:26

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

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: HTTP Secured Streaming - How To???

Postby funman » 03 Nov 2007 16:36

please don't poste twice in different forums

SteveCZ
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Nov 2007 11:39

Re: HTTP Secured Streaming - How To???

Postby SteveCZ » 04 Nov 2007 14:03

Hey guys, no one knows where to write the appropriate parameteres?:-)

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: HTTP Secured Streaming - How To???

Postby Rémi Denis-Courmont » 05 Nov 2007 19:46

s/:sout=/--sout/
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

SteveCZ
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Nov 2007 11:39

Re: HTTP Secured Streaming - How To???

Postby SteveCZ » 05 Nov 2007 20:53

I don't understand your replay at all.

SteveCZ
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Nov 2007 11:39

Re: HTTP Secured Streaming - How To???

Postby SteveCZ » 09 Nov 2007 12:55

I can't believe that anyone hasnt' tried that and no one knows the answer...

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: HTTP Secured Streaming - How To???

Postby revolunet » 09 Nov 2007 13:28

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...
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

ssbssa
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 03 May 2007 22:00
VLC version: 2.0.2
Operating System: Windows

Re: HTTP Secured Streaming - How To???

Postby ssbssa » 09 Nov 2007 13:43

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}

SteveCZ
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Nov 2007 11:39

Re: HTTP Secured Streaming - How To???

Postby SteveCZ » 09 Nov 2007 13:45

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

SteveCZ
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Nov 2007 11:39

Re: HTTP Secured Streaming - How To???

Postby SteveCZ » 09 Nov 2007 14:20

for ssbssa: when i use -- instead of : it is the same:-(

SteveCZ
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Nov 2007 11:39

Re: HTTP Secured Streaming - How To???

Postby SteveCZ » 13 Nov 2007 16:06

I'm starting to think those parameters are of no use....

mxm
New Cone
New Cone
Posts: 7
Joined: 07 Nov 2007 06:51

Re: HTTP Secured Streaming - How To???

Postby mxm » 14 Nov 2007 06:03

'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

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: HTTP Secured Streaming - How To???

Postby revolunet » 14 Nov 2007 10:22

so vlc does support http auth for streaming !!! wow, once again VLC ROCKS !!!!!

eash day a new discovery on this forum ;)
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

SteveCZ
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Nov 2007 11:39

Re: HTTP Secured Streaming - How To???

Postby SteveCZ » 14 Nov 2007 17:09

Thx man, it finally works for my!!!! Thanks, thanks, thanks!!!

SteveCZ


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests