FFmpeg command helper
Describe what you want to do with a video and get the FFmpeg command for it, or paste a command you found and get every flag explained, mistakes included.
0/2000 · AI-generated via Vercel AI Gateway; check before running
FFmpeg flags you'll see most
-i | Input file. Options placed before it apply to that input. |
|---|---|
-c copy | Copy streams without re-encoding (remux). Fast and lossless; can't be combined with filters on that stream. |
-c:v libx264 -crf 23 | Encode H.264 at constant quality. Lower CRF = better quality and bigger files; 18–28 is the useful range. |
-preset | Encoder speed vs efficiency, from ultrafast to veryslow. Slower gives smaller files at the same quality. |
-c:a aac -b:a 160k | Encode audio to AAC at 160 kbps. |
-vn / -an | Drop video / drop audio. |
-ss / -t / -to | Start time, duration, end time. -ss before -i seeks fast. |
-vf scale=-2:720 | Resize to 720 px high, keeping aspect ratio with an even width. |
-pix_fmt yuv420p | The pixel format phones and browsers expect for H.264. |
-movflags +faststart | Move the MP4 index to the front so web playback starts before the download finishes. |
-map 0:a:1 | Select a specific stream: here the second audio track of the first input. |
Questions
Is this helper using AI?
Yes. Your text is sent to an AI model through Vercel AI Gateway, which writes or explains the FFmpeg command. Always read a command before running it on important files.
Is my video sent anywhere?
No. The helper only receives the text you type. The converters on this site never upload files.
Where do I run the command?
In a terminal with FFmpeg installed (ffmpeg.org has builds for Windows, macOS and Linux). Many of the same jobs also run right here in the browser converter.
Prefer not to touch a terminal? The browser converter runs the same FFmpeg on your device.