title: How to capture a video behind proxy with opencv
body: <p>At the company I am behind a proxy and I could not get openCV's VideoCapture to work with videos from a http address. I am working on Windows 7.
  The openCV has a java API, but the calls are running not on the JVM that's why the following code is not enough, because if I know well it will be set the proxyHost only for the JVM:</p>
  
  <pre><code>System.setProperty("http.proxyHost", "my-proxy.net");
  System.setProperty("http.proxyPort", "80");
  </code></pre>
  
  <p>I did not found any parameter for the API to work with a proxy server. </p>
  
  <p>I could just simply capture a video by the following - but it's not using the proxy:</p>
  
  <pre><code>camera = new VideoCapture(url );
  </code></pre>
  
  <p>How could I force my java code, or the installed openCV dlls to use proxy for openCV calls?</p>
  
  <p>Thank you very much.</p>