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.
Popular uses
- ffmpeg command generator
- ffmpeg builder
- ffmpeg compress video
- ffmpeg convert mp4
- ffmpeg gui online
- ffmpeg flags explained
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
M3U8 / HLS Downloader
Video & Media
Download an .m3u8 HLS stream and save it as a single MP4 file.
Online Video Player (M3U8 / HLS)
Video & Media
Play M3U8 (HLS), MP4, WebM and local video files right in the browser.
Video Format Converter
Video & Media
Convert video between MP4 and WebM with resolution control.
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.
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