async_depth
- h264_qsv
- hevc_qsv
- mpeg2_qsv
Maximum processing parallelism (from 1 to INT_MAX) (default 4)
avbr_accuracy
- h264_qsv
- hevc_qsv
- mpeg2_qsv
Accuracy of the AVBR ratecontrol (from 0 to INT_MAX) (default 0)
avbr_convergence
- h264_qsv
- hevc_qsv
- mpeg2_qsv
Convergence of the AVBR ratecontrol (from 0 to INT_MAX) (default 0)
preset
- h264_qsv
veryfast 7
faster 6
fast 5
medium 4
slow 3
slower 2
veryslow 1
- h264_nvenc
default 0
slow 1 hq 2 passes
medium 2 hq 1 pass
fast 3 hp 1 pass
hp 4
hq 5
bd 6
ll 7
llhq 8 latency hq
llhp 9 low latency hp
lossless 10
losslesshp 11
- hevc_qsv
veryfast 7
faster 6
fast 5
medium 4
slow 3
slower 2
veryslow 1
- hevc_nvenc
efault 0
slow 1 hq 2 passes
medium 2 hq 1 pass
fast 3 hp 1 pass
hp 4
hq 5
bd 6
ll 7 low latency
llhq 8 low latency hq
llhp 9 low latency hp
lossless 10 lossless
losslesshp 11 lossless hp
- mpeg2_qsv
veryfast 7
faster 6
fast 5
medium 4
slow 3
slower 2
veryslow 1
adaptive_i
- h264_qsv
- hevc_qsv
- mpeg2_qsv
Enable rate distortion optimization (from -1 to 1) (default -1)
max_frame_size
- h264_qsv
- hevc_qsv
- mpeg2_qsv
Maximum encoded frame size in bytes (from -1 to 65535) (default -1)
max_slice_size
- h264_qsv
- hevc_qsv
- mpeg2_qsv
Maximum encoded slice size in bytes (from -1 to 65535) (default -1)
bitrate_limit
- h264_qsv
- hevc_qsv
- mpeg2_qsv
Toggle bitrate limitations (from -1 to 1) (default -1)
Mbbrc
- h264_qsv
- hevc_qsv
- mpeg2_qsv
MB level bitrate control (from 1 to 1) (default 1)
Extbrc
h264_qsv
hevc_qsv
- mpeg2_qsv
Extended bitrate control (from -1 to 1) (default -1)
adaptive_i
- h264_qsv
- hevc_qsv
- mpeg2_qsv
Adaptive I-frame placement (from -1 to 1) (default -1)
adaptive_b
- h264_qsv
- hevc_qsv
- mpeg2_qsv
Adaptive b-frame placement (from -1 to 1) (default -1)
b_strategy
- h264_qsv
- hevc_qsv
- mpeg2_qsv
Strategy to choose between I/P/B-frames (from 1 to 1) (default -1)
mpeg2video
Strategy to choose between I/P/B-frames (from 0 to 2) (default 0)
forced_idr
- h264_qsv
- hevc_qsv
- mpeg2_qsv
Forcing I frames as IDR frames (default false)
low_power
- h264_qsv
- hevc_qsv
- mpeg2_qsv
enable low power mode(experimental: many limitations by mfx version, BRC modes, etc.) (default false)
cavlc
- h264_qsv
Enable CAVLC (from 0 to 1) (default 0)
Vcm
- h264_qsv
Use the video conferencing mode ratecontrol (from 0 to 1) (default 0)
idr_interval
- h264_qsv
- hevc_qsv
Distance (in I-frames) between IDR frames (from -1 to INT_MAX) (default 0)
pic_timing_sei
- h264_qsv
Insert picture timing SEI with pic_struct_syntax element (from 0 to 1) (default 1)
single_sei_nal_unit
- h264_qsv
Put all the SEI messages into one NALU (from -1 to 1) (default -1)
max_dec_frame_buffering
- h264_qsv
Maximum number of frames buffered in the DPB (from 0 to 65535) (default 0)
look_ahead
- h264_qsv
Use VBR algorithm with look ahead (from 0 to 1) (default 0)
look_ahead_depth
- h264_qsv
Depth of look ahead in number frames (from 0 to 100) (default 0)
look_ahead_downsampling
- h264_qsv
Downscaling factor for the frames saved for the lookahead analysis (from 0 to 3) (default unknown)
unknown 0
auto 0
off 1
2x 2
4x 3
int_ref_type
- h264_qsv
Intra refresh type (from 1 to 65535) (default -1)
none 0
vertical 1
int_ref_cycle_size
h264_qsv
Number of frames in the intra refresh cycle (from -1 to 65535) (default -1)
int_ref_qp_delta
- h264_qsv
QP difference for the refresh MBs (from -32768 to 32767) (default -32768)
recovery_point_sei
- h264_qsv
Insert recovery point SEI messages (from -1 to 1) (default -1)
Profile
- h264_qsv
unknown 0
baseline 66
main 77
high 100
- h264_nvenc
baseline 0
main 1
high 2
high444p 3
- h264_amf
main 77
high 100
constrained_baseline 256
constrained_high 257
- hevc_qsv
unknown 0
main 1
main10 2
mainsp 3
- hevc_nvenc
main 0
main10 1
rext 2
- hevc_amf
main 1
- mpeg2_qsv
unknown 0
simple 80
main 64
high 16
a53cc
- h264_qsv
- h264_nvenc
- mpeg2video
Use A53 Closed Captions (if available) (from 0 to 1) (default 1)
Aud
- h264_qsv
- h264_nvenc
- h264_amf
- hevc_nvenc
- hevc_amf
Insert the Access Unit Delimiter NAL (from 0 to 1) (default 0)
repeat_pps
- h264_qsv
repeat pps for every frame (default false)
rc
- h264_nvenc
constqp 0 Constant QP mode
vbr 1 Variable bitrate mode
cbr 2 Constant bitrate mode
vbr_minqp 8388612 Variable bitrate mode with MinQP (deprecated)
ll_2pass_quality 8388616 Multi-pass optimized for image quality (deprecated)
ll_2pass_size 8388624 Multi-pass optimized for constant frame size (deprecated)
vbr_2pass 8388640 Multi-pass variable bitrate mode (deprecated)
cbr_ld_hq 8 Constant bitrate low delay high quality mode
cbr_hq 16 Constant bitrate high quality mode
vbr_hq 32 Variable bitrate high quality mode
- h264_amf
cqp 0 Constant Quantization Parameter
cbr 1 Constant Bitrate
vbr_peak 2 Peak Contrained Variable Bitrate
vbr_latency 3 Latency Constrained Variable Bitrate
- hevc_nvenc
constqp 0 Constant QP mode
vbr 1 Variable bitrate mode
cbr 2 Constant bitrate mode
vbr_minqp 8388612 Variable bitrate mode with MinQP (deprecated)
ll_2pass_quality 8388616 Multi-pass optimized for image quality (deprecated)
ll_2pass_size 8388624 Multi-pass optimized for constant frame size (deprecated)
vbr_2pass 8388640 Multi-pass variable bitrate mode (deprecated)
cbr_ld_hq 8 Constant bitrate low delay high quality mode
cbr_hq 16 Constant bitrate high quality mode
vbr_hq 32 Variable bitrate high quality mode
- hevc_amf
cqp 0 Constant Quantization Parameter
cbr 3 Constant Bitrate
vbr_peak 2 Peak Contrained Variable Bitrate
vbr_latency 1 Latency Constrained Variable Bitrate
rc-lookahead
- h264_nvenc
- hevc_nvenc
Number of frames to look ahead for rate-control (from 0 to INT_MAX) (default 0)
Surfaces
- h264_nvenc
- hevc_nvenc
Number of concurrent surfaces (from 0 to 64) (default 0)
Cbr
- h264_nvenc
- hevc_nvenc
Use cbr encoding mode (default false)
2pass
- hevc_nvenc
Use 2pass encoding mode (default auto)
Gpu
- h264_nvenc
Selects which NVENC capable GPU to use. First GPU is 0, second is 1, and so on. (from 2 to INT_MAX) (default any)
any -1 Pick the first device available
list -2 List the available devices
hevc_nvenc
Selects which NVENC capable GPU to use. First GPU is 0, second is 1, and so on. (from -2 to INT_MAX) (default any)
any -1 Pick the first device available
list -2 List the available devices
delay
- h264_nvenc
- hevc_nvenc
Delay frame output by the given amount of frames (from 0 to INT_MAX) (default INT_MAX)
no-scenecut
- h264_nvenc
- hevc_nvenc
When lookahead is enabled, set this to 1 to disable adaptive I-frame insertion at scene cuts (default false)
forced-idr
- h264_nvenc
- hevc_nvenc
If forcing keyframes, force them as IDR frames. (default false)
b_adapt
- h264_nvenc
When lookahead is enabled, set this to 0 to disable adaptive B-frame decision (default true)
spatial-aq
- h264_nvenc
set to 1 to enable Spatial AQ (default false)
temporal-aq
- h264_nvenc
set to 1 to enable Temporal AQ (default false)
zerolatency
- h264_nvenc
- hevc_nvenc
Set 1 to indicate zero latency operation (no reordering delay) (default false)
nonref_p
- h264_nvenc
- hevc_nvenc
Set this to 1 to enable automatic insertion of non-reference P-frames (default false)
strict_gop
- h264_nvenc
- hevc_nvenc
- aud
-
Set 1 to minimize GOP-to-GOP rate fluctuations (default false)
aq-strength
- h264_nvenc
- hevc_nvenc
When Spatial AQ is enabled, this field is used to specify AQ strength. AQ strength scale is from 1 (low) - 15 (aggressive) (from 1 to 15) (default 8)
Cq
- h264_nvenc
- hevc_nvenc
Set target quality level (0 to 51, 0 means automatic) for constant quality mode in VBR rate control (from 0 to 51) (default 0)
Aud
- h264_qsv
Insert the Access Unit Delimiter NAL (from 0 to 1) (default 0)
- h264_nvenc
Use access unit delimiters (default false)
- h264_amf
Inserts AU Delimiter NAL unit (default false)
- hevc_nvenc
Use access unit delimiters (default false)
- hevc_amf
Inserts AU Delimiter NAL unit (default false)
bluray-compat
- h264_nvenc
- hevc_nvenc
Bluray compatibility workarounds (default false)
init_qpP
- h264_nvenc
- hevc_nvenc
Initial QP value for P frame (from -1 to 51) (default -1)
init_qpB
- h264_nvenc
- hevc_nvenc
Initial QP value for B frame (from -1 to 51) (default -1)
init_qpI
- h264_nvenc
- hevc_nvenc
Initial QP value for I frame (from -1 to 51) (default -1)
qp
- h264_nvenc
- hevc_nvenc
Constant quantization parameter rate control method (from -1 to 51) (default -1)
weighted_pred
- h264_nvenc
- hevc_nvenc
Set 1 to enable weighted prediction (from 0 to 1) (default 0)
Coder
- h264_nvenc
Coder type (from 1 to 2) (default default)
default -1
auto 0
cabac 1
cavlc 2
ac 1
vlc 2
h264_amf
Coding Type (from 0 to 2) (default auto)
auto 0
cavlc 2
cabac 1
b_ref_mode
- h264_nvenc
- hevc_nvenc
Use B frames as references (from 0 to 2) (default disabled)
disabled 0 B frames will not be used for reference
each 1 Each B frame will be used for reference
middle 2 Only (number of B frames)/2 will be used for reference
dpb_size
- h264_nvenc
- hevc_nvenc
Specifies the DPB size used for encoding (0 means automatic) (from 0 to INT_MAX) (default 0)
usage
- h264_amf
- hevc_amf
Encoder Usage (from 0 to 3) (default transcoding)
transcoding 0 Generic Transcoding
ultralowlatency 1
lowlatency 2
webcam 3 Webcam
level
- h264_nvenc
auto 0
1 10
1.0 10
1b 9
1.0b 9
1.1 11
1.2 12
1.3 13
2 20
2.0 20
2.1 21
2.2 22
3 30
3.0 30
3.1 31
3.2 32
4 40
4.0 40
4.1 41
4.2 42
5 50
5.0 50
5.1 51
- h264_amf
auto 0
1.0 10
1.1 11
1.2 12
1.3 13
2.0 20
2.1 21
2.2 22
3.0 30
3.1 31
3.2 32
4.0 40
4.1 41
4.2 42
5.0 50
5.1 51
5.2 52
6.0 60
6.1 61
6.2 62
- hevc_nvenc
auto 0
1 30
1.0 30
2 60
2.0 60
2.1 63
3 90
3.0 90
3.1 93
4 120
4.0 120
4.1 123
5 150
5.0 150
5.1 153
5.2 156
6 180
6.0 180
6.1 183
6.2 186
- hevc_amf
auto 0
1.0 30
2.0 60
2.1 63
3.0 90
3.1 93
4.0 120
4.1 123
5.0 150
5.1 153
5.2 156
6.0 180
6.1 183
6.2 186
Quality
- h264_amf
- hevc_amf
Quality Preference (from 0 to 2) (default speed)
speed 1 Prefer Speed
balanced 0 Balanced
quality 2 Prefer Quality
enforce_hrd
- h264_amf
- hevc_amf
Enforce HRD (default false)
Filler_data
- h264_amf
- hevc_amf
Filler Data Enable (default false)
vbaq
- h264_amf
- hevc_amf
Enable VBAQ (default false)
frame_skipping
- h264_amf
Rate Control Based Frame Skip (default false)
qp_i
- h264_amf
- hevc_amf
Quantization Parameter for I-Frame (from -1 to 51) (default -1)
qp_p
- h264_amf
- hevc_amf
Quantization Parameter for P-Frame (from -1 to 51) (default -1)
qp_b
- h264_amf
- hevc_amf
Quantization Parameter for B-Frame (from -1 to 51) (default -1)
preanalysis
- h264_amf
- hevc_amf
Pre-Analysis Mode (default false)
max_au_size
- h264_amf
- hevc_amf
Maximum Access Unit Size for rate control (in bits) (from 0 to INT_MAX) (default 0)
header_spacing
- h264_amf
Header Insertion Spacing (from -1 to 1000) (default -1)
bf_delta_qp
- h264_amf
B-Picture Delta QP (from -10 to 10) (default 4)
bf_ref
- h264_amf
Enable Reference to B-Frames (default true)
bf_ref_delta_qp
- h264_amf
Reference B-Picture Delta QP (from -10 to 10) (default 4)
intra_refresh_mb
- h264_amf
Intra Refresh MBs Number Per Slot in Macroblocks (from 0 to INT_MAX) (default 0)
me_half_pel
- h264_amf
- hevc_amf
Enable ME Half Pixel (default true)
me_quarter_pel
- h264_amf
- hevc_amf
Enable ME Quarter Pixel (default true)
log_to_dbg
- h264_amf
- hevc_amf
Enable AMF logging to debug output (default false)
load_plugin
- hevc_qsv
A user plugin to load in an internal session (from 0 to 2) (default hevc_hw)
none 0
hevc_sw 1
hevc_hw 2
load_plugins
- hevc_qsv
A :-separate list of hexadecimal plugin UIDs to load in an internal session (default "")
Gpb
- hevc_qsv
GPB (generalized P/B frame); 0: regular P frame (default true)
tile_cols
- hevc_qsv
Number of columns for tiled encoding (from 0 to 65535) (default 0)
tile_rows
- hevc_qsv
Number of rows for tiled encoding (from 0 to 65535) (default 0)
Tier
- hevc_nvenc
- hevc_amf
Set the encoding tier (from 0 to 1) (default main)
main 0
high 1
spatial_aq
- hevc_nvenc
set to 1 to enable Spatial AQ (default false)
temporal_aq
- hevc_nvenc
set to 1 to enable Temporal AQ (default false)
profile_tier
- hevc_amf
Set the profile tier (default main) (from 0 to 1) (default main)
main 0
high 1
header_insertion_mode
- hevc_amf
Set header insertion mode (from 0 to 2) (default none)
none 0
gop 1
idr 2
gops_per_idr
- hevc_amf
GOPs per IDR 0-no IDR will be inserted (from 0 to INT_MAX) (default 60)
min_qp_i
- hevc_amf
min quantization parameter for I-frame (from -1 to 51) (default -1)
max_qp_i
- hevc_amf
max quantization parameter for I-frame (from -1 to 51) (default -1)
mix_qp_p
- hevc_amf
min quantization parameter for P-frame (from 1 to 51) (default -1)
max_qp_p
hevc_amf
max quantization parameter for P-frame (from -1 to 51) (default -1)
skip_frame
- hevc_amf
Rate Control Based Frame Skip (default false)
gop_timecode
- mpeg2video
MPEG GOP Timecode in hh:mm:ss[:;.]ff format. Overrides timecode_frame_start.
intra_vlc
- mpeg2video
Use MPEG-2 intra VLC table. (default false)
drop_frame_timecode
- mpeg2video
Timecode is in drop frame format. (default false)
scan_offset
- mpeg2video
Reserve space for SVCD scan offset user data. (default false)
timecode_frame_start
- mpeg2video
GOP timecode frame start number, in non-drop-frame format (from -1 to I64_MAX) (default -1)
non_linear_quant
- mpeg2video
Use nonlinear quantizer. (default false)
alternate_scan
- mpeg2video
Enable alternate scantable. (default false)
seq_disp_ext
- mpeg2video
Write sequence_display_extension blocks. (from 1 to 1) (default auto)
auto -1
never 0
always 1
video_format
mpeg2video
Video_format in the sequence_display_extension indicating the source of the video. (from 0 to 7) (default unspecified)
component 0
pal 1
ntsc 2
secam 3
mac 4
unspecified 5
mpv_flags
- mpeg2video
Flags common for all mpegvideo-based encoders. (default 0)
skip_rd RD optimal MB level residual skipping
strict_gop Strictly enforce gop size
qp_rd Use rate distortion optimization for qp selection
cbp_rd use rate distortion optimization for CBP
naq normalize adaptive quantization
mv0 always try a mb with mv=<0,0>
luma_elim_threshold
- mpeg2video
single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0)
chroma_elim_threshold
- mpeg2video
single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0)
quantizer_noise_shaping
- mpeg2video
(from 0 to INT_MAX) (default 0)
error_rate
- mpeg2video
Simulate errors in the bitstream to test error concealment. (from 0 to INT_MAX) (default 0)
Qsquish
- mpeg2video
how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99) (default 0)
rc_qmod_amp
- mpeg2video
experimental quantizer modulation (from -FLT_MAX to FLT_MAX) (default 0)
rc_qmod_freq
- mpeg2video
experimental quantizer modulation (from INT_MIN to INT_MAX) (default 0)
rc_eq
- mpeg2video
Set rate control equation. When computing the expression, besides the standard functions defined in the section 'Expression Evaluation', the following functions are available: bits2qp(bits), qp2bits(qp). Also the following constants are available: iTex pTex tex mv fCode iCount mcVar var isI isP isB avgQP qComp avgIITex avgPITex avgPPTex avgBPTex avgTex.
rc_init_cplx
- mpeg2video
initial complexity for 1-pass encoding (from -FLT_MAX to FLT_MAX) (default 0)
rc_buf_aggressivity
- mpeg2video
currently useless (from -FLT_MAX to FLT_MAX) (default 1)
border_mask
- mpeg2video
increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0)
lmin
- mpeg2video
increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0)
lmax
- mpeg2video
maximum Lagrange factor (VBR) (from 0 to INT_MAX) (default 3658)
ibias
- mpeg2video
intra quant bias (from INT_MIN to INT_MAX) (default 999999)
pbias
- mpeg2video
inter quant bias (from INT_MIN to INT_MAX) (default 999999)
rc_strategy
- mpeg2video
ratecontrol method (from 0 to 1) (default ffmpeg)
ffmpeg 0 deprecated, does nothing
xvid 0 deprecated, does nothing
-motion_est motion estimation algorithm (from 0 to 2) (default epzs)
zero 0
epzs 1
xone 2
force_duplicated_matrix
- mpeg2video
Always write luma and chroma matrix for mjpeg, useful for rtp streaming. (default false)
b_strategy
- mpeg2video
Strategy to choose between I/P/B-frames (from 0 to 2) (default 0)
b_sensitivity
- mpeg2video
Adjust sensitivity of b_frame_strategy 1 (from 1 to INT_MAX) (default 40)
brd_scale
- mpeg2video
Downscale frames for dynamic B-frame decision (from 0 to 3) (default 0)
skip_threshold
- mpeg2video
Frame skip threshold (from INT_MIN to INT_MAX) (default 0)
skip_factor
- mpeg2video
Frame skip factor (from INT_MIN to INT_MAX) (default 0)
skip_exp
- mpeg2video
Frame skip exponent (from INT_MIN to INT_MAX) (default 0)
skip_cmp
- mpeg2video
Frame skip compare function (from INT_MIN to INT_MAX) (default dctmax)
sad 0 Sum of absolute differences, fast
sse 1 Sum of squared errors
satd 2 Sum of absolute Hadamard transformed differences
dct 3 Sum of absolute DCT transformed differences
psnr 4 Sum of squared quantization errors, low quality
bit 5 Number of bits needed for the block
rd 6 Rate distortion optimal, slow
zero 7 Zero
vsad 8 Sum of absolute vertical differences
vsse 9 Sum of squared vertical differences
nsse 10 Noise preserving sum of squared differences
dct264 14
dctmax 13
chroma 256
msad 15 Sum of absolute differences, median predicted
sc_threshold
- mpeg2video
Scene change threshold (from INT_MIN to INT_MAX) (default 0)
noise_reduction
- mpeg2video
Noise reduction (from INT_MIN to INT_MAX) (default 0)
mpeg_quant
- mpeg2video
Use MPEG quantizers instead of H.263 (from 0 to 1) (default 0)
ps
- mpeg2video
RTP payload size in bytes (from INT_MIN to INT_MAX) (default 0)
mepc
- mpeg2video
Motion estimation bitrate penalty compensation (1.0 = 256) (from INT_MIN to INT_MAX) (default 256)
mepre
- mpeg2video
pre motion estimation (from INT_MIN to INT_MAX) (default 0)
intra_penalty
- mpeg2video
Penalty for intra blocks in block decision (from 0 to 1.07374e+09) (default 0)