2012/2/9 Yuan Gao <[email protected]>:
> My problem is how to pass the file path if I need to pass a proxy? of course
> the proxy address and port is known.
> from http.c file which is in libav source files, I found inside it has
> defined dealing with http protocol and proxy, so I am sure somewhere must be
> a way to set up proxy parameter
> by using libav. Unfortunately didnt find anything useful. From ffmpeg
> documentation, only one paragraph briefly states that "by using http_proxy,
> it is useful to set proxy..." that makes
> no sence for me...

Set environment variable "http_proxy". See libavformat/http.c:101
For POSIX systems, use setenv(). For Windows, there're SetEnvironmentVariable().
-- 
Andrey Utkin
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to