FFmpeg command builder
Pick the job, such as trim, join, convert or compress an MP4 file, set the options, and the builder writes the FFmpeg command for you, with a plain explanation of every part. Copy it and run it on your own machine. Each job also has a recipe page that explains the choices in more depth.
Choose the job
What each part does
Set the options
Only the boxes a job needs are shown. Times can be seconds (90) or hours, minutes and seconds (00:01:30). File names with spaces are put in quotes for you.
Copy the command and read what it does
Every part of the command is explained under it, in the order it appears. Read the last point of each job: it says when that command is the wrong choice.
How to run it
- Install FFmpeg from ffmpeg.org (on Windows, a build from the links on that page).
- Open a terminal in the folder that holds your files.
- Paste the command and press Enter. FFmpeg prints its progress and stops when the file is written.
Recipes for each job
The trim and join jobs have full recipe pages with the cases this builder does not cover: FFmpeg trim video: accurate cuts by time and Join videos with FFmpeg without errors.
Method and limits
Each job is a fixed template. We ran every template with FFmpeg 8.1.2 on test files we generated before publishing it. Nothing you type leaves your browser.
The builder assembles commands from fixed templates for each job. Each template follows a recipe page, and the FFmpeg version the template targets is shown beside the command. Nothing you enter is sent anywhere.
- The builder covers common jobs and is not a replacement for the FFmpeg documentation.
- A command that works on one FFmpeg version may need changes on another, so the target version is shown beside it.
Page checked on Oct 10, 2026.