FFmpeg Command Generator

Build ffmpeg commands for video and audio with explained flags.

Support
Works Offline
Privacy First
No Login
No API

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 preset

Output

Shellffmpeg -y -i input.mp4 -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k output.mp4

Video to GIF

15 fps, 480px wide

Output

Two-pass palettegen / paletteuse command

Keyboard 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

Frequently asked questions

Read more

Version 1.0.0 · Updated 2026-08-14 · Runs entirely in your browser