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 <[email protected]>:

> 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 <
> [email protected]> 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
>> [email protected]
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>


-- 
Regards,
Dmitry
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to