This pathcset adds two logging flags: 'timing' and 'datetiming'. Usage:
ffmpeg -loglevel +timing or ffmpeg -loglevel +datetiming Update V2 * Fix merge conflicts Update V3 * Rebased softworkz (3): avutil/log: support logging of date and timing information fftools/opt_common: add timing and datetiming 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(-) base-commit: 4ba9ae7742a6f8a29d6486e25ff5709a075edb5b Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-37%2Fsoftworkz%2Fsubmit_logtiming-v2 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-37/softworkz/submit_logtiming-v2 Pull-Request: https://github.com/ffstaging/FFmpeg/pull/37 Range-diff vs v1: 1: 5dc718cfd5 ! 1: 13a7dc164b avutil/log: support logging of date and timing information @@ Commit message Signed-off-by: softworkz <softwo...@hotmail.com> ## doc/APIchanges ## -@@ doc/APIchanges: libavutil: 2021-04-27 +@@ doc/APIchanges: The last version increases of all libraries were on 2024-03-07 API changes, most recent first: -+2022-08-xx - xxxxxxxxxx - lavu 57.34.100 - log.h ++2025-01-xx - xxxxxxxxxx - lavu 59.57.100 - log.h + Add flags AV_LOG_PRINT_TIME and AV_LOG_PRINT_DATETIME. + - 2022-08-xx - xxxxxxxxxx - lavf 59 - avformat.h - Deprecate av_stream_get_end_pts() without replacement. + 2025-01-25 - xxxxxxxxxx - lavu 59.56.100 - frame.h + Add AV_SIDE_DATA_PROP_CHANNEL_DEPENDENT. ## libavutil/log.c ## @@ libavutil/log.c static AVMutex mutex = AV_MUTEX_INITIALIZER; -@@ libavutil/log.c: static const char *get_level_str(int level) - } +@@ libavutil/log.c: static const char *item_name(void *obj, const AVClass *cls) + return (cls->item_name ? cls->item_name : av_default_item_name)(obj); } +static void format_date_now(AVBPrint* timeBuf, int include_date) @@ libavutil/version.h @@ */ - #define LIBAVUTIL_VERSION_MAJOR 57 --#define LIBAVUTIL_VERSION_MINOR 33 --#define LIBAVUTIL_VERSION_MICRO 101 -+#define LIBAVUTIL_VERSION_MINOR 34 -+#define LIBAVUTIL_VERSION_MICRO 100 + #define LIBAVUTIL_VERSION_MAJOR 59 +-#define LIBAVUTIL_VERSION_MINOR 56 ++#define LIBAVUTIL_VERSION_MINOR 57 + #define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ - LIBAVUTIL_VERSION_MINOR, \ 2: 23f6cad25e = 2: 9eb9a6cf48 fftools/opt_common: add timing and datetiming log flags 3: 595d03037f = 3: 20e049c4c7 doc/fftools-common-opts: document log timing flags -- ffmpeg-codebot _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".