[FFmpeg-devel] [PATCH v6 0/8] print_graphs: Complete Filtergraph Printing
Stefano Sabatini
stefasab at gmail.com
Mon Mar 10 23:46:01 EET 2025
On date Saturday 2025-03-08 20:16:26 +0000, ffmpegagent wrote:
> This new version of the patchset starts by extracting the text formatting
> and writing APIs from ffprobe.c into a subfolder under fftools. The type
> naming follows public API naming style, ramping up for making it a public
> API in the future without another big renaming.
>
> The extraction of the text formatting APIs can be followed in smaller steps
> in the recent patchset "[RFC] avtextformat: Transform text writing into an
> independent API". To make this more review-friendly, the ffprobe changes are
> done in two steps. The 2nd commit includes all essential changes while the
> large part of renamings is deferred to the 3rd commit (containing renamings
> only).
>
> The graph-printing uses the extracted APIs. It supports all ffprobe output
> formats now. Otherwise it's functional equivalent to the previous version:
>
> * Different to other graph printing methods, this is outputting:
> * both, simple and complex filtergraphs
> * 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
Patch 1-3,8 approved on my side and can be already merged.
I'll review the other ones but it's best if other ones can review them
(e.g. Nicolas or Anton).
More information about the ffmpeg-devel
mailing list