[FFmpeg-devel] [PATCH 1/3] avcodec/aacenc: Reduce loglevel of aac_encode_end() from INFO to VER

Rostislav Pehlivanov atomnuker at gmail.com
Tue May 30 11:13:04 EEST 2017


On 30 May 2017 at 08:43, Ingo Brückl <ib at wupperonline.de> wrote:

> Rostislav Pehlivanov wrote on Mon, 29 May 2017 16:19:51 +0100:
>
> > On 29 May 2017 at 14:55, Ingo Brückl <ib at wupperonline.de> wrote:
>
> >> AV_LOG_INFO is the default and meant for informational output.
> >> The information given by aac_encode_end() is rather technical
> >> and of less interest to a common user.
>
> > I like both the x264, x265 and this printing encoding statistics at the
> > end. If users want to silence them they can use -loglevel.
>
> If users reduce the loglevel to silence such messages, they will lose all
> informational messages as well. It seems that there are two kinds of INFO
> messages - technical ones for the advanced user and useful ones for the
> common user.
>
> Ingo
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

By your logic everything should be silenced. Bitrate? Too technical.
Filesize? Too technical. Might as well put number of floppies you'll need,
since its simpler.
Point is, a user encoding should very well know everything there is to know
about the encoding process. How else would they know the encoding is bad?
When they send it somewhere seeking often is important and find seeking is
very slow or imprecise? Where bitrate matters and they forgot to enable
CBR? When the rate control system screwed up horribly and made the codec
intra-only? Every single one of the statistics is important to knowing how
good an encode is, regardless of how technical they are. If someone doesn't
care they can just ignore it. Its not a warning, its information.

>useful ones for the common user.
Most common users of ffmpeg (the command line tool) are power users seeing
this on a terminal, not someone who points and clicks to copy files


More information about the ffmpeg-devel mailing list