FFmpeg Command Generator
Pick an operation, tweak the parameters, and get your FFmpeg command instantly.
Every option comes with a plain-English explanation so you learn as you go.
Choose an Operation
What do you want FFmpeg to do? Pick from 13 operations: convert, compress, trim, extract audio, and more.
Set Parameters
Adjust file names and options. The command updates in real time as you change settings.
File Names
Format Conversion Options
Use the Command
Copy the generated command and run it in your terminal. Each option is explained below.
Generated Command
ffmpeg -i input.mp4 -c copy output.mkv
Option Explanation
What Is the FFmpeg Command Generator?
FFmpeg is an open-source command-line tool for converting, editing, and streaming video and audio. While incredibly powerful, its vast number of options can be daunting for many developers.
This FFmpeg Command Generator lets you pick an operation, tweak the parameters, and instantly get the correct FFmpeg command. It supports 13 operations: format conversion, video compression (H.264 / H.265 / AV1), audio extraction, cut & trim, merging, resizing, GIF conversion, watermarking, subtitle embedding, speed changes, frame extraction, cropping, and denoising.
Every option includes a plain-English explanation, so you not only get a ready-to-use command but also deepen your understanding of FFmpeg. Great for automating video workflows and writing batch scripts.
Supported Operations
- *Format Conversion -- Convert between MP4, MKV, WebM, etc.
- *Video Compression -- Compress with H.264 / H.265 / AV1
- *Audio Extraction -- Extract audio track from video
- *Cut / Trim -- Clip by start and end time
- *Merge -- Concatenate multiple videos
- *Resize -- Change resolution
- *GIF Conversion -- Create animated GIF from video
- *Watermark -- Overlay an image as a watermark
- *Subtitle Embed -- Add soft or hard subtitles
- *Speed Change -- Adjust playback speed 0.25x - 4x
- *Frame Extraction -- Extract still images
- *Crop -- Crop a region of the video
- *Denoise -- Reduce video or audio noise
Learn More About FFmpeg
32blog publishes practical FFmpeg articles covering basic usage to advanced techniques. If you want to understand the commands before running them, check out these articles.
- *FFmpeg Complete Usage Guide -- From installation to essential commands
- *FFmpeg Installation Guide -- Windows / Mac / Linux covered
- *FFmpeg Video Compression Guide -- Choosing CRF and presets
- *H.264 vs H.265 vs AV1 Compared -- The definitive codec comparison
- *Speed Up with GPU Encoding -- NVENC / QSV configuration
- *FFmpeg + Python Batch Processing -- Automate bulk file conversions
Browse all articles on the FFmpeg category page.
Frequently Asked Questions (FAQ)
Is the FFmpeg Command Generator free?
Yes, it is completely free. No account required — just adjust parameters in your browser and the command is generated. There is no limit on how many commands you can generate.
Can I use the generated command as-is?
You can copy and paste it directly into your terminal. Just replace the default file names (input.mp4, output.mp4) with your actual file names. You can also pre-set file names in STEP 2.
Do I need FFmpeg installed?
Yes. This tool only generates the command — you need FFmpeg installed on your machine to run it. FFmpeg Installation Guide
What codecs are supported?
Video codecs: H.264 (libx264), H.265/HEVC (libx265), AV1 (libsvtav1), VP9 (libvpx-vp9). Audio codecs: MP3, AAC, WAV, FLAC. H.264 vs H.265 vs AV1 Compared
What if the command doesn't work?
First, check your FFmpeg version. Older versions may not support codecs like libsvtav1. Also, if your file path contains spaces, wrap it in double quotes. ffmpeg -version FFmpeg Complete Usage Guide