QSVEnc encodes H.264, H.265/HEVC and AV1 on the video engine of Intel graphics processors (Quick Sync Video). Hybrid drives rigaya's command line tool QSVEncC for it. Hardware encoding is much faster than a software encoder and needs more bit rate for the same quality; which modes and options are available depends on the GPU and its driver.
Base → Video: QSVEnc, then the QSVEnc tab
What it does
QSVEncC hands the frames to the encoder built into the Intel GPU. The GPU decides most of the coding details on its own; the options select the codec, the rate control and a number of tools the hardware may or may not offer. The rate control modes are:
- constant quantizer (CQP): fixed quantizers for I-, P- and B-frames.
- icq and icq with lookahead: Intelligent Constant Quality, a constant quality target comparable to CRF; the lookahead variant analyses the coming frames first.
- constant bitrate, variable bitrate, average bitrate (AVBR): bit rate based modes with different tolerance for fluctuation.
- quality variable bitrate (QVBR): variable bit rate that also keeps a quality target.
- bitrate with lookahead and bitrate with hrd lookahead: bit rate modes with lookahead, the second one obeys the decoder buffer model.
- Video conference (VCM): a low-delay mode for video calls.
QSVEncC can also decode the source on the GPU and apply its own filters (crop, resize, denoise, sharpen, deband, tone mapping). Hybrid offers this as Only use encoder; see the Hardware sub-tab.
Requirements
- An Intel GPU with Quick Sync Video (integrated graphics or an Arc card) and a current Intel graphics driver. Without one Hybrid does not offer QSVEnc.
- QSVEncC, which is part of Hybrid on Windows.
- What the GPU supports differs by generation: H.264 everywhere, H.265 and 10 bit on newer generations, AV1 only on Arc cards and recent integrated graphics. Hybrid asks QSVEncC for the features of the installed GPU, offers only the rate control modes it reports for the chosen codec and locks the controls it does not support.
Settings
The option column shows the QSVEncC option a control ends up as. "Feature" in the Meaning column means: the control is only available, and the option is only written, when the GPU reports that feature for the selected codec and encoding mode.
Base
General Settings
The group shows only the controls of the selected encoding mode.
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Encoding mode |
--cqp, --icq, --la-icq, --cbr, --avbr, --vbr, --qvbr, --la, --la-hrd, --vcm |
constant quantizer, icq, icq with lookahead, constant bitrate, average bitrate, variable bitrate, quality variable bitrate, bitrate with lookahead, bitrate with hrd lookahead, Video conference |
constant quantizer |
Rate control mode, see above. The list only contains the modes the GPU reports for the selected codec.
|
| Frame quantizer (I/P/B) |
--cqp I:P:B |
1 – 51 each |
24 / 26 / 27 |
Quantizers of the constant quantizer mode for I-, P- and B-frames. Lower is better and bigger; I-frames usually get the lowest value because the other frames refer to them.
|
| Quantization strength |
--icq, --la-icq |
1 – 51 |
23 |
Quality target of the two ICQ modes; lower is better and bigger.
|
| Bitrate (kbit/s) (QVBR) |
--qvbr |
16 – 245760 |
selected, 1500 |
Target bit rate of QVBR, always written. Selected alone, QSVEncC uses its default quality (23).
|
| Quantizer (QVBR) |
--qvbr-q |
0 – 51 |
not selected, 23 |
Adds this quality target to the QVBR bit rate; lower is better and bigger.
|
| Bitrate (kbit/s) |
--cbr, --avbr, --vbr, --la, --la-hrd, --vcm |
16 – 245760 |
1500 |
Target bit rate of the bit rate based modes.
|
| Maximum Bitrate (kbit/s) |
--max-bitrate |
16 – 245760 |
245760 |
Upper limit of the bit rate. Written in the variable bitrate, QVBR, lookahead and Video conference modes.
|
| Average Bitrate unit size |
--avbr-unitsize |
1 – 1000 |
90 |
Period over which AVBR averages its bit rate, in units of 100 frames. A longer period lets the rate vary more between scenes. Only with average bitrate.
|
| Target mode |
– |
custom, 1/4 CD … 1 BD 50 |
custom |
Aims at a file size instead of a bit rate: picks a common medium size and makes Hybrid compute the video bit rate from the size, the length and the other streams.
|
| Target size (MiB) |
(bit rate) |
0.2 MiB and up, step 0.1 |
700 |
File size to aim at. Editable when Target mode is custom and the size is used instead of the bit rate.
|
Restrictions
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Format |
--codec |
H.264, H.265, AV1 |
H.264 |
Codec to encode (h264, hevc, av1). It switches the profile row below and the H.264 only / H.265 only groups on the Misc sub-tab.
|
| Profile@Level (H.264) |
--profile, --level |
auto, baseline, main, high @ auto, 1, 1b, 1.1 … 5.2 |
auto @ auto |
H.264 profile (the coding tools a decoder must support) and level (the upper limit for frame size, frame rate and bit rate). auto lets the encoder choose from the video. Locked with Blu-ray compatible.
|
| Profile@Level@Tier (H.265) |
--profile, --level, --tier |
auto, main, main10 @ auto, 1, 2, 2.1, 3, 3.1, 4, 4.1, 5, 5.1, 5.2, 6, 6.1, 6.2 @ main, high |
auto @ auto @ high |
H.265 profile, level and tier. main10 is only offered when the GPU can encode 10 bit. The high tier raises the bit rate limit of a level; QSVEncC's own default is main.
|
| Profile@Level (AV1) |
--profile, --level |
auto, main, high, pro @ auto, 2 … 7.3 |
auto @ auto |
AV1 profile and level. main covers 8 and 10 bit 4:2:0.
|
| Blu-ray compatible |
--bluray |
on/off |
off |
Restricts the H.264 stream to what Blu-ray accepts; profile and level are then left to QSVEncC and not written. H.264 only, and not in the constant quantizer and constant bitrate modes.
|
Rate Control
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Macroblock RC |
--mbbrc / --no-mbbrc |
on/off |
on |
Rate control per macroblock instead of per frame, which moves bits inside a frame to where they are needed. Feature.
|
| Extended RC |
--extbrc / --no-extbrc |
on/off |
on |
Uses the extended rate control of the encoder. Feature; with extBRC on, --extbrc is written.
|
| Quantizer (min/max) |
--qp-min, --qp-max |
0 – 51 each |
0 / 0 |
Limits the quantizer the rate control may use. 0 leaves a limit unset and the option away. Feature.
|
Other controls
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Quality |
--quality |
best, higher, high, balanced, fast, faster, fastest |
balanced |
Speed/quality preset of the hardware encoder. Slower presets compress better, but the difference is smaller than with a software encoder.
|
| Trellis |
--trellis |
off, i, ip, all, auto |
auto |
Rate-distortion optimized quantization for I-frames, I- and P-frames or all frames. Feature.
|
| Bit depth |
--output-depth |
8-bit, 10-bit |
8-bit |
Bit depth of the encoded stream. 10-bit is only offered when the GPU reports 10 bit encoding for the codec and mode.
|
| Sampling |
--output-csp |
yuv420, yuv422, yuv444 |
yuv420 |
Chroma format of the encoded stream. Everything above 4:2:0 needs a GPU and a profile that support it, and few players decode it.
|
| Motion vector scaling |
--mv-scaling |
0 – 3 |
0 |
Scales the cost of motion vectors in the mode decision: 0 sets the cost to zero, 1, 2 and 3 use 1/2, 1/4 and 1/8 of the default cost. Feature.
|
| Input buffer |
--input-buf |
1 – 16 |
3 |
Number of frames buffered in front of the encoder. A larger buffer smooths out a slow source and costs memory.
|
| Lookahead quality |
--la-quality |
auto, fast, normal (written as medium), slow |
auto |
How thoroughly the lookahead analyses the coming frames; the faster settings work on a downscaled picture. Feature.
|
| Lookahead depth |
--la-depth |
10 – 100 |
10 |
Number of frames the rate control looks ahead. Only in icq with lookahead and the two bitrate lookahead modes.
|
| Lookahead window |
--la-window-size |
0 – 250 |
15 |
Window in frames inside which the bit rate has to be kept (windowed rate control). Written in the same three lookahead modes when the GPU reports windowed rate control. Feature.
|
| extBRC |
--extbrc |
on/off |
off |
Writes --extbrc also when the GPU does not report Extended RC; when it does, it switches Extended RC on.
|
Frame
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Max GOP size |
--gop-len |
0 – 10000 |
0 |
Longest distance between key frames. 0 lets QSVEncC choose (ten times the frame rate).
|
| Open GOP |
--open-gop |
on/off |
off |
Lets frames refer across the GOP border. Saves bits, but the borders are no longer clean cut points. Switches Strict GOP off.
|
| Strict GOP |
--strict-gop |
on/off |
off |
Forces the configured GOP structure without any deviation. Switches Open GOP off.
|
| Adaptive frame placement for: I- frames |
--i-adapt / --no-i-adapt |
on/off |
on |
Lets the encoder insert I-frames where the content calls for it, e.g. at scene changes. Feature.
|
| Adaptive frame placement for: B- frames |
--b-adapt / --no-b-adapt |
on/off |
on |
Lets the encoder decide how many B-frames to use at each position. Feature.
|
| Slice count |
--slices |
0 – 16 |
0 |
Number of slices per frame; 0 lets the encoder decide.
|
| Maximum number of consecutive b-frames |
--bframes |
0 – 16 (15 with B-frame Pyramid; AV1: 8 / 7) |
3 |
Upper limit of B-frames in a row.
|
| B-frame Pyramid |
--b-pyramid / --no-b-pyramid |
on/off |
on |
Lets B-frames be references for other B-frames. Needs at least one B-frame; with more than one B-frame the GPU must also support the combination. Feature.
|
| Direct bias |
--direct-bias-adjust / --no-direct-bias-adjust |
on/off |
off |
Lowers the use of direct and skip blocks in B-frames. Feature.
|
| Weighted P-Frames |
--weightp / --no-weightp |
on/off |
on |
Weighted prediction for P-frames, which helps in fades and brightness changes. Feature.
|
| Weighted B-Frames |
--weightb / --no-weightb |
on/off |
on |
Weighted prediction for B-frames. Needs B-frames. Feature.
|
| Fade detection |
--fade-detect / --no-fade-detect |
on/off |
on |
Detects fades and sets the prediction weights for them. Feature.
|
| SAO |
--sao |
auto, none, luma, chroma, all |
auto |
Sample adaptive offset, the H.265 in-loop filter against ringing and banding. Feature (H.265).
|
| Max ctu size |
--ctu |
auto, 16, 32, 64 |
auto |
Largest coding tree unit of H.265. Large units are efficient in flat areas. Feature (H.265).
|
VUI/Color
These controls only set flags in the stream; they do not change the picture. The whole group needs the VUI feature. Each row has a check box that enables the flag and a value.
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Overscan |
--overscan |
undef, show, crop |
off |
Whether a display may cut off the picture edge.
|
| Video format |
--videoformat |
undef, component, pal, ntsc, secam, mac |
off |
Original video system.
|
| Color range |
--fullrange |
limited, full |
on, limited |
Value range of the video. Only full is written; limited is what a decoder assumes anyway.
|
| Color primaries |
--colorprim |
undef, bt709, bt470m, bt470bg, smpte170m, smpte240m, film, bt2020 |
off |
Color primaries.
|
| Transfer characteristics |
--transfer |
undef, auto, bt709, … smpte2084, arib-std-b67 |
off |
Transfer function (gamma, PQ, HLG).
|
| Color matrix |
--colormatrix |
undef, auto, bt709, smpte170m, bt470bg, smpte240m, YCgCo, fcc, GBR, bt2020nc, bt2020c |
on |
Matrix for the YUV ↔ RGB conversion.
|
| Chroma sample location |
--chromaloc |
0 – 5 |
off, 0 |
Position of the chroma samples.
|
| Crop (left/top/right/bottom) |
--crop |
0 – 8192 each |
0 |
Shows the crop values of Crop/Resize, where they are set. They are passed to QSVEncC only with Only use encoder; otherwise the filter script crops.
|
Adjust Color
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| matrix |
– |
on/off |
on |
Sets Color matrix to the matrix of the video that reaches the encoder. Switch it off to choose a value by hand.
|
| transfer |
– |
on/off |
on |
The same for Transfer characteristics.
|
| primes |
– |
on/off |
on |
The same for Color primaries.
|
| luma |
– |
on/off |
on |
The same for Color range.
|
HDR Signaling
A checkable group, available for H.265 only. The same switch appears on the Misc sub-tab.
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| HDR Signaling |
– |
on/off |
off |
Enables the HDR metadata below.
|
| Light Level, max cll, max fall |
--max-cll |
0 – 65535 each |
off, 1000 / 300 |
Maximum content light level and maximum frame-average light level in nits. Not written when both are 0.
|
| from Input (Light Level) |
– |
on/off |
on |
Takes both values from the source when it is analysed. Available with Light Level on.
|
| Master Display |
--master-display |
text |
off, empty |
Mastering display data (SMPTE ST 2086) in the form G(x,y)B(x,y)R(x,y)WP(x,y)L(max,min).
|
| from Input (Master Display) |
– |
on/off |
on |
Takes the mastering display data from the source when it is analysed. Available with Master Display on.
|
HDR to SDR
A checkable group. Tone mapping of an HDR10 source to SDR on the GPU, written as --vpp-colorspace hdr2sdr=….
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| HDR to SDR |
--vpp-colorspace |
on/off |
off |
Enables the tone mapping.
|
| Mode |
hdr2sdr= |
hable, mobius, reinhard, bt2390 |
hable |
Tone mapping curve. hable keeps detail in bright and dark areas but gives a rather dark picture, mobius keeps contrast and color and may lose bright detail, reinhard is a simple curve with a contrast setting, bt2390 follows ITU-R BT.2390 and has no parameters.
|
| Source peak |
source_peak= |
0 – 10000 |
1000 |
Peak brightness of the HDR source in nits.
|
| LDR nits |
ldr_nits= |
0 – 10000 |
100 |
Peak brightness of the SDR target in nits.
|
| a, b, c, d, e, f |
a= … f= |
0 – 1 each, step 0.01 |
0.22, 0.3, 0.1, 0.2, 0.01, 0.3 |
Parameters of the hable curve: shoulder strength, linear strength, linear angle, toe strength, toe numerator and toe denominator. Only with mode hable.
|
| Transition, Peak (mobius) |
transition=, peak= |
0 – 1; 0 – 10 |
0.3 / 1 |
Threshold at which the curve changes from linear to mobius, and the reference peak brightness. Only with mode mobius.
|
| Contrast, Peak (reinhard) |
contrast=, peak= |
0 – 10 each |
0.5 / 1 |
Local contrast coefficient and reference peak brightness. Only with mode reinhard.
|
Hardware
With Only use encoder QSVEncC reads and decodes the source itself and Hybrid uses neither a filter script nor ffmpeg for the video. All other controls of this sub-tab are filters of QSVEncC and only available in that mode.
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Only use encoder |
--avhw |
on/off |
off |
Lets QSVEncC decode the source on the GPU and do crop, resize, letterboxing and the filters below itself. Fastest path, but none of Hybrid's Avisynth or Vapoursynth filters are applied.
|
| Resizer |
--vpp-resize, --output-res |
auto, bilinear, spline16, spline36, spline64, lanczos2, lanczos3, lanczos4, bicubic, advanced, simple, fine |
auto |
Scaling method for the resize to the output resolution set in Crop/Resize.
|
| Field order |
--tff / --bff, --vpp-deinterlace …_tff/_bff |
auto, bff, tff, none |
auto |
Field order for interlaced encoding and for the QSVEnc deinterlacers. auto takes it from the scan type of the video; none writes no field order for interlaced encoding.
|
Denoise
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Denoise: KNN |
--vpp-knn |
on/off |
off |
K-nearest-neighbour denoising: each pixel is averaged with similar pixels around it.
|
| Radius |
radius= |
1 – 100 |
3 |
Radius of the neighbourhood.
|
| Strength |
strength= |
0 – 1 |
0.08 |
Strength of the denoising.
|
| Lerp strength |
lerp= |
0 – 1 |
0.2 |
Mix of original and filtered pixel; lower values denoise more.
|
| Lerp threshold |
th_lerp= |
0 – 1 |
0.8 |
Edge detection threshold; higher values preserve edges better.
|
| Denoise: PMD |
--vpp-pmd |
on/off |
off |
Perona-Malik diffusion: smooths along edges, not across them; gentler than KNN.
|
| Count |
apply_count= |
1 – 100 |
2 |
Number of passes.
|
| Strength |
strength= |
0 – 100 |
100 |
Strength of the denoising.
|
| Threshold |
threshold= |
0 – 255 |
100 |
Edge threshold; lower values preserve edges better.
|
| Smooth |
--vpp-smooth |
on/off |
off |
Denoising in the frequency domain, meant for compression artefacts such as blocking and mosquito noise.
|
| Quality |
quality= |
1 – 6 |
3 |
Quality of the filter; higher is slower.
|
| Strength |
qp= |
1 – 63 |
12 |
Strength of the filter.
|
| Precision |
prec= |
fp16, fp32 |
fp16 |
Calculation precision: 16 bit floating point is faster, 32 bit more exact.
|
Sharpen
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Unsharpen |
--vpp-unsharp |
on/off |
off |
Sharpening with an unsharp mask. It also sharpens noise, so denoise first.
|
| Radius |
radius= |
1 – 9 |
3 |
Range of the edge detection.
|
| Weight |
weight= |
0 – 10 |
0.5 |
Strength of the sharpening.
|
| Threshold |
threshold= |
0 – 255 |
10 |
Smallest brightness difference that is sharpened.
|
| Edge Level |
--vpp-edgelevel |
on/off |
off |
Edge enhancement.
|
| Strength |
strength= |
-31 – 31 |
0 |
Strength of the enhancement; negative values soften edges.
|
| Threshold |
threshold= |
0 – 255 |
20 |
Differences below this are treated as noise and left alone.
|
| Black, White |
black=, white= |
0 – 31 each |
0 / 0 |
How much the dark side of an edge may be darkened and the bright side brightened.
|
| WarpSharp |
--vpp-warpsharp |
on/off |
off |
Sharpens by warping the picture towards the edges.
|
| Threshold |
threshold= |
0 – 255 |
128 |
Threshold of the edge detection; higher sharpens more.
|
| Blur |
blur= |
1 – 100 |
1 |
Number of blur passes on the edge mask; more passes weaken the sharpening.
|
| Type |
type= |
13x13, 5x5 |
13x13 |
Size of the blur. 5x5 gives better quality but needs more blur passes.
|
| Depth |
depth= |
-128 – 128 |
16 |
Warp depth; higher sharpens more.
|
| Chroma |
chroma= |
luma mask, individual mask |
luma mask |
Processes chroma with the luma mask or with a mask of its own.
|
| Detail enhance |
--vpp-detail-enhance |
0 – 100 |
0 |
Strength of Intel's detail enhancement filter; 0 writes nothing. Feature.
|
Color and geometry
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Tweak |
--vpp-tweak |
on/off |
off |
Enables the picture adjustments below.
|
| Brightness |
brightness= |
-1 – 1 |
0 |
Brightness offset.
|
| Contrast |
contrast= |
-2 – 2 |
1 |
Contrast multiplier.
|
| Gamma |
gamma= |
0.1 – 10 |
1 |
Gamma correction; changes the mid tones and leaves black and white in place.
|
| Saturation |
saturation= |
0 – 3 |
1 |
Saturation multiplier.
|
| Hue |
hue= |
-180 – 180 |
0 |
Hue rotation in degrees.
|
| Swap UV |
swapuv= |
on/off |
off |
Swaps the two chroma planes, for sources with exchanged color channels.
|
| Rotate |
--vpp-rotate |
90, 180, 270 |
off, 90 |
Rotates the picture; 90 and 270 swap width and height.
|
| Transpose |
--vpp-transform |
on/off |
off |
Enables the three switches of the Flip row.
|
| Flip: X, Y, Transpose |
flip_x=, flip_y=, transpose= |
on/off each |
off |
Mirror horizontally, mirror vertically, mirror along the diagonal. They can be combined.
|
| LUT |
--vpp-colorspace lut3d= |
.cube file |
off, empty |
Applies a 3D LUT to the video. Select picks the file.
|
| Interpolator |
lut3d_interp= |
nearest, trilinear, tetrahedral |
tetrahedral |
Interpolation between the nodes of the LUT.
|
Deband
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Deband |
--vpp-deband |
on/off |
off |
Removes banding in gradients and adds dither so that it does not return in the encode.
|
| Range |
range= |
0 – 127 |
15 |
Range of the filter.
|
| Sample |
sample= |
0 – 2 |
1 |
Sampling mode.
|
| Threshold |
thre= |
0 – 31 |
15 |
Largest difference that is still treated as banding, for all planes.
|
| Split (Y/Cb/Cr) |
thre_y=, thre_cb=, thre_cr= |
0 – 31 each |
off, 15 / 15 / 15 |
Separate thresholds per plane instead of the common one.
|
| Dither |
dither= |
0 – 31 |
15 |
Dither strength for all planes.
|
| Split (Y/C) |
dither_y=, dither_c= |
0 – 31 each |
off, 15 / 15 |
Separate dither strength for luma and chroma.
|
| Seed |
seed= |
0 – 99999 |
1234 |
Seed of the random numbers.
|
| Blur first |
blurfirst= |
on/off |
off |
Blurs before the banding detection.
|
| Random each frame |
rand_each_frame= |
on/off |
off |
Uses new random numbers for every frame.
|
Misc
H.264 only
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Interlaced encoding |
--tff / --bff |
on/off |
off |
Encodes interlaced; the field order follows Field order (auto: the video). Feature. Not written when a QSVEnc deinterlacer is active.
|
| Deblock |
--no-deblock (when off) |
on/off |
on |
The in-loop deblocking filter of H.264. It can only be switched off when the GPU reports that feature.
|
H.265 only
These controls sit inside the HDR Signaling group, which carries the same switch as on the VUI/Color sub-tab.
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Dynamic HDR-10+ |
--dhdr10-info |
JSON file |
off, empty |
Writes HDR10+ dynamic metadata from a JSON file into the stream. Add picks the file.
|
| ATC |
--atc-sei |
undef, auto, bt709, … smpte2084, smpte428, arib-std-b67 |
off, undef |
Writes the alternative transfer characteristics SEI. Needed for HLG, where it is set to arib-std-b67.
|
Misc
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| calc SSIM |
--ssim |
on/off |
off |
Lets QSVEncC compute the SSIM of the encode and report it in the log. Costs speed.
|
| calc PSNR |
--psnr |
on/off |
off |
The same for PSNR.
|
| No too small warning |
– |
on/off |
off |
No warning when the computed file size is below 1 MB.
|
Other controls
| Control |
QSVEncC option |
Range / values |
Hybrid default |
Meaning
|
| Hyper mode |
--hyper-mode |
off, on, adaptive |
on |
Intel Deep Link Hyper Encode, which uses the integrated and the dedicated Intel GPU together. adaptive uses it whenever the settings allow. Not written when off; QSVEncC's own default is off. Feature.
|
| Fixed function |
--fixed-func |
on/off |
off |
Uses the fixed-function (low power) encoder of the GPU instead of the one running on its execution units. Feature.
|
| DirectSynthLoading |
--avs, --vpy |
on/off |
off |
Lets QSVEncC open the Avisynth or Vapoursynth script itself instead of getting the video piped as y4m.
|
| MT |
--vpy-mt |
on/off |
off |
Opens a Vapoursynth script with QSVEncC's multi-threaded reader. Available with DirectSynthLoading on.
|
| Custom command line addition |
(appended) |
text |
empty |
Text that is appended to the options unchanged, for options Hybrid does not offer. It is not checked.
|
The Configuration row below the tabs saves, loads and deletes named sets of all QSVEnc settings.
Example
Typical call (composed from the rules Hybrid uses, not measured): H.265, icq 23, profile main10, 10-bit 4:2:0 output, quality balanced, a 25 fps source fed from a Vapoursynth script. Which of the on/off options appear depends on the features of the GPU.
vspipe "encodingTempSynthSkript.vpy" - --outputindex 0 -c y4m --progress | QSVEncC --y4m -i - --input-buf 3 --slices 0 --fps 25/1 --codec hevc --sar 1:1 --icq 23 --profile main10 --level auto --tier high --quality balanced --bframes 3 --gop-len 0 --sao auto --i-adapt --weightp --b-adapt --weightb --b-pyramid --mbbrc --extbrc --ctu auto --colormatrix bt709 --fade-detect --output-csp yuv420 --output-depth 10 --output-file "video.265"
The same settings with Only use encoder, a resize to 1280x720 and KNN denoising; QSVEncC reads the source itself:
QSVEncC --avhw -i "source.mkv" --input-buf 3 --slices 0 --fps 25/1 --codec hevc --sar 1:1 --icq 23 --profile main10 --level auto --tier high --quality balanced --bframes 3 --gop-len 0 --sao auto --vpp-resize auto --output-res 1280x720 --vpp-knn radius=3,strength=0.08,lerp=0.2,th_lerp=0.8 --i-adapt --weightp --b-adapt --weightb --b-pyramid --mbbrc --extbrc --ctu auto --colormatrix bt709 --fade-detect --output-csp yuv420 --output-depth 10 --output-file "video.265"
How Hybrid calls it
- The filter script (Vapoursynth or AviSynth) is piped into QSVEncC as y4m; without a script ffmpeg decodes the source and pipes it. With DirectSynthLoading QSVEncC opens the script itself (
--avs, --vpy, --vpy-mt).
- With Only use encoder the call uses
--avhw and the source file; crop (--crop), resize (--vpp-resize, --output-res), letterboxing (--vpp-pad, only with even border sizes) and the filters of the Hardware sub-tab are then added to it.
- QSVEncC writes a raw stream (.264, .265 or .av1); Hybrid muxes it into the chosen container in a separate job.
--input-buf, --slices, --fps, --codec, --sar, the rate control option, profile and level, --quality, --bframes, --gop-len, --output-csp and --output-depth are always written.
- Most on/off options are written in both forms (
--x or --no-x), but only when the GPU reports the feature for the selected codec and encoding mode. The features are read from QSVEncC once and cached.
- The pixel aspect ratio comes from Crop/Resize.
- The deinterlacers Deinterlace (QSVEnc), IVTC (QSVEnc) and Bob (QSVEnc) of the filtering section become
--vpp-deinterlace normal, it or bob, with _tff/_bff when Field order is set to tff/bff.
- The HDR to SDR tone mapping is written independent of Only use encoder.
Background
Which mode to use
For a quality target use icq (or icq with lookahead when the GPU offers it); it behaves like CRF in software encoders. constant quantizer is predictable and works on every GPU, but wastes bits in simple scenes. When a bit rate has to be kept, variable bitrate with a Maximum Bitrate or one of the lookahead modes gives better quality than constant bitrate; QVBR combines a bit rate limit with a quality target.
Feature dependence
Quick Sync is not one encoder but a family: each GPU generation and each codec has its own set of rate control modes and tools, and the driver changes it as well. That is why controls on this tab are locked on one machine and available on another, and why a configuration saved on one machine may lead to a different call on another.
Sources