> useful tips

This section collects ffmpeg one-liners that go beyond routine conversion — creative filters, playback fixes, and preprocessing steps that solve a specific real-world problem. Each recipe is a full, copy-ready command; adjust the input and output filenames and run it as-is.

# useful tips

9 commands

// faq

Do these ffmpeg filter chains work on every build of ffmpeg?

Most rely only on built-in filters that ship with a standard ffmpeg build, so they work out of the box. A few (like x265 or hardware encoders) depend on how your ffmpeg was compiled — run ffmpeg -filters or ffmpeg -encoders to confirm a given filter or codec is available before scripting around it.

Why is my filtered output much larger or slower to encode than the input?

Any command that applies a video filter has to re-encode the stream, which is slower and can change the file size depending on the codec and quality settings. Add a -crf value (for example -crf 23) to control quality and size when you re-encode.