[FFmpeg-user] -report option and log level

Maxim Kozlov rogat1y at gmail.com
Fri Nov 7 17:20:22 CET 2014


from this post
http://ffmpeg-users.933282.n4.nabble.com/FW-ffmpeg-report-option-syntax-error-tp4665954p4665955.html

Note that the "level" option is numerical, from what I could make out
from the source code. The internally used values are defined as
AV_LOG_* in libavutil/log.h.


AV_LOG_QUIET    -8
AV_LOG_PANIC     0
AV_LOG_FATAL     8
AV_LOG_ERROR    16
AV_LOG_WARNING  24
AV_LOG_INFO     32
AV_LOG_VERBOSE  40
AV_LOG_DEBUG    48


2014-11-07 18:54 GMT+03:00 Maxim Kozlov <rogat1y at gmail.com>:

> Hi all.
>
> How i can change the log level of report file?
>
> Setting environment variable FFREPORT=level=info throws error.
>
> C:\src\ffmpeg-32\bin>set FFREPORT=level=info
> C:\src\ffmpeg-32\bin>ffmpeg2.exe -threads 0 -rtbufsize 2G -fflags +genpts
> -report -re -i rtmp://host/app/stream -vcodec libx264
> -pix_fmt yuv420p -profile:v baseline -s 640x360 -vb 700k -x264opts
> level=31:keyint=25:fps=25:ref=3:vbv_maxrate=700:vbv_bufsize=700 -preset:v
> fast -aspect 16:9 -acodec libvo_aacenc -ab 32k -ar 22050 -ac 2 -bsf:a
> aac_adtstoasc -map 0:v -map 0:a -flags:a +global_header -flags:v
> +cgop+global_header -f tee
> "[f=flv]rtmp://host1/app/stream|[f=flv]rtmp://host2/app/stream"
> Invalid report file level
>
>


More information about the ffmpeg-user mailing list