[FFmpeg-devel] [PATCH v6 12/13] fftools/graphprint: Add execution graph printing
Michael Niedermayer
michael at niedermayer.cc
Sat Apr 26 01:26:47 EEST 2025
On Thu, Apr 24, 2025 at 01:13:10AM +0000, softworkz wrote:
> From: softworkz <softworkz at hotmail.com>
>
> The key benefits are:
>
> - Different to other graph printing methods, this is outputting:
> - all graphs with runtime state
> (including auto-inserted filters)
> - each graph with its inputs and outputs
> - all filters with their in- and output pads
> - all connections between all input- and output pads
> - for each connection:
> - the runtime-negotiated format and media type
> - the hw context
> - if video hw context, both: hw pixfmt + sw pixfmt
> - Output can either be printed to stdout or written to specified file
> - Output is machine-readable
> - Use the same output implementation as ffprobe, supporting multiple
> formats
>
> Signed-off-by: softworkz <softworkz at hotmail.com>
> ---
> doc/ffmpeg.texi | 10 +
> fftools/Makefile | 20 +-
> fftools/ffmpeg.c | 4 +
> fftools/ffmpeg.h | 3 +
> fftools/ffmpeg_filter.c | 5 +
> fftools/ffmpeg_opt.c | 13 +
> fftools/graph/graphprint.c | 1101 +++++++++++++++++++++++++++++
> fftools/graph/graphprint.h | 30 +
> fftools/textformat/avtextformat.c | 2 +
> fftools/textformat/avtextformat.h | 29 +
> fftools/textformat/tf_mermaid.c | 658 +++++++++++++++++
> fftools/textformat/tf_mermaid.h | 41 ++
> 12 files changed, 1915 insertions(+), 1 deletion(-)
> create mode 100644 fftools/graph/graphprint.c
> create mode 100644 fftools/graph/graphprint.h
> create mode 100644 fftools/textformat/tf_mermaid.c
> create mode 100644 fftools/textformat/tf_mermaid.h
make
LD ffmpeg_g.exe
x86_64-w64-mingw32-gcc: error: fftools/resources/graph.html.o: No such file or directory
x86_64-w64-mingw32-gcc: error: fftools/resources/graph.css.o: No such file or directory
make: *** [Makefile:142: ffmpeg_g.exe] Error 1
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250426/8a00a3f6/attachment.sig>
More information about the ffmpeg-devel
mailing list