Include http authentication in cmd when playing network stre

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
jetwong81
New Cone
New Cone
Posts: 1
Joined: 26 Jul 2007 06:16

Include http authentication in cmd when playing network stre

Postby jetwong81 » 26 Jul 2007 08:12

Dear All,
I have tried to use the search function provided at the top of the web site, but i couldnt find any related post about this.

I was trying to open a network movie from a server with http authentication enabled. Is there anyway to include the username & password in the command line while opening the stream instead of everytime entering the username and password in the http authentication pop-up form from VLC Client.

Thank you in advance.


p.s - so far i have tried to use following command to by pass the http authentication pop-up form from the VLC Client but not successful.

c:\program files\videoLan\vlc\vlc.exe http://10.0.1.5/movie.mjpg --http-user root --http-pwd password
c:\program files\videoLan\vlc\vlc.exe http://10.0.1.5/movie.mjpg --http-user=root --http-pwd=password
c:\program files\videoLan\vlc\vlc.exe http://10.0.1.5/movie.mjpg http-user=root http-pwd=password
c:\program files\videoLan\vlc\vlc.exe --http-user=root --http-pwd=password http://10.0.1.5/movie.mjpg

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Re: Include http authentication in cmd when playing network

Postby vel_tins » 18 Sep 2010 05:40

three years later, but no answer...
I tried any possible combination, but nothing works.
maybe somebody can enlighten me

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: Include http authentication in cmd when playing network

Postby Jean-Baptiste Kempf » 19 Sep 2010 18:55

http://user:pass@

works
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.

kikocuas
New Cone
New Cone
Posts: 2
Joined: 18 Mar 2007 16:50

Re: Include http authentication in cmd when playing network

Postby kikocuas » 19 Jan 2011 14:43

If username contains the @ char then vlc gets confused.
Example:
username=myusr@domain.com
pwd=mypwd

Would be great that developpers coul pass these two arguments as an options (http-user / http-pwd).
Would be also great if the parsing function of URIs admits username with @ char.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests