[FFmpeg-devel] [PATCH v2 09/10] fftools/graphprint: Add execution graph printing
Michael Niedermayer
michael at niedermayer.cc
Thu Apr 17 21:41:49 EEST 2025
Hi
On Wed, Apr 16, 2025 at 10:12:19AM +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
breaks build on ubuntu mingw
make -k
CC fftools/graph/graphprint.o
src/fftools/graph/graphprint.c: In function ‘print_streams’:
src/fftools/graph/graphprint.c:589:24: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
589 | sec_ctx.context_id = "Inputs";
| ^
In file included from src/fftools/graph/graphprint.c:34:
At top level:
src/fftools/ffmpeg_mux.h:126:19: warning: ‘ms_from_ost’ defined but not used [-Wunused-function]
126 | static MuxStream *ms_from_ost(OutputStream *ost)
| ^~~~~~~~~~~
src/fftools/graph/graphprint.c:1102:1: fatal error: opening dependency file fftools/graph/graphprint.d: No such file or directory
1102 | }
| ^
compilation terminated.
make: *** [src/ffbuild/common.mak:81: fftools/graph/graphprint.o] Error 1
CC fftools/resources/resman.o
src/fftools/resources/resman.c:213:1: fatal error: opening dependency file fftools/resources/resman.d: No such file or directory
213 | }
| ^
compilation terminated.
make: *** [src/ffbuild/common.mak:81: fftools/resources/resman.o] Error 1
CC fftools/resources/graph.html.o
src/fftools/resources/graph.html.c:2:1: fatal error: opening dependency file fftools/resources/graph.html.d: No such file or directory
2 | const unsigned int ff_graph_html_len = 938;
| ^~~~~
compilation terminated.
make: *** [src/ffbuild/common.mak:81: fftools/resources/graph.html.o] Error 1
CC fftools/resources/graph.css.o
src/fftools/resources/graph.css.c:2:1: fatal error: opening dependency file fftools/resources/graph.css.d: No such file or directory
2 | const unsigned int ff_graph_css_len = 1685;
| ^~~~~
compilation terminated.
make: *** [src/ffbuild/common.mak:81: fftools/resources/graph.css.o] Error 1
make: Target 'all' not remade because of errors.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- 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/20250417/96d7745e/attachment.sig>
More information about the ffmpeg-devel
mailing list