[FFmpeg-devel] [PATCH v5 0/3] Add option to log timing
ffmpegagent
ffmpegagent at gmail.com
Fri Feb 7 09:57:24 EET 2025
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)
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/ffmpeg.c | 1 +
fftools/opt_common.c | 12 ++++++++++++
libavutil/log.c | 32 +++++++++++++++++++++++++++++---
libavutil/log.h | 10 ++++++++++
libavutil/version.h | 2 +-
7 files changed, 60 insertions(+), 4 deletions(-)
base-commit: 4ba9ae7742a6f8a29d6486e25ff5709a075edb5b
Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-37%2Fsoftworkz%2Fsubmit_logtiming-v5
Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-37/softworkz/submit_logtiming-v5
Pull-Request: https://github.com/ffstaging/FFmpeg/pull/37
Range-diff vs v4:
1: 2871595d3b ! 1: dae6bd3210 avutil/log: support logging of date and timing information
@@ Metadata
Author: softworkz <softworkz at hotmail.com>
## Commit message ##
- avutil/log: support logging of date and timing information
+ avutil/log: support logging of date and time information
Signed-off-by: softworkz <softworkz at hotmail.com>
2: aed251e1f5 ! 2: 63ab3a9411 fftools/opt_common: add timing and datetiming log flags
@@ Metadata
Author: softworkz <softworkz at hotmail.com>
## Commit message ##
- fftools/opt_common: add timing and datetiming log flags
+ fftools/opt_common: add time and datetime log flags
- This commit adds two logging flags: 'timing' and 'datetiming'.
+ This commit adds two logging flags: 'time' and 'datetime'.
Usage:
- ffmpeg -loglevel +timing
+ ffmpeg -loglevel +time
or
- ffmpeg -loglevel +datetiming
+ ffmpeg -loglevel +datetime
Setting av_log_set_flags(0) in term_exit in ffmpeg.c prevents
timing to be printed when exiting.
3: 600020f36e = 3: 038cbf45ed doc/fftools-common-opts: document log timing flags
--
ffmpeg-codebot
More information about the ffmpeg-devel
mailing list