Monday, April 28, 2008

Using vlc with a proxy on windows

Googling "vlc proxy windows" does not immediately give me what I want. I did find this page, but allow me to give you a digest of it with a couple of suggestions:

1. right click the "VLC media player" icon on your desktop
2. Properties
3. add the following to the Target (outside of the quotes)
 --http-proxy=my.proxy.com:8080
4. Apply
5. Ok.

NOTE: there should be a space between the Target and the "--http-proxy=my.proxy.com:8080" Mine looks like this:
"C:\Program Files\VideoLAN\VLC\vlc.exe" --http-proxy=my.companys.proxy.com:8080
Or if you like the command line, try:
vlc.exe http://my.video.com/some/random/stream.avi --http-proxy=my.proxy.com:8080
Hope that helps.

24 comments:

Anonymous said...

Thank you for this useful tip!

Anonymous said...

Very good ! Very Very Good !!!

Vitaliy Obmanyuk said...

Cool :) It works. Thanks!

Anonymous said...

Thanks for this - great tip. Spent hours wading through tonnes of rubbish before this worked perfectly.

Anonymous said...

Works fine, thanks!!

Anonymous said...

Thank you very much for this helpful tip.

Unknown said...

i need to login to my proxy, whats the syntax to add those details?

Vernon Singleton said...

--http-proxy=<string>

HTTP proxy to be used It must be of the form http://[user@]myproxy.com:myport/

--http-proxy-pwd=<string>

Anonymous said...

Thanks for this tip.

Worked well for me, I used the following to work with my proxy:

--http-proxy=username:password@my.proxy.com:8080

Cheers =)

Unknown said...

Thanx - this really was helpful!

meuledor said...

But how to set a username with space like

--http-proxy=http://foo bar@myproxy.mydomain.com

?

Thx in advance.

Anonymous said...

vsingleton.blogspot.com; You saved my day again.

Unknown said...

hi, can anyone tell me what does this command do??
thanks a lot

Anonymous said...

Google put me there and... thank you for solving my problem! :)

Anonymous said...

Hi also via google big thank's...

Anonymous said...

...or open VLC->Preferences->Input&Codecs and in the field proxy type this:

http://user:pass@your.proxy.com:

Anonymous said...

thank you

Adamidon said...

if i'm using a proxy software like freegate and such, how should i do it? bcause in my web browser, the http proxy part is only replaced with "localhost" and the port is configured with the port given by the software. hope u can help. thank you very much ^^

Anonymous said...

Thanks a lot for the handy tip!

I think setting the http_proxy environment variable in windows should also work. That way one can double click a playlist file (containing a HTTP link) directly instead of opening it from VLC started using the modified shortcut.

Anonymous said...

Excelent advice Vernon! Thank you! The only thing that bugs me is that you have to get the link and introduce it into the VLC!

Lucas.G said...

Thanks a lot! But why the heck they did not add an option in the settings somewhere? O.o

Anonymous said...

And on Mac OS X, from a Terminal window, something like this works:
$ open /Applications/VLC.app --args --http-proxy=my.proxy.net:8080

Anonymous said...

Thanks a lot!!!

Anonymous said...

great!!! So many thanks!!!!