FFmpeg Command Generator
Build ffmpeg commands for video and audio with explained flags.
About the FFmpeg Command Generator
Pick a task — compress, convert, resize, trim, extract audio, GIF or thumbnail — set codec, CRF, preset, bitrate and frame rate, and get a ready-to-paste ffmpeg command with a plain-English explanation of every flag.
Examples
Compress an MP4
H.264, CRF 23, medium presetOutput
Shellffmpeg -y -i input.mp4 -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k output.mp4Video to GIF
15 fps, 480px wideOutput
Two-pass palettegen / paletteuse commandKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
FFmpeg Cheatsheet
Dev Utilities
Searchable ffmpeg command examples for video, audio and streaming.
FFmpeg Online — Run Commands in Your Browser
Dev Utilities
Run real ffmpeg commands on your video, audio or image — no install.
.editorconfig Generator
Dev Utilities
Create an .editorconfig file with per-language overrides.
.htaccess Redirect Generator
Dev Utilities
Generate Apache .htaccess redirect and rewrite rules.
AAB (Android App Bundle) Analyzer
Dev Utilities
Open an .aab file and inspect its manifest, modules, ABIs, densities and size breakdown.
Android APK Analyzer & Explorer
Dev Utilities
Open an APK, decode its manifest and browse or download every file inside.
Frequently asked questions
Read more
- Compress, trim and convert video in the browser with FFmpeg WASM
How ffmpeg.wasm makes real video editing possible client-side, which presets to use for smaller files, and where the limits are.
Version 1.0.0 · Updated 2026-08-14 · Runs entirely in your browser