mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-10 00:44:52 -06:00
Remove outdated option lists for the hardware encoders. While we support some of the libavcodec hardware encoder options, many have caveats or have changed over time. As such, this information is dated. If someone wants to test and re-work this, feel free.
This commit is contained in:
parent
c54bef625d
commit
7c02975c77
@ -76,34 +76,3 @@ When using HandBrake’s graphical interface, set the options in the `Advanced O
|
||||
When using HandBrake’s command line interface, set the options using the `--encopts` parameter as follows:
|
||||
|
||||
--encopts="option1=value1:option2=value2"
|
||||
|
||||
### Option value types
|
||||
|
||||
The following value types are supported (each option only accepts one value type):
|
||||
|
||||
- integer
|
||||
A number that can be written without a fractional or decimal component.
|
||||
|
||||
- boolean
|
||||
0 means off (or disabled).
|
||||
1 means on (or enabled).
|
||||
|
||||
- string
|
||||
An alphanumeric string of characters. See the option’s comments for acceptable values.
|
||||
|
||||
### Options list
|
||||
|
||||
| Option | Type | H.264 | H.265 | Detail |
|
||||
|------------------|-------------|:-----:|:-----:|-----------------------------------------------------------------------------------------------------------|
|
||||
| coder | string | ✓ | | Coder selection. Values: `auto` (default), `cabac`, `cavlc`. |
|
||||
| temporal-aq | boolean | ✓ | | Set to `1` to enable Temporal Adaptive Quality, `0` to disable (default). Note the hyphen for H.264. |
|
||||
| temporal_aq | boolean | | ✓ | Set to `1` to enable Temporal Adaptive Quality, `0` to disable (default). Note the underscore for H.265. |
|
||||
| spatial-aq | boolean | ✓ | | Set to `1` to enable Spatial Adaptive Quality, `0` to disable (default). Note the hyphen for H.264. |
|
||||
| spatial_aq | boolean | | ✓ | Set to `1` to enable Spatial Adaptive Quality, `0` to disable (default). Note the underscore for H.265. |
|
||||
| aq-strength | int | ✓ | ✓ | When Spatial AQ is enabled, the values scale is `1` (low) – `15` (aggressive). Default: `8`. |
|
||||
| nonref_p | boolean | ✓ | ✓ | Set to `1` to enable automatic insertion of non-reference P-frames, `0` to disable (default). |
|
||||
| strict_gop | boolean | ✓ | ✓ | Set to `1` to minimize GOP-to-GOP rate fluctuations, `0` to disable (default). |
|
||||
| weighted_pred | boolean | ✓ | ✓ | Set to `1` to enable weighted prediction, `0` to disable (default). |
|
||||
| rc-lookahead | int | ✓ | ✓ | Number of frames to look ahead for rate control. Default: `0`. |
|
||||
| b_adapt | boolean | ✓ | | When lookahead is enabled, set this to `1` to enable adaptive B-frame decision (default), `0` to disable. |
|
||||
| no-scenecut | boolean | ✓ | ✓ | When lookahead is enabled, set this to `1` to disable adaptive I-frame insertion at scene cuts, `0` to enable (default). |
|
||||
|
||||
@ -99,121 +99,3 @@ If using HandBrake’s graphical interface, you can set the options in the `Adva
|
||||
If using HandBrake’s command line interface, use the `--encopts` parameter as follows:
|
||||
|
||||
--encopts="option1=value1:option2=value2"
|
||||
|
||||
### Option value types
|
||||
|
||||
The following value types are supported (each option only accepts one value type):
|
||||
|
||||
- integer
|
||||
A number that can be written without a fractional or decimal component.
|
||||
|
||||
- boolean
|
||||
0 means off (or disabled).
|
||||
1 means on (or enabled).
|
||||
|
||||
- string
|
||||
An alphanumeric string of characters. See the option’s comments for acceptable values.
|
||||
|
||||
### Options list
|
||||
|
||||
- target-usage (or tu) <integer>
|
||||
- Sets the trade-off between quality and speed, from 1 (best quality) to 7 (fastest speed).
|
||||
- Default: 2
|
||||
|
||||
- num-ref-frame (or ref) <integer>
|
||||
- Number of reference frames, from 1 to 16.
|
||||
- 0 means unspecified (set at runtime by the implementation).
|
||||
- Default: 0 (unspecified)
|
||||
|
||||
- gop-ref-dist <integer>
|
||||
- Distance between I or P reference frames, from 1 to 16.
|
||||
- -1 means automatic (4 in constant QP mode, 3 otherwise).
|
||||
- 0 means unspecified (set at runtime by the implementation).
|
||||
- 1 means B-frames will not be used.
|
||||
- Default: -1 (automatic)
|
||||
- Note: may be sanitized to a lower value in some cases to avoid hangs.
|
||||
|
||||
- gop-pic-size (or keyint) <integer>
|
||||
- Number of pictures within the current GOP (aka "keyframe interval").
|
||||
- -1 means automatic (32 in constant QP mode, 1 second long otherwise).
|
||||
- 0 means unspecified (set at runtime by the implementation).
|
||||
- 1 means only I-frames will be used.
|
||||
- 2 means B-frames will not be used.
|
||||
- Default: -1 (automatic)
|
||||
|
||||
- cavlc <boolean>
|
||||
- Use CAVLC instead of CABAC entropy coding. Reduces compression efficiency.
|
||||
- It may improve encoding performance slightly, especially on older hardware.
|
||||
- Note: you can also use `cabac` (same as `cavlc` with reversed meaning).
|
||||
- Default: 0 (CAVLC off, CABAC on)
|
||||
|
||||
- b-pyramid <integer>
|
||||
- Enables or disables "Pyramidal B-frames" which can improve compression efficiency.
|
||||
- It may be incompatible with some playback devices (such as the first generation AppleTV).
|
||||
- Note that this options modifies other parameters (gop-ref-dist, num-ref-frame, gop-pic-size).
|
||||
- -1 means automatic (on in constant QP mode, off otherwise).
|
||||
- 0 means off (disabled).
|
||||
- 1 means on (enabled).
|
||||
- Default: -1 (automatic)
|
||||
- Caveats: requires hardware support (4th gen. Intel Core processor or equivalent), and driver support for version 1.6 of the Media SDK API.
|
||||
|
||||
- mbbrc <boolean>
|
||||
- Enables macroblock-level bitrate control that generally improves subjective visual quality.
|
||||
- It may have a negative impact on performance and objective visual quality metrics.
|
||||
- Default: 1 (on)
|
||||
- Note: not compatible with Constant QP or LookAhead rate control methods (ignored).
|
||||
- Caveats: requires hardware support (4th gen. Intel Core processor or equivalent), and driver support for version 1.6 of the Media SDK API.
|
||||
|
||||
- extbrc <boolean>
|
||||
- Use extended bitrate control algorithms.
|
||||
- It generally improves objective visual quality metrics and subjective visual quality,
|
||||
- but can also lead to violation of HRD conformance and may significantly reduce performance.
|
||||
- Default: 0 (off)
|
||||
- Note: not compatible with Constant QP or LookAhead rate control methods (ignored).
|
||||
- Caveats: requires driver support for version 1.6 of the Media SDK API.
|
||||
|
||||
- trellis <integer>
|
||||
- Enables trellis quantization.
|
||||
- 0 means trellis is disabled.
|
||||
- 1 means trellis is enabled for I-frames only.
|
||||
- 2 means trellis is enabled for I and P-frames.
|
||||
- 3 means trellis is enabled for all frames (I, P and B).
|
||||
- Default: 0 (disabled)
|
||||
- Note: ignored if the target-usage is too low (usually, only works in combination with tu=1).
|
||||
- Caveats: requires hardware support (4th gen. Intel Core processor or equivalent), and driver support for version 1.7 of the Media SDK API.
|
||||
|
||||
- lookahead (or la) <boolean>
|
||||
- Use the LookAhead (LA or LA_ICQ) bitrate control algorithm.
|
||||
- Default: 1 (on)
|
||||
- Caveats: requires hardware support (4th gen. Intel Core processor or equivalent), and driver support for version 1.7 (1.8 for LA_ICQ) of the Media SDK API.
|
||||
|
||||
- lookahead-depth (or la-depth) <integer>
|
||||
- If LookAhead bitrate control is enabled, number of frames that are analyzed before encoding, from 11 to 60.
|
||||
- Default: 40
|
||||
- Note: may be sanitized to a lower value in some cases to avoid hangs.
|
||||
- Caveats: requires hardware support (4th gen. Intel Core processor or equivalent), and driver support for version 1.7 of the Media SDK API.
|
||||
|
||||
- force-cqp <boolean>
|
||||
- In Constant Quality mode, use Constant QP rate control, even if Intelligent Constant Quality is available.
|
||||
- Default: 0 (ICQ enabled if available)
|
||||
|
||||
- cqp-offset-i <integer> | cqp-offset-p <integer> | cqp-offset-b <integer>
|
||||
- In constant QP (CQP) bitrate control mode, specify offset from the global quality/QP value for I, P and B-frames.
|
||||
- Defaults are 0, 2 and 4, respectively.
|
||||
|
||||
- vbv-maxrate <integer>
|
||||
- Sets the maximum rate the VBV buffer should be assumed to refill at, in kilobits per second (Kbps).
|
||||
- Default: 0 (set at runtime by the implementation)
|
||||
- Note: not compatible with Constant QP, Intelligent Constant Quality or LookAhead rate control methods (ignored).
|
||||
|
||||
- vbv-bufsize <integer>
|
||||
- Sets the size of the VBV buffer in kilobits (Kb).
|
||||
- Default: 0 (set at runtime by the implementation)
|
||||
- Note: not compatible with Constant QP, Intelligent Constant Quality or LookAhead rate control methods (ignored).
|
||||
|
||||
- vbv-init <float>
|
||||
- Sets how full the VBV Buffer must be before playback starts.
|
||||
- If it is less than 1, then the initial fill is: vbv-init * vbv-bufsize.
|
||||
- Otherwise it is interpreted as the initial fill in kilobits (Kb).
|
||||
- Default: 0 (set at runtime by the implementation)
|
||||
- Note: not compatible with Constant QP, Intelligent Constant Quality or LookAhead rate control methods (ignored).
|
||||
|
||||
@ -96,38 +96,3 @@ If using HandBrake’s graphical interface, you can set the options in the `Adva
|
||||
If using HandBrake’s command line interface, use the `--encopts` parameter as follows:
|
||||
|
||||
--encopts="option1=value1:option2=value2"
|
||||
|
||||
|
||||
### Option value types
|
||||
|
||||
The following value types are supported (each option only accepts one value type):
|
||||
|
||||
- integer
|
||||
A number that can be written without a fractional or decimal component.
|
||||
|
||||
- boolean
|
||||
0 means off (or disabled).
|
||||
1 means on (or enabled).
|
||||
|
||||
- string
|
||||
An alphanumeric string of characters. See the option’s comments for acceptable values.
|
||||
|
||||
### Options list
|
||||
|
||||
| Option | Type | H.264 | H.265 | Detail |
|
||||
|-----------------------|-------------|:-----:|:-----:|--------------------------------------------------------------------------------------|
|
||||
| usage | string | ✓ | ✓ | Options: `transcoding`, `ultralowlatency`, `lowlatency`, `webcam` |
|
||||
| coder | string | ✓ | | Coder selection. Values: `auto` (default), `cabac`, `cavlc`. |
|
||||
| preanalysis | boolean | ✓ | ✓ | Set to `1` to enable preliminary analysis, `0` to disable (default). |
|
||||
| vbaq | boolean | ✓ | ✓ | Set to `1` to enable Variance Based Adaptive Quantization, `0` to disable (default). |
|
||||
| enforce_hrd | boolean | ✓ | ✓ | Set to `1` to enforce Hypothetical Reference Decoder, `0` to disable (default). |
|
||||
| max_au_size | int | ✓ | ✓ | Maximum Access Unit size for rate control, in bits. Default: `0` (automatic). |
|
||||
| me_half_pel | boolean | ✓ | ✓ | Set to `1` to enable half-pixel motion estimation (default), `0` to disable. |
|
||||
| me_quarter_pel | boolean | ✓ | ✓ | Set to `1` to enable quarter-pixel motion estimation (default), `0` to disable. |
|
||||
| bf_delta_qp | int | ✓ | | B-Picture Delta QP. The values scale is `-10`–`10`. Default: `4`. |
|
||||
| bf_ref | boolean | ✓ | | Set to `1` to enable Reference B-Frames (default), `0` to disable. |
|
||||
| bf_ref_delta_qp | int | ✓ | | Reference B-Picture Delta QP. The values scale is `-10`–`10`. Default: `4`. |
|
||||
| intra_refresh_mb | int | ✓ | | Number of Intra-Refresh Macroblocks per slot. Default: `0` (automatic). |
|
||||
| header_insertion_mode | string | | ✓ | Options: `none`, `gop`, `idr` |
|
||||
| gops_per_idr | int | | ✓ | GOPs per IDR 0-no IDR will be inserted |
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user