


Remembering that filters in a chain are separated by commas “,” chains by a semicolon “ ” and that if an input or output is not specified it is assumed to come from the preceding or sent to the following item in the chain.
#Ffmpeg filters tutorial full#
Whilst a full filtergraph description can be complicated, it is possible to simplify it for simpler graphs provided ambiguity is avoided. This filtergraph may contain a number of chains, each of which may contain a number of filters. What follows the -vf in an ffmpeg command line is a filtergraph description.
#Ffmpeg filters tutorial how to#
See How to speed up / slow down a video for examples.

See the FFmpeg documentation for additional information. The -1 tells the scale filter to preserve the aspect ratio of the output, so in this example the scale filter will choose a value of 240. This wiki page is for user contributed examples and tips, and contributions to this page are encouraged. Refer to the FFmpeg filters documentation for more information and examples for each filter. To see what filters are available with your build see ffmpeg -filters. FFmpeg has access to many filters and more are added on a regular basis.
