Source and titles
-t 0
Scan all titles, then exit
--scan
Scan only the chosen title
-t <n>
Encode title number n
--main-feature
Auto-select the main title
-c <a-b>
Encode only chapters a to b
--min-duration <s>
Ignore titles shorter than s seconds
--previews <n:save>
Set preview count and saving
--start-at <unit:n> --stop-at <unit:n>
Encode a time range
Units are duration, frames or pts, e.g. --stop-at duration:60.
Video
-e <encoder>
Choose video encoder
Common: x264, x265, svt_av1, VP9; hardware ones need matching
GPU support.
-q <rf>
Constant quality value
-b <kbps>
Average video bitrate
--multi-pass
Use two-pass encoding with -b
--encoder-preset <name>
Set speed/efficiency preset
--encoder-tune <name>
Tune for content type
--encoder-profile <name>
Force encoder profile
--encoder-level <lvl>
Force encoder level
--encoder-preset-list <encoder>
List presets of an encoder
-r <fps> --cfr
Constant frame rate
--vfr
Variable frame rate
--pfr -r <fps>
Cap frame rate (peak)
-x <opt=val:opt=val>
Pass raw encoder options
--enable-hw-decoding <type>
Use hardware decode (nvdec, qsv)
--hdr-dynamic-metadata <type>
Keep HDR10+ or Dolby Vision data
Picture
-w <px> -l <px>
Set width and height
-X <px> -Y <px>
Limit maximum width and height
--crop-mode <mode>
Crop: auto, conservative, none, custom
--crop <t:b:l:r>
Crop by pixel amounts
--rotate <angle>
Rotate 90, 180 or 270 degrees
Use --rotate=angle=90:hflip=1 to also flip.
--keep-display-aspect
Preserve display aspect ratio
--non-anamorphic
Use square pixels
--modulus <n>
Round dimensions to a multiple
--pad <spec>
Add padding around the picture
--color-range <range>
Set color range (auto, limited, full)
Audio
-a <list>
Select audio tracks (1,2 or none)
-E <encoder>
Audio encoder (av_aac, opus, ac3, copy)
Use copy:ac3 or similar to pass a track through untouched.
-B <kbps>
Audio bitrate per track
-6 <mixdown>
Mixdown: mono, stereo, 5point1
--all-audio
Take all tracks in the language list
--audio-lang-list <codes>
Filter audio by language code
--first-audio
First track per listed language
-R <khz>
Audio sample rate
-D <value>
Dynamic range compression
--gain <dB>
Adjust volume in decibels
--audio-fallback <encoder>
Encoder when passthrough fails
-A <names>
Name audio tracks