~/ffmpeg.party
[ TOOL · T/03 ]

x264 wizard

Generate FFmpeg commands for H.264/AVC encoding with the x264 encoder

Always read commands before running them. Verify paths and output filenames.

01SOURCE / OUTPUT
filenames + time range
.mp4 recommended for broad compatibility
optional · accepts hh:mm:ss or seconds
optional · accepts hh:mm:ss or seconds

02VIDEO ENCODING
libx264 · CRF mode
default 23 · range 0–51 · lower = better quality
slower = better compression
auto-populates x264 params below
optional
colon-separated · auto-filled by frame-rate preset, editable

03AUDIO
aac / libfdk_aac · cbr or vbr
mode
128k mono · 192k stereo · 384k 5.1

04METADATA
mp4 container · limited support in others
x264 records encoding info automatically

05ADVANCED
extra ffmpeg flags
optional · custom parameters appended

about · references

Note — this is an opinionated wizard focused on CRF-based quality encoding. It does not support bitrate (ABR) mode.

Generates FFmpeg commands for H.264/AVC files using the x264 encoder. Only input and output filenames are required.

Frame-rate presets auto-populate optimized x264 parameters (keyint, bframes, ref, motion estimation) based on the recommendations in the x264 guide. Edit them after if needed.

Audio: native FFmpeg AAC or libfdk_aac (higher quality, requires custom build). CBR uses constant bitrate (~192k stereo); VBR uses quality-based encoding (0.1–2 for native AAC, 1–5 for libfdk).

Time format: in/out points accept time format (1:30, 00:01:30) or seconds (90). Semicolons get converted to colons automatically.

Metadata fields are tuned for MP4. Other containers (MKV, WebM) have inconsistent support.

References

$ ffmpeg-command
copied!