[Libav-user] a proxy problem of libav

Yuan Gao gaoyuanhot at gmail.com
Sun Feb 12 14:34:12 CET 2012


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 <
andrey.krieger.utkin at gmail.com> wrote:

> 2012/2/9 Yuan Gao <gaoyuanhot at gmail.com>:
> > 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
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>



-- 
*
Best regards
--------------------
Mr. Gao Yuan*
Uni-Stuttgart Infotech CEMT
TEL: 017656442259
MSN:gaoyuanyes at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120212/af8bd280/attachment.html>


More information about the Libav-user mailing list