Thanks Andrey. I have found in http.c file, there is http_proxy parameter to setup proxy, but may I know where this setenvironment() function locates?
from libavformat didnt find any.... On Sat, Feb 11, 2012 at 4:58 PM, Andrey Utkin < [email protected]> wrote: > 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 > -- * Best regards -------------------- Mr. Gao Yuan* Uni-Stuttgart Infotech CEMT TEL: 017656442259 MSN:[email protected]
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
