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:

  1. Thank you for this useful tip!

    ReplyDelete
  2. Very good ! Very Very Good !!!

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

    ReplyDelete
  4. Works fine, thanks!!

    ReplyDelete
  5. Thank you very much for this helpful tip.

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

    ReplyDelete
  7. --http-proxy=<string>

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

    --http-proxy-pwd=<string>

    ReplyDelete
  8. 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 =)

    ReplyDelete
  9. Thanx - this really was helpful!

    ReplyDelete
  10. But how to set a username with space like

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

    ?

    Thx in advance.

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

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

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

    ReplyDelete
  14. Hi also via google big thank's...

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

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

    ReplyDelete
  16. 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 ^^

    ReplyDelete
  17. 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.

    ReplyDelete
  18. 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!

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

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

    ReplyDelete
  21. great!!! So many thanks!!!!

    ReplyDelete