Paste an ffmpeg command when you want to know exactly what one you copied from a blog or forum does, or when you can’t tell why your own command isn’t doing what you expect. The tool explains each option, finds common mistakes, and, for x264, x265 and SVT-AV1, puts our measured size and VMAF for your preset and CRF next to it. It doesn’t build commands; it reads commands you already have.
Examples
What you paste is not sent to a server; it is processed only inside this browser. If a path contains your user name, remove it before pasting.
How do I use it?
Paste the whole command, starting with ffmpeg. Commands split over several lines with \ (bash), ^ (cmd) or a backtick (PowerShell) at the end of each line are joined into one line before reading.
The input / output / global tag shows where an option applies. ffmpeg applies an option to the file that comes right after it, so options before -i go to that input and options before an output file name go to that output.
Problem means the command is likely to error out or the option is likely to be ignored, Check means it may not behave the way you intended, and Note means it is good to know.
If you use -c:v libx264, libx265 or libsvtav1 with -crf, the “Our measured hint” box appears below. If you enter the video length, it converts the measured bitrate into a rough file size.
What does it check?
Copy versus change conflicts: -c copy doesn’t re-encode, so filters such as -vf and -af can’t be used, and -crf, -preset and -b:v are not applied. To use a filter you have to re-encode.
Mixed rate control: it points out -crf used together with -b:v, -maxrate without -bufsize, and VP9 or AV1 (libaom) with -crf but no -b:v 0.
Preset style: libsvtav1 presets are numbers (for example 6), while x264 and x265 use the names ultrafast to veryslow. It finds the two swapped, names that don’t exist, and the x264 -tune film used with x265.
Units: -b:v 2000 is not 2000 kbps; it is 2000 bit/s. It warns you when a small number has no unit.
Position: it looks at options placed after the output file name (out.mp4 -y), -ss, which behaves differently before or after -i, duplicate options, and -t and -to used together.
Container and compatibility: it flags H.264/AAC in .webm, srt subtitles in .mp4, the hvc1 tag for HEVC, x264 without -pix_fmt, and odd resolutions.
Paste accidents: it finds curly quotes (“ ”) and long dashes (–, —) that a word processor swapped in, quotes that are never closed, and paths with spaces that are not in quotes.
It judges using only regular expressions and fixed tables, with no AI and no outside server. The same input always gives the same result.
How are the measured hints made?
From the CSVs of the x264 preset, x265 preset, SVT-AV1 preset, CRF sweep and preset vs CRF at the same size measurements, we computed at build time the min-max of size, bitrate and VMAF across clips for each (encoder, preset, CRF) cell. If the same cell appears in several experiments, only the earlier experiment’s values are used and they are not mixed. If the CRF you entered is not a measured point, the tool just shows the nearest measured points and does not estimate values in between. For x264 and x265 it follows the fact that the default is medium when -preset is absent.
Values we did not measure are not shown. For example, unmeasured presets, values outside the CRF range, hardware encoders (NVENC and others), and libaom and VP9 have no measurement link; you get only the option explanations and checks.
How can I use the results?
When you want to understand a copied command: reading the option table alone shows where quality (-crf), speed (-preset) and compatibility (-pix_fmt, -movflags) are decided. Unknown options are marked “not in the list”, so look them up in the official documentation.
When the file is bigger than expected: raise the CRF in the hint table (a higher value means lower quality and a smaller file) and you can gauge how the size changes from the neighboring measured points. Whether to raise the preset or lower the CRF at the same file size is compared in the preset vs CRF measurement. To work backward from a target VMAF to a CRF, the CRF Recommender is the right tool.
When a trimmed file starts at the wrong place: with -c copy and -ss together, a “Note” appears. To see how far off it will be, use the Lossless Cut Keyframe Planner.
When running it gives an error: this tool is a check before you run a command. Paste an error log you already have into the FFmpeg Error Log Explainer, and to write a new command use the FFmpeg Command Builder.
When you have many SVT-AV1 options: the svtav1-params Validator looks in more detail at key typos and ranges inside -svtav1-params.
Limits worth knowing
The option list is partial. It covers mostly commonly used options, and an option that is not in the list is not declared wrong; it is only marked “not in the list”. Inside a filter chain (-vf) it points out only a few filters and does not check the whole syntax. The final reference is the official FFmpeg documentation and ffmpeg -h full.
The checks assume the general case. It doesn’t know each shell’s quoting and escaping rules, differences between versions, or which encoders are included in your build. To see whether an encoder is in your build, use the Check Your FFmpeg Build tool. If there are several outputs, only the first output is checked.
The measurements are 4 ten-second clips, 8-bit input, on one PC. They are CPU software encoder results measured on four 1080p25 videos, so if your video’s motion, resolution or fps is different, the size and VMAF will differ. The length conversion is a simple calculation of the measured bitrate times the time. This tool does not cover speed (time).
The effect of each individual option was not measured. The measurements changed only the preset and CRF. The effects of options such as -tune, -x264-params, -profile and bitrate caps on size and quality are not reflected.
It doesn’t run the command. It reads the string and judges by rules, so whether it actually runs without errors and what the output quality looks like must be checked by running a short segment yourself. What you paste is not sent to a server and is processed only inside this browser.
All size and VMAF numbers come from this site’s measurement CSVs (the articles linked in “How are the measured hints made?” above); the clip sources, FFmpeg versions and commands are in each measurement article.