[Ffmpeg-devel] av_log

Michel Bardiaux mbardiaux
Wed Mar 15 10:48:21 CET 2006


Mike Melanson wrote:
> Marcel Wolf wrote:
> 
>> Mike
>> What turns the log on? Where do I find it? Or is it always up
> 
> 
>     av_log(), per my understanding, is just our version of printf(). 

fprintf(stderr), actually. stdin/stdout are supposedly reserved for pipe 
protocols in libavformat.

> I 
> think its default mode in FFmpeg is to just printf() to the console. 
> However, if a client app wants to re-route it, say, to a graphical 
> dialog box, it has that option as well.
> 
>     Short answer: Use av_log as instructed in my last email and you 
> should get console output. grep for av_log through the .h files to find 
> out how it is defined.
> 

HaND,
-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/





More information about the ffmpeg-devel mailing list