[FFmpeg-devel] [PATCH v4 00/11] Execution Graph Printing
ffmpegagent
ffmpegagent at gmail.com
Mon Apr 21 01:59:03 EEST 2025
Shortest cover letter for my longest-running FFmpeg patchset:
* Apply
* Build
* Add the "-sg" switch to any FFmpeg command line
* Press 'q' when you don't want to wait
SG = Show Graph
Documentation and examples can be found here:
https://github.com/softworkz/ffmpeg_output_apis/wiki
Version Updates
===============
V2
==
* Rebased on top of Andreas' improvements
* Applied changes from review (thanks, Andreas)
V3
==
* Fixed all "new warnings"
* Fixed out-of-tree building (thanks, Michael)
V4
==
* Resolved merge conflict
* Fixed build on MinGW (missing include due to WIN32_LEAN_AND_MEAN being
defined) (thanks, Michael)
softworkz (11):
fftools/textformat: Formatting and whitespace changes
fftools/textformat: Quality improvements
fftools/textformat: Introduce common header and deduplicate code
fftools/tf_internal: Use ac_default_item_name
fftools/textformat: Add function avtext_print_integer_flags()
fftools/ffmpeg_filter: Move some declaration to new header file
avfilter/avfilter: Add avfilter_link_get_hw_frames_ctx()
fftools/resources: Add resource manager files
fftools/ffmpeg_mux: Make ms_from_ost() inline
fftools/graphprint: Add execution graph printing
fftools/graphprint: Now, make it a Killer-Feature!
doc/APIchanges | 3 +
doc/ffmpeg.texi | 14 +
ffbuild/common.mak | 28 +-
fftools/Makefile | 22 +-
fftools/ffmpeg.c | 4 +
fftools/ffmpeg.h | 4 +
fftools/ffmpeg_filter.c | 195 +----
fftools/ffmpeg_filter.h | 234 ++++++
fftools/ffmpeg_mux.h | 2 +-
fftools/ffmpeg_opt.c | 17 +
fftools/graph/filelauncher.c | 205 +++++
fftools/graph/graphprint.c | 1146 ++++++++++++++++++++++++++++
fftools/graph/graphprint.h | 62 ++
fftools/resources/.gitignore | 4 +
fftools/resources/Makefile | 27 +
fftools/resources/graph.css | 353 +++++++++
fftools/resources/graph.html | 86 +++
fftools/resources/resman.c | 213 ++++++
fftools/resources/resman.h | 50 ++
fftools/textformat/avtextformat.c | 238 +++---
fftools/textformat/avtextformat.h | 53 +-
fftools/textformat/avtextwriters.h | 11 +-
fftools/textformat/tf_compact.c | 121 +--
fftools/textformat/tf_default.c | 55 +-
fftools/textformat/tf_flat.c | 51 +-
fftools/textformat/tf_ini.c | 62 +-
fftools/textformat/tf_internal.h | 81 ++
fftools/textformat/tf_json.c | 56 +-
fftools/textformat/tf_mermaid.c | 658 ++++++++++++++++
fftools/textformat/tf_mermaid.h | 41 +
fftools/textformat/tf_xml.c | 68 +-
fftools/textformat/tw_avio.c | 16 +-
fftools/textformat/tw_buffer.c | 7 +-
fftools/textformat/tw_stdout.c | 8 +-
libavfilter/avfilter.c | 9 +
libavfilter/avfilter.h | 12 +
36 files changed, 3670 insertions(+), 546 deletions(-)
create mode 100644 fftools/ffmpeg_filter.h
create mode 100644 fftools/graph/filelauncher.c
create mode 100644 fftools/graph/graphprint.c
create mode 100644 fftools/graph/graphprint.h
create mode 100644 fftools/resources/.gitignore
create mode 100644 fftools/resources/Makefile
create mode 100644 fftools/resources/graph.css
create mode 100644 fftools/resources/graph.html
create mode 100644 fftools/resources/resman.c
create mode 100644 fftools/resources/resman.h
create mode 100644 fftools/textformat/tf_internal.h
create mode 100644 fftools/textformat/tf_mermaid.c
create mode 100644 fftools/textformat/tf_mermaid.h
base-commit: 9e1162bdf1454d7ae3737429bcc6bd66e5da303a
Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-66%2Fsoftworkz%2Fsubmit_print_execution_graph-v4
Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-66/softworkz/submit_print_execution_graph-v4
Pull-Request: https://github.com/ffstaging/FFmpeg/pull/66
Range-diff vs v3:
1: 357859ee56 = 1: dbd9193a0d fftools/textformat: Formatting and whitespace changes
2: 9279d2f53d = 2: 1516e67a5b fftools/textformat: Quality improvements
3: d6734bd718 = 3: 7024548b92 fftools/textformat: Introduce common header and deduplicate code
4: 8289c0ebf8 = 4: 4f1218b594 fftools/tf_internal: Use ac_default_item_name
5: a3fe7abcfe = 5: c1fea3027a fftools/textformat: Add function avtext_print_integer_flags()
6: 5b0ac30814 = 6: 28aeb7180d fftools/ffmpeg_filter: Move some declaration to new header file
7: 5e3225c9df ! 7: d2ad11ac85 avfilter/avfilter: Add avfilter_link_get_hw_frames_ctx()
@@ doc/APIchanges: The last version increases of all libraries were on 2025-03-28
+2025-02-xx - xxxxxxxxxx - lavfi 10.10.100 - avfilter.h
+ Add avfilter_link_get_hw_frames_ctx().
+
- 2025-04-16 - c818c67991 - libpostproc 59.1.100 - postprocess.h
- Deprecate PP_CPU_CAPS_3DNOW.
+ 2025-04-21 - xxxxxxxxxx - lavu 60.2.100 - log.h
+ Add AV_CLASS_CATEGORY_HWDEVICE.
## libavfilter/avfilter.c ##
8: 9881050f93 = 8: 9fa93efdda fftools/resources: Add resource manager files
9: f639a2e9ff = 9: 45b2a38592 fftools/ffmpeg_mux: Make ms_from_ost() inline
10: 998d6a70c4 = 10: 0e52640aca fftools/graphprint: Add execution graph printing
11: 8817dd0991 ! 11: 07a8d731ee fftools/graphprint: Now, make it a Killer-Feature!
@@ fftools/graph/filelauncher.c (new)
+
+#if defined(_WIN32)
+# include <windows.h>
++# include <shellapi.h>
+#else
+# include <sys/time.h>
+# include <time.h>
--
ffmpeg-codebot
More information about the ffmpeg-devel
mailing list