Audio Codecs
General Audio Attributes
Common attributes; codec-specific attributes below override these definitions.
Additional attributes
An empty Default cell means that no preset default is specified. Encoder defaults, where known, are included in the description.
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 128K | Target audio bitrate in bits/s. Supports unit prefixes such as K. |
| ar | int | Audio sample rate in Hz. Supported sample rates depend on the selected encoder. | |
| flags | flags | Additional flags. Supported values: global_header, bitexact.global_header: Place global headers in extradata instead of every keyframebitexact: Use only bitexact stuff (except (i)dct) | |
| maxrate | int | Set max bitrate tolerance (in bits/s). Requires bufsize to be set | |
| minrate | int | Set min bitrate tolerance (in bits/s). Most useful in setting up a CBR encode. It is of little use elsewise | |
| bufsize | int | Set rate control buffer size in bits. | |
| bt | int | Set video bitrate tolerance (in bits/s). In 1-pass mode, bitrate tolerance specifies how far ratecontrol is willing to deviate from the target average bitrate value. This is not related to minimum/maximum bitrate. Lowering tolerance too much has an adverse effect on quality. (from 0 to INT_MAX) (default 4000000) | |
| flags2 | flags | FFmpeg audio flags2 (default 0). Supported values: fixed_frame_size.fixed_frame_size: Force a fixed frame size | |
| export_side_data | flags | Export metadata as side data (default 0) Supported values: prft.prft: export Producer Reference Time through packet side data | |
| cutoff | int | set cutoff bandwidth (from INT_MIN to INT_MAX) (default 0) | |
| frame_size | int | FFmpeg frame_size option. (from 0 to INT_MAX) (default 0) | |
| strict | option | how strictly to follow the standards (from INT_MIN to INT_MAX) (default normal) Supported values: very, strict, normal, unofficial, experimental.very: 2: strictly conform to a older more strict version of the spec or reference softwarestrict: 1: strictly conform to all the things in the spec no matter what the consequencesnormal: 0: normalunofficial: -1: allow unofficial extensionsexperimental: -2: allow non-standardized experimental things | |
| err_detect | flags | set error detection flags (default 0) Supported values: crccheck, bitstream, buffer, explode, ignore_err, careful, compliant, aggressive.crccheck: verify embedded CRCsbitstream: detect bitstream specification deviationsbuffer: detect improper bitstream lengthexplode: abort decoding on minor error detectionignore_err: ignore errorscareful: consider things that violate the spec, are fast to check and have not been seen in the wild as errorscompliant: consider all spec non compliancies as errorsaggressive: consider things that a sane encoder should not do as an error | |
| global_quality | int | FFmpeg global_quality option. (from INT_MIN to INT_MAX) (default 0) | |
| threads | option | set the number of threads (from 0 to INT_MAX) (default 1) Supported values: auto.auto: 0: autodetect a suitable number of threads to use | |
| profile | int | Generic FFmpeg codec profile number. Valid profiles depend on the selected encoder; use its named profile selector when available. | |
| level | option | encoding level, usually corresponding to the profile level, codec-specific (from INT_MIN to INT_MAX) (default unknown) Supported values: unknown.unknown: -99: unknown | |
| trellis | int | rate-distortion optimal quantization (from INT_MIN to INT_MAX) (default 0) | |
| compression_level | int | FFmpeg compression_level option. (from INT_MIN to INT_MAX) (default -1) | |
| ch_layout | string | FFmpeg ch_layout option. | |
| thread_type | flags | select multithreading type (default slice+frame) Supported values: slice, frame. | |
| audio_service_type | option | audio service type (from 0 to 8) (default ma) Supported values: ma, ef, vi, hi, di, co, em, vo, ka.ma: 0: Main Audio Serviceef: 1: Effectsvi: 2: Visually Impairedhi: 3: Hearing Impaireddi: 4: Dialogueco: 5: Commentaryem: 6: Emergencyvo: 7: Voice Overka: 8: Karaoke | |
| dump_separator | string | set information dump field separator | |
| max_pixels | string | Maximum number of pixels (from 0 to INT_MAX) (default INT_MAX) | |
| max_samples | string | Maximum number of samples (from 0 to INT_MAX) (default INT_MAX) |
AAC (Advanced Audio Coding)
Configuration Parameter: aac
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| aac_coder | int | 1 | Set AAC encoder coding method. Possible values: 0 - twoloop, 1 - fast Supported values: twoloop, fast.twoloop: Two loop searching methodfast: Fast searchRange: minimum 0.0; maximum 1.0. |
| profile | option_fixed | unknown | Profile of AAC coding. Possible values: unknown, aac_low, mpeg2_aac_low Supported values: unknown, aac_low, mpeg2_aac_low. |
| aac_ms | option_fixed | Force M/S stereo coding (default auto) Supported values: auto, false, true. | |
| aac_is | option_fixed | Intensity stereo coding (default true) Supported values: false, true. | |
| aac_pns | option_fixed | Perceptual noise substitution (default true) Supported values: false, true. | |
| aac_tns | option_fixed | Temporal noise shaping (default true) Supported values: false, true. | |
| aac_pce | option_fixed | Forces the use of PCEs (default false) Supported values: false, true. |
AC-3 (Dolby Digital, Fixed-Point)
Configuration Parameter: ac3_fixed
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| center_mixlev | double | Center Mix Level. The amount of gain the decoder should apply to the center channel when downmixing to stereo. This field will only be written to the bitstream if a center channel is present. The value is specified as a scale factor Range: minimum 0.0; maximum 1.0. | |
| surround_mixlev | double | Surround Mix Level. The amount of gain the decoder should apply to the surround channel(s) when downmixing to stereo. This field will only be written to the bitstream if one or more surround channels are present. The value is specified as a scale factor Range: minimum 0.0; maximum 1.0. | |
| mixing_level | int | Mixing Level. Specifies peak sound pressure level (SPL) in the production environment when the mix was mastered. Valid values are 80 to 111, or -1 for unknown or not indicated. The default value is -1, but that value cannot be used if the Audio Production Information is written to the bitstream. Therefore, if the room_type option is not the default value, the mixing_level option must not be -1 Range: minimum -1.0; maximum 111.0. | |
| copyright | int | Copyright Bit. Specifies whether a copyright exists for this audio Range: minimum -1.0; maximum 1.0. | |
| dsur_mode | option_fixed | Dolby Surround Mode Not Indicated (default)Dolby Surround EncodedNot Dolby Surround Encoded Supported values: notindicated, on, off. | |
| ltrt_cmixlev | double | Lt/Rt Center Mix Level. The amount of gain the decoder should apply to the center channel when downmixing to stereo in Lt/Rt mode Range: minimum -1.0; maximum 2.0. | |
| ltrt_surmixlev | double | Lt/Rt Surround Mix Level. The amount of gain the decoder should apply to the surround channel(s) when downmixing to stereo in Lt/Rt mode Range: minimum -1.0; maximum 2.0. | |
| loro_cmixlev | double | Lo/Ro Center Mix Level. The amount of gain the decoder should apply to the center channel when downmixing to stereo in Lo/Ro mode Range: minimum -1.0; maximum 2.0. | |
| loro_surmixlev | double | Lo/Ro Surround Mix Level. The amount of gain the decoder should apply to the surround channel(s) when downmixing to stereo in Lo/Ro mode Range: minimum -1.0; maximum 2.0. | |
| room_type | option | Room Type (from -1 to 2) (default -1) Supported values: notindicated, large, small.notindicated: 0: Not Indicated (default)large: 1: Large Roomsmall: 2: Small Room | |
| per_frame_metadata | option_fixed | Allow Changing Metadata Per-Frame (default false) Supported values: false, true. | |
| dialnorm | int | Dialogue Level (dB) (from -31 to -1) (default -31) | |
| original | int | Original Bit Stream (from -1 to 1) (default -1) | |
| dmix_mode | option | Preferred Stereo Downmix Mode (from -1 to 3) (default -1) Supported values: notindicated, ltrt, loro, dplii.notindicated: 0: Not Indicated (default)ltrt: 1: Lt/Rt Downmix Preferredloro: 2: Lo/Ro Downmix Preferreddplii: 3: Dolby Pro Logic II Downmix Preferred | |
| dsurex_mode | option | Dolby Surround EX Mode (from -1 to 3) (default -1) Supported values: notindicated, on, off, dpliiz.notindicated: 0: Not Indicated (default)on: 2: Dolby Surround EX Encodedoff: 1: Not Dolby Surround EX Encodeddpliiz: 3: Dolby Pro Logic IIz-encoded | |
| dheadphone_mode | option | Dolby Headphone Mode (from -1 to 2) (default -1) Supported values: notindicated, on, off.notindicated: 0: Not Indicated (default)on: 2: Dolby Headphone Encodedoff: 1: Not Dolby Headphone Encoded | |
| ad_conv_type | option | A/D Converter Type (from -1 to 1) (default -1) Supported values: standard, hdcd.standard: 0: Standard (default)hdcd: 1: HDCD | |
| stereo_rematrixing | option_fixed | Stereo Rematrixing (default true) Supported values: false, true. | |
| channel_coupling | option | Channel Coupling (from -1 to 1) (default auto) Supported values: auto.auto: -1: Selected by the Encoder | |
| cpl_start_band | option | Coupling Start Band (from -1 to 15) (default auto) Supported values: auto.auto: -1: Selected by the Encoder |
AC-3 (Dolby Digital, Floating-Point)
Configuration Parameter: ac3
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| center_mixlev | double | 0.594604 | Center Mix Level. The amount of gain the decoder should apply to the center channel when downmixing to stereo. This field will only be written to the bitstream if a center channel is present. The value is specified as a scale factor Range: minimum 0.0; maximum 1.0. |
| surround_mixlev | double | 0.500000 | Surround Mix Level. The amount of gain the decoder should apply to the surround channel(s) when downmixing to stereo. This field will only be written to the bitstream if one or more surround channels are present. The value is specified as a scale factor Range: minimum 0.0; maximum 1.0. |
| mixing_level | int | -1 | Mixing Level. Specifies peak sound pressure level (SPL) in the production environment when the mix was mastered. Valid values are 80 to 111, or -1 for unknown or not indicated. The default value is -1, but that value cannot be used if the Audio Production Information is written to the bitstream. Therefore, if the room_type option is not the default value, the mixing_level option must not be -1 Range: minimum -1.0; maximum 111.0. |
| room_type | option | Room Type. Describes the equalization used during the final mixing session at the studio or on the dubbing stage. A large room is a dubbing stage with the industry standard X-curve equalization; a small room has flat equalization. This field will not be written to the bitstream if both the mixing_level option and the room_type option have the default values Not Indicated (default)Large RoomSmall Room Supported values: notindicated, large, small. | |
| per_frame_metadata | option_fixed | Allow Changing Metadata Per-Frame. Specifies if the encoder should check for changing metadata for each frame Supported values: false, true. | |
| copyright | int | -1 | Copyright Bit. Specifies whether a copyright exists for this audio Range: minimum -1.0; maximum 1.0. |
| dialnorm | int | -31 | Dialogue Normalization. Indicates how far the average dialogue level of the program is below digital 100% full scale (0 dBFS). This parameter determines a level shift during audio reproduction that sets the average volume of the dialogue to a preset level. The goal is to match volume level between program sources. A value of -31dB will result in no volume level change, relative to the source volume, during audio reproduction. Valid values are whole numbers in the range -31 to -1, with -31 being the default |
| dsur_mode | option | Dolby Surround Mode. Specifies whether the stereo signal uses Dolby Surround (Pro Logic). This field will only be written to the bitstream if the audio stream is stereo. Using this option does NOT mean the encoder will actually apply Dolby Surround processing Not Indicated (default)Dolby Surround EncodedNot Dolby Surround Encoded Supported values: notindicated, on, off. | |
| original | int | -1 | Original Bit Stream Indicator. Specifies whether this audio is from the original source and not a copy Range: minimum -1.0; maximum 1.0. |
| dmix_mode | option | Preferred Stereo Downmix Mode. Allows the user to select either Lt/Rt (Dolby Surround) or Lo/Ro (normal stereo) as the preferred stereo downmix mode Not Indicated (default)Lt/Rt Downmix PreferredLo/Ro Downmix PreferredDolby Pro Logic II Downmix Preferred Supported values: notindicated, ltrt, loro, dplii. | |
| ltrt_cmixlev | double | -1.000000 | Lt/Rt Center Mix Level. The amount of gain the decoder should apply to the center channel when downmixing to stereo in Lt/Rt mode Range: minimum -1.0; maximum 2.0. |
| ltrt_surmixlev | double | -1.000000 | Lt/Rt Surround Mix Level. The amount of gain the decoder should apply to the surround channel(s) when downmixing to stereo in Lt/Rt mode Range: minimum -1.0; maximum 2.0. |
| loro_cmixlev | double | -1.000000 | Lo/Ro Center Mix Level. The amount of gain the decoder should apply to the center channel when downmixing to stereo in Lo/Ro mode Range: minimum -1.0; maximum 2.0. |
| loro_surmixlev | double | -1.000000 | Lo/Ro Surround Mix Level. The amount of gain the decoder should apply to the surround channel(s) when downmixing to stereo in Lo/Ro mode Range: minimum -1.0; maximum 2.0. |
| dsurex_mode | option | Dolby Surround EX Mode. Indicates whether the stream uses Dolby Surround EX (7.1 matrixed to 5.1). Using this option does NOT mean the encoder will actually apply Dolby Surround EX processing Not Indicated (default)Dolby Surround EX EncodedNot Dolby Surround EX EncodedDolby Pro Logic IIz-encoded Supported values: notindicated, on, off, dpliiz. | |
| dheadphone_mode | option | Dolby Headphone Mode. Indicates whether the stream uses Dolby Headphone encoding (multi-channel matrixed to 2.0 for use with headphones). Using this option does NOT mean the encoder will actually apply Dolby Headphone processing Not Indicated (default)Dolby Headphone EncodedNot Dolby Headphone Encoded Supported values: notindicated, on, off. | |
| ad_conv_type | option | A/D Converter Type. Indicates whether the audio has passed through HDCD A/D conversion Standard (default)HDCD Supported values: standard, hdcd. | |
| stereo_rematrixing | option_fixed | Stereo Rematrixing. Enables/Disables use of rematrixing for stereo input. This is an optional AC-3 feature that increases quality by selectively encoding the left/right channels as mid/side. This option is enabled by default, and it is highly recommended that it be left as enabled except for testing purposes Supported values: false, true. | |
| channel_coupling | option | auto | Enables/Disables use of channel coupling, which is an optional AC-3 feature that increases quality by combining high frequency information from multiple channels into a single channel. The per-channel high frequency information is sent with less accuracy in both the frequency and time domains. This allows more bits to be used for lower frequencies while preserving enough information to reconstruct the high frequencies. This option is enabled by default for the floating-point encoder and should generally be left as enabled except for testing purposes or to increase encoding speed Selected by the Encoder Supported values: auto. |
| cpl_start_band | option | auto | Coupling Start Band. Sets the channel coupling start band, from 1 to 15. If a value higher than the bandwidth is used, it will be reduced to 1 less than the coupling end band. If auto is used, the start band will be determined by the encoder based on the bit rate, sample rate, and channel layout. This option has no effect if channel coupling is disabled Selected by the Encoder Supported values: auto. |
ADPCM IMA QuickTime
Configuration Parameter: adpcm_ima_qt
ADPCM Microsoft
Configuration Parameter: adpcm_ms
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| block_size | int | set the block size (from 32 to 8192) (default 1024) |
ALAC (Apple Lossless)
Configuration Parameter: alac
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| min_prediction_order | int | FFmpeg min_prediction_order option. (from 1 to 30) (default 4) | |
| max_prediction_order | int | FFmpeg max_prediction_order option. (from 1 to 30) (default 6) | |
| compression_level | int | ALAC compression level: -1 selects the FFmpeg default (2); 0 disables prediction, 1 uses a fast predictor, 2 uses the full predictor search. Range: minimum -1; maximum 2. |
E-AC-3 (Dolby Digital Plus)
Configuration Parameter: eac3
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| mixing_level | int | -1 | Mixing Level Range: minimum -1.0; maximum 111.0. |
| copyright | int | -1 | Copyright Bit. Specifies whether a copyright exists for this audio Range: minimum -1.0; maximum 1.0. |
| dsur_mode | option_fixed | Dolby Surround Mode Not Indicated (default)Dolby Surround EncodedNot Dolby Surround Encoded Supported values: notindicated, on, off. | |
| ltrt_cmixlev | double | -1.000000 | Lt/Rt Center Mix Level. The amount of gain the decoder should apply to the center channel when downmixing to stereo in Lt/Rt mode Range: minimum -1.0; maximum 2.0. |
| ltrt_surmixlev | double | -1.000000 | Lt/Rt Surround Mix Level. The amount of gain the decoder should apply to the surround channel(s) when downmixing to stereo in Lt/Rt mode Range: minimum -1.0; maximum 2.0. |
| loro_cmixlev | double | -1.000000 | Lo/Ro Center Mix Level. The amount of gain the decoder should apply to the center channel when downmixing to stereo in Lo/Ro mode Range: minimum -1.0; maximum 2.0. |
| loro_surmixlev | double | -1.000000 | Lo/Ro Surround Mix Level. The amount of gain the decoder should apply to the surround channel(s) when downmixing to stereo in Lo/Ro mode Range: minimum -1.0; maximum 2.0. |
| room_type | option | Room Type (from -1 to 2) (default -1) Supported values: notindicated, large, small.notindicated: 0: Not Indicated (default)large: 1: Large Roomsmall: 2: Small Room | |
| per_frame_metadata | option_fixed | Allow Changing Metadata Per-Frame (default false) Supported values: false, true. | |
| dialnorm | int | Dialogue Level (dB) (from -31 to -1) (default -31) | |
| original | int | Original Bit Stream (from -1 to 1) (default -1) | |
| dmix_mode | option | Preferred Stereo Downmix Mode (from -1 to 3) (default -1) Supported values: notindicated, ltrt, loro, dplii.notindicated: 0: Not Indicated (default)ltrt: 1: Lt/Rt Downmix Preferredloro: 2: Lo/Ro Downmix Preferreddplii: 3: Dolby Pro Logic II Downmix Preferred | |
| dsurex_mode | option | Dolby Surround EX Mode (from -1 to 3) (default -1) Supported values: notindicated, on, off, dpliiz.notindicated: 0: Not Indicated (default)on: 2: Dolby Surround EX Encodedoff: 1: Not Dolby Surround EX Encodeddpliiz: 3: Dolby Pro Logic IIz-encoded | |
| dheadphone_mode | option | Dolby Headphone Mode (from -1 to 2) (default -1) Supported values: notindicated, on, off.notindicated: 0: Not Indicated (default)on: 2: Dolby Headphone Encodedoff: 1: Not Dolby Headphone Encoded | |
| ad_conv_type | option | A/D Converter Type (from -1 to 1) (default -1) Supported values: standard, hdcd.standard: 0: Standard (default)hdcd: 1: HDCD | |
| stereo_rematrixing | option_fixed | Stereo Rematrixing (default true) Supported values: false, true. | |
| channel_coupling | option | Channel Coupling (from -1 to 1) (default auto) Supported values: auto.auto: -1: Selected by the Encoder | |
| cpl_start_band | option | Coupling Start Band (from -1 to 15) (default auto) Supported values: auto.auto: -1: Selected by the Encoder |
FLAC (Free Lossless)
Configuration Parameter: flac
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| lpc_coeff_precision | int | 15 | Sets the LPC coefficient precision, valid values are from 1 to 15, 15 is the default |
| lpc_type | option_fixed | LPC algorithm. Possible values: none, fixed, levinson, cholesky Supported values: none, fixed, levinson, cholesky. | |
| lpc_passes | int | 2 | Number of passes to use for Cholesky factorization during LPC analysis Range: minimum 1; maximum 2147483647. |
| min_partition_order | int | -1 | Minimal partition order Range: minimum -1; maximum 8. |
| max_partition_order | int | -1 | Maximal partition order Range: minimum -1; maximum 8. |
| prediction_order_method | option_fixed | Search method for selecting prediction order Supported values: estimation, 2level, 4level, 8level, search, log.estimation: estimationsearch: searchlog: log | |
| ch_mode | option_fixed | auto | Stereo decorrelation mode. Possible values: auto, indep, left_side, right_side, mid_side Supported values: auto, indep, left_side, right_side, mid_side. |
| exact_rice_parameters | option_fixed | Calculate rice parameters exactly (default false) Supported values: false, true. | |
| multi_dim_quant | option_fixed | Multi-dimensional quantization (default false) Supported values: false, true. | |
| min_prediction_order | int | FFmpeg min_prediction_order option. (from -1 to 32) (default -1) | |
| max_prediction_order | int | FFmpeg max_prediction_order option. (from -1 to 32) (default -1) | |
| compression_level | int | FLAC compression level (0 to 12). Higher values trade encoding speed for compression. -1 selects the FFmpeg default (5). Range: minimum -1; maximum 12. |
MP2 (MPEG Audio Layer 2)
Configuration Parameter: mp2
MP3 (LAME, MPEG Audio Layer 3)
Configuration Parameter: libmp3lame
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| reservoir | option_fixed | use bit reservoir (default true) Supported values: false, true. | |
| joint_stereo | option_fixed | use joint stereo (default true) Supported values: false, true. | |
| abr | option_fixed | use ABR (default false) Supported values: false, true. | |
| copyright | option_fixed | set copyright flag (default false) Supported values: false, true. | |
| original | option_fixed | set original flag (default true) Supported values: false, true. | |
| global_quality | int | VBR quality in FFmpeg lambda units: multiply the LAME quality (0 to 9, lower is better) by 118; for example 472 selects quality 4. Requires flags=+qscale. Without qscale, bitrate/ABR settings apply. Range: minimum 0; maximum 1179. | |
| compression_level | int | LAME algorithm quality (0 to 9): 0 is slowest/best, 9 is fastest. -1 leaves the library default. This controls encoding effort, not the target VBR quality. Range: minimum -1; maximum 9. | |
| flags | flags | Audio encoding flags. Set +qscale to enable quality based VBR using global_quality. Supported values: qscale, global_header, bitexact.qscale: Use constant quality VBR instead of a target bitrate.global_header: Place global headers in extradata.bitexact: Use only bitexact algorithms. |
Ogg Vorbis
Configuration Parameter: libvorbis
Note that above 50 kHz, VBR with a quality setting of 3 is used automatically instead of the unsupported fixed-bitrate mode. The sample rate and number of channels are preserved; the specified 'audio::b' value is ignored. You can change quality setting by the following attribute:
| Name | Type | Default | Description |
|---|---|---|---|
| global_quality | int | VBR quality in FFmpeg lambda units: multiply the Vorbis quality (-1 to 10, higher is better) by 118; for example 472 selects quality 4. Requires flags=+qscale: the writer sets b (default 128K), and with a bitrate libvorbis ignores global_quality. Range: minimum -118; maximum 1180. | |
| iblock | double | Sets the impulse block bias (from -15 to 0) (default 0) | |
| flags | flags | Audio encoding flags. Set +qscale to enable quality based VBR using global_quality. Supported values: qscale, global_header, bitexact.qscale: Use constant quality VBR instead of a target bitrate.global_header: Place global headers in extradata.bitexact: Use only bitexact algorithms. |
Opus (libopus)
Configuration Parameter: libopus
Additional attributes:
| Name | Type | Default | Description |
|---|---|---|---|
| application | option_fixed | audio | Encoding application: audio — general audio and music; voip — speech; lowdelay — lowest-delay modes.Supported values: audio, voip, lowdelay.audio: General audio and musicvoip: Favor speech intelligibilitylowdelay: Restrict to the lowest-delay modes, disabling voice-optimized modes |
| vbr | option_fixed | on | Bitrate mode: off — constant bitrate; on — variable bitrate; constrained — constrained variable bitrate.Supported values: off, on, constrained.off: Constant bitrateon: Variable bitrateconstrained: Constrained variable bitrate |
| compression_level | int | 10 | Encoding complexity, from 0 to 10. Higher values improve quality at the cost of encoding speed. |
| frame_duration | double | 20 | Set audio frame duration in milliseconds. Supported values: 2.5, 5, 10, 20, 40, 60, 80, 100, 120. Values below 10 ms use the restricted low-delay mode Range: minimum 2.5; maximum 120.0. |
| packet_loss | int | 0 | Expected packet loss percentage, from 0 to 100. |
| fec | bool | false | Enables in-band forward error correction. Requires a non-zero packet_loss value. |
| mapping_family | int | -1 | Set channel mapping family: -1 - automatic, 0 - mono/stereo, 1 - surround (up to 8 channels), 255 - independent streams Range: minimum -1.0; maximum 255.0. |
| apply_phase_inv | bool | true | Enables intensity-stereo phase inversion. Disabling it can improve mono downmix quality. |
| cutoff | int | 0 | Set audio bandwidth cutoff in Hz. Supported values: 0 (automatic), 4000, 6000, 8000, 12000, 20000 Range: minimum 0.0; maximum 20000.0. |
| ar | int | Set audio sampling rate in Hz. Supported values: 8000, 12000, 16000, 24000, 48000 | |
| dtx | option_fixed | Enable DTX (Discontinuous transmission) (default false) Supported values: false, true. |
PCM 16-bit Signed LE
Configuration Parameter: pcm_s16le
PCM 24-bit D-Cinema
Configuration Parameter: pcm_s24daud
PCM 24-bit Signed LE
Configuration Parameter: pcm_s24le
PCM 32-bit Float LE
Configuration Parameter: pcm_f32le
PCM 32-bit Signed LE
Configuration Parameter: pcm_s32le
Video Codecs
General Video Attributes
Common attributes; codec-specific attributes below override these definitions.
Additional attributes
An empty Default cell means that no preset default is specified. Encoder defaults, where known, are included in the description.
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 5M | Set video bitrate (in bits/s). Support unit prefixes such as K or M |
| bt | int | Set video bitrate tolerance (in bits/s). In 1-pass mode, bitrate tolerance specifies how far ratecontrol is willing to deviate from the target average bitrate value. This is not related to min/max bitrate. Lowering tolerance too much has an adverse effect on quality. | |
| flags | flags | Supported values: gray, ildct, low_delay, ilme, cgop.gray: Only decode/encode grayscaleildct: Use interlaced dctlow_delay: Force low delayilme: Apply interlaced motion estimationcgop: Closed GOP | |
| size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
| ar | option | Aspect ratio of video. Supported values: 16:9, 4:3. | |
| ar_type | option_fixed | Type of video's aspect ratio. Supported values: crop, letter-box, none. | |
| g | int | Keyframe interval, also known as GOP length. This determines the maximum distance between I-frames. Very high GOP lengths will result in slightly more efficient compression, but will make seeking in the video somewhat more difficult. | |
| qcomp | double | Video quantizer scale compression (VBR). Constant of ratecontrol equation. Recommended range for default rc_eq: 0.0-1.0 | |
| qmin | int | Min video quantizer scale (VBR) Range: minimum -1.0; maximum 69.0. | |
| qmax | int | Max video quantizer scale (VBR) Range: minimum -1.0; maximum 1024.0. | |
| qdiff | int | Max difference between the quantizer scale (VBR) | |
| bf | int | This parameter simply serves to limit the max number of B-frames. Note that Baseline Profile, such as that used by iPods, does not support B-frames. Recommended default: 16 Range: minimum -1.0; maximum 16.0. | |
| maxrate | int | Specifies the maximum bitrate at any point in the video. Requires the VBV buffersize to be set. This option is generally used when encoding for a piece of hardware with bitrate limitations. | |
| minrate | int | Set min bitrate tolerance (in bits/s). Most useful in setting up a CBR encode. It is of little use elsewise. | |
| bufsize | int | Set ratecontrol buffer size (in bits). Depends on the profile level of the video being encoded. Set only if you're encoding for a hardware device. | |
| i_qfactor | double | Qscale difference between I-frames and P-frames. | |
| dct | option_fixed | auto | DCT algorithm Supported values: auto, fastint, int, mmx, altivec, faan.auto: Autoselect a good one (default)fastint: Fast integerint: Accurate integermmx: MMXaltivec: Altivecfaan: Floating point AAN DCT |
| cmp | option_fixed | Full pel motion estimation compare function Supported values: sad, sse, satd, dct, bit, rd, zero, vsad, vsse, nsse, w53, w97, dctmax, chroma.sad: Sum of absolute differences, fast (default)sse: Sum of squared errorssatd: Sum of absolute Hadamard transformed differencesdct: Sum of absolute DCT transformed differencesbit: Number of bits needed for the blockrd: Rate distortion optimal, slowzero: 0vsad: Sum of absolute vertical differencesvsse: Sum of squared vertical differencesnsse: Noise preserving sum of squared differencesw53: 5/3 wavelet, only used in snoww97: 9/7 wavelet, only used in snowdctmax: DCT maxchroma: Chroma | |
| subq | int | Sub pel motion estimation quality | |
| me_range | int | MErange controls the max range of the motion search. | |
| rc_init_occupancy | int | 0 | Number of bits which should be loaded into the rc buffer before decoding starts |
| threads | string | auto | Threads. The number of threads to use while processing. Adjust this to match how many of your available CPU cores you want to use. |
| tag | string | Codec's tag (for example, 'xvid') | |
| scaling_quality | string | scaling quality for video encoding | |
| refs | int | Reference frames to consider for motion compensation | |
| trellis | int | 0 | 0: disabled; 1: enabled only on the final encode of a MB; 2: enabled on all mode decisions. The main decision made in quantization is which coefficients to round up and which to round down. Trellis chooses the optimal rounding choices for the maximum rate-distortion score, to maximize PSNR relative to bitrate. |
| rc_max_vbv_use | double | 0.0 | Maximal rate control of video buffer verifier's usage |
| rc_min_vbv_use | double | 3.0 | Minimal rate control of video buffer verifier's usage |
| slices | int | 0 | Number of slices, used in parallelized encoding Range: minimum 0.0. |
| top | int | Field order for interlaced files (-1 - auto, 0 - bottom first, 1 - top first) Range: minimum -1; maximum 1. | |
| thread_type | flags | +slice+frame | Select multithreading type Supported values: slice, frame.slice: Sliceframe: Frame |
| flags2 | flags | FFmpeg flags2 option. (default 0) Supported values: fast, noout, local_header, fixed_frame_size.fast: allow non-spec-compliant speedup tricksnoout: skip bitstream encodinglocal_header: place global headers at every keyframe instead of in extradatafixed_frame_size: Force a fixed frame size | |
| export_side_data | flags | Export metadata as side data (default 0) Supported values: prft.prft: export Producer Reference Time through packet side data | |
| qblur | double | video quantizer scale blur (VBR) (from -1 to FLT_MAX) (default 0.5) | |
| b_qfactor | double | QP factor between P- and B-frames (from -FLT_MAX to FLT_MAX) (default 1.25) | |
| strict | option | how strictly to follow the standards (from INT_MIN to INT_MAX) (default normal) Supported values: very, strict, normal, unofficial, experimental.very: 2: strictly conform to a older more strict version of the spec or reference softwarestrict: 1: strictly conform to all the things in the spec no matter what the consequencesnormal: 0: normalunofficial: -1: allow unofficial extensionsexperimental: -2: allow non-standardized experimental things | |
| b_qoffset | double | QP offset between P- and B-frames (from -FLT_MAX to FLT_MAX) (default 1.25) | |
| err_detect | flags | set error detection flags (default 0) Supported values: crccheck, bitstream, buffer, explode, ignore_err, careful, compliant, aggressive.crccheck: verify embedded CRCsbitstream: detect bitstream specification deviationsbuffer: detect improper bitstream lengthexplode: abort decoding on minor error detectionignore_err: ignore errorscareful: consider things that violate the spec, are fast to check and have not been seen in the wild as errorscompliant: consider all spec non compliancies as errorsaggressive: consider things that a sane encoder should not do as an error | |
| i_qoffset | double | QP offset between P- and I-frames (from -FLT_MAX to FLT_MAX) (default 0) | |
| lumi_mask | double | compresses bright areas stronger than medium ones (from -FLT_MAX to FLT_MAX) (default 0) | |
| tcplx_mask | double | temporal complexity masking (from -FLT_MAX to FLT_MAX) (default 0) | |
| scplx_mask | double | spatial complexity masking (from -FLT_MAX to FLT_MAX) (default 0) | |
| p_mask | double | inter masking (from -FLT_MAX to FLT_MAX) (default 0) | |
| dark_mask | double | compresses dark areas stronger than medium ones (from -FLT_MAX to FLT_MAX) (default 0) | |
| idct | option | select IDCT implementation (from 0 to INT_MAX) (default auto) Supported values: auto, int, simple, simplemmx, arm, altivec, simplearm, simplearmv5te, simplearmv6, simpleneon, xvid, xvidmmx, faani, simpleauto.auto: 0: autoint: 1: intsimple: 2: simplesimplemmx: 3: simplemmxarm: 7: armaltivec: 8: altivecsimplearm: 10: simplearmsimplearmv5te: 16: simplearmv5tesimplearmv6: 17: simplearmv6simpleneon: 22: simpleneonxvid: 14: xvidxvidmmx: 14: deprecated, for compatibility onlyfaani: 20: floating point AAN IDCTsimpleauto: 128: simpleauto | |
| aspect | string | sample aspect ratio (from 0 to 10) (default 0/1) | |
| sar | string | sample aspect ratio (from 0 to 10) (default 0/1) | |
| debug | flags | print specific debug info (default 0) Supported values: rc.rc: rate control | |
| dia_size | int | diamond type & size for motion estimation (from INT_MIN to INT_MAX) (default 0) | |
| last_pred | int | amount of motion predictors from the previous frame (from INT_MIN to INT_MAX) (default 0) | |
| pre_dia_size | int | diamond type & size for motion estimation pre-pass (from INT_MIN to INT_MAX) (default 0) | |
| global_quality | int | FFmpeg global_quality option. (from INT_MIN to INT_MAX) (default 0) | |
| mbd | option | macroblock decision algorithm (high quality mode) (from 0 to 2) (default simple) Supported values: simple, bits, rd.simple: 0: use mbcmpbits: 1: use fewest bitsrd: 2: use best rate distortion | |
| nssew | int | nsse weight (from INT_MIN to INT_MAX) (default 8) | |
| profile | int | Generic FFmpeg codec profile number. Valid profiles depend on the selected encoder; use its named profile selector when available. | |
| level | option | encoding level, usually corresponding to the profile level, codec-specific (from INT_MIN to INT_MAX) (default unknown) Supported values: unknown.unknown: -99: unknown | |
| subcmp | option | sub-pel ME compare function (from INT_MIN to INT_MAX) (default sad) Supported values: sad, sse, satd, dct, psnr, bit, rd, zero, vsad, vsse, nsse, w53, w97, dctmax, chroma, msad.sad: 0: sum of absolute differences, fastsse: 1: sum of squared errorssatd: 2: sum of absolute Hadamard transformed differencesdct: 3: sum of absolute DCT transformed differencespsnr: 4: sum of squared quantization errors (avoid, low quality)bit: 5: number of bits needed for the blockrd: 6: rate distortion optimal, slowzero: 7: 0vsad: 8: sum of absolute vertical differencesvsse: 9: sum of squared vertical differencesnsse: 10: noise preserving sum of squared differencesw53: 11: 5/3 wavelet, only used in snoww97: 12: 9/7 wavelet, only used in snowdctmax: 13: dctmaxchroma: 256: chromamsad: 15: sum of absolute differences, median predicted | |
| mbcmp | option | macroblock compare function (from INT_MIN to INT_MAX) (default sad) Supported values: sad, sse, satd, dct, psnr, bit, rd, zero, vsad, vsse, nsse, w53, w97, dctmax, chroma, msad.sad: 0: sum of absolute differences, fastsse: 1: sum of squared errorssatd: 2: sum of absolute Hadamard transformed differencesdct: 3: sum of absolute DCT transformed differencespsnr: 4: sum of squared quantization errors (avoid, low quality)bit: 5: number of bits needed for the blockrd: 6: rate distortion optimal, slowzero: 7: 0vsad: 8: sum of absolute vertical differencesvsse: 9: sum of squared vertical differencesnsse: 10: noise preserving sum of squared differencesw53: 11: 5/3 wavelet, only used in snoww97: 12: 9/7 wavelet, only used in snowdctmax: 13: dctmaxchroma: 256: chromamsad: 15: sum of absolute differences, median predicted | |
| ildctcmp | option | interlaced DCT compare function (from INT_MIN to INT_MAX) (default vsad) Supported values: sad, sse, satd, dct, psnr, bit, rd, zero, vsad, vsse, nsse, w53, w97, dctmax, chroma, msad.sad: 0: sum of absolute differences, fastsse: 1: sum of squared errorssatd: 2: sum of absolute Hadamard transformed differencesdct: 3: sum of absolute DCT transformed differencespsnr: 4: sum of squared quantization errors (avoid, low quality)bit: 5: number of bits needed for the blockrd: 6: rate distortion optimal, slowzero: 7: 0vsad: 8: sum of absolute vertical differencesvsse: 9: sum of squared vertical differencesnsse: 10: noise preserving sum of squared differencesw53: 11: 5/3 wavelet, only used in snoww97: 12: 9/7 wavelet, only used in snowdctmax: 13: dctmaxchroma: 256: chromamsad: 15: sum of absolute differences, median predicted | |
| precmp | option | pre motion estimation compare function (from INT_MIN to INT_MAX) (default sad) Supported values: sad, sse, satd, dct, psnr, bit, rd, zero, vsad, vsse, nsse, w53, w97, dctmax, chroma, msad.sad: 0: sum of absolute differences, fastsse: 1: sum of squared errorssatd: 2: sum of absolute Hadamard transformed differencesdct: 3: sum of absolute DCT transformed differencespsnr: 4: sum of squared quantization errors (avoid, low quality)bit: 5: number of bits needed for the blockrd: 6: rate distortion optimal, slowzero: 7: 0vsad: 8: sum of absolute vertical differencesvsse: 9: sum of squared vertical differencesnsse: 10: noise preserving sum of squared differencesw53: 11: 5/3 wavelet, only used in snoww97: 12: 9/7 wavelet, only used in snowdctmax: 13: dctmaxchroma: 256: chromamsad: 15: sum of absolute differences, median predicted | |
| mblmin | int | minimum macroblock Lagrange factor (VBR) (from 1 to 32767) (default 236) | |
| mblmax | int | maximum macroblock Lagrange factor (VBR) (from 1 to 32767) (default 3658) | |
| bidir_refine | int | refine the two motion vectors used in bidirectional macroblocks (from 0 to 4) (default 1) | |
| keyint_min | int | minimum interval between IDR-frames (from INT_MIN to INT_MAX) (default 25) | |
| mv0_threshold | int | FFmpeg mv0_threshold option. (from 0 to INT_MAX) (default 256) | |
| compression_level | int | FFmpeg compression_level option. (from INT_MIN to INT_MAX) (default -1) | |
| color_primaries | option | color primaries (from 1 to INT_MAX) (default unknown) Supported values: bt709, unknown, bt470m, bt470bg, smpte170m, smpte240m, film, bt2020, smpte428, smpte428_1, smpte431, smpte432, jedec-p22, ebu3213, unspecified.bt709: 1: BT.709unknown: 2: Unspecifiedbt470m: 4: BT.470 Mbt470bg: 5: BT.470 BGsmpte170m: 6: SMPTE 170 Msmpte240m: 7: SMPTE 240 Mfilm: 8: Filmbt2020: 9: BT.2020smpte428: 10: SMPTE 428-1smpte428_1: 10: SMPTE 428-1smpte431: 11: SMPTE 431-2smpte432: 12: SMPTE 422-1jedec-p22: 22: JEDEC P22ebu3213: 22: EBU 3213-Eunspecified: 2: Unspecified | |
| color_trc | option | color transfer characteristics (from 1 to INT_MAX) (default unknown) Supported values: bt709, unknown, gamma22, bt470m, gamma28, bt470bg, smpte170m, smpte240m, linear, log100, log316, iec61966-2-4, bt1361e, iec61966-2-1, bt2020-10, bt2020-12, smpte2084, smpte428, arib-std-b67, unspecified, log, log_sqrt, iec61966_2_4, bt1361, iec61966_2_1, bt2020_10bit, bt2020_12bit, smpte428_1.bt709: 1: BT.709unknown: 2: Unspecifiedgamma22: 4: BT.470 Mbt470m: 4: BT.470 Mgamma28: 5: BT.470 BGbt470bg: 5: BT.470 BGsmpte170m: 6: SMPTE 170 Msmpte240m: 7: SMPTE 240 Mlinear: 8: Linearlog100: 9: Loglog316: 10: Log square rootiec61966-2-4: 11: IEC 61966-2-4bt1361e: 12: BT.1361iec61966-2-1: 13: IEC 61966-2-1bt2020-10: 14: BT.2020 - 10 bitbt2020-12: 15: BT.2020 - 12 bitsmpte2084: 16: SMPTE 2084smpte428: 17: SMPTE 428-1arib-std-b67: 18: ARIB STD-B67unspecified: 2: Unspecifiedlog: 9: Loglog_sqrt: 10: Log square rootiec61966_2_4: 11: IEC 61966-2-4bt1361: 12: BT.1361iec61966_2_1: 13: IEC 61966-2-1bt2020_10bit: 14: BT.2020 - 10 bitbt2020_12bit: 15: BT.2020 - 12 bitsmpte428_1: 17: SMPTE 428-1 | |
| colorspace | option | color space (from 0 to INT_MAX) (default unknown) Supported values: rgb, bt709, unknown, fcc, bt470bg, smpte170m, smpte240m, ycgco, bt2020nc, bt2020c, smpte2085, chroma-derived-nc, chroma-derived-c, ictcp, ipt-c2, unspecified, ycocg, ycgco-re, ycgco-ro, bt2020_ncl, bt2020_cl.rgb: 0: RGBbt709: 1: BT.709unknown: 2: Unspecifiedfcc: 4: FCCbt470bg: 5: BT.470 BGsmpte170m: 6: SMPTE 170 Msmpte240m: 7: SMPTE 240 Mycgco: 8: YCGCObt2020nc: 9: BT.2020 NCLbt2020c: 10: BT.2020 CLsmpte2085: 11: SMPTE 2085chroma-derived-nc: 12: Chroma-derived NCLchroma-derived-c: 13: Chroma-derived CLictcp: 14: ICtCpipt-c2: 15: IPT-C2unspecified: 2: Unspecifiedycocg: 8: YCGCOycgco-re: 16: YCgCo-R, even add.ycgco-ro: 17: YCgCo-R, odd add.bt2020_ncl: 9: BT.2020 NCLbt2020_cl: 10: BT.2020 CL | |
| color_range | option | color range (from 0 to INT_MAX) (default unknown) Supported values: unknown, tv, pc, unspecified, mpeg, jpeg, limited, full.unknown: 0: Unspecifiedtv: 1: MPEG (219*2^(n-8))pc: 2: JPEG (2^n-1)unspecified: 0: Unspecifiedmpeg: 1: MPEG (219*2^(n-8))jpeg: 2: JPEG (2^n-1)limited: 1: MPEG (219*2^(n-8))full: 2: JPEG (2^n-1) | |
| chroma_sample_location | option | chroma sample location (from 0 to INT_MAX) (default unknown) Supported values: unknown, left, center, topleft, top, bottomleft, bottom, unspecified.unknown: 0: Unspecifiedleft: 1: Leftcenter: 2: Centertopleft: 3: Top-lefttop: 4: Topbottomleft: 5: Bottom-leftbottom: 6: Bottomunspecified: 0: Unspecified | |
| alpha_mode | option | alpha mode (from 0 to INT_MAX) (default unknown) Supported values: unknown, unspecified, premultiplied, straight.unknown: 0: Unspecifiedunspecified: 0: Unspecifiedpremultiplied: 1: Premultipliedstraight: 2: Straight | |
| field_order | option | Field order (from 0 to 5) (default 0) Supported values: progressive, tt, bb, tb, bt.progressive: 1: progressivett: 2: ttbb: 3: bbtb: 4: tbbt: 5: bt | |
| dump_separator | string | set information dump field separator | |
| max_pixels | string | Maximum number of pixels (from 0 to INT_MAX) (default INT_MAX) |
Apple ProRes (iCodec Pro, SW)
Configuration Parameter: prores_ks
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| mbs_per_slice | int | 8 | Macroblocks per slice Range: minimum 1.0; maximum 8.0. |
| profile | option | auto | FFmpeg profile option. (from -1 to 5) (default auto) Supported values: auto, proxy, lt, standard, hq, 4444, 4444xq.proxy: proxystandard: standardhq: hq |
| vendor | string | Lavc | Vendor ID |
| bits_per_mb | int | 0 | Desired bits per macroblock Range: minimum 0.0; maximum 8192.0. |
| quant_mat | option | auto | Quantiser matrix Supported values: auto, proxy, lt, standard, hq, default.auto: autoproxy: proxylt: ltstandard: standardhq: hqdefault: default |
| alpha_bits | int | 16 | Bits for alpha plane Range: minimum 0.0; maximum 16.0. |
Apple ProRes (Legacy, SW)
Configuration Parameter: prores
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| profile | int | Set the profile: 0=Proxy, 1=LT, 2=standard, 3=HQ Supported values: 0, 1, 2, 3.Range: minimum 0; maximum 3. | |
| vendor | string | vendor ID (default "fmpg") |
AV1 (FFmpeg VPL-MSDK, HW)
Configuration Parameter: av1_qsv
'ffmpeg_av1_qsv.enable' property enabled is required!
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| async_depth | int | 4 | Maximum processing parallelism (from 1 to INT_MAX) |
| preset | option_fixed | Change options to trade off compression efficiency against encoding speed Supported values: veryfast, faster, fast, medium, slow, slower, veryslow.veryfast: veryfastfaster: fasterfast: fastmedium: mediumslow: slowslower: slowerveryslow: veryslow | |
| forced_idr | bool | false | Forcing I frames as IDR frames |
| low_power | bool | enable low power mode(experimental: many limitations by mfx version, BRC modes, etc.) (default auto) | |
| b_strategy | int | -1 | Strategy to choose between I/P/B-frames (from -1 to 1) |
| adaptive_i | int | -1 | Adaptive I-frame placement (from -1 to 1) |
| adaptive_b | int | -1 | Adaptive B-frame placement (from -1 to 1) |
| extbrc | int | -1 | Extended bitrate control (from -1 to 1) |
| low_delay_brc | bool | Allow to strictly obey avg frame size (default auto) | |
| max_frame_size | int | -1 | Maximum encoded frame size in bytes (from -1 to INT_MAX) |
| max_frame_size_i | int | -1 | Maximum encoded I frame size in bytes (from -1 to INT_MAX) |
| max_frame_size_p | int | -1 | Maximum encoded P frame size in bytes (from -1 to INT_MAX) |
| profile | option | unknown | Used profile (from 0 to INT_MAX) Supported values: unknown, main.unknown: unknownmain: main |
| tile_cols | int | 0 | Number of columns for tiled encoding (from 0 to 65535) |
| tile_rows | int | 0 | Number of rows for tiled encoding (from 0 to 65535) |
| look_ahead_depth | int | 0 | Depth of look ahead in number frames (from 0 to 100) |
| qsv_params | string | Set QSV encoder parameters as key1=value1:key2=value2:... |
AV1 (NVIDIA NVENC, HW)
Configuration Parameter: nav1
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 5M | The average bit rate in bps is the target bit rate used for rate control |
| g | int | 30 | This is the IDR period |
| bf | int | This sets the distance of one P picture from the previous P picture. e.g. for IBBPBBP, set the value as 3 Range: minimum 1; maximum 17. | |
| rc_type | option_fixed | Auto | The rate control type Supported values: Auto, cbr, vbr, cqp. |
| preset | option_fixed | default | Codec Preset - if specified, some properties below ignored Supported values: default, high_performance, high_quality, blue_ray_disk, low_latency, low_latency_hq, low_latency_hp, lossless, lossless_hp, p1, p2, p3, p4, p5, p6, p7. |
| tuning_info | option_fixed | high_quality | Codec Tuning Info - if specified, some properties below ignored Supported values: high_quality, low_latency, ultra_low_latency. |
| level | option_fixed | Auto | Specifies the level of the encoded bitstream Supported values: Auto, 2.0, 2.1, 2.2, 2.3, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3, 5.0, 5.1, 5.2, 5.3, 6.0. 6.1, 6.2, 6.3, 7.0. 7.1, 7.2, 7.3. |
| tier | option_fixed | Main | Supported values: Main, High. |
| maxrate | int | The maximum bit rate in bps is the peak bit rate used for VBR rate control | |
| size | string | Resolution of video. Format: WIDTHxHEIGHT | |
| ar | option | Aspect ratio of video. Supported values: 16:9, 4:3. | |
| ar_type | option_fixed | Type of video's aspect ratio Supported values: crop, letter-box, none. | |
| bufsize | int | Specifies the VBV(HRD) buffer size. in bits. Set 0 to use the default VBV buffer size | |
| initialdelay | int | 0 | Specifies the VBV(HRD) initial delay in bits. Set 0 to use the default VBV initial delay |
| enableAQ | option_fixed | true | Set this to TRUE to enable adaptive quantization Supported values: true, false. |
| outputAnnexBFormat | option_fixed | Set 'true' to use Annex B format for bitstream output Supported values: true, false. | |
| enableTimingInfo | option_fixed | Set 'true' to write Timing Info into sequence/frame headers Supported values: true, false. | |
| enableDecoderModelInfo | option_fixed | Set 'true' to write Decoder Model Info into sequence/frame headers. Supported values: true, false. | |
| enableFrameIdNumbers | option_fixed | Set 'true' to write Frame id numbers in bitstream. Supported values: true, false. | |
| disableSeqHdr | option_fixed | Set 'true' to disable Sequence Header signaling in the bitstream Supported values: true, false. | |
| repeatSeqHdr | option_fixed | Set 'true' to output Sequence Header for every Key frame Supported values: true, false. | |
| enableBitstreamPadding | option_fixed | Set 'true' to enable bitstream padding Supported values: true, false. | |
| idrPeriod | int | Specifies the IDR/Key frame interval. If not set, this is made equal to gopLength in NV_ENC_CONFIG.Low latency application client can set IDR interval to NVENC_INFINITE_GOPLENGTH so that IDR frames are not inserted automatically | |
| intraRefreshPeriod | int | 0 | Specifies the interval between successive intra refresh if enableIntrarefresh is set. Requires enableIntraRefresh to be set. |
| intraRefreshCnt | int | 0 | Specifies the length of intra refresh in number of frames for periodic intra refresh. This value should be smaller than intraRefreshPeriod. |
| maxNumRefFramesInDPB | int | Specifies the maximum number of references frames in the DPB | |
| maxTemporalLayersMinus1 | int | Specifies the max temporal layer used for hierarchical coding | |
| numFwdRefs | int | Specifies max number of forward reference frame used for prediction of a frame. It must be in range 1-4 (Last, Last2, last3 and Golden). It's a suggestive value not necessarily be honored always | |
| numBwdRefs | int | Specifies max number of L1 list reference frame used for prediction of a frame. It must be in range 1-3 (Backward, Altref2, Altref). It's a suggestive value not necessarily be honored always | |
| numTileColumns | int | The picture will be uniformly divided into numTileColumns tile columns. If numTileColumns is not a power of 2, it will be rounded down to the next power of 2 value. If numTileColumns == 0, the picture will be coded with the smallest number of vertical tiles as allowed by standard | |
| numTileRows | int | The picture will be uniformly divided into numTileRows tile rows. If numTileRows is not a power of 2, it will be rounded down to the next power of 2 value. If numTileRows == 0, the picture will be coded with the smallest number of horizontal tiles as allowed by standard | |
| output.10bit | option_fixed | false | Output bit depth: auto follows the input frame, true requests 10-bit, false requests 8-bit. Requires support for the selected codec on the GPU. Supported values: auto, false, true. |
| qpi | int | 25 | Determines I-frame quality in CQP mode |
| qpp | int | 28 | Determines P-frame quality in CQP mode |
| qpb | int | 31 | Determines B-frame quality in CQP mode |
| targetQuality | int | 0 | Set target quality level (0 to 51, 0 means automatic) for constant quality mode in VBR rate control (default 0) |
| lowDelayKeyFrameScale | int | 0 | Specifies the Scene Change frame size increase allowed in case of single frame VBV and CBR (from 0 to 255, default 0) |
| async_encode | option_fixed | Enable asynchronous NVENC submission. Requires a driver/device mode that supports asynchronous encoding. Supported values: false, true. | |
| bufsize.msec | int | VBV duration in milliseconds. A positive value derives the VBV size from average bitrate and takes precedence over bufsize/vbvBufferSize. (from 0 to 2147483647) | |
| dynamic_resolution | option_fixed | Reserve encoder dimensions of at least 4096x2160 for resolution changes; availability depends on the device and codec. Supported values: false, true. | |
| enableInitialRCQP | option_fixed | Enable initial QP values from initialQPI, initialQPP and initialQPB. Supported values: false, true. | |
| enableMaxQP | option_fixed | Enable maximum QP limits from maxQPI, maxQPP and maxQPB. Supported values: false, true. | |
| enableMinQP | option_fixed | Enable minimum QP limits from minQPI, minQPP and minQPB. Supported values: false, true. | |
| force_gpu | int | NVENC device index. A negative value uses the default device. (from -1 to 2147483647) | |
| initialQPB | int | Initial QP for B frames. Used when enableInitialRCQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| initialQPI | int | Initial QP for I frames. Used when enableInitialRCQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| initialQPP | int | Initial QP for P frames. Used when enableInitialRCQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| maxQPB | int | Maximum QP for B frames. Used when enableMaxQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| maxQPI | int | Maximum QP for I frames. Used when enableMaxQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| maxQPP | int | Maximum QP for P frames. Used when enableMaxQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| minQPB | int | Minimum QP for B frames. Used when enableMinQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| minQPI | int | Minimum QP for I frames. Used when enableMinQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| minQPP | int | Minimum QP for P frames. Used when enableMinQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| mvprecision | option | Motion-vector precision; the selected codec/GPU must support it. Supported values: Auto, Full, Half, Quarter.Auto: AutoFull: FullHalf: HalfQuarter: Quarter | |
| useBFramesAsRef | option | B-frame reference mode: 0 disables B references, 1 allows each B-frame, 2 uses a middle B-frame. Requires codec/GPU support. (from 0 to 2) Supported values: 0, 1, 2. | |
| vbvBufferSize | string | VBV buffer size in bits. Takes precedence over bufsize; a positive bufsize.msec overrides both. | |
| vbvInitialDelay | string | Initial VBV occupancy in bits. Takes precedence over initialdelay. |
DNxHD (Avid, SW)
Configuration Parameter: dnxhd
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 120M | Set bitrate (in bits/s) |
| nitris_compat | bool | false | Encode with Avid Nitris compatibility |
| ibias | int | intra quant bias (from INT_MIN to INT_MAX) (default 0) | |
| profile | option | FFmpeg profile option. (from 0 to 5) (default dnxhd) Supported values: dnxhd, dnxhr_444, dnxhr_hqx, dnxhr_hq, dnxhr_sq, dnxhr_lb.dnxhd: 0: dnxhddnxhr_444: 5: dnxhr_444dnxhr_hqx: 4: dnxhr_hqxdnxhr_hq: 3: dnxhr_hqdnxhr_sq: 2: dnxhr_sqdnxhr_lb: 1: dnxhr_lb |
DPX (Digital Picture eXchange, SW)
Configuration Parameter: dpx
DV / DVCPRO HD (SW)
Configuration Parameter: dvvideo
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| dv_format | option_fixed | auto | DV variant: dvsd, dv25, dv50, dvhd; auto picks by input (HD: dvhd, packed SD: dv50, planar SD: dv25). The x64 build supports dvsd and dv25 only. Supported values: dvsd, dv25, dv50, dvhd. |
| quant_deadzone | int | Quantizer dead zone (from 0 to 1024) (default 7) |
FFV1 (Lossless, SW)
Configuration Parameter: ffv1
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| coder | option_fixed | 0 | 0/rice = Golomb-Rice; range_def (-2) = range coder with default table; 2/range_tab = range coder with custom table; 1/ac is a deprecated alias of range_tab. Supported values: 0, 1, 2, rice, range_def, range_tab, ac.rice: Golomb ricerange_def: Range with default tablerange_tab: Range with custom tableac: Range with custom table (the ac option exists for compatibility and is deprecated) |
| context | option_fixed | 0 | 0 = small, 1 = large Supported values: 0, 1.Range: minimum 0; maximum 1. |
| g | int | 1 | GOP size. For archival use, GOP-size should be "1". |
| level | option_fixed | Version. Select which FFV1 version to use. Supported values: 0, 1, 2, 3. | |
| threads | string | auto | Threads. The number of threads to use while processing. Adjust this to match how many of your available CPU cores you want to use. |
| slices | option_fixed | 4 | Slices. Each frame is split into this number of slices. This affects multithreading performance, as well as filesize: Increasing the number of slices might speed up performance, but also increases the filesize. Supported values: 4, 6, 9, 12, 16, 24, 30. |
| slicecrc | option_fixed | 0 | Error correction/detection. 0=off, 1=on. Enabling this option adds CRC information to each slice. This makes it possible for a decoder to detect errors in the bitstream, rather than blindly decoding a broken slice. Supported values: 0, 1.Range: minimum -1; maximum 2. |
| qtable | option | Quantization table (from -1 to 2) (default default) Supported values: default, 8bit, greater8bit.default: -1: defaultgreater8bit: 1: greater8bit | |
| remap_mode | option | Remap Mode (from -1 to 2) (default auto) Supported values: auto, off, dualrle, flipdualrle.auto: -1: Automaticoff: 0: Disableddualrle: 1: Dual RLEflipdualrle: 2: Dual RLE | |
| remap_optimizer | int | Remap Optimizer (from 0 to 5) (default 3) |
FLV / Sorenson Spark (H.263, SW)
Configuration Parameter: flv
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| mpv_flags | flags | Flags common for all mpegvideo-based encoders. RD optimal MB level residual skippingStrictly enforce GOP sizeUse rate distortion optimization for qp selectionuse rate distortion optimization for CBP Supported values: skip_rd, strict_gop, qp_rd, cbp_rd, naq, mv0.naq: normalize adaptive quantizationmv0: always try a mb with mv=<0,0> | |
| luma_elim_threshold | int | single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| chroma_elim_threshold | int | single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| quantizer_noise_shaping | int | FFmpeg quantizer_noise_shaping option. (from 0 to INT_MAX) (default 0) | |
| error_rate | int | Simulate errors in the bitstream to test error concealment. (from 0 to INT_MAX) (default 0) | |
| qsquish | double | how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99) (default 0) | |
| rc_qmod_amp | double | experimental quantizer modulation (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_qmod_freq | int | experimental quantizer modulation (from INT_MIN to INT_MAX) (default 0) | |
| rc_eq | string | 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 | double | initial complexity for 1-pass encoding (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_buf_aggressivity | double | currently useless (from -FLT_MAX to FLT_MAX) (default 1) | |
| border_mask | double | increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0) | |
| skip_threshold | int | Frame skip threshold (from INT_MIN to INT_MAX) (default 0) | |
| skip_factor | int | Frame skip factor (from INT_MIN to INT_MAX) (default 0) | |
| skip_exp | int | Frame skip exponent (from INT_MIN to INT_MAX) (default 0) | |
| skip_cmp | option | Frame skip compare function (from INT_MIN to INT_MAX) (default dctmax) Supported values: sad, sse, satd, dct, psnr, bit, rd, zero, vsad, vsse, nsse, dct264, dctmax, chroma, msad.sad: 0: Sum of absolute differences, fastsse: 1: Sum of squared errorssatd: 2: Sum of absolute Hadamard transformed differencesdct: 3: Sum of absolute DCT transformed differencespsnr: 4: Sum of squared quantization errors, low qualitybit: 5: Number of bits needed for the blockrd: 6: Rate distortion optimal, slowzero: 7: Zerovsad: 8: Sum of absolute vertical differencesvsse: 9: Sum of squared vertical differencesnsse: 10: Noise preserving sum of squared differencesdct264: 14: dct264dctmax: 13: dctmaxchroma: 256: chromamsad: 15: Sum of absolute differences, median predicted | |
| noise_reduction | int | Noise reduction (from INT_MIN to INT_MAX) (default 0) | |
| ps | int | RTP payload size in bytes (from INT_MIN to INT_MAX) (default 0) | |
| motion_est | option | motion estimation algorithm (from 0 to 2) (default epzs) Supported values: zero, epzs, xone.zero: 0: zeroepzs: 1: epzsxone: 2: xone | |
| mepc | int | Motion estimation bitrate penalty compensation (1.0 = 256) (from INT_MIN to INT_MAX) (default 256) | |
| mepre | int | pre motion estimation (from INT_MIN to INT_MAX) (default 0) | |
| intra_penalty | int | Penalty for intra blocks in block decision (from 0 to 1.07374e+09) (default 0) | |
| lmin | int | minimum Lagrange factor (VBR) (from 0 to INT_MAX) (default 236) | |
| lmax | int | maximum Lagrange factor (VBR) (from 0 to INT_MAX) (default 3658) | |
| sc_threshold | int | Scene change threshold (from INT_MIN to INT_MAX) (default 0) |
H.264 AVC (AMD AMF, HW)
Configuration Parameter: a264
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 5M | The average bit rate in bps is the target bit rate used for VBR rate control |
| g | int | 30 | Group of picture (GOP) size |
| bf | int | -1 | B Picture Pattern (from -1 to 3) |
| profile | option_fixed | Profile Supported values: main, high, constrained_baseline, constrained_high. | |
| level | option_fixed | auto | Profile Level Supported values: auto, 1.0, 1.1, 1.2, 1.3, 2.0, 2.1, 2.2, 3.0, 3.1, 3.2, 4.0, 4.1, 4.2, 5.0, 5.1, 5.2, 6.0, 6.1, 6.2. |
| latency | bool | Enables low latency mode | |
| quality | option_fixed | balanced | Set the encoding quality preset (FFmpeg alias: preset). Supported values: balanced, speed, quality, high_quality. |
| rc | option_fixed | qvbr | Rate Control Method Supported values: cqp, cbr, vbr_peak, vbr_latency, qvbr, hqvbr, hqcbr. |
| qvbr_quality_level | int | -1 | Sets the QVBR quality level (from -1 to 51) |
| enforce_hrd | bool | Enforce HRD | |
| filler_data | bool | Filler Data Enable | |
| vbaq | bool | Enable VBAQ | |
| frame_skipping | bool | Rate Control Based Frame Skip | |
| qp_i | int | -1 | Quantization Parameter for I-Frame (from -1 to 51) |
| qp_p | int | -1 | Quantization Parameter for P-Frame (from -1 to 51) |
| qp_b | int | -1 | Quantization Parameter for B-Frame (from -1 to 51) |
| preencode | bool | Pre-encode assisted rate control | |
| max_au_size | int | -1 | Maximum Access Unit Size for rate control (in bits) (from -1 to 2147483647) |
| header_spacing | int | -1 | Header Insertion Spacing (from -1 to 1000) |
| async_depth | int | 16 | Set maximum encoding parallelism. Higher values increase output latency. (from 1 to 16) (default 16) |
| bf_delta_qp | int | 4 | B-Picture Delta QP (from -10 to 10) (default 4) |
| bf_ref | bool | Enable Reference to B-Frames | |
| bf_ref_delta_qp | int | 4 | Reference B-Picture Delta QP (from -10 to 10) (default 4) |
| max_b_frames | int | -1 | Maximum number of consecutive B Pictures (from -1 to 3) |
| intra_refresh_mb | int | -1 | Intra Refresh MBs Number Per Slot in Macroblocks (from -1 to 2147483647) |
| coder | option_fixed | auto | Coding Type Supported values: auto, cavlc, cabac. |
| high_motion_quality_boost_enable | bool | Enable High motion quality boost mode | |
| me_half_pel | bool | Enable ME Half Pixel | |
| me_quarter_pel | bool | Enable ME Quarter Pixel | |
| forced_idr | bool | Force I frames to be IDR frames | |
| aud | bool | Inserts AU Delimiter NAL unit | |
| smart_access_video | bool | Enable Smart Access Video to enhance performance by utilizing both APU and dGPU memory access | |
| preanalysis | bool | Enable preanalysis | |
| pa_activity_type | option_fixed | Set the type of activity analysis Supported values: -1, y, yuv. | |
| pa_scene_change_detection_enable | bool | Enable scene change detection | |
| pa_scene_change_detection_sensitivity | option_fixed | Set the sensitivity of scene change detection Supported values: -1, low, medium, high. | |
| pa_static_scene_detection_enable | bool | Enable static scene detection | |
| pa_static_scene_detection_sensitivity | option_fixed | Set the sensitivity of static scene detection Supported values: -1, low, medium, high. | |
| pa_initial_qp_after_scene_change | int | -1 | The QP value that is used immediately after a scene change (from -1 to 51) |
| pa_max_qp_before_force_skip | int | -1 | The QP threshold to allow a skip frame (from -1 to 51) |
| pa_caq_strength | option_fixed | Content Adaptive Quantization strength Supported values: -1, low, medium, high. | |
| pa_frame_sad_enable | bool | Enable Frame SAD algorithm | |
| pa_ltr_enable | bool | Enable long term reference frame management | |
| pa_lookahead_buffer_depth | int | -1 | Sets the PA lookahead buffer size (from -1 to 41) |
| pa_paq_mode | option_fixed | Sets the perceptual adaptive quantization mode Supported values: -1, none, caq. | |
| pa_taq_mode | option_fixed | Sets the temporal adaptive quantization mode Supported values: -1, none, 1, 2. | |
| pa_high_motion_quality_boost_mode | option_fixed | Sets the PA high motion quality boost mode Supported values: none, auto. | |
| pa_adaptive_mini_gop | bool | Enable Adaptive MiniGOP |
H.264 AVC (Cisco OpenH264, SW)
Configuration Parameter: libopenh264
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 5M | Set the bitrate (as a number of bits per second) |
| maxrate | int | Set the max bitrate (as a number of bits per second). | |
| profile | option_fixed | main | Set profile restrictions. If set to the value of 'main' enable CABAC Supported values: constrained_baseline, main, high.constrained_baseline: constrained_baselinehigh: high |
| size | string | Resolution of video. Format: WIDTHxHEIGHT | |
| g | int | 30 | Set the GOP size |
| slices | int | 8 | Set the number of slices, used in parallelized encoding. Default value is 8 |
| loopfilter | int | 1 | Enable loop filter Range: minimum 0.0; maximum 1.0. |
| max_nal_size | int | 0 | Set maximum NAL size in bytes Range: minimum 0.0; maximum 2147483647. |
| allow_skip_frames | option_fixed | Allow skipping frames to hit the target bitrate if set to 1 Supported values: false, true. | |
| flags | string | +global_header | Set global header in the bitstream |
| coder | option_fixed | cavlc | Set entropy encoder. Default value is cavlc Supported values: cavlc, cabac, default, vlc, ac.default: defaultcabac: cabacac: ac |
| rc_mode | option | Select rate control mode (from -1 to 3) (default quality) Supported values: off, quality, bitrate, buffer, timestamp.off: -1: bit rate control offquality: 0: quality modebitrate: 1: bitrate modebuffer: 2: using buffer status to adjust the video quality (no bitrate control)timestamp: 3: bit rate control based on timestamp |
H.264 AVC (FFmpeg VPL-MSDK, HW)
Configuration Parameter: h264_qsv
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| preset | option_fixed | Change options to trade off compression efficiency against encoding speed Supported values: veryfast, faster, fast, medium, slow, slower, veryslow.veryfast: veryfastfaster: fasterfast: fastmedium: mediumslow: slowslower: slowerveryslow: veryslow | |
| forced_idr | bool | false | Forcing I frames as IDR frames |
| low_power | bool | enable low power mode(experimental: many limitations by mfx version, BRC modes, etc.) (default auto) | |
| rdo | int | -1 | Enable rate distortion optimization (from -1 to 1) |
| max_frame_size | int | -1 | Maximum encoded frame size in bytes (from -1 to INT_MAX) |
| max_frame_size_i | int | -1 | Maximum encoded I frame size in bytes (from -1 to INT_MAX) |
| max_frame_size_p | int | -1 | Maximum encoded P frame size in bytes (from -1 to INT_MAX) |
| max_slice_size | int | -1 | Maximum encoded slice size in bytes (from -1 to INT_MAX) |
| bitrate_limit | int | -1 | Toggle bitrate limitations (from -1 to 1) |
| mbbrc | int | -1 | MB level bitrate control (from -1 to 1) |
| extbrc | int | -1 | Extended bitrate control (from -1 to 1) |
| adaptive_i | int | -1 | Adaptive I-frame placement (from -1 to 1) |
| adaptive_b | int | -1 | Adaptive B-frame placement (from -1 to 1) |
| low_delay_brc | bool | Allow to strictly obey avg frame size (default auto) | |
| max_qp_i | int | -1 | Maximum video quantizer scale for I frame (from -1 to 51) |
| min_qp_i | int | -1 | Minimum video quantizer scale for I frame (from -1 to 51) |
| max_qp_p | int | -1 | Maximum video quantizer scale for P frame (from -1 to 51) |
| min_qp_p | int | -1 | Minimum video quantizer scale for P frame (from -1 to 51) |
| max_qp_b | int | -1 | Maximum video quantizer scale for B frame (from -1 to 51) |
| min_qp_b | int | -1 | Minimum video quantizer scale for B frame (from -1 to 51) |
| scenario | option_fixed | unknown | A hint to encoder about the scenario for the encoding session Supported values: unknown, displayremoting, videoconference, archive, livestreaming, cameracapture, videosurveillance, gamestreaming, remotegaming.unknown: unknowndisplayremoting: displayremotingvideoconference: videoconferencearchive: archivelivestreaming: livestreamingcameracapture: cameracapturevideosurveillance: videosurveillancegamestreaming: gamestreamingremotegaming: remotegaming |
| avbr_accuracy | int | 0 | Accuracy of the AVBR ratecontrol (unit of tenth of percent) (from 0 to 65535) |
| avbr_convergence | int | 0 | Convergence of the AVBR ratecontrol (unit of 100 frames) (from 0 to 65535) |
| skip_frame | option_fixed | no_skip | Allow frame skipping Supported values: no_skip, insert_dummy, insert_nothing, brc_only.no_skip: Frame skipping is disabledinsert_dummy: Encoder inserts into bitstream frame where all macroblocks are encoded as skippedinsert_nothing: Encoder inserts nothing into bitstreambrc_only: skip_frame metadata indicates the number of missed frames before the current frame |
| dual_gfx | option_fixed | off | Prefer processing on both iGfx and dGfx simultaneously Supported values: off, on, adaptive.off: Disable HyperEncode modeon: Enable HyperEncode mode and return error if incompatible parameters during initializationadaptive: Enable HyperEncode mode or fallback to single GPU if incompatible parameters during initialization |
| cavlc | bool | false | Enable CAVLC |
| vcm | bool | false | Use the video conferencing mode ratecontrol |
| idr_interval | int | 0 | Distance (in I-frames) between IDR frames (from 0 to INT_MAX) |
| pic_timing_sei | bool | true | Insert picture timing SEI with pic_struct_syntax element |
| single_sei_nal_unit | int | -1 | Put all the SEI messages into one NALU (from -1 to 1) |
| max_dec_frame_buffering | int | 0 | Maximum number of frames buffered in the DPB (from 0 to 65535) |
| look_ahead | bool | false | Use VBR algorithm with look ahead |
| look_ahead_depth | int | 0 | Depth of look ahead in number frames (from 0 to 100) |
| look_ahead_downsampling | option_fixed | unknown | Downscaling factor for the frames saved for the lookahead analysis Supported values: unknown, auto, off, 2x, 4x.unknown: unknownauto: autooff: off |
| int_ref_type | option | -1 | Intra refresh type. B frames should be set to 0. (from -1 to 65535) Supported values: none, vertical, horizontal, slice.none: nonevertical: verticalhorizontal: horizontalslice: slice |
| int_ref_cycle_size | int | -1 | Number of frames in the intra refresh cycle (from -1 to 65535) |
| int_ref_qp_delta | int | -32768 | QP difference for the refresh MBs (from -32768 to 32767) |
| recovery_point_sei | int | -1 | Insert recovery point SEI messages (from -1 to 1) (default -1) |
| int_ref_cycle_dist | int | -1 | Distance between the beginnings of the intra-refresh cycles in frames (from -1 to 32767) |
| profile | option | unknown | Used profile (from 0 to INT_MAX) Supported values: unknown, baseline, main, high.unknown: unknownbaseline: baselinemain: mainhigh: high |
| a53cc | bool | true | Use A53 Closed Captions (if available) |
| aud | bool | false | Insert the Access Unit Delimiter NAL |
| repeat_pps | bool | false | repeat pps for every frame |
| async_depth | int | Maximum processing parallelism (from 1 to INT_MAX) (default 4) | |
| qsv_params | string | Set QSV encoder parameters as key1=value1:key2=value2:... | |
| p_strategy | int | Enable P-pyramid: 0-default 1-simple 2-pyramid(bf need to be set to 0). (from 0 to 2) (default 0) | |
| dblk_idc | int | This option disable deblocking. It has value in range 0~2. (from 0 to 2) (default 0) | |
| b_strategy | int | Strategy to choose between I/P/B-frames (from -1 to 1) (default -1) |
H.264 AVC (Intel QuickSync, HW)
Configuration Parameter: q264hw
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 5M | The average bit rate in bps is the target bit rate used for VBR rate control |
| gpu_memory | bool | false | MWriter legacy encoder only: keep frames in GPU memory (D3D11 hardware session). Ignored by the MFCodecs encoder. |
| quality | int | 4 | Intel target usage quality: 1 is fastest, 7 is best quality. Supported settings depend on the device and implementation. Range: minimum 1; maximum 7. |
| g | int | 30 | This is the IDR period for H264 |
| profile | option_fixed | Auto | Set the profile Supported values: Auto, Baseline, Main, Extended, High, Progressive High. |
| level | option_fixed | Auto | Native Intel H.264 level. Auto lets Media SDK select the level. The listed numeric levels are passed through without SDK normalization. Supported values: Auto, 1.0b, 1.1, 1.2, 1.3, 2.1, 2.2, 3.1, 3.2, 4.1, 4.2, 5.1, 5.2. |
| rc_type | option_fixed | vbr | The rate control type. vcm and quality_vbr require the MFCodecs encoder; the legacy MWriter Quick Sync encoder falls back to VBR for these two values. Supported values: cbr, vbr, cqp, avbr, vbr_la, vbr_la_hrd, quality, quality_la, vcm, quality_vbr. |
| maxrate | int | The maximum bit rate in bps is the peak bit rate used for VBR rate control | |
| bufsize | int | Rate control buffer size in bytes (Media SDK BufferSizeInKB = value / 1000). 0 lets Media SDK choose. | |
| initialdelay | int | 0 | Initial VBV delay in bytes (Media SDK InitialDelayInKB = value / 1000). 0 lets Media SDK choose. |
| bf | int | Number of consecutive B-frames. Media SDK GopRefDist is bf+1; device/profile limits apply. Range: minimum 0. | |
| ref_frames | int | 0 | Number of reference frames; if NumRefFrame = 0, this parameter is not specified. Range: minimum 0; maximum 16. |
| cavlc | option_fixed | false | Enable/disable Context-adaptive variable-length coding mode. Supported values: true, false. |
| size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
| icq_quality | int | Quality of intelligent constant quality algorithm. Possible values: from 1 (the best quality) to 51. | |
| accuracy | int | 100 | Determines quality of complex scenes in AVBR mode. |
| convergence | int | 0 | Determines quality of complex scenes in AVBR mode. |
| qpi | int | 22 | Determines quality in CQP mode. |
| qpb | int | 22 | Determines quality in CQP mode. |
| qpp | int | 22 | Determines quality in CQP mode. |
| force_gpu | int | 0 | Intel implementation selection: -2 automatic, -1 software, 0..3 hardware adapter 1..4 (MFX_IMPL_HARDWARE..HARDWARE4); unavailable adapters fall back to automatic. Range: minimum -2; maximum 3. |
| use_vpp | bool | false | MWriter legacy encoder only: use Intel VPP for frame conversion and scaling. Ignored by the MFCodecs encoder. |
| async_depth | int | Number of asynchronous Intel encode tasks. Low-delay mode forces a depth of 1. (from 0 to 65535) | |
| hrd_conformance | option_fixed | Enable Intel HRD conformance (MFCodecs encoder only). This also affects dynamic bitrate reconfiguration. Supported values: false, true. | |
| low_delay | option_fixed | MFCodecs encoder only: use low-delay encoding; default B-frame count becomes 0 and async depth becomes 1. Ignored by the legacy MWriter H.264 Quick Sync encoder. Supported values: false, true. | |
| exact_gop | option_fixed | Request strict GOP structure. Supported values: false, true. | |
| interlace | option | Frame scan structure supplied to Intel Media SDK. Supported values: auto, progressive, top, bottom.auto: autoprogressive: progressivetop: topbottom: bottom | |
| BufferSize | string | VBV buffer size in bytes (Media SDK BufferSizeInKB = value / 1000). A positive value takes precedence over bufsize. |
H.264 AVC (Intel QuickSync, SW)
Configuration Parameter: q264sw
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 5M | The average bit rate in bps is the target bit rate used for VBR rate control |
| quality | int | 1 | Intel target usage quality: 1 is fastest, 7 is best quality. Supported settings depend on the device and implementation. Range: minimum 1; maximum 7. |
| g | int | 30 | This is the IDR period for H264 |
| profile | option_fixed | Auto | Set the profile Supported values: Auto, Baseline, Main, Extended, High, Progressive High. |
| level | option_fixed | Auto | Native Intel H.264 level. Auto lets Media SDK select the level. The listed numeric levels are passed through without SDK normalization. Supported values: Auto, 1.0b, 1.1, 1.2, 1.3, 2.1, 2.2, 3.1, 3.2, 4.1, 4.2, 5.1, 5.2. |
| rc_type | option_fixed | vbr | The rate control type. vcm and quality_vbr require the MFCodecs encoder; the legacy MWriter Quick Sync encoder falls back to VBR for these two values. Supported values: cbr, vbr, cqp, avbr, vbr_la, vbr_la_hrd, quality, quality_la, vcm, quality_vbr. |
| maxrate | int | The maximum bit rate in bps is the peak bit rate used for VBR rate control | |
| bufsize | int | 0 | Rate control buffer size in bytes (Media SDK BufferSizeInKB = value / 1000). 0 lets Media SDK choose. |
| initialdelay | int | 0 | Initial VBV delay in bytes (Media SDK InitialDelayInKB = value / 1000). 0 lets Media SDK choose. |
| bf | int | Number of consecutive B-frames. Media SDK GopRefDist is bf+1; device/profile limits apply. Range: minimum 0. | |
| ref_frames | int | Number of reference frames; if NumRefFrame = 0, this parameter is not specified. Range: minimum 0; maximum 16. | |
| cavlc | option_fixed | false | Enable/disable Context-adaptive variable-length coding mode. Supported values: true, false. |
| size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
| icq_quality | int | Quality of intelligent constant quality algorithm. Possible values: from 1 (the best quality) to 51. | |
| accuracy | int | 100 | Determines quality of complex scenes in AVBR mode. |
| convergence | int | 0 | Determines quality of complex scenes in AVBR mode. |
| qpi | int | 22 | Determines quality in CQP mode. |
| qpb | int | 22 | Determines quality in CQP mode. |
| qpp | int | 22 | Determines quality in CQP mode. |
| use_vpp | bool | false | MWriter legacy encoder only: use Intel VPP for frame conversion and scaling. Ignored by the MFCodecs encoder. |
| async_depth | int | Number of asynchronous Intel encode tasks. Low-delay mode forces a depth of 1. (from 0 to 65535) | |
| hrd_conformance | option_fixed | Enable Intel HRD conformance (MFCodecs encoder only). This also affects dynamic bitrate reconfiguration. Supported values: false, true. | |
| low_delay | option_fixed | MFCodecs encoder only: use low-delay encoding; default B-frame count becomes 0 and async depth becomes 1. Ignored by the legacy MWriter H.264 Quick Sync encoder. Supported values: false, true. | |
| exact_gop | option_fixed | Request strict GOP structure. Supported values: false, true. | |
| interlace | option | Frame scan structure supplied to Intel Media SDK. Supported values: auto, progressive, top, bottom.auto: autoprogressive: progressivetop: topbottom: bottom | |
| force_gpu | int | Intel implementation selection: -2 automatic, -1 software, 0..3 hardware adapter 1..4 (MFX_IMPL_HARDWARE..HARDWARE4); unavailable adapters fall back to automatic. Range: minimum -2; maximum 3. | |
| BufferSize | string | VBV buffer size in bytes (Media SDK BufferSizeInKB = value / 1000). A positive value takes precedence over bufsize. |
H.264 AVC (libx264, SW)
Configuration Parameter: libx264
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| preset | string | faster | Change options to trade off compression efficiency against encoding speed. Values available: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo. |
| tune | string | zerolatency | Tune options to further optimize them for your input content. Values available: film, animation, grain, stillimage, psnr, ssim, fastdecode, zerolatency. |
| profile | string | Limit the profile of the output stream. Values available: baseline, main, high, high10, high422, high444. | |
| fastfirstpass | int | Use fast settings when encoding first pass Range: minimum 0.0; maximum 1.0. | |
| level | string | Specify level (as defined by Annex A) | |
| wpredp | string | Weighted prediction for P-frames | |
| x264-params | string | Override the x264 configuration using a :-separated list of key=value options. The argument for both options is a list of key=value couples separated by ":". With x264opts the value can be omitted, and the value 1 is assumed in that case Use 8x8dct=1 in this list to enable the high-profile 8x8 transform; this option name cannot be an XML element. | |
| crf | double | Select the quality for constant quality mode Range: minimum -1.0. | |
| crf_max | double | In CRF mode, prevents VBV from lowering quality beyond this point Range: minimum -1.0. | |
| qp | int | Constant quantization parameter rate control method Range: minimum -1.0. | |
| aq-mode | option_fixed | AQ method Supported values: none, variance, autovariance.variance: Variance AQ (complexity mask)autovariance: Auto-variance AQ (experimental)size: Resolution of video. Format: WIDTHxHEIGHT.ar: Aspect ratio of video.ar_type: Type of video's aspect ratio | |
| aq_mode | option_fixed | Set adaptive quantization mode Supported values: none, variance, autovariance.variance: Variance AQ (complexity mask)autovariance: Auto-variance AQ (experimental)size: Resolution of video. Format: WIDTHxHEIGHT.ar: Aspect ratio of video.ar_type: Type of video's aspect ratio | |
| v422 | option_fixed | false | Indicates whether captioning used 4:2:2 chroma subsampling (4:2:0 overwise) Supported values: true, false. |
| interlace | int | -1 | Interlacing: 1 - interlaced, 0 - progressive, -1 - auto Range: minimum -1.0; maximum 1.0. |
| aq-strength | double | -1.0 | AQ strength. Reduces blocking and blurring in flat and textured areas Range: minimum -1.0. |
| psy | int | -1 | Use psychovisual optimizations Range: minimum -1.0; maximum 1.0. |
| psy-rd | string | Strength of psychovisual optimization, in <psy-rd>:<psy-trellis> format | |
| rc-lookahead | int | -1 | Number of frames to look ahead for frametype and ratecontrol Range: minimum -1.0. |
| weightb | int | -1 | Weighted prediction for B-frames. Range: minimum -1.0; maximum 1.0. |
| weightp | option_fixed | Weighted prediction analysis method Supported values: none, simple, smart. | |
| ssim | int | Calculate and print SSIM stats Range: minimum -1.0; maximum 1.0. | |
| intra-refresh | int | -1 | Use Periodic Intra Refresh instead of IDR frames Range: minimum -1.0; maximum 1.0. |
| b-bias | int | Set the influence on how often B-frames are used | |
| b-pyramid | option_fixed | Set method for keeping of some B-frames as references Supported values: none, strict, normal.strict: Strictly hierarchical pyramidnormal: Non-strict (not Blu-ray compatible) | |
| b_pyramid | option_fixed | Strictly hierarchical pyramidNon-strict (not Blu-ray compatible) Supported values: none, strict, normal. | |
| mixed-refs | int | -1 | One reference per partition, as opposed to one reference per macroblock Range: minimum -1.0; maximum 1.0. |
| fast-pskip | int | -1 | |
| aud | int | -1 | Use access unit delimiters. Range: minimum -1.0; maximum 1.0. |
| mbtree | int | -1 | Use macroblock tree ratecontrol. Range: minimum -1.0; maximum 1.0. |
| deblock | string | Loop filter parameters, in <alpha:beta> form. | |
| cplxblur | double | -1.000000 | Reduce fluctuations in QP (before curve compression) Range: minimum -1.0. |
| partitions | string | A comma-separated list of partitions to consider. Possible values: p8x8, p4x4, b8x8, i8x8, i4x4, none, all | |
| direct-pred | option_fixed | Direct MV prediction mode Supported values: none, spatial, temporal, auto. | |
| slice-max-size | int | -1 | Limit the size of each slice in bytes Range: minimum -1.0. |
| stats | string | Filename for 2 pass stats | |
| nal-hrd | option_fixed | Signal HRD information (requires vbv-bufsize; cbr not allowed in .mp4) Supported values: none, vbr, cbr. | |
| passlogfile | string | Filename for 2 pass stats. Requires an FFmpeg build with libx264 enabled. | |
| a53cc | option_fixed | Use A53 Closed Captions (if available). Requires an FFmpeg build with libx264 enabled. Supported values: false, true. | |
| x264opts | string | x264 options. Requires an FFmpeg build with libx264 enabled. | |
| bluray-compat | option_fixed | Bluray compatibility workarounds. Requires an FFmpeg build with libx264 enabled. Supported values: false, true. | |
| avcintra-class | int | AVC-Intra class 50/100/200/300/480. Requires an FFmpeg build with libx264 enabled. | |
| me_method | option | Set motion estimation method. Requires an FFmpeg build with libx264 enabled. Supported values: dia, hex, umh, esa, tesa. | |
| motion-est | option | Set motion estimation method. Requires an FFmpeg build with libx264 enabled. Supported values: dia, hex, umh, esa, tesa. | |
| forced-idr | option_fixed | If forcing keyframes, force them as IDR frames. Requires an FFmpeg build with libx264 enabled. Supported values: false, true. | |
| coder | option | Coder type. Requires an FFmpeg build with libx264 enabled. Supported values: default, cavlc, cabac, vlc, ac. | |
| b_strategy | int | Strategy to choose between I/P/B-frames. Requires an FFmpeg build with libx264 enabled. | |
| chromaoffset | int | QP difference between chroma and luma. Requires an FFmpeg build with libx264 enabled. | |
| sc_threshold | int | Scene change threshold. Requires an FFmpeg build with libx264 enabled. | |
| noise_reduction | int | Noise reduction. Requires an FFmpeg build with libx264 enabled. | |
| udu_sei | option_fixed | Use user data unregistered SEI if available. Requires an FFmpeg build with libx264 enabled. Supported values: false, true. | |
| mb_info | option_fixed | Set mb_info data through AVSideData, only useful when used from the API. Requires an FFmpeg build with libx264 enabled. Supported values: false, true. |
H.264 AVC (NVIDIA NVENC Lossless, HW)
Configuration Parameter: l264
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| preset | option_fixed | default | Codec Preset - if specified, some properties below ignored Supported values: default, high_performance, high_quality, blue_ray_disk, low_latency, low_latency_hq, low_latency_hp, lossless, lossless_hp, p1, p2, p3, p4, p5, p6, p7. |
| size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
| ar | option | Aspect ratio of video. Supported values: 16:9, 4:3. | |
| ar_type | option_fixed | Type of video's aspect ratio. Supported values: crop, letter-box, none. | |
| disable_sps_pps | option_fixed | false | Disable writing of Sequence and Picture parameter for every IDR frame Supported values: true, false. |
| outputBufferingPeriodSEI | option_fixed | true | Set 'true' to write SEI buffering period syntax in the bitstream Supported values: true, false. |
| outputPictureTimingSEI | option_fixed | true | Set 'true' to write SEI picture timing syntax in the bitstream Supported values: true, false. |
| outputFramePackingSEI | option_fixed | true | Set 'true' to enable writing of frame packing arrangement SEI messages to bitstream Supported values: true, false. |
| outputRecoveryPointSEI | option_fixed | true | Set'true' to enable writing of recovery point SEI message Supported values: true, false. |
| outputAUD | option_fixed | true | Set 'true' to write Access Unit Delimiter syntax. Supported values: true, false. |
| output.444 | option_fixed | false | Enable or disable 444 encoding Supported values: true, false. |
| udu_sei | option_fixed | false | Set 'true' to write the frame binary data 'sei_user', 'sei_user.1', ... as SEI user data unregistered messages (the first 16 bytes of the data are the UUID) Supported values: true, false. |
| adaptiveTransformMode | option_fixed | Enable adaptive transform mode. Requires support from the selected NVENC codec and GPU. Supported values: false, true. | |
| async_encode | option_fixed | Enable asynchronous NVENC submission. Requires a driver/device mode that supports asynchronous encoding. Supported values: false, true. | |
| bf | int | Number of consecutive B-frames (frameIntervalP = bf+1), limited by the GPU and GOP length. Range: minimum 0; maximum 2147483647. | |
| deblock | option_fixed | H.264 deblocking filter: 0 disables it, any other value keeps it enabled (default 1). Supported values: 0, 1. | |
| disable_cabac | option_fixed | Enable disable_cabac. Requires support from the selected NVENC codec and GPU. Supported values: false, true. | |
| dynamic_resolution | option_fixed | Reserve encoder dimensions of at least 4096x2160 for resolution changes; availability depends on the device and codec. Supported values: false, true. | |
| enableConstrainedEncoding | option_fixed | Enable H.264 constrained encoding. Requires support from the selected NVENC codec and GPU. Supported values: false, true. | |
| enableFillerDataInsertion | option_fixed | Enable filler data insertion. Requires support from the selected NVENC codec and GPU. Supported values: false, true. | |
| enableTemporalSVC | option_fixed | Enable H.264 temporal SVC. Requires support from the selected NVENC codec and GPU. Supported values: false, true. | |
| fmoMode | option_fixed | Enable fmo mode. Requires support from the selected NVENC codec and GPU. Supported values: false, true. | |
| force_gpu | int | NVENC device index. A negative value uses the default device. (from -1 to 2147483647) | |
| g | int | GOP length in frames (SDK default 30). GPU and profile limits apply; intra refresh may replace it with an infinite GOP. Range: minimum 0; maximum 2147483647. | |
| hierarchicalBFrames | option_fixed | Enable hierarchical b frames. Requires support from the selected NVENC codec and GPU. Supported values: false, true. | |
| hierarchicalPFrames | option_fixed | Enable hierarchical p frames. Requires support from the selected NVENC codec and GPU. Supported values: false, true. | |
| idrPeriod | int | IDR interval in frames. When omitted, the SDK uses the GOP length; periodic intra refresh can override it. (from 0 to 2147483647) | |
| intraRefreshCount | int | Number of frames over which to spread an intra refresh cycle; limited by intraRefreshPeriod. Range: minimum 0; maximum 2147483647. | |
| intraRefreshPeriod | int | Interval between intra refresh cycles, in frames. A positive value enables intra refresh and an infinite GOP. | |
| level | string | Codec level written to the bitstream, for example 4.1. Omit the property for automatic selection. | |
| ltrNumFrames | int | Number of long-term reference frames, limited by the codec and GPU capabilities. Range: minimum 0; maximum 2147483647. | |
| ltrTrustMode | option_fixed | Enable ltr trust mode. Requires support from the selected NVENC codec and GPU. Supported values: false, true. | |
| maxNumRefFrames | int | Maximum H.264 reference frames supported by the selected profile and GPU. (from 0 to 2147483647) | |
| mvprecision | option | Motion-vector precision; the selected codec/GPU must support it. Supported values: Auto, Full, Half, Quarter.Auto: AutoFull: FullHalf: HalfQuarter: Quarter | |
| numTemporalLayers | int | Maximum number of H.264 temporal layers, limited by the selected profile and GPU capabilities. Range: minimum 0; maximum 2147483647. | |
| output.10bit | option_fixed | Output bit depth: auto follows the input frame, true requests 10-bit, false requests 8-bit. Requires support for the selected codec on the GPU. Supported values: auto, false, true. | |
| output.422 | option_fixed | Request 4:2:2 chroma output. Requires GPU/codec support; output.444 takes precedence. AV1 currently supports 4:2:0 only. Supported values: false, true. | |
| profile | option | NVENC H.264 profile. Availability depends on GPU and lossless/profile compatibility. Supported values: Auto, Baseline, Main, High, Stereo, 444.Auto: AutoBaseline: BaselineMain: MainHigh: HighStereo: Stereo | |
| separateColourPlaneFlag | option_fixed | Enable separate colour plane flag. Requires support from the selected NVENC codec and GPU. Supported values: false, true. | |
| sliceMode | option | Slice partitioning: default, macroblocks, bytes, macroblock rows, or number of slices. AV1 uses tiles. NVIDIA SDK 13.0 limits slicing to a single slice. Supported values: default, mb, bytes, mb_rows, slice_number.mb_rows: mb_rowsslice_number: slice_number | |
| sliceModeData | int | Slice partition size/count interpreted according to sliceMode. NVIDIA SDK 13.0 limits this to a single slice. (from 0 to 2147483647) | |
| useBFramesAsRef | option | B-frame reference mode: 0 disables B references, 1 allows each B-frame, 2 uses a middle B-frame. Requires codec/GPU support. (from 0 to 2) Supported values: 0, 1, 2. |
H.264 AVC (NVIDIA NVENC, HW)
Configuration Parameter: n264
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 5M | The average bit rate in bps is the target bit rate used for rate control |
| g | int | 30 | This is the IDR period |
| bf | int | This sets the distance of one P picture from the previous P picture. e.g. for IBBPBBP, set the value as 3 Range: minimum 1; maximum 17. | |
| rc_type | option_fixed | Auto | The rate control type Supported values: Auto, cbr, vbr, cqp. |
| preset | option_fixed | default | Codec Preset - if specified, some properties below ignored Supported values: default, high_performance, high_quality, blue_ray_disk, low_latency, low_latency_hq, low_latency_hp, lossless, lossless_hp, p1, p2, p3, p4, p5, p6, p7. |
| tuning_info | option_fixed | high_quality | Codec Tuning Info - if specified, some properties below ignored Supported values: high_quality, low_latency, ultra_low_latency. |
| profile | option_fixed | Auto | Codec Profile Supported values: Auto, Baseline, Main, High, Stereo, 444. |
| level | option_fixed | Auto | Sets the level flag in the output bitstream Supported values: Auto, 1.0, 1.0b, 1.1, 1.2, 1.3, 2.0, 2.1, 2.2, 3.0, 3.1, 3.2, 4.0, 4.1, 4.2, 5.0, 5.1, 5.2, 6.0, 6.1, 6.2. |
| maxrate | int | The maximum bit rate in bps is the peak bit rate used for VBR rate control | |
| size | string | Resolution of video. Format: WIDTHxHEIGHT | |
| ar | option | Aspect ratio of video Supported values: 16:9, 4:3. | |
| ar_type | option_fixed | Type of video's aspect ratio. Supported values: crop, letter-box, none. | |
| bufsize | int | 0 | Specifies the VBV(HRD) buffer size. in bits. Set 0 to use the default VBV buffer size |
| initialdelay | int | 0 | Specifies the VBV(HRD) initial delay in bits. Set 0 to use the default VBV initial delay |
| enableAQ | option_fixed | Set this to TRUE to enable adaptive quantization Supported values: true, false. | |
| intraRefreshPeriod | int | Specifies the interval between successive intra refresh if intraRefreshCount is set | |
| intraRefreshCount | int | Specifies the length of intra refresh in number of frames for periodic intra refresh. This value should be smaller than intraRefreshPeriod | |
| disable_cabac | option_fixed | false | Enable or disable CABAC Supported values: true, false. |
| mvprecision | option_fixed | Auto | Specifies the desired motion vector prediction precision Supported values: Auto, Full, Half, Quarter. |
| disable_sps_pps | option_fixed | false | Disable writing of Sequence and Picture parameter for every IDR frame Supported values: true, false. |
| separateColourPlaneFlag | option_fixed | false | Set 'true' to enable 4:4:4 separate colour planes Supported values: true, false. |
| deblock | option_fixed | 1 | Specifies the deblocking filter mode Supported values: 0, 1, 2. |
| enableTemporalSVC | option_fixed | false | Set to 'true' to enable SVC temporal Supported values: true, false. |
| hierarchicalPFrames | option_fixed | false | Set to 'true' to enable hierarchical PFrames Supported values: true, false. |
| hierarchicalBFrames | option_fixed | false | Set to 'true' to enable hierarchical BFrames Supported values: true, false. |
| outputBufferingPeriodSEI | option_fixed | true | Set 'true' to write SEI buffering period syntax in the bitstream Supported values: true, false. |
| outputPictureTimingSEI | option_fixed | true | Set 'true' to write SEI picture timing syntax in the bitstream Supported values: true, false. |
| outputFramePackingSEI | option_fixed | true | Set 'true' to enable writing of frame packing arrangement SEI messages to bitstream Supported values: true, false. |
| outputRecoveryPointSEI | option_fixed | true | Set'true' to enable writing of recovery point SEI message Supported values: true, false. |
| numTemporalLayers | int | Specifies max temporal layers to be used for hierarchical coding. Valid value range is [1,10] | |
| outputAUD | option_fixed | true | Set 'true' to write Access Unit Delimiter syntax Supported values: true, false. |
| maxNumRefFrames | int | Specifies the DPB size used for encoding. Setting it to 0 will let driver use the default dpb size. The low latency application which wants to invalidate reference frame as an error resilience tool is recommended to use a large DPB size so that the encoder can keep old reference frames which can be used if recent | |
| ltrNumFrames | int | Specifies the maximum number of long term references can be used for prediction | |
| ltrTrustMode | option_fixed | Specifies the LTR operating mode. Set to 'false' to disallow encoding using LTR frames until later specified. Set to 'true' to allow encoding using LTR frames unless later invalidated Supported values: true, false. | |
| enableConstrainedEncoding | option_fixed | Set this to 1 to enable constrainedFrame encoding where each slice in the constarined picture is independent of other slices Supported values: true, false. | |
| adaptiveTransformMode | option_fixed | Enable the AdaptiveTransform Mode. Supported values: true, false. | |
| fmoMode | option_fixed | Enable the FMO Mode. Supported values: true, false. | |
| interlace | option_fixed | Auto | Interlace type Supported values: Auto, Top, Bottom, Progressive. |
| output.444 | option_fixed | false | Enable or disable 444 encoding Supported values: true, false. |
| qpi | int | 25 | Determines I-frame quality in CQP mode |
| qpp | int | 28 | Determines P-frame quality in CQP mode |
| qpb | int | 31 | Determines B-frame quality in CQP mode |
| targetQuality | int | 0 | Set target quality level (0 to 51, 0 means automatic) for constant quality mode in VBR rate control (default 0) |
| lowDelayKeyFrameScale | int | 0 | Specifies the Scene Change frame size increase allowed in case of single frame VBV and CBR (from 0 to 255, default 0) |
| enableFillerDataInsertion | int | 0 | Set to 1 in case the bitrate needs to be strictly adhered to (default 0) |
| udu_sei | option_fixed | false | Set 'true' to write the frame binary data 'sei_user', 'sei_user.1', ... as SEI user data unregistered messages (the first 16 bytes of the data are the UUID) Supported values: true, false. |
| async_encode | option_fixed | Enable asynchronous NVENC submission. Requires a driver/device mode that supports asynchronous encoding. Supported values: false, true. | |
| bufsize.msec | int | VBV duration in milliseconds. A positive value derives the VBV size from average bitrate and takes precedence over bufsize/vbvBufferSize. (from 0 to 2147483647) | |
| dynamic_resolution | option_fixed | Reserve encoder dimensions of at least 4096x2160 for resolution changes; availability depends on the device and codec. Supported values: false, true. | |
| enableInitialRCQP | option_fixed | Enable initial QP values from initialQPI, initialQPP and initialQPB. Supported values: false, true. | |
| enableMaxQP | option_fixed | Enable maximum QP limits from maxQPI, maxQPP and maxQPB. Supported values: false, true. | |
| enableMinQP | option_fixed | Enable minimum QP limits from minQPI, minQPP and minQPB. Supported values: false, true. | |
| force_gpu | int | NVENC device index. A negative value uses the default device. (from -1 to 2147483647) | |
| idrPeriod | int | IDR interval in frames. When omitted, the SDK uses the GOP length; periodic intra refresh can override it. (from 0 to 2147483647) | |
| initialQPB | int | Initial QP for B frames. Used when enableInitialRCQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| initialQPI | int | Initial QP for I frames. Used when enableInitialRCQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| initialQPP | int | Initial QP for P frames. Used when enableInitialRCQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| maxQPB | int | Maximum QP for B frames. Used when enableMaxQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| maxQPI | int | Maximum QP for I frames. Used when enableMaxQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| maxQPP | int | Maximum QP for P frames. Used when enableMaxQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| minQPB | int | Minimum QP for B frames. Used when enableMinQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| minQPI | int | Minimum QP for I frames. Used when enableMinQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| minQPP | int | Minimum QP for P frames. Used when enableMinQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| output.10bit | option_fixed | Output bit depth: auto follows the input frame, true requests 10-bit, false requests 8-bit. Requires support for the selected codec on the GPU. Supported values: auto, false, true. | |
| output.422 | option_fixed | Request 4:2:2 chroma output. Requires GPU/codec support; output.444 takes precedence. AV1 currently supports 4:2:0 only. Supported values: false, true. | |
| sliceMode | option | Slice partitioning: default, macroblocks, bytes, macroblock rows, or number of slices. AV1 uses tiles. NVIDIA SDK 13.0 limits slicing to a single slice. Supported values: default, mb, bytes, mb_rows, slice_number.mb_rows: mb_rowsslice_number: slice_number | |
| sliceModeData | int | Slice partition size/count interpreted according to sliceMode. NVIDIA SDK 13.0 limits this to a single slice. (from 0 to 2147483647) | |
| useBFramesAsRef | option | B-frame reference mode: 0 disables B references, 1 allows each B-frame, 2 uses a middle B-frame. Requires codec/GPU support. (from 0 to 2) Supported values: 0, 1, 2. | |
| vbvBufferSize | string | VBV buffer size in bits. Takes precedence over bufsize; a positive bufsize.msec overrides both. | |
| vbvInitialDelay | string | Initial VBV occupancy in bits. Takes precedence over initialdelay. |
H.265 HEVC (AMD AMF, HW)
Configuration Parameter: a265
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 5M | The average bit rate in bps is the target bit rate used for VBR rate control |
| g | int | 15 | Group of picture (GOP) size |
| minrate | int | Set min bitrate tolerance (in bits/s). Most useful in setting up a CBR encode. It is of little use elsewise | |
| bitdepth | option_fixed | Set color bit deph (8/10) Supported values: 8, 10. | |
| profile | option_fixed | Set the profile Supported values: main, main10. | |
| profile_tier | option_fixed | Set the profile tier Supported values: main, high. | |
| level | option_fixed | auto | Set the encoding level Supported values: auto, 1.0, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2, 6.0, 6.1, 6.2. |
| quality | option_fixed | balanced | Set the encoding quality preset (FFmpeg alias: preset). Supported values: balanced, speed, quality, high_quality. |
| latency | bool | Enables low latency mode | |
| rc | option_fixed | qvbr | Set the rate control mode Supported values: cqp, cbr, vbr_peak, vbr_latency, qvbr, hqvbr, hqcbr. |
| qvbr_quality_level | int | -1 | Sets the QVBR quality level (from -1 to 51) |
| header_insertion_mode | option_fixed | Set header insertion mode Supported values: none, gop, idr. | |
| async_depth | int | 16 | Set maximum encoding parallelism. Higher values increase output latency. (from 1 to 16) (default 16) |
| high_motion_quality_boost_enable | bool | Enable High motion quality boost mode | |
| gops_per_idr | int | 1 | GOPs per IDR 0-no IDR will be inserted (from 0 to 2147483647) (default 1) |
| preencode | bool | Enable preencode | |
| vbaq | bool | Enable VBAQ | |
| enforce_hrd | bool | Enforce HRD | |
| filler_data | bool | Filler Data Enable | |
| max_au_size | int | -1 | Maximum Access Unit Size for rate control (in bits) (from -1 to 2147483647) |
| min_qp_i | int | -1 | min quantization parameter for I-frame (from -1 to 51) (default -1) |
| max_qp_i | int | -1 | max quantization parameter for I-frame (from -1 to 51) (default -1) |
| min_qp_p | int | -1 | min quantization parameter for P-frame (from -1 to 51) (default -1) |
| max_qp_p | int | -1 | max quantization parameter for P-frame (from -1 to 51) (default -1) |
| qp_p | int | -1 | quantization parameter for P-frame (from -1 to 51) (default -1) |
| qp_i | int | -1 | quantization parameter for I-frame (from -1 to 51) (default -1) |
| skip_frame | bool | Rate Control Based Frame Skip | |
| me_half_pel | bool | Enable ME Half Pixel | |
| me_quarter_pel | bool | Enable ME Quarter Pixel | |
| forced_idr | bool | Force I frames to be IDR frames | |
| aud | bool | Inserts AU Delimiter NAL unit | |
| smart_access_video | bool | Enable Smart Access Video to enhance performance by utilizing both APU and dGPU memory access | |
| preanalysis | bool | Enable preanalysis | |
| pa_activity_type | option_fixed | Set the type of activity analysis Supported values: -1, y, yuv. | |
| pa_scene_change_detection_enable | bool | Enable scene change detection | |
| pa_scene_change_detection_sensitivity | option_fixed | Set the sensitivity of scene change detection Supported values: -1, low, medium, high. | |
| pa_static_scene_detection_enable | bool | Enable static scene detection | |
| pa_static_scene_detection_sensitivity | option_fixed | Set the sensitivity of static scene detection Supported values: -1, low, medium, high. | |
| pa_initial_qp_after_scene_change | int | -1 | The QP value that is used immediately after a scene change (from -1 to 51) |
| pa_max_qp_before_force_skip | int | -1 | The QP threshold to allow a skip frame (from -1 to 51) |
| pa_caq_strength | option_fixed | Content Adaptive Quantization strength Supported values: -1, low, medium, high. | |
| pa_frame_sad_enable | bool | Enable Frame SAD algorithm | |
| pa_ltr_enable | bool | Enable long term reference frame management | |
| pa_lookahead_buffer_depth | int | -1 | Sets the PA lookahead buffer size (from -1 to 41) |
| pa_paq_mode | option_fixed | Sets the perceptual adaptive quantization mode Supported values: -1, none, caq. | |
| pa_taq_mode | option_fixed | Sets the temporal adaptive quantization mode Supported values: -1, none, 1, 2. | |
| pa_high_motion_quality_boost_mode | option_fixed | Sets the PA high motion quality boost mode Supported values: none, auto. |
H.265 HEVC (FFmpeg VPL-MSDK, HW)
Configuration Parameter: hevc_qsv
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| async_depth | int | 4 | Maximum processing parallelism (from 1 to INT_MAX) |
| preset | option_fixed | Change options to trade off compression efficiency against encoding speed Supported values: veryfast, faster, fast, medium, slow, slower, veryslow.veryfast: veryfastfaster: fasterfast: fastmedium: mediumslow: slowslower: slowerveryslow: veryslow | |
| forced_idr | bool | false | Forcing I frames as IDR frames |
| low_power | bool | enable low power mode(experimental: many limitations by mfx version, BRC modes, etc.) (default auto) | |
| rdo | int | -1 | Enable rate distortion optimization (from -1 to 1) |
| max_frame_size | int | -1 | Maximum encoded frame size in bytes (from -1 to INT_MAX) |
| max_frame_size_i | int | -1 | Maximum encoded I frame size in bytes (from -1 to INT_MAX) |
| max_frame_size_p | int | -1 | Maximum encoded P frame size in bytes (from -1 to INT_MAX) |
| max_slice_size | int | -1 | Maximum encoded slice size in bytes (from -1 to INT_MAX) |
| mbbrc | int | -1 | MB level bitrate control (from -1 to 1) |
| extbrc | int | -1 | Extended bitrate control (from -1 to 1) |
| p_strategy | int | 0 | Enable P-pyramid: 0-default 1-simple 2-pyramid(bf need to be set to 0). (from 0 to 2) |
| b_strategy | int | -1 | Strategy to choose between I/P/B-frames (from -1 to 1) |
| low_delay_brc | bool | Allow to strictly obey avg frame size (default auto) | |
| max_qp_i | int | -1 | Maximum video quantizer scale for I frame (from -1 to 51) |
| min_qp_i | int | -1 | Minimum video quantizer scale for I frame (from -1 to 51) |
| max_qp_p | int | -1 | Maximum video quantizer scale for P frame (from -1 to 51) |
| min_qp_p | int | -1 | Minimum video quantizer scale for P frame (from -1 to 51) |
| max_qp_b | int | -1 | Maximum video quantizer scale for B frame (from -1 to 51) |
| min_qp_b | int | -1 | Minimum video quantizer scale for B frame (from -1 to 51) |
| adaptive_i | int | -1 | Adaptive I-frame placement (from -1 to 1) |
| adaptive_b | int | -1 | Adaptive B-frame placement (from -1 to 1) |
| scenario | option_fixed | unknown | A hint to encoder about the scenario for the encoding session Supported values: unknown, displayremoting, videoconference, archive, livestreaming, cameracapture, videosurveillance, gamestreaming, remotegaming.unknown: unknowndisplayremoting: displayremotingvideoconference: videoconferencearchive: archivelivestreaming: livestreamingcameracapture: cameracapturevideosurveillance: videosurveillancegamestreaming: gamestreamingremotegaming: remotegaming |
| avbr_accuracy | int | 0 | Accuracy of the AVBR ratecontrol (unit of tenth of percent) (from 0 to 65535) |
| avbr_convergence | int | 0 | Convergence of the AVBR ratecontrol (unit of 100 frames) (from 0 to 65535) |
| skip_frame | option_fixed | no_skip | Allow frame skipping Supported values: no_skip, insert_dummy, insert_nothing, brc_only.no_skip: Frame skipping is disabledinsert_dummy: Encoder inserts into bitstream frame where all macroblocks are encoded as skippedinsert_nothing: Encoder inserts nothing into bitstreambrc_only: skip_frame metadata indicates the number of missed frames before the current frame |
| dual_gfx | option_fixed | off | Prefer processing on both iGfx and dGfx simultaneously Supported values: off, on, adaptive.off: Disable HyperEncode modeon: Enable HyperEncode mode and return error if incompatible parameters during initializationadaptive: Enable HyperEncode mode or fallback to single GPU if incompatible parameters during initialization |
| idr_interval | option | 0 | Distance (in I-frames) between IDR frames (from -1 to INT_MAX) Supported values: begin_only.begin_only: Output an IDR-frame only at the beginning of the stream |
| load_plugins | option_fixed | hevc_hw | A user plugin to load in an internal session (from 0 to 2) Supported values: none, hevc_sw, hevc_hw. |
| look_ahead_depth | int | 0 | Depth of look ahead in number frames (from 0 to 100) |
| profile | option | unknown | Used profile (from 0 to INT_MAX) Supported values: unknown, main, main10, mainsp, rext, scc.unknown: unknownmain: mainmain10: main10mainsp: mainsprext: rextscc: scc |
| tier | option | high | Set the encoding tier (only level >= 4 can support high tier) (from 0 to 256) Supported values: main, high.main: main |
| gpb | bool | true | 1: GPB (generalized P/B frame); 0: regular P frame |
| tile_cols | int | 0 | Number of columns for tiled encoding (from 0 to 65535) |
| tile_rows | int | 0 | Number of rows for tiled encoding (from 0 to 65535) |
| recovery_point_sei | int | -1 | Insert recovery point SEI messages (from -1 to 1) |
| aud | bool | false | Insert the Access Unit Delimiter NAL |
| pic_timing_sei | bool | true | Insert picture timing SEI with pic_struct_syntax element |
| transform_skip | int | -1 | Turn this option ON to enable transformskip (from -1 to 1) |
| int_ref_type | option | -1 | Intra refresh type. B frames should be set to 0. (from -1 to 65535) Supported values: none, vertical, horizontal, slice.none: nonevertical: verticalhorizontal: horizontalslice: slice |
| int_ref_cycle_size | int | -1 | Number of frames in the intra refresh cycle (from -1 to 65535) |
| int_ref_qp_delta | int | -32768 | QP difference for the refresh MBs (from -32768 to 32767) (default -32768) |
| int_ref_cycle_dist | int | -1 | Distance between the beginnings of the intra-refresh cycles in frames (from -1 to 32767) |
| qsv_params | string | Set QSV encoder parameters as key1=value1:key2=value2:... | |
| dblk_idc | int | This option disable deblocking. It has value in range 0~2. (from 0 to 2) (default 0) | |
| load_plugin | option | A user plugin to load in an internal session (from 0 to 2) (default hevc_hw) Supported values: none, hevc_sw, hevc_hw.none: 0: nonehevc_sw: 1: hevc_swhevc_hw: 2: hevc_hw |
H.265 HEVC (Intel QuickSync, HW)
Configuration Parameter: q265hw
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| rc_type | option_fixed | vbr | The rate control type Supported values: cbr, vbr, cqp, avbr, vbr_la, vbr_la_hrd, quality, quality_la, vcm, quality_vbr. |
| bf | int | Number of consecutive B-frames. Media SDK GopRefDist is bf+1; device/profile limits apply. Range: minimum 0. | |
| async_depth | int | 4 | Maximum processing parallelism Range: minimum 0.0. |
| profile | option_fixed | Auto | Native Intel HEVC profile. Auto lets Media SDK select the profile. Supported values: Auto, Main, Main10. |
| b | int | 5M | The average bit rate in bps is the target bit rate used for VBR rate control |
| quality | int | Intel target usage quality: 1 is fastest, 7 is best quality. Supported settings depend on the device and implementation. Range: minimum 1; maximum 7. | |
| g | int | GOP size (distance between I-frames). For HEVC only the first frame is IDR (IdrInterval=0). SDK default 15. | |
| maxrate | int | The maximum bit rate in bps is the peak bit rate used for VBR rate control | |
| bufsize | int | Rate control buffer size in bytes (Media SDK BufferSizeInKB = value / 1000). 0 lets Media SDK choose. | |
| initialdelay | int | Initial VBV delay in bytes (Media SDK InitialDelayInKB = value / 1000). 0 lets Media SDK choose. | |
| ref_frames | int | Number of reference frames; if NumRefFrame = 0, this parameter is not specified. Range: minimum 0; maximum 16. | |
| size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
| icq_quality | int | Quality of intelligent constant quality algorithm. Possible values: from 1 (the best quality) to 51. | |
| accuracy | int | Determines quality of complex scenes in AVBR mode. | |
| convergence | int | Determines quality of complex scenes in AVBR mode. | |
| qpi | int | Determines quality in CQP mode. | |
| qpb | int | Determines quality in CQP mode. | |
| qpp | int | Determines quality in CQP mode. | |
| hrd_conformance | option_fixed | Enable Intel HRD conformance (MFCodecs encoder only). This also affects dynamic bitrate reconfiguration. Supported values: false, true. | |
| low_delay | option_fixed | Use low-delay encoding: default B-frame count becomes 0 and async depth becomes 1. Supported values: false, true. | |
| exact_gop | option_fixed | Request strict GOP structure. Supported values: false, true. | |
| interlace | option | Frame scan structure supplied to Intel Media SDK. Supported values: auto, progressive, top, bottom.auto: autoprogressive: progressivetop: topbottom: bottom | |
| force_gpu | int | Intel implementation selection: -2 automatic, -1 software, 0..3 hardware adapter 1..4 (MFX_IMPL_HARDWARE..HARDWARE4); unavailable adapters fall back to automatic. Range: minimum -2; maximum 3. | |
| BufferSize | string | VBV buffer size in bytes (Media SDK BufferSizeInKB = value / 1000). A positive value takes precedence over bufsize. | |
| level | option_fixed | Native Intel HEVC level. Auto lets Media SDK choose. The listed numeric levels are passed through without SDK normalization. Supported values: Auto, 2.1, 3.1, 4.1, 5.1, 5.2, 6.1, 6.2. |
H.265 HEVC (NVIDIA NVENC Lossless, HW)
Configuration Parameter: l265
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| preset | option_fixed | default | Codec Preset - if specified, some properties below ignored Supported values: default, high_performance, high_quality, blue_ray_disk, low_latency, low_latency_hq, low_latency_hp, lossless, lossless_hp, p1, p2, p3, p4, p5, p6, p7. |
| size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
| ar | option | Aspect ratio of video Supported values: 16:9, 4:3. | |
| ar_type | option_fixed | Type of video's aspect ratio. Supported values: crop, letter-box, none. | |
| disable_sps_pps | option_fixed | false | Disable writing of Sequence and Picture parameter for every IDR frame Supported values: true, false. |
| outputBufferingPeriodSEI | option_fixed | true | Set 'true' to write SEI buffering period syntax in the bitstream Supported values: true, false. |
| outputPictureTimingSEI | option_fixed | true | Set 'true' to write SEI picture timing syntax in the bitstream Supported values: true, false. |
| outputAUD | option_fixed | true | Set 'true' to write Access Unit Delimiter syntax Supported values: true, false. |
| output.10bit | option_fixed | false | Output bit depth: auto follows the input frame, true requests 10-bit, false requests 8-bit. Requires support for the selected codec on the GPU. Supported values: auto, false, true. |
| output.444 | option_fixed | false | Enable or disable 444 encoding Supported values: true, false. |
| udu_sei | option_fixed | false | Set 'true' to write the frame binary data 'sei_user', 'sei_user.1', ... as SEI user data unregistered messages (the first 16 bytes of the data are the UUID) Supported values: true, false. |
| async_encode | option_fixed | Enable asynchronous NVENC submission. Requires a driver/device mode that supports asynchronous encoding. Supported values: false, true. | |
| bf | int | Number of consecutive B-frames (frameIntervalP = bf+1), limited by the GPU and GOP length. Range: minimum 0; maximum 2147483647. | |
| deblock | option_fixed | HEVC deblocking across slice boundaries: 0 disables it, 1 enables it (default 1). Supported values: 0, 1. | |
| dynamic_resolution | option_fixed | Reserve encoder dimensions of at least 4096x2160 for resolution changes; availability depends on the device and codec. Supported values: false, true. | |
| enableFillerDataInsertion | option_fixed | Enable filler data insertion. Requires support from the selected NVENC codec and GPU. Supported values: false, true. | |
| enableLTR | option_fixed | Enable long-term reference frames when supported. HEVC 4:2:2/4:4:4 with B-frames disables LTR. Supported values: false, true. | |
| force_gpu | int | NVENC device index. A negative value uses the default device. (from -1 to 2147483647) | |
| g | int | GOP length in frames (SDK default 30). GPU and profile limits apply. Range: minimum 0; maximum 2147483647. | |
| idrPeriod | int | IDR interval in frames. When omitted, the SDK uses the GOP length; HEVC intra refresh does not change this interval. Range: minimum 0; maximum 2147483647. | |
| intraRefreshCount | int | Number of frames over which to spread an intra refresh cycle; limited by intraRefreshPeriod. Range: minimum 0; maximum 2147483647. | |
| intraRefreshPeriod | int | Interval between intra refresh cycles, in frames. A positive value enables intra refresh; for HEVC the GOP length and IDR period stay as set. | |
| level | string | Codec level written to the bitstream, for example 4.1. Omit the property for automatic selection. | |
| ltrNumFrames | int | Number of long-term reference frames, limited by the codec and GPU capabilities. Range: minimum 0; maximum 2147483647. | |
| maxNumRefFramesInDPB | int | Maximum decoded-picture-buffer reference frames; supported values depend on the codec and GPU. (from 0 to 2147483647) | |
| maxTemporalLayersMinus1 | int | Maximum number of HEVC temporal layers minus one, limited by the selected profile and GPU capabilities. Range: minimum 0; maximum 2147483647. | |
| mvprecision | option | Motion-vector precision; the selected codec/GPU must support it. Supported values: Auto, Full, Half, Quarter.Auto: AutoFull: FullHalf: HalfQuarter: Quarter | |
| output.422 | option_fixed | Request 4:2:2 chroma output. Requires GPU/codec support; output.444 takes precedence. AV1 currently supports 4:2:0 only. Supported values: false, true. | |
| sliceMode | option | Slice partitioning: default, macroblocks, bytes, macroblock rows, or number of slices. AV1 uses tiles. NVIDIA SDK 13.0 limits slicing to a single slice. Supported values: default, mb, bytes, mb_rows, slice_number.mb_rows: mb_rowsslice_number: slice_number | |
| sliceModeData | int | Slice partition size/count interpreted according to sliceMode. NVIDIA SDK 13.0 limits this to a single slice. (from 0 to 2147483647) | |
| tier | option | HEVC/AV1 bitstream tier. Supported values: main, high.main: mainhigh: high | |
| useBFramesAsRef | option | B-frame reference mode: 0 disables B references, 1 allows each B-frame, 2 uses a middle B-frame. Requires codec/GPU support. (from 0 to 2) Supported values: 0, 1, 2. | |
| useConstrainedIntraPred | option_fixed | Enable use constrained intra pred. Requires support from the selected NVENC codec and GPU. Supported values: false, true. |
H.265 HEVC (NVIDIA NVENC, HW)
Configuration Parameter: n265
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 5M | The average bit rate in bps is the target bit rate used for rate control |
| g | int | 30 | This is the IDR period |
| bf | int | This sets the distance of one P picture from the previous P picture. e.g. for IBBPBBP, set the value as 3 Range: minimum 1; maximum 17. | |
| rc_type | option_fixed | Auto | The rate control type Supported values: Auto, cbr, vbr, cqp. |
| preset | option_fixed | default | Codec Preset - if specified, some properties below ignored Supported values: default, high_performance, high_quality, blue_ray_disk, low_latency, low_latency_hq, low_latency_hp, lossless, lossless_hp, p1, p2, p3, p4, p5, p6, p7. |
| tuning_info | option_fixed | high_quality | Codec Tuning Info - if specified, some properties below ignored Supported values: high_quality, low_latency, ultra_low_latency. |
| level | option_fixed | Auto | Specifies the level of the encoded bitstream. Supported values: Auto, 1.0, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2, 5.0, 5.1, 5.2, 6.0. 6.1, 6.2. |
| tier | option_fixed | Main | Supported values: Main, High. |
| maxrate | int | The maximum bit rate in bps is the peak bit rate used for VBR rate control | |
| size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
| ar | option | Aspect ratio of video. Supported values: 16:9, 4:3. | |
| ar_type | option_fixed | Type of video's aspect ratio. Supported values: crop, letter-box, none. | |
| bufsize | int | Specifies the VBV(HRD) buffer size. in bits. Set 0 to use the default VBV buffer size | |
| initialdelay | int | 0 | Specifies the VBV(HRD) initial delay in bits. Set 0 to use the default VBV initial delay |
| enableAQ | option_fixed | true | Set this to TRUE to enable adaptive quantization Supported values: true, false. |
| intraRefreshPeriod | int | 0 | Specifies the interval between successive intra refresh if intraRefreshCount is set |
| intraRefreshCount | int | 0 | Specifies the length of intra refresh in number of frames for periodic intra refresh. This value should be smaller than intraRefreshPeriod |
| mvprecision | option_fixed | Auto | Specifies the desired motion vector prediction precision Supported values: Auto, Full, Half, Quarter. |
| disable_sps_pps | option_fixed | false | Disable writing of Sequence and Picture parameter for every IDR frame Supported values: true, false. |
| deblock | option_fixed | true | Set 'true' to enable in loop filtering across slice boundary. Supported values: true, false. |
| useConstrainedIntraPred | option_fixed | Set 'true' to enable constrained intra prediction. Supported values: true, false. | |
| outputBufferingPeriodSEI | option_fixed | true | Set 'true' to write SEI buffering period syntax in the bitstream Supported values: true, false. |
| outputPictureTimingSEI | option_fixed | true | Set 'true' to write SEI picture timing syntax in the bitstream Supported values: true, false. |
| outputAUD | option_fixed | true | Set 'true' to write Access Unit Delimiter syntax Supported values: true, false. |
| enableLTR | option_fixed | Set 'true' to enable use of long term reference pictures for inter prediction Supported values: true, false. | |
| maxNumRefFramesInDPB | int | Specifies the maximum number of references frames in the DPB | |
| ltrNumFrames | int | Specifies the maximum number of long term references can be used for prediction | |
| maxTemporalLayersMinus1 | int | Specifies the max temporal layer used for hierarchical coding. | |
| output.10bit | option_fixed | false | Output bit depth: auto follows the input frame, true requests 10-bit, false requests 8-bit. Requires support for the selected codec on the GPU. Supported values: auto, false, true. |
| output.444 | option_fixed | false | Enable or disable 444 encoding Supported values: true, false. |
| qpi | int | 25 | Determines I-frame quality in CQP mode |
| qpp | int | 28 | Determines P-frame quality in CQP mode |
| qpb | int | 31 | Determines B-frame quality in CQP mode |
| targetQuality | int | 0 | Set target quality level (0 to 51, 0 means automatic) for constant quality mode in VBR rate control (default 0) |
| lowDelayKeyFrameScale | int | 0 | Specifies the Scene Change frame size increase allowed in case of single frame VBV and CBR (from 0 to 255, default 0) |
| enableFillerDataInsertion | int | 0 | Set to 1 in case the bitrate needs to be strictly adhered to (default 0) |
| udu_sei | option_fixed | false | Set 'true' to write the frame binary data 'sei_user', 'sei_user.1', ... as SEI user data unregistered messages (the first 16 bytes of the data are the UUID) Supported values: true, false. |
| async_encode | option_fixed | Enable asynchronous NVENC submission. Requires a driver/device mode that supports asynchronous encoding. Supported values: false, true. | |
| bufsize.msec | int | VBV duration in milliseconds. A positive value derives the VBV size from average bitrate and takes precedence over bufsize/vbvBufferSize. (from 0 to 2147483647) | |
| dynamic_resolution | option_fixed | Reserve encoder dimensions of at least 4096x2160 for resolution changes; availability depends on the device and codec. Supported values: false, true. | |
| enableInitialRCQP | option_fixed | Enable initial QP values from initialQPI, initialQPP and initialQPB. Supported values: false, true. | |
| enableMaxQP | option_fixed | Enable maximum QP limits from maxQPI, maxQPP and maxQPB. Supported values: false, true. | |
| enableMinQP | option_fixed | Enable minimum QP limits from minQPI, minQPP and minQPB. Supported values: false, true. | |
| force_gpu | int | NVENC device index. A negative value uses the default device. (from -1 to 2147483647) | |
| idrPeriod | int | IDR interval in frames. When omitted, the SDK uses the GOP length; HEVC intra refresh does not change this interval. Range: minimum 0; maximum 2147483647. | |
| initialQPB | int | Initial QP for B frames. Used when enableInitialRCQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| initialQPI | int | Initial QP for I frames. Used when enableInitialRCQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| initialQPP | int | Initial QP for P frames. Used when enableInitialRCQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| maxQPB | int | Maximum QP for B frames. Used when enableMaxQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| maxQPI | int | Maximum QP for I frames. Used when enableMaxQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| maxQPP | int | Maximum QP for P frames. Used when enableMaxQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| minQPB | int | Minimum QP for B frames. Used when enableMinQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| minQPI | int | Minimum QP for I frames. Used when enableMinQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| minQPP | int | Minimum QP for P frames. Used when enableMinQP is enabled; the valid QP range depends on codec/bit depth. (from 0 to 255) | |
| output.422 | option_fixed | Request 4:2:2 chroma output. Requires GPU/codec support; output.444 takes precedence. AV1 currently supports 4:2:0 only. Supported values: false, true. | |
| sliceMode | option | Slice partitioning: default, macroblocks, bytes, macroblock rows, or number of slices. AV1 uses tiles. NVIDIA SDK 13.0 limits slicing to a single slice. Supported values: default, mb, bytes, mb_rows, slice_number.mb_rows: mb_rowsslice_number: slice_number | |
| sliceModeData | int | Slice partition size/count interpreted according to sliceMode. NVIDIA SDK 13.0 limits this to a single slice. (from 0 to 2147483647) | |
| useBFramesAsRef | option | B-frame reference mode: 0 disables B references, 1 allows each B-frame, 2 uses a middle B-frame. Requires codec/GPU support. (from 0 to 2) Supported values: 0, 1, 2. | |
| vbvBufferSize | string | VBV buffer size in bits. Takes precedence over bufsize; a positive bufsize.msec overrides both. | |
| vbvInitialDelay | string | Initial VBV occupancy in bits. Takes precedence over initialdelay. |
H.265 HEVC (x265, SW)
Configuration Parameter: libx265
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| preset | option | superfast | Set the x265 preset. Supported values: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo. |
| tune | option | Set the x265 tune parameter. Possible values: psnr (disables adaptive quant, psy-rd, and cutree), ssim (enables adaptive quant auto-mode, disables psy-rd), grain (improves retention of film grain), fastdecode (no loop filters, no weighted pred, no intra in B), zerolatency (no lookahead, no B frames, no cutree). Supported values: psnr, ssim, grain, fastdecode, zerolatency. | |
| forced-idr | int | 0 | Normally, when forcing a I-frame type, the encoder can select any type of I-frame. This option forces it to choose an IDR-frame. Range: minimum 0.0; maximum 1.0. |
| x265-params | string | Set x265 options using a list of key=value couples separated by ":". See x265 help for a list of options. | |
| crf | double | set the x265 crf. Requires an FFmpeg build with libx265 enabled. | |
| qp | int | set the x265 qp. Requires an FFmpeg build with libx265 enabled. | |
| profile | string | set the x265 profile. Requires an FFmpeg build with libx265 enabled. | |
| x265-stats | string | Filename for 2 pass stats. Requires an FFmpeg build with libx265 enabled. | |
| udu_sei | option_fixed | Use user data unregistered SEI if available. Requires an FFmpeg build with libx265 enabled. Supported values: false, true. | |
| a53cc | option_fixed | Use A53 Closed Captions (if available). Requires an FFmpeg build with libx265 enabled. Supported values: false, true. | |
| dolbyvision | option_fixed | Enable Dolby Vision RPU coding. Requires an FFmpeg build with libx265 enabled. Supported values: false, true. |
H.266 VVC (Fraunhofer VVenC, SW)
Configuration Parameter: libvvenc
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| preset | option_fixed | Change options to trade off compression efficiency against encoding speed Supported values: faster, fast, medium, slow, slower.faster: 0fast: 1medium: 2slow: 3slower: 4 | |
| qp | int | Set quantization Range: minimum -1; maximum 63. | |
| period | int | Set (intra) refresh period in seconds Range: minimum 1; maximum 2147483647. | |
| vvenc-params | string | Set the vvenc configuration using a :-separated list of key=value parameters | |
| level | string | Specify level (as defined by Annex A) | |
| tier | option_fixed | high | Set vvc tier Supported values: main, high.main: mainhigh: high |
| qpa | option_fixed | set subjective (perceptually motivated) optimization (default true) Supported values: false, true. | |
| passlogfile | string | Filename for 2 pass stats | |
| stats | string | Filename for 2 pass stats |
Hap (Vidvox, SW)
Configuration Parameter: hap
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| format | option | hap | Hap 1 (DXT1 textures)Hap Alpha (DXT5 textures)Hap Q (DXT5-YCoCg textures) Supported values: hap, hap_alpha, hap_q. |
| chunks | int | 1 | Chunk count Range: minimum 1.0; maximum 64.0. |
| compressor | option | snappy | Second-stage compressor NoneSnappy Supported values: none, snappy. |
HuffYUV (Lossless, SW)
Configuration Parameter: huffyuv
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| non_deterministic | option_fixed | Allow multithreading for e.g. context=1 at the expense of determinism (default false) Supported values: false, true. | |
| pred | option | Prediction method (from 0 to 2) (default left) Supported values: left, plane, median.left: 0: leftplane: 1: planemedian: 2: median |
Intel QuickSync H.264 Encoder
Configuration Parameter: q264
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| b | int | 5M | The average bit rate in bps is the target bit rate used for VBR rate control |
| quality | int | Intel target usage quality: 1 is fastest, 7 is best quality. Supported settings depend on the device and implementation. Range: minimum 1; maximum 7. | |
| g | int | 30 | This is the IDR period for H264 |
| profile | option_fixed | Auto | Set the profile Supported values: Auto, Baseline, Main, Extended, High, Progressive High. |
| level | option_fixed | Auto | Native Intel H.264 level. Auto lets Media SDK select the level. The listed numeric levels are passed through without SDK normalization. Supported values: Auto, 1.0b, 1.1, 1.2, 1.3, 2.1, 2.2, 3.1, 3.2, 4.1, 4.2, 5.1, 5.2. |
| rc_type | option_fixed | vbr | The rate control type. vcm and quality_vbr require the MFCodecs encoder; the legacy MWriter Quick Sync encoder falls back to VBR for these two values. Supported values: cbr, vbr, cqp, avbr, vbr_la, vbr_la_hrd, quality, quality_la, vcm, quality_vbr. |
| maxrate | int | The maximum bit rate in bps is the peak bit rate used for VBR rate control | |
| bufsize | int | Rate control buffer size in bytes (Media SDK BufferSizeInKB = value / 1000). 0 lets Media SDK choose. | |
| initialdelay | int | 0 | Initial VBV delay in bytes (Media SDK InitialDelayInKB = value / 1000). 0 lets Media SDK choose. |
| bf | int | Number of consecutive B-frames. Media SDK GopRefDist is bf+1; device/profile limits apply. Range: minimum 0. | |
| ref_frames | int | Number of reference frames; if NumRefFrame = 0, this parameter is not specified. Range: minimum 0; maximum 16. | |
| cavlc | option_fixed | false | Enable/disable Context-adaptive variable-length coding mode. Supported values: true, false. |
| size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
| icq_quality | int | Quality of intelligent constant quality algorithm. Possible values: from 1 (the best quality) to 51. | |
| accuracy | int | 100 | Determines quality of complex scenes in AVBR mode. |
| convergence | int | 0 | Determines quality of complex scenes in AVBR mode. |
| qpi | int | 22 | Determines quality in CQP mode. |
| qpb | int | 22 | Determines quality in CQP mode. |
| qpp | int | 22 | Determines quality in CQP mode. |
| force_gpu | int | -2 | Intel implementation selection: -2 automatic, -1 software, 0..3 hardware adapter 1..4 (MFX_IMPL_HARDWARE..HARDWARE4); unavailable adapters fall back to automatic. Range: minimum -2; maximum 3. |
| use_vpp | bool | false | MWriter legacy encoder only: use Intel VPP for frame conversion and scaling. Ignored by the MFCodecs encoder. |
| async_depth | int | Number of asynchronous Intel encode tasks. Low-delay mode forces a depth of 1. (from 0 to 65535) | |
| hrd_conformance | option_fixed | Enable Intel HRD conformance (MFCodecs encoder only). This also affects dynamic bitrate reconfiguration. Supported values: false, true. | |
| low_delay | option_fixed | MFCodecs encoder only: use low-delay encoding; default B-frame count becomes 0 and async depth becomes 1. Ignored by the legacy MWriter H.264 Quick Sync encoder. Supported values: false, true. | |
| exact_gop | option_fixed | Request strict GOP structure. Supported values: false, true. | |
| interlace | option | Frame scan structure supplied to Intel Media SDK. Supported values: auto, progressive, top, bottom.auto: autoprogressive: progressivetop: topbottom: bottom | |
| BufferSize | string | VBV buffer size in bytes (Media SDK BufferSizeInKB = value / 1000). A positive value takes precedence over bufsize. |
JPEG XS (SVT, SW)
Configuration Parameter: libsvtjpegxs
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| bpp | int | 2 | Bits per pixel |
| decomp_v | int | vertical decomposition level Range: minimum -1; maximum 2. | |
| decomp_h | int | horizontal decomposition level Range: minimum -1; maximum 5. | |
| quantization | int | Quantization algorithm: deadzone:0, uniform:1 Supported values: deadzone, uniform.Range: minimum -1; maximum 1. | |
| coding-signs | int | Enable Signs handling strategy: disable:0, fast:1, full:2 Supported values: disable, fast, full.Range: minimum -1; maximum 2. | |
| coding-sigf | int | Enable Significance coding Range: minimum -1; maximum 1. | |
| coding-vpred | int | Enable Vertical Prediction coding: disable:0, zero prediction residuals:1, zero coefficients:2 Supported values: disable, no_residuals, no_coeffs.no_residuals: no_residualsno_coeffs: no_coeffsRange: minimum -1; maximum 2. |
MJPEG (Motion JPEG)
Configuration Parameter: mjpeg
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| color_range | option | jpeg | MPEG vs JPEG YUV range. UnspecifiedMPEG (219*2^(n-8))JPEG (2^n-1) Supported values: unspecified, mpeg, jpeg. |
| huffman | option | Huffman table strategy (from 0 to 1) (default optimal) Supported values: default, optimal.default: 0: defaultoptimal: 1: optimal | |
| force_duplicated_matrix | option_fixed | Always write luma and chroma matrix for mjpeg, useful for rtp streaming. (default false) Supported values: false, true. | |
| mpv_flags | flags | Flags common for all mpegvideo-based encoders. (default 0) Supported values: skip_rd, strict_gop, qp_rd, cbp_rd, naq.skip_rd: RD optimal MB level residual skippingstrict_gop: Strictly enforce gop sizeqp_rd: Use rate distortion optimization for qp selectioncbp_rd: use rate distortion optimization for CBPnaq: normalize adaptive quantization | |
| luma_elim_threshold | int | single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| chroma_elim_threshold | int | single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| quantizer_noise_shaping | int | FFmpeg quantizer_noise_shaping option. (from 0 to INT_MAX) (default 0) | |
| error_rate | int | Simulate errors in the bitstream to test error concealment. (from 0 to INT_MAX) (default 0) | |
| qsquish | double | how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99) (default 0) | |
| rc_qmod_amp | double | experimental quantizer modulation (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_qmod_freq | int | experimental quantizer modulation (from INT_MIN to INT_MAX) (default 0) | |
| rc_eq | string | 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 | double | initial complexity for 1-pass encoding (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_buf_aggressivity | double | currently useless (from -FLT_MAX to FLT_MAX) (default 1) | |
| border_mask | double | increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0) | |
| skip_threshold | int | Frame skip threshold (from INT_MIN to INT_MAX) (default 0) | |
| skip_factor | int | Frame skip factor (from INT_MIN to INT_MAX) (default 0) | |
| skip_exp | int | Frame skip exponent (from INT_MIN to INT_MAX) (default 0) | |
| skip_cmp | option | Frame skip compare function (from INT_MIN to INT_MAX) (default dctmax) Supported values: sad, sse, satd, dct, psnr, bit, rd, zero, vsad, vsse, nsse, dct264, dctmax, chroma, msad.sad: 0: Sum of absolute differences, fastsse: 1: Sum of squared errorssatd: 2: Sum of absolute Hadamard transformed differencesdct: 3: Sum of absolute DCT transformed differencespsnr: 4: Sum of squared quantization errors, low qualitybit: 5: Number of bits needed for the blockrd: 6: Rate distortion optimal, slowzero: 7: Zerovsad: 8: Sum of absolute vertical differencesvsse: 9: Sum of squared vertical differencesnsse: 10: Noise preserving sum of squared differencesdct264: 14: dct264dctmax: 13: dctmaxchroma: 256: chromamsad: 15: Sum of absolute differences, median predicted | |
| noise_reduction | int | Noise reduction (from INT_MIN to INT_MAX) (default 0) | |
| ps | int | RTP payload size in bytes (from INT_MIN to INT_MAX) (default 0) | |
| lmin | int | minimum Lagrange factor (VBR) (from 0 to INT_MAX) (default 236) | |
| lmax | int | maximum Lagrange factor (VBR) (from 0 to INT_MAX) (default 3658) |
MPEG-1 Video (SW)
Configuration Parameter: mpeg1video
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| mpv_flags | flags | Flags common for all mpegvideo-based encoders. RD optimal MB level residual skippingStrictly enforce GOP sizeUse rate distortion optimization for qp selectionuse rate distortion optimization for CBP Supported values: skip_rd, strict_gop, qp_rd, cbp_rd, naq, mv0.naq: normalize adaptive quantizationmv0: always try a mb with mv=<0,0> | |
| gop_timecode | string | MPEG GOP Timecode in hh:mm:ss[:;.]ff format. Overrides timecode_frame_start. | |
| drop_frame_timecode | option_fixed | Timecode is in drop frame format. (default false) Supported values: false, true. | |
| scan_offset | option_fixed | Reserve space for SVCD scan offset user data. (default false) Supported values: false, true. | |
| b_sensitivity | int | Adjust sensitivity of b_frame_strategy 1 (from 1 to INT_MAX) (default 40) | |
| brd_scale | int | Downscale frames for dynamic B-frame decision (from 0 to 3) (default 0) | |
| luma_elim_threshold | int | single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| chroma_elim_threshold | int | single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| quantizer_noise_shaping | int | FFmpeg quantizer_noise_shaping option. (from 0 to INT_MAX) (default 0) | |
| error_rate | int | Simulate errors in the bitstream to test error concealment. (from 0 to INT_MAX) (default 0) | |
| qsquish | double | how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99) (default 0) | |
| rc_qmod_amp | double | experimental quantizer modulation (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_qmod_freq | int | experimental quantizer modulation (from INT_MIN to INT_MAX) (default 0) | |
| rc_eq | string | 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 | double | initial complexity for 1-pass encoding (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_buf_aggressivity | double | currently useless (from -FLT_MAX to FLT_MAX) (default 1) | |
| border_mask | double | increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0) | |
| skip_threshold | int | Frame skip threshold (from INT_MIN to INT_MAX) (default 0) | |
| skip_factor | int | Frame skip factor (from INT_MIN to INT_MAX) (default 0) | |
| skip_exp | int | Frame skip exponent (from INT_MIN to INT_MAX) (default 0) | |
| skip_cmp | option | Frame skip compare function (from INT_MIN to INT_MAX) (default dctmax) Supported values: sad, sse, satd, dct, psnr, bit, rd, zero, vsad, vsse, nsse, dct264, dctmax, chroma, msad.sad: 0: Sum of absolute differences, fastsse: 1: Sum of squared errorssatd: 2: Sum of absolute Hadamard transformed differencesdct: 3: Sum of absolute DCT transformed differencespsnr: 4: Sum of squared quantization errors, low qualitybit: 5: Number of bits needed for the blockrd: 6: Rate distortion optimal, slowzero: 7: Zerovsad: 8: Sum of absolute vertical differencesvsse: 9: Sum of squared vertical differencesnsse: 10: Noise preserving sum of squared differencesdct264: 14: dct264dctmax: 13: dctmaxchroma: 256: chromamsad: 15: Sum of absolute differences, median predicted | |
| noise_reduction | int | Noise reduction (from INT_MIN to INT_MAX) (default 0) | |
| ps | int | RTP payload size in bytes (from INT_MIN to INT_MAX) (default 0) | |
| motion_est | option | motion estimation algorithm (from 0 to 2) (default epzs) Supported values: zero, epzs, xone.zero: 0: zeroepzs: 1: epzsxone: 2: xone | |
| mepc | int | Motion estimation bitrate penalty compensation (1.0 = 256) (from INT_MIN to INT_MAX) (default 256) | |
| mepre | int | pre motion estimation (from INT_MIN to INT_MAX) (default 0) | |
| intra_penalty | int | Penalty for intra blocks in block decision (from 0 to 1.07374e+09) (default 0) | |
| timecode_frame_start | string | GOP timecode frame start number, in non-drop-frame format (from -1 to I64_MAX) (default -1) | |
| b_strategy | int | Strategy to choose between I/P/B-frames (from 0 to 2) (default 0) | |
| lmin | int | minimum Lagrange factor (VBR) (from 0 to INT_MAX) (default 236) | |
| lmax | int | maximum Lagrange factor (VBR) (from 0 to INT_MAX) (default 3658) | |
| sc_threshold | int | Scene change threshold (from INT_MIN to INT_MAX) (default 0) |
MPEG-2 Video (SW)
Configuration Parameter: mpeg2video
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| mpv_flags | flags | Flags common for all mpegvideo-based encoders. RD optimal MB level residual skippingStrictly enforce GOP sizeUse rate distortion optimization for qp selectionuse rate distortion optimization for CBP Supported values: skip_rd, strict_gop, qp_rd, cbp_rd, naq, mv0.naq: normalize adaptive quantizationmv0: always try a mb with mv=<0,0> | |
| gop_timecode | string | GOP timecode value | |
| v422 | option_fixed | false | Indicates whether captioning used 4:2:2 chroma subsampling (4:2:0 overwise). Supported values: true, false. |
| interlace | int | -1 | Interlacing: 1 - interlaced, 0 - progressive, -1 - auto. Range: minimum -1.0; maximum 1.0. |
| drop_frame_timecode | option_fixed | Timecode is in drop frame format. (default false) Supported values: false, true. | |
| scan_offset | option_fixed | Reserve space for SVCD scan offset user data. (default false) Supported values: false, true. | |
| b_sensitivity | int | Adjust sensitivity of b_frame_strategy 1 (from 1 to INT_MAX) (default 40) | |
| brd_scale | int | Downscale frames for dynamic B-frame decision (from 0 to 3) (default 0) | |
| intra_dc_precision | int | Precision of the DC coefficient - 8 (from -1 to 3) (default -1) | |
| intra_vlc | option_fixed | Use MPEG-2 intra VLC table. (default false) Supported values: false, true. | |
| non_linear_quant | option_fixed | Use nonlinear quantizer. (default false) Supported values: false, true. | |
| alternate_scan | option_fixed | Enable alternate scantable. (default false) Supported values: false, true. | |
| a53cc | option_fixed | Use A53 Closed Captions (if available) (default true) Supported values: false, true. | |
| seq_disp_ext | option | Write sequence_display_extension blocks. (from -1 to 1) (default auto) Supported values: auto, never, always.auto: -1: autonever: 0: neveralways: 1: always | |
| video_format | option | Video_format in the sequence_display_extension indicating the source of the video. (from 0 to 7) (default unspecified) Supported values: component, pal, ntsc, secam, mac, unspecified.component: 0: componentpal: 1: palntsc: 2: ntscsecam: 3: secammac: 4: macunspecified: 5: unspecified | |
| luma_elim_threshold | int | single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| chroma_elim_threshold | int | single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| quantizer_noise_shaping | int | FFmpeg quantizer_noise_shaping option. (from 0 to INT_MAX) (default 0) | |
| error_rate | int | Simulate errors in the bitstream to test error concealment. (from 0 to INT_MAX) (default 0) | |
| qsquish | double | how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99) (default 0) | |
| rc_qmod_amp | double | experimental quantizer modulation (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_qmod_freq | int | experimental quantizer modulation (from INT_MIN to INT_MAX) (default 0) | |
| rc_eq | string | 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 | double | initial complexity for 1-pass encoding (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_buf_aggressivity | double | currently useless (from -FLT_MAX to FLT_MAX) (default 1) | |
| border_mask | double | increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0) | |
| skip_threshold | int | Frame skip threshold (from INT_MIN to INT_MAX) (default 0) | |
| skip_factor | int | Frame skip factor (from INT_MIN to INT_MAX) (default 0) | |
| skip_exp | int | Frame skip exponent (from INT_MIN to INT_MAX) (default 0) | |
| skip_cmp | option | Frame skip compare function (from INT_MIN to INT_MAX) (default dctmax) Supported values: sad, sse, satd, dct, psnr, bit, rd, zero, vsad, vsse, nsse, dct264, dctmax, chroma, msad.sad: 0: Sum of absolute differences, fastsse: 1: Sum of squared errorssatd: 2: Sum of absolute Hadamard transformed differencesdct: 3: Sum of absolute DCT transformed differencespsnr: 4: Sum of squared quantization errors, low qualitybit: 5: Number of bits needed for the blockrd: 6: Rate distortion optimal, slowzero: 7: Zerovsad: 8: Sum of absolute vertical differencesvsse: 9: Sum of squared vertical differencesnsse: 10: Noise preserving sum of squared differencesdct264: 14: dct264dctmax: 13: dctmaxchroma: 256: chromamsad: 15: Sum of absolute differences, median predicted | |
| noise_reduction | int | Noise reduction (from INT_MIN to INT_MAX) (default 0) | |
| ps | int | RTP payload size in bytes (from INT_MIN to INT_MAX) (default 0) | |
| motion_est | option | motion estimation algorithm (from 0 to 2) (default epzs) Supported values: zero, epzs, xone.zero: 0: zeroepzs: 1: epzsxone: 2: xone | |
| mepc | int | Motion estimation bitrate penalty compensation (1.0 = 256) (from INT_MIN to INT_MAX) (default 256) | |
| mepre | int | pre motion estimation (from INT_MIN to INT_MAX) (default 0) | |
| intra_penalty | int | Penalty for intra blocks in block decision (from 0 to 1.07374e+09) (default 0) | |
| timecode_frame_start | string | GOP timecode frame start number, in non-drop-frame format (from -1 to I64_MAX) (default -1) | |
| b_strategy | int | Strategy to choose between I/P/B-frames (from 0 to 2) (default 0) | |
| lmin | int | minimum Lagrange factor (VBR) (from 0 to INT_MAX) (default 236) | |
| lmax | int | maximum Lagrange factor (VBR) (from 0 to INT_MAX) (default 3658) | |
| sc_threshold | int | Scene change threshold (from INT_MIN to INT_MAX) (default 0) | |
| dc | option_fixed | Intra DC precision in bits (deprecated FFmpeg option; 0 and 8 both mean 8 bits). Ignored when intra_dc_precision (0..3) is set. Supported values: 0, 8, 9, 10, 11. |
MPEG-4 Part 2 Video (ASP, SW)
Configuration Parameter: mpeg4
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| data_partitioning | int | 0 | Use data partitioning. Range: minimum 0.0; maximum 1.0. |
| mpv_flags | flags | Flags common for all mpegvideo-based encoders. RD optimal MB level residual skippingStrictly enforce GOP sizeUse rate distortion optimization for qp selectionuse rate distortion optimization for CBP Supported values: skip_rd, strict_gop, qp_rd, cbp_rd, naq, mv0.naq: normalize adaptive quantizationmv0: always try a mb with mv=<0,0> | |
| interlace | int | -1 | Interlacing: 1 - interlaced, 0 - progressive, -1 - auto. Range: minimum -1.0; maximum 1.0. |
| alternate_scan | option_fixed | Enable alternate scantable. (default false) Supported values: false, true. | |
| mpeg_quant | int | Use MPEG quantizers instead of H.263 (from 0 to 1) (default 0) | |
| b_sensitivity | int | Adjust sensitivity of b_frame_strategy 1 (from 1 to INT_MAX) (default 40) | |
| brd_scale | int | Downscale frames for dynamic B-frame decision (from 0 to 3) (default 0) | |
| luma_elim_threshold | int | single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| chroma_elim_threshold | int | single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| quantizer_noise_shaping | int | FFmpeg quantizer_noise_shaping option. (from 0 to INT_MAX) (default 0) | |
| error_rate | int | Simulate errors in the bitstream to test error concealment. (from 0 to INT_MAX) (default 0) | |
| qsquish | double | how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99) (default 0) | |
| rc_qmod_amp | double | experimental quantizer modulation (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_qmod_freq | int | experimental quantizer modulation (from INT_MIN to INT_MAX) (default 0) | |
| rc_eq | string | 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 | double | initial complexity for 1-pass encoding (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_buf_aggressivity | double | currently useless (from -FLT_MAX to FLT_MAX) (default 1) | |
| border_mask | double | increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0) | |
| skip_threshold | int | Frame skip threshold (from INT_MIN to INT_MAX) (default 0) | |
| skip_factor | int | Frame skip factor (from INT_MIN to INT_MAX) (default 0) | |
| skip_exp | int | Frame skip exponent (from INT_MIN to INT_MAX) (default 0) | |
| skip_cmp | option | Frame skip compare function (from INT_MIN to INT_MAX) (default dctmax) Supported values: sad, sse, satd, dct, psnr, bit, rd, zero, vsad, vsse, nsse, dct264, dctmax, chroma, msad.sad: 0: Sum of absolute differences, fastsse: 1: Sum of squared errorssatd: 2: Sum of absolute Hadamard transformed differencesdct: 3: Sum of absolute DCT transformed differencespsnr: 4: Sum of squared quantization errors, low qualitybit: 5: Number of bits needed for the blockrd: 6: Rate distortion optimal, slowzero: 7: Zerovsad: 8: Sum of absolute vertical differencesvsse: 9: Sum of squared vertical differencesnsse: 10: Noise preserving sum of squared differencesdct264: 14: dct264dctmax: 13: dctmaxchroma: 256: chromamsad: 15: Sum of absolute differences, median predicted | |
| noise_reduction | int | Noise reduction (from INT_MIN to INT_MAX) (default 0) | |
| ps | int | RTP payload size in bytes (from INT_MIN to INT_MAX) (default 0) | |
| motion_est | option | motion estimation algorithm (from 0 to 2) (default epzs) Supported values: zero, epzs, xone.zero: 0: zeroepzs: 1: epzsxone: 2: xone | |
| mepc | int | Motion estimation bitrate penalty compensation (1.0 = 256) (from INT_MIN to INT_MAX) (default 256) | |
| mepre | int | pre motion estimation (from INT_MIN to INT_MAX) (default 0) | |
| intra_penalty | int | Penalty for intra blocks in block decision (from 0 to 1.07374e+09) (default 0) | |
| b_strategy | int | Strategy to choose between I/P/B-frames (from 0 to 2) (default 0) | |
| lmin | int | minimum Lagrange factor (VBR) (from 0 to INT_MAX) (default 236) | |
| lmax | int | maximum Lagrange factor (VBR) (from 0 to INT_MAX) (default 3658) | |
| sc_threshold | int | Scene change threshold (from INT_MIN to INT_MAX) (default 0) |
OpenJPEG JPEG 2000
Configuration Parameter: libopenjpeg
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| format | option_fixed | jp2 | Codec Format. Possible values: j2k, jp2. Supported values: j2k, jp2. |
| profile | option_fixed | jpeg2000 | Profile name. Possible values: jpeg2000, cinema2k, cinema4k. Supported values: jpeg2000, cinema2k, cinema4k. |
| cinema_mode | option_fixed | off | Digital Cinema mode. Possible values: off, 2k_24, 2k_48, 4k_24 Supported values: off, 2k_24, 2k_48, 4k_24. |
| numresolution | int | 6 | Number of resolutions Range: minimum 0; maximum 33. |
| prog_order | option | Progression Order (from 0 to 4) (default lrcp) Supported values: lrcp, rlcp, rpcl, pcrl, cprl.lrcp: 0: lrcprlcp: 1: rlcprpcl: 2: rpclpcrl: 3: pcrlcprl: 4: cprl | |
| irreversible | int | FFmpeg irreversible option. (from 0 to 1) (default 0) | |
| disto_alloc | int | FFmpeg disto_alloc option. (from 0 to 1) (default 1) | |
| fixed_quality | int | FFmpeg fixed_quality option. (from 0 to 1) (default 0) |
PNG (Image Sequence, SW)
Configuration Parameter: png
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| dpi | int | Set image resolution (in dots per inch) (from 0 to 65536) (default 0) | |
| dpm | int | Set image resolution (in dots per meter) (from 0 to 65536) (default 0) | |
| pred | option | Prediction method (from 0 to 5) (default paeth) Supported values: none, sub, up, avg, paeth, mixed.none: 0: nonesub: 1: subup: 2: upavg: 3: avgpaeth: 4: paethmixed: 5: mixed | |
| compression_level | int | PNG/zlib compression level: -1 uses the library default, 0 disables compression, 9 maximizes compression. (from -1 to 9) |
QuickTime Animation (RLE, SW)
Configuration Parameter: qtrle
Uncompressed 4:2:2 10-bit (SW)
Configuration Parameter: v210
Uncompressed 4:2:2 8-bit (SW)
Configuration Parameter: rawvideo
VP8 (Google, SW)
Configuration Parameter: libvpx
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| cpu-used | int | 3 | Quality/Speed ratio modifier Range: minimum -16; maximum 16. |
| quality | option | good | Encoding quality (FFmpeg alias: deadline). SDK default good. Supported values: best, good, realtime.best: bestrealtime: realtime |
| max-intra-rate | int | -1 | Maximum I-frame bitrate (pct) 0=unlimited Range: minimum -1.0; maximum 2147483647. |
| speed | int | 3 | Encoding speed Range: minimum -16.0; maximum 16.0. |
| crf | int | -1 | Select the quality for constant quality mode Range: minimum -1; maximum 63.0. |
| lag-in-frames | int | 4 | Number of frames to look ahead for alternate reference frame selection Range: minimum -1.0; maximum 2147483647. |
| auto-alt-ref | int | -1 | Enable use of alternate reference frames (2-pass only) Range: minimum -1.0; maximum 2.0. |
| qmin | int | 4 | Min video quantizer scale (VBR) Range: minimum -1.0; maximum 69.0. |
| qmax | int | 48 | Max video quantizer scale (VBR) Range: minimum -1.0; maximum 1024.0. |
| arnr-maxframes | int | altref noise reduction max frame count (from -1 to INT_MAX) (default -1) | |
| arnr-strength | int | altref noise reduction filter strength (from -1 to INT_MAX) (default -1) | |
| arnr-type | option | altref noise reduction filter type (from -1 to INT_MAX) (default -1) Supported values: backward, forward, centered.backward: 1: backwardforward: 2: forwardcentered: 3: centered | |
| tune | option | Tune the encoding to a specific scenario (from -1 to INT_MAX) (default -1) Supported values: psnr, ssim.psnr: 0: psnrssim: 1: ssim | |
| error-resilient | flags | Error resilience configuration (default 0) Supported values: default, partitions.default: Improve resiliency against losses of whole framespartitions: The frame partitions are independently decodable by the bool decoder, meaning that partitions can be decoded even though earlier partitions have been lost. Note that intra prediction is still done over the partition boundary. | |
| static-thresh | int | A change threshold on blocks below which they will be skipped by the encoder (from 0 to INT_MAX) (default 0) | |
| drop-threshold | int | Frame drop threshold (from INT_MIN to INT_MAX) (default 0) | |
| noise-sensitivity | int | Noise sensitivity (from 0 to 4) (default 0) | |
| undershoot-pct | int | Datarate undershoot (min) target (%) (from -1 to 100) (default -1) | |
| overshoot-pct | int | Datarate overshoot (max) target (%) (from -1 to 1000) (default -1) | |
| ts-parameters | string | Temporal scaling configuration using a :-separated list of key=value parameters | |
| screen-content-mode | int | Encoder screen content mode (from -1 to 2) (default -1) | |
| vp8flags | flags | FFmpeg vp8flags option. (default 0) Supported values: error_resilient, altref.error_resilient: enable error resiliencealtref: enable use of alternate reference frames (VP8/2-pass only) | |
| arnr_max_frames | int | altref noise reduction max frame count (from 0 to 15) (default 0) | |
| arnr_strength | int | altref noise reduction filter strength (from 0 to 6) (default 3) | |
| arnr_type | int | altref noise reduction filter type (from 1 to 3) (default 3) | |
| rc_lookahead | int | Number of frames to look ahead for alternate reference frame selection (from 0 to 25) (default 25) | |
| sharpness | int | Increase sharpness at the expense of lower PSNR (from -1 to 7) (default -1) |
VP9 (Google, SW)
Configuration Parameter: libvpx-vp9
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| g | int | 75 | Keyframe interval, also known as GOP length. This determines the maximum distance between I-frames. Very high GOP lengths will result in slightly more efficient compression, but will make seeking in the video somewhat more difficult |
| auto-alt-ref | int | 0 | Enable use of alternate reference frames (2-pass only) Range: minimum -1.0; maximum 6. |
| lag-in-frames | int | 4 | Number of frames to look ahead for alternate reference frame selection Range: minimum -1.0; maximum 2147483647. |
| arnr-maxframes | int | 0 | altref noise reduction max frame count Range: minimum -1.0; maximum 2147483647. |
| arnr-strength | int | 3 | altref noise reduction filter strength Range: minimum -1.0; maximum 2147483647. |
| arnr-type | option | centered | Altref noise reduction filter type. Accepts named values. Supported values: backward, forward, centered.backward: backwardforward: forwardcentered: centered |
| arnr_type | int | 3 | Legacy numeric alias for the altref noise reduction filter type: 1=backward, 2=forward, 3=centered. Use arnr-type for named values. Supported values: 1, 2, 3.Range: minimum 1; maximum 3. |
| tune | option | Tune the encoding to a specific scenario Supported values: psnr, ssim.psnr: psnrssim: ssim | |
| quality | option | realtime | Encoding quality (FFmpeg alias: deadline). SDK default realtime. Supported values: best, good, realtime.best: bestgood: good |
| error-resilient | flags | Error resilience configuration Supported values: default, partitions.default: Improve resiliency against losses of whole framespartitions: The frame partitions are independently decodable by the bool decoder, meaning that partitions can be decoded even though earlier partitions have been lost. Note that intra predicition is still done over the partition boundary. | |
| max-intra-rate | int | -1 | Maximum I-frame bitrate (pct) 0=unlimited Range: minimum -1.0; maximum 2147483647. |
| er | option_fixed | Improve resiliency against losses of whole framesThe frame partitions are independently decodable by the bool decoder, meaning that partitions can be decoded even though earlier partitions have been lost. Note that intra predicition is still done over the partition boundary. Supported values: default, partitions. | |
| crf | int | 10 | Select the quality for constant quality mode Range: minimum -1.0; maximum 63.0. |
| static-thresh | int | 0 | A change threshold on blocks below which they will be skipped by the encoder Range: minimum 0.0; maximum 2147483647. |
| drop-threshold | int | 0 | Frame drop threshold Range: minimum -2147483648; maximum 2147483647. |
| noise-sensitivity | int | 0 | Noise sensitivity Range: minimum 0.0; maximum 4.0. |
| undershoot-pct | int | -1 | Datarate undershoot (min) target (%) Range: minimum -1.0; maximum 100.0. |
| overshoot-pct | int | -1 | Datarate overshoot (max) target (%) Range: minimum -1.0; maximum 1000.0. |
| cpu-used | int | 4 | Quality/Speed ratio modifier Range: minimum -8.0; maximum 8.0. |
| lossless | int | -1 | Lossless mode Range: minimum -1.0; maximum 1.0. |
| tile-columns | int | 2 | Number of tile columns to use, log2 Range: minimum -1.0; maximum 6.0. |
| tile-rows | int | -1 | Number of tile rows to use, log2 Range: minimum -1.0; maximum 2.0. |
| frame-parallel | option_fixed | true | Enable frame parallel decodability features Supported values: auto, false, true. |
| aq-mode | option | Adaptive quantization mode Supported values: none, variance, complexity, cyclic, equator360.none: Aq not usedvariance: Variance based Aqcomplexity: Complexity based Aqcyclic: Cyclic Refresh Aqequator360: 360 video Aq | |
| aq_mode | option_fixed | Aq not usedVariance based AqComplexity based AqCyclic Refresh Aq360 video Aq Supported values: none, variance, complexity, cyclic, equator360. | |
| level | double | -1.000000 | Specify level Range: minimum -1.0; maximum 6.2. |
| row-mt | option_fixed | true | Row based multi-threading Supported values: auto, false, true. |
| tune-content | option | Tune content type Supported values: default, screen, film.default: Regular video contentscreen: Screen capture contentfilm: Film content; improves grain retention | |
| tune_content | option_fixed | Regular video contentScreen capture contentFilm content; improves grain retention Supported values: default, screen, film. | |
| corpus-complexity | int | -1 | Corpus vbr complexity midpoint Range: minimum -1.0; maximum 10000.0. |
| speed | int | 5 | Encoding speed Range: minimum -16.0; maximum 16.0. |
| vp8flags | flags | VP8 compatibility flags. Supported values: error_resilient, altref.error_resilient: Enable error resilience.altref: Enable alternate reference frames in VP8 two-pass mode. | |
| arnr_max_frames | int | 0 | Altref noise reduction max frame count Range: minimum 0.0; maximum 15.0. |
| arnr_strength | int | 3 | Altref noise reduction filter strength Range: minimum 0.0; maximum 6.0. |
| rc_lookahead | int | 25 | Number of frames to look ahead for alternate reference frame selection Range: minimum 0.0; maximum 25.0. |
| qmin | int | 4 | Min video quantizer scale (VBR) Range: minimum -1.0; maximum 69.0. |
| qmax | int | 48 | Max video quantizer scale (VBR) Range: minimum -1.0; maximum 1024.0. |
| ts-parameters | string | Temporal scaling configuration using a :-separated list of key=value parameters | |
| enable-tpl | option_fixed | Enable temporal dependency model (default auto) Supported values: auto, false, true. | |
| min-gf-interval | int | Minimum golden/alternate reference frame interval (from -1 to INT_MAX) (default -1) | |
| sharpness | int | Increase sharpness at the expense of lower PSNR (from -1 to 7) (default -1) |
WMV8 (Windows Media Video 8, SW)
Configuration Parameter: wmv2
Additional attributes
| Name | Type | Default | Description |
|---|---|---|---|
| mpv_flags | flags | Flags common for all mpegvideo-based encoders. (default 0) Supported values: skip_rd, strict_gop, qp_rd, cbp_rd, naq, mv0.skip_rd: RD optimal MB level residual skippingstrict_gop: Strictly enforce gop sizeqp_rd: Use rate distortion optimization for qp selectioncbp_rd: use rate distortion optimization for CBPnaq: normalize adaptive quantizationmv0: always try a mb with mv=<0,0> | |
| luma_elim_threshold | int | single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| chroma_elim_threshold | int | single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0) | |
| quantizer_noise_shaping | int | FFmpeg quantizer_noise_shaping option. (from 0 to INT_MAX) (default 0) | |
| error_rate | int | Simulate errors in the bitstream to test error concealment. (from 0 to INT_MAX) (default 0) | |
| qsquish | double | how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99) (default 0) | |
| rc_qmod_amp | double | experimental quantizer modulation (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_qmod_freq | int | experimental quantizer modulation (from INT_MIN to INT_MAX) (default 0) | |
| rc_eq | string | 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 | double | initial complexity for 1-pass encoding (from -FLT_MAX to FLT_MAX) (default 0) | |
| rc_buf_aggressivity | double | currently useless (from -FLT_MAX to FLT_MAX) (default 1) | |
| border_mask | double | increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0) | |
| skip_threshold | int | Frame skip threshold (from INT_MIN to INT_MAX) (default 0) | |
| skip_factor | int | Frame skip factor (from INT_MIN to INT_MAX) (default 0) | |
| skip_exp | int | Frame skip exponent (from INT_MIN to INT_MAX) (default 0) | |
| skip_cmp | option | Frame skip compare function (from INT_MIN to INT_MAX) (default dctmax) Supported values: sad, sse, satd, dct, psnr, bit, rd, zero, vsad, vsse, nsse, dct264, dctmax, chroma, msad.sad: 0: Sum of absolute differences, fastsse: 1: Sum of squared errorssatd: 2: Sum of absolute Hadamard transformed differencesdct: 3: Sum of absolute DCT transformed differencespsnr: 4: Sum of squared quantization errors, low qualitybit: 5: Number of bits needed for the blockrd: 6: Rate distortion optimal, slowzero: 7: Zerovsad: 8: Sum of absolute vertical differencesvsse: 9: Sum of squared vertical differencesnsse: 10: Noise preserving sum of squared differencesdct264: 14: dct264dctmax: 13: dctmaxchroma: 256: chromamsad: 15: Sum of absolute differences, median predicted | |
| noise_reduction | int | Noise reduction (from INT_MIN to INT_MAX) (default 0) | |
| ps | int | RTP payload size in bytes (from INT_MIN to INT_MAX) (default 0) | |
| motion_est | option | motion estimation algorithm (from 0 to 2) (default epzs) Supported values: zero, epzs, xone.zero: 0: zeroepzs: 1: epzsxone: 2: xone | |
| mepc | int | Motion estimation bitrate penalty compensation (1.0 = 256) (from INT_MIN to INT_MAX) (default 256) | |
| mepre | int | pre motion estimation (from INT_MIN to INT_MAX) (default 0) | |
| intra_penalty | int | Penalty for intra blocks in block decision (from 0 to 1.07374e+09) (default 0) | |
| lmin | int | minimum Lagrange factor (VBR) (from 0 to INT_MAX) (default 236) | |
| lmax | int | maximum Lagrange factor (VBR) (from 0 to INT_MAX) (default 3658) | |
| sc_threshold | int | Scene change threshold (from INT_MIN to INT_MAX) (default 0) |
Still have questions?
Tell us what didn’t work or what you’d like clarified.