FFmpeg Command Generator
Generate FFmpeg commands for professional video encoding. Supports ProRes, DNxHD/HR, H.264, H.265, HAP, and more.
Input
Video
High quality
Audio
Output
Generated Command
ffmpeg \ -y \ -i \ input.mp4 \ -c:v \ libx264 \ -crf \ 23 \ -c:a \ aac \ -b:a \ 192k \ -ar \ 48000 \ -ac \ 2 \ output.mp4
Command is formatted for readability. The copy button provides a single-line version ready to paste into your terminal.
Summary
Generated Command
ffmpeg \ -y \ -i \ input.mp4 \ -c:v \ libx264 \ -crf \ 23 \ -preset \ medium \ -c:a \ aac \ -b:a \ 192k \ -ar \ 48000 \ -ac \ 2 \ output.mp4
Command is formatted for readability. The copy button provides a single-line version ready to paste into your terminal.
Remux to MKV (No Re-encode)
Convert container format without re-encoding video or audio. Instant and lossless.
ProRes to H.264 (Web Delivery)
Convert ProRes master to web-optimized H.264 with faststart for streaming.
H.265/HEVC 10-bit HDR
Encode to HEVC with 10-bit color depth for HDR content.
DNxHD Intermediate Codec
Create DNxHD intermediate for editing. High quality, edit-friendly.
Extract Audio to WAV
Extract audio track as uncompressed WAV for editing or processing.
Replace Audio Track
Replace video audio with a new audio file while keeping video intact.
Mix Audio with Ducking
Mix background music with video audio, lowering music volume.
Normalize Audio (EBU R128)
Normalize audio to broadcast standards using EBU R128 loudness.
Crossfade Two Audio Files
Join two audio files with a smooth crossfade transition.
Crop to Vertical (9:16)
Center crop horizontal video to vertical format for TikTok/Reels/Shorts.
Crop to Square (1:1)
Center crop to square format for Instagram feed posts.
Letterbox to Vertical
Fit horizontal video into vertical frame with blur background.
Create High-Quality GIF
Convert video clip to optimized GIF with palette generation.
Speed Up Video 2x
Double playback speed with audio pitch correction.
Slow Motion (0.5x)
Half speed slow motion effect.
Fade In and Out
Add fade from/to black at start and end of video.
Apply Color LUT
Apply a 3D LUT file for color grading.
Text/Title Overlay
Add text overlay with custom font and positioning.
Picture-in-Picture
Overlay a smaller video in the corner of the main video.
Stabilize Shaky Video
Two-pass video stabilization using vidstab filter.
Extract Single Frame
Extract a specific frame as a high-quality image.
Thumbnail Grid/Contact Sheet
Create a contact sheet with multiple frames from the video.
Thumbnails at Scene Changes
Extract frames at detected scene changes.
Concatenate Videos (Same Codec)
Join multiple videos without re-encoding using concat demuxer.
Concatenate Videos (Different Formats)
Join videos with different properties by re-encoding.
Trim Video Segment
Extract a portion of video between two timestamps.
Split by Duration
Split video into segments of specified duration.
Create HLS Playlist
Generate HLS playlist with segments for adaptive streaming.
Multi-Bitrate HLS
Create adaptive bitrate HLS with multiple quality levels.
Stream to RTMP
Stream video file to RTMP server (YouTube, Twitch, etc).
Get Media Information
Display detailed information about a media file.
Export Metadata as JSON
Export all media metadata in JSON format for parsing.
Count Total Frames
Count the exact number of frames in a video.
Detect Black Frames
Find black frames for detecting scene breaks or errors.
Detect Silence
Find silent segments in audio for editing or analysis.