FFmpegr
Create powerful FFmpeg commands with ease
FFmpeg Command Generator
Select a command type to get started
Basic
Trim
Scale
Watermark
Audio
Rotate
Convert
Concat
Speed
Basic FFmpeg Encoding
Input Source
?
Input Video Source:
Path to your video file or URL.
•
Local file:
video.mp4, /path/to/video.mov
•
URL:
https://example.com/video.mp4
•
Relative path:
./videos/clip.avi
Output Filename
?
Output File Name:
Name for the processed video file. Include file extension.
Popular formats: .mp4, .mkv, .avi, .webm
Quality (CRF)
?
Constant Rate Factor (CRF):
Controls video quality vs file size trade-off.
•
0-18:
Visually lossless (large files)
•
18-28:
Good quality (recommended)
•
28+:
Lower quality (smaller files)
23
Best Quality
Balanced
Smaller File
Preset
?
Encoding Speed Preset:
Controls encoding speed vs compression efficiency.
•
Ultrafast:
Fastest encoding, larger files
•
Medium:
Balanced (recommended)
•
Veryslow:
Best compression, slower encoding
Ultrafast
Superfast
Veryfast
Faster
Fast
Medium
Slow
Slower
Veryslow
Enable detailed logging
Records detailed command execution information
Generate Command
Trim Video
Input Source
Output Filename
Start Time
?
Trim Start Time:
When to start the trimmed video.
Use format HH:MM:SS or MM:SS or just seconds.
Examples: 01:30:00, 90, 1:30
Format: HH:MM:SS
Duration
?
Clip Duration:
How long the trimmed video should be.
Leave empty to trim to end of video.
Example: 00:02:30 = 2.5 minutes
Format: HH:MM:SS
End Time
?
Trim End Time:
When to stop the trimmed video.
Alternative to using duration.
Example: 00:05:00 = stop at 5 minutes
Format: HH:MM:SS
Generate Trim Command
Scale Video
Input Source
Output Filename
Resolution
?
Output Resolution:
Target size for the scaled video.
•
4K:
Ultra high definition
•
1080p:
Full HD (most common)
•
720p:
HD for smaller files
•
480p/360p:
Web/mobile optimized
4K (3840x2160)
Full HD (1920x1080)
HD (1280x720)
SD (854x480)
360p (640x360)
Algorithm
?
Scaling Algorithm:
Method used to resize video pixels.
•
Lanczos:
Best quality (recommended)
•
Bicubic:
Good quality, faster
•
Bilinear:
Basic quality, fast
•
Nearest:
Pixelated look, fastest
Lanczos (High Quality)
Bicubic
Bilinear
Nearest Neighbor
None
Generate Scale Command
Add Watermark
Input Video
Watermark Image
Output Filename
Position
Top Left
Top Right
Bottom Left
Bottom Right
Center
Generate Watermark Command
Extract Audio
Input Video/Audio
Output Filename
Audio Format
MP3 (Compressed)
WAV (Uncompressed)
FLAC (Lossless)
AAC (High Quality)
OGG Vorbis
Audio Quality
High (320kbps)
Medium (192kbps)
Low (128kbps)
Lossless (Original)
Extract Audio
Rotate & Flip Video
Input Source
Output Filename
Rotation
No Rotation
90° Clockwise
180° (Upside Down)
270° Clockwise (90° Counter)
Flip
No Flip
Horizontal Flip
Vertical Flip
Both (H+V)
Generate Rotate Command
Format Conversion
Input Source
Output Filename
Output Format
MP4 (H.264) - Most Compatible
WebM (VP9) - Web Optimized
MKV - High Quality Container
AVI - Legacy Compatible
MOV - Apple/QuickTime
GIF - Animated Image
Conversion Quality
High Quality (Larger File)
Medium Quality (Balanced)
Low Quality (Smaller File)
Stream Copy (No Re-encode)
Optimize for web streaming
Moves metadata to beginning for faster web playback
Generate Convert Command
Concatenate Videos
First Video
Second Video
Third Video (Optional)
Output Filename
Join Method
Concat Filter (Re-encode)
Copy Method (Fast)
Transition
No Transition
Crossfade (1 sec)
Dissolve (0.5 sec)
Generate Concat Command
Speed Control
Input Source
Output Filename
Speed Preset
?
Playback Speed:
Changes how fast the video plays.
•
< 1.0:
Slow motion effect
•
1.0:
Normal speed
•
> 1.0:
Time-lapse effect
Higher values = faster playback
Ultra Slow (0.25x)
Slow Motion (0.5x)
Slightly Slow (0.75x)
Normal Speed (1x)
Slightly Fast (1.25x)
Fast (1.5x)
Time-lapse (2x)
Ultra Fast (4x)
Custom Speed
Custom Speed Factor
?
Custom Speed Value:
Enter any speed between 0.1 and 10.
•
0.1:
10x slower (ultra slow-mo)
•
2.5:
2.5x faster
•
10:
10x faster (ultra time-lapse)
0.1 (very slow) to 10 (very fast)
Audio Handling
?
Audio Processing Options:
How to handle audio when changing speed.
•
Adjust:
Match audio to video speed
•
Preserve:
Keep natural pitch (complex)
•
Remove:
Silent video output
Adjust Audio Speed
Preserve Audio Pitch
Remove Audio
Frame Rate
Auto (Same as Input)
24 FPS (Cinema)
30 FPS (Standard)
60 FPS (Smooth)
Preview:
Normal Speed (1x)
Video will play at normal speed
Generate Speed Command