Interactive FFmpeg CLI builder

FFmpeg Command Generator

Generate accurate, copy-ready FFmpeg commands for video conversion, MP3 extraction, photo + music MP4 creation, LUFS loudness normalization, and audio effects—or run matching tasks privately in your browser.

Runs locallyNo uploadsNo watermark

1. Choose a task

Extract MP3 from MP4 video

Strip the video track and encode the soundtrack as a universal MP3.

Generated FFmpeg command
ffmpeg -i "video.mp4" -vn -codec:a libmp3lame -q:a 2 "audio.mp3"

Flag-by-flag explanation

-vnDisable video stream output
-codec:a libmp3lameEncode audio with the LAME MP3 encoder
-q:a 2High-quality variable bitrate (~190 kbps)

FFmpeg Command Generator FAQ

Do I need to install FFmpeg to use these recipes?

To run commands in your desktop terminal, install FFmpeg via Homebrew, Winget, or apt. If you prefer zero install, click "Run this task in your browser" to execute the matching tool locally with WebAssembly.

Why do MP4 commands include -movflags +faststart?

Adding +faststart moves the MP4 moov atom to the beginning of the file so browsers, phones, and social platforms can start playback immediately before the full file finishes downloading.

Are filenames or media uploaded when generating a command?

No. Command generation runs 100% locally in your browser with zero server calls.