[FFmpeg-devel] [PATCH v6 0/3] Add option to log timing

Tobias Rapp t.rapp at noa-archive.com
Fri Feb 7 17:57:55 EET 2025


On 07/02/2025 15:34, ffmpegagent wrote:

> This commit adds two logging flags: 'time' and 'datetime'.
>
> Usage:
>
> ffmpeg -loglevel +time
>
> or
>
> ffmpeg -loglevel +datetime
>
> Update V1
>
>   * Fix merge conflicts
>
> Update V2
>
>   * Rebased
>
> Update V3
>
>   * Fix print timing on exit (as reported by Michael Niedermayer)
>
> Update V4
>
>   * Rename variable
>   * Rename flags to time and datetime (as suggested by Marth64)
>
> Update V5
>
>   * Fix commit message (as noted by epirat07)
>
> Update V6
>
>   * Handle empty quiet messages in log.c rather than clearing log flags in
>     ffmpeg.c (as suggested by Tobias Rapp)
>
> softworkz (3):
>    avutil/log: support logging of date and time information
>    fftools/opt_common: add time and datetime log flags
>    doc/fftools-common-opts: document log timing flags
>
>   doc/APIchanges               |  3 +++
>   doc/fftools-common-opts.texi |  4 ++++
>   fftools/opt_common.c         | 12 ++++++++++++
>   libavutil/log.c              | 32 +++++++++++++++++++++++++++++---
>   libavutil/log.h              | 10 ++++++++++
>   libavutil/version.h          |  2 +-
>   6 files changed, 59 insertions(+), 4 deletions(-)
>
> [...]

Looks fine from my side regarding the handling of AV_LOG_QUIET.

Thanks,
Tobias




More information about the ffmpeg-devel mailing list