How to Check If an FFmpeg Filter is Supported
Finding out whether a specific audio or video filter is available in your local FFmpeg installation is crucial for troubleshooting command-line errors and ensuring script compatibility. This article provides a direct, step-by-step guide on how to query your system’s FFmpeg binary using the terminal to verify filter support and view detailed filter information.
Use the FFmpeg Filters Command
FFmpeg has a built-in command that lists all compiled filters. You can combine this command with command-line search tools to quickly check if a specific filter is supported on your system.
On Linux and macOS (Terminal)
Open your terminal and use grep to search for your
desired filter:
ffmpeg -filters | grep "filter_name"For example, to check if the scale filter is
supported:
ffmpeg -filters | grep "scale"On Windows (Command Prompt)
Open Command Prompt and use findstr to search for the
filter:
ffmpeg -filters | findstr "filter_name"On Windows (PowerShell)
If you are using PowerShell, use the following syntax:
ffmpeg -filters | Select-String "filter_name"Understanding the Output Flags
When you run the filters command, FFmpeg returns a list with status flags on the left side of the filter name. The output looks similar to this:
... V->V scale V->V Scale the input video size and...
The letters before the filter name indicate its capabilities: *
T: Support for timeline editing (the filter can be
enabled/disabled at specific times). * S: Support for
slice threading (the filter can use multiple CPU threads). *
V: Video input/output. * A: Audio
input/output. * |: Indicates input/output flow (e.g.,
V->V means Video input to Video output).
If the search returns no results, the filter is not compiled into your current FFmpeg build.
Get Detailed Information About a Specific Filter
If the filter is supported and you want to view its specific options, parameters, and documentation, run the help command directly for that filter:
ffmpeg -h filter=filter_nameFor example, to view the details of the crop filter:
ffmpeg -h filter=cropThis will display all available arguments, default values, and flags for that specific filter on your system.