[FFmpeg-devel] [PATCH v2 09/10] fftools/graphprint: Add execution graph printing
softworkz .
softworkz at hotmail.com
Fri Apr 18 05:45:05 EEST 2025
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Michael Niedermayer
> Sent: Donnerstag, 17. April 2025 20:42
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH v2 09/10] fftools/graphprint: Add
> execution graph printing
>
> 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.
>
>
> [...]
> --
Oh, those out-of-tree builds again. Should be fixed in V3.
Thank you!
sw
More information about the ffmpeg-devel
mailing list