1

Is there a way to force the ffmpeg command-line to display a comprehensive list of all filters and their parameters, even those that are applied automatically like -vf scale?

(EDIT: To clarify, I do not mean filter documentation, but rather displaying filters that are instantiated at runtime for a particular command-line, just before transcoding starts. The goal of this is mostly checking that ffmpeg is indeed doing the right thing and not inserting/changing filters when I do not intend it to.)

There are a few options available, but none are comprehensive enough. For example:

  • The lavfi module has a dumpgraph option (here) but only if you're using lavfi.
  • The -sws_flags print_info option (here) can be used to determine if -vf scale is applied automatically and shows a subset of its parameters, but not all of them.

Additionally, this question appears related the answer doesn't answer what I'm looking for.

Are there better ways to achieve that?

F.X.
  • 6,809
  • 3
  • 49
  • 71

1 Answers1

2

ffmpeg -filters is what you're looking for

it shows an entire list of the the available filters and how they can be used with the input/output

The only thing it is missing is the parameters. But you can find those on their online docs https://ffmpeg.org/ffmpeg-filters.html

chemdrew
  • 131
  • 7
  • Ah, this makes me realize my question was poorly worded : I meant "all filters applied at runtime". I know how to get to the docs, but getting to know the exact list of filters and their parameters applied on a particular command-line was what I was looking for! Editing the question! – F.X. Sep 12 '22 at 21:33
  • 1
    Naw your wording makes complete sense. The first part of my comment answers that - `ffmpeg -filters` will show all the filters available with your ffmpeg executable. The docs I just added for more info for any others stumbling across this :) – chemdrew Sep 13 '22 at 19:49
  • 1
    Hmm, it seems it's still not _quite_ what I was looking for. In fact I can see 3 different things: there's a) a list of all filters technically supported by ffmpeg, b) a list of all filters compiled into a particular ffmpeg executable, and c) a list of all filters (with their parameters and the values associated with each parameter) applied by a particular command-line. I can get a) with the docs and b) with your answer, but I was looking for c)... Sorry again for the poor wording, and thanks for trying to help! – F.X. Sep 13 '22 at 23:09