FFmpeg Command Generator
Generate FFmpeg commands for professional video encoding. Supports ProRes, DNxHD/HR, H.264, H.265, HAP, and more.
Input
This only copies the selected filename; browser security does not expose its terminal path. Edit the path manually or run FFmpeg from that folder.
Video
Quality
High quality
Audio
Output
Enter a terminal path manually. Browsers cannot reveal or choose a filesystem path for an external FFmpeg process; relative paths use the terminal's current working directory.
Generated POSIX Shell Command
ffmpeg \ -y \ -i \ input.mp4 \ -c:v \ libx264 \ -crf \ 23 \ -c:a \ aac \ -b:a \ 192k \ -ar \ 48000 \ -ac \ 2 \ -f \ mp4 \ output.mp4
Command is formatted for readability. The copy button provides a single-line version serialized for POSIX-compatible shells such as macOS/Linux `sh`, `bash`, or `zsh`. PowerShell and Windows `cmd` use different quoting rules and are not currently supported.
Summary
Input:input.mp4
Video:H264
Audio:AAC
Container:MP4