[vlc-devel] how to output ffmpeg message in vlc

Rafaël Carré funman at videolan.org
Tue Mar 20 07:22:56 CET 2012

Le 2012-03-20 00:55, Sergey Radionov a écrit :
> On 20.03.2012 10:15, Rafaël Carré wrote:
>> Le 2012-03-19 23:13, haibin_shen at sina.com a écrit :
>>> Hi, everyone,
>>> I'm working on enable dxva2 on windows, and I need get ffmpeg's debug
>>> message. but I can't get them in vlc logger window or message dialog, I
>>> just get vlc's debug message. I have tried to add "--enable-debug
>>> --disable-optimizations" in vlc configure, and add "--enable-debug=3" in
>>>   ffmpeg's configure, but it doesn't work, I only get vlc's debug messge.
>>> anybody can give me any suggestion on how to get ffmepg's debug log? thanks a lots.
>>> best regards,
>> ffmpeg messages go to stderr, not sure what happens on Windows.
> on windows it's go to /dev/null, i.e. nowhere..
>> try vlc --ffmpeg-debug option?
> to view libav messages under windows the only way is to add something like OutputDebugString to 
> vlc\modules\codec\avcodec\avutil.h : LibavutilCallback and use 
> http://technet.microsoft.com/en-us/sysinternals/bb896647

I think that piece of code is now gone?

More information about the vlc-devel mailing list