FFmpeg command line wizard
Settings:
Input:
Video
with audio
Images
Output:
H.264
GIF
Audio bitrate:
Frame rate:
I will concatenate this file with other video material
ⓘ
Output frame rate:
How to set the quality:
ⓘ
Manual rate factor
Determine from target bitrate (2-Pass)
Rate factor:
{{ rf }}
Lossless
Bad quality
Large file
Small file
Patience preset:
ultrafast
superfast
veryfast
faster
medium
slow
slower
veryslow
{{ presetinfo }}
Various optimizations:
Optimize for fast seeking (shorter keyframe interval, about 10% larger file)
Input video is a high-quality movie
Input video is an animation movie
Input video contains film grain
Input video is an image slideshow
Optimize for really weak CPU playback devices
Optimize for really old devices
Move headers to beginning of file (so it can play while still downloading)
Limit bitrate to
Mbit/s
(assuming a receiving buffer of
{{ limit_buffer == 1 ? 'second' : 'seconds' }})
Fast encoding and low latency streaming
Container:
MP4
MKV
The first pass creates a dummy file, what should it be called?
use the output file
"dummy"
/dev/null
(Linux)
NUL
(Windows)
Palette:
Faster
Uses dithering to a standard palette provided by FFmpeg
Can cause dithering artifacts and slight banding
Better
Determines an optimized palette for the video
Uses two passes and a temporary file for the palette
Include FFmpeg build configuration in log output
Result:
The example uses image filenames of the format
img001.jpg
.
The example uses
source.ext
as the imput video.