[FFmpeg-devel] [PATCH v2 1/4] avfilter/graphdump: implement options parsing
Niklas Haas
ffmpeg at haasn.xyz
Tue Feb 18 14:50:41 EET 2025
On Tue, 18 Feb 2025 13:46:00 +0100 Niklas Haas <ffmpeg at haasn.xyz> wrote:
> From: Niklas Haas <git at haasn.dev>
>
> And use it to make the output format configurable.
>
> I also added a "none" option to explicitly disable the behavior (in case a
> previous command line argument was used to enable it). This has the added
> benefit of giving the default "pretty" format the ID 1, allowing `-dumpgraph 1`
> to continue working as expected.
Should address all of the issues brought up in the previous review.
One difference in this implementation is that we now print buffer/buffersink
filters as well, because I couldn't justify omitting them from an implementation
that has nothing to do with ffmpeg.c.
This does unfortunately mean that the output can't *directly* be reused as an
input to -filter_complex without first removing the buffer* entries. In theory
we could add an option to explicitly drop them, but I'm not sold on the idea.
More information about the ffmpeg-devel
mailing list