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

x265 wizard

Generate FFmpeg commands for H.265/HEVC encoding with the x265 encoder

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

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

02VIDEO ENCODING
libx265 · CRF mode
default 28 · range 0–51 · lower = better quality
slower = better compression
auto-populates x265 params below
10-bit recommended for 4K / HDR
colon-separated · auto-filled by frame-rate preset, editable
optional

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

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

05ADVANCED
extra ffmpeg flags
optional · custom parameters appended

about · references

Generates FFmpeg commands for H.265/HEVC files using the x265 encoder. Only input and output filenames are required.

x265 vs x264: 25–50% better compression at equivalent visual quality, at the cost of slower encoding. Default CRF is 28 (which gives roughly equivalent quality to x264 CRF 23).

Frame-rate presets auto-populate optimized x265 parameters. See the x265 guide for details on what each value does.

10-bit pipelines: set pixel format to yuv420p10le for 4K / HDR content. 10-bit gives noticeably cleaner gradients even on 8-bit displays.

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

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

References

$ ffmpeg-command
copied!