[Libav-user] Debug level

Dmitry Adjiev adjiev.dmitry at gmail.com
Sat Aug 23 17:24:48 CEST 2014


Use av_log_set_level( AV_LOG_DEBUG ) when you initialize libs.
You can set any needed level via av_log_set_level()



2014-08-22 16:20 GMT+04:00 Tilak Varisetty <vtilakece at gmail.com>:

> I think the flags AV_LOG_DEBUG, AV_LOG_ERROR are enabled based on the
> importance level of the logged function av_log().
>
> To log all the info you can use av_log(NULL, AV_LOG_INFO, "Message to be
> displayed");
>
> I am not sure if you wanted to know the above information.
>
> Regards,
> Tilak.
>
>
> On Fri, Aug 22, 2014 at 2:09 PM, Nicolas Derouineau <
> nicolas.derouineau at vitec.com> wrote:
>
>> Hello,
>>
>> I'm currently playing with libavcodec as a static library, and I would
>> like to get the debug message (printed by the following)
>>
>>     av_log(h->avctx, AV_LOG_DEBUG,
>>                        "NAL_IDR Detected\n");
>>
>> Only the message printed with
>>
>>     av_log(h->avctx, AV_LOG_ERROR,
>>                        "NAL_IDR Detected\n");
>>
>> are currently displayed. Does anyone know how to activate this ? I see a
>> DEBUGLEVEL option in the configure script, but no further description is
>> given.
>>
>> Regards,
>>
>> Nicolas
>>
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>


-- 
Regards,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140823/644b5476/attachment.html>


More information about the Libav-user mailing list