2022-06-16 08:16:50 +00:00
|
|
|
.TH UVG266 "1" "June 2022" "uvg266 v0.3.0" "User Commands"
|
2016-02-04 05:41:18 +00:00
|
|
|
.SH NAME
|
2021-07-27 06:50:39 +00:00
|
|
|
uvg266 \- open source VVC encoder
|
2016-02-04 05:41:18 +00:00
|
|
|
.SH SYNOPSIS
|
2021-07-27 06:50:39 +00:00
|
|
|
\fBuvg266 \fR\-i <input> \-\-input\-res <width>x<height> \-o <output>
|
2016-02-04 05:41:18 +00:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-i\fR, \fB\-\-input <filename>
|
2016-11-04 13:30:58 +00:00
|
|
|
Input file
|
|
|
|
.TP
|
|
|
|
\fB\-\-input\-res <res>
|
2016-10-26 23:45:24 +00:00
|
|
|
Input resolution [auto]
|
2018-03-23 10:33:06 +00:00
|
|
|
\- auto: Detect from file name.
|
|
|
|
\- <int>x<int>: width times height
|
2016-02-04 12:15:58 +00:00
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-o\fR, \fB\-\-output <filename>
|
2016-10-26 23:45:24 +00:00
|
|
|
Output file
|
|
|
|
|
|
|
|
.SS "Presets:"
|
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-preset <preset>
|
2016-10-26 23:45:24 +00:00
|
|
|
Set options to a preset [medium]
|
2016-11-04 13:30:58 +00:00
|
|
|
\- ultrafast, superfast, veryfast, faster,
|
|
|
|
fast, medium, slow, slower, veryslow
|
|
|
|
placebo
|
2016-10-26 23:45:24 +00:00
|
|
|
|
|
|
|
.SS "Input:"
|
2016-02-04 12:15:58 +00:00
|
|
|
.TP
|
2016-02-04 05:41:18 +00:00
|
|
|
\fB\-n\fR, \fB\-\-frames <integer>
|
|
|
|
Number of frames to code [all]
|
|
|
|
.TP
|
2016-10-26 23:45:24 +00:00
|
|
|
\fB\-\-seek <integer>
|
2016-02-04 05:41:18 +00:00
|
|
|
First frame to code [0]
|
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-input\-fps <num>[/<denom>]
|
|
|
|
Frame rate of the input video [25]
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
2016-10-26 23:45:24 +00:00
|
|
|
\fB\-\-source\-scan\-type <string>
|
2018-03-23 10:33:06 +00:00
|
|
|
Source scan type [progressive]
|
|
|
|
\- progressive: Progressive scan
|
|
|
|
\- tff: Top field first
|
|
|
|
\- bff: Bottom field first
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-input\-format <string>
|
|
|
|
P420 or P400 [P420]
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-input\-bitdepth <int>
|
|
|
|
8\-16 [8]
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-loop\-input
|
2018-03-23 10:33:06 +00:00
|
|
|
Re\-read input file forever.
|
2020-09-09 13:14:04 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-input\-file\-format <string>
|
|
|
|
Input file format [auto]
|
|
|
|
\- auto: Check the file ending for format
|
|
|
|
\- y4m (skips frame headers)
|
|
|
|
\- yuv
|
2016-10-26 23:45:24 +00:00
|
|
|
|
|
|
|
.SS "Options:"
|
|
|
|
.TP
|
|
|
|
\fB\-\-help
|
2018-03-23 10:33:06 +00:00
|
|
|
Print this help message and exit.
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-version
|
2018-03-23 10:33:06 +00:00
|
|
|
Print version information and exit.
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-(no\-)aud
|
|
|
|
Use access unit delimiters. [disabled]
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-debug <filename>
|
|
|
|
Output internal reconstruction.
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-(no\-)cpuid
|
|
|
|
Enable runtime CPU optimizations. [enabled]
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-hash <string>
|
2016-11-04 13:30:58 +00:00
|
|
|
Decoded picture hash [checksum]
|
|
|
|
\- none: 0 bytes
|
|
|
|
\- checksum: 18 bytes
|
|
|
|
\- md5: 56 bytes
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-(no\-)psnr
|
|
|
|
Calculate PSNR for frames. [enabled]
|
|
|
|
.TP
|
|
|
|
\fB\-\-(no\-)info
|
|
|
|
Add encoder info SEI. [enabled]
|
|
|
|
.TP
|
2020-09-09 10:49:13 +00:00
|
|
|
\fB\-\-stats\-file\-prefix
|
|
|
|
A prefix used for stats files that include
|
|
|
|
bits, lambda, distortion, and qp for each ctu.
|
|
|
|
These are meant for debugging and are not
|
|
|
|
written unless the prefix is defined.
|
2020-11-02 13:22:53 +00:00
|
|
|
|
2016-10-26 23:45:24 +00:00
|
|
|
.SS "Video structure:"
|
|
|
|
.TP
|
2016-02-04 05:41:18 +00:00
|
|
|
\fB\-q\fR, \fB\-\-qp <integer>
|
2018-03-23 10:33:06 +00:00
|
|
|
Quantization parameter [22]
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-p\fR, \fB\-\-period <integer>
|
2018-03-23 10:33:06 +00:00
|
|
|
Period of intra pictures [64]
|
|
|
|
\- 0: Only first picture is intra.
|
|
|
|
\- 1: All pictures are intra.
|
|
|
|
\- N: Every Nth picture is intra.
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-vps\-period <integer>
|
2018-03-23 10:33:06 +00:00
|
|
|
How often the video parameter set is re\-sent [0]
|
|
|
|
\- 0: Only send VPS with the first frame.
|
|
|
|
\- N: Send VPS with every Nth intra frame.
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-r\fR, \fB\-\-ref <integer>
|
2018-03-26 09:13:55 +00:00
|
|
|
Number of reference frames, in range 1..15 [4]
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
2016-10-26 23:45:24 +00:00
|
|
|
\fB\-\-gop <string>
|
2020-02-15 20:21:25 +00:00
|
|
|
GOP structure [lp\-g4d3t1]
|
|
|
|
\- 0: Disabled
|
|
|
|
\- 8: B\-frame pyramid of length 8
|
|
|
|
\- 16: B\-frame pyramid of length 16
|
|
|
|
\- lp\-<string>: Low\-delay P/B\-frame GOP
|
2018-03-23 10:33:06 +00:00
|
|
|
(e.g. lp\-g8d4t2, see README)
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
2020-03-31 12:27:48 +00:00
|
|
|
\fB\-\-intra\-qp\-offset <int>: QP offset for intra frames [\-51..51] [auto]
|
|
|
|
\- N: Set QP offset to N.
|
|
|
|
\- auto: Select offset automatically based
|
|
|
|
on GOP length.
|
2020-02-15 20:21:25 +00:00
|
|
|
.TP
|
2020-01-31 13:55:15 +00:00
|
|
|
\fB\-\-(no\-)open\-gop
|
2018-10-02 06:55:30 +00:00
|
|
|
Use open GOP configuration. [enabled]
|
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-cqmfile <filename>
|
|
|
|
Read custom quantization matrices from a file.
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
2020-01-31 13:55:15 +00:00
|
|
|
\fB\-\-scaling\-list <string>: Set scaling list mode. [off]
|
2018-11-15 07:33:02 +00:00
|
|
|
\- off: Disable scaling lists.
|
|
|
|
\- custom: use custom list (with \-\-cqmfile).
|
|
|
|
\- default: Use default lists.
|
|
|
|
.TP
|
2016-10-26 23:45:24 +00:00
|
|
|
\fB\-\-bitrate <integer>
|
2018-03-23 10:33:06 +00:00
|
|
|
Target bitrate [0]
|
|
|
|
\- 0: Disable rate control.
|
|
|
|
\- N: Target N bits per second.
|
|
|
|
.TP
|
2020-03-26 08:57:29 +00:00
|
|
|
\fB\-\-rc\-algorithm <string>: Select used rc\-algorithm. [lambda]
|
|
|
|
\- lambda: rate control from:
|
|
|
|
DOI: 10.1109/TIP.2014.2336550
|
|
|
|
\- oba: DOI: 10.1109/TCSVT.2016.2589878
|
|
|
|
.TP
|
|
|
|
\fB\-\-(no\-)intra\-bits
|
|
|
|
Use Hadamard cost based allocation for intra
|
|
|
|
frames. Default on for gop 8 and off for lp\-gop
|
|
|
|
.TP
|
|
|
|
\fB\-\-(no\-)clip\-neighbour
|
|
|
|
On oba based rate control whether to clip
|
|
|
|
lambda values to same frame's ctus or previous'.
|
|
|
|
Default on for RA GOPS and disabled for LP.
|
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-(no\-)lossless
|
|
|
|
Use lossless coding. [disabled]
|
|
|
|
.TP
|
|
|
|
\fB\-\-mv\-constraint <string>
|
|
|
|
Constrain movement vectors. [none]
|
|
|
|
\- none: No constraint
|
|
|
|
\- frametile: Constrain within the tile.
|
|
|
|
\- frametilemargin: Constrain even more.
|
|
|
|
.TP
|
|
|
|
\fB\-\-roi <filename>
|
|
|
|
Use a delta QP map for region of interest.
|
2022-02-06 18:08:28 +00:00
|
|
|
Reads an array of delta QP values from a file.
|
|
|
|
Text and binary files are supported and detected
|
|
|
|
from the file extension (.txt/.bin). If a known
|
|
|
|
extension is not found, the file is treated as
|
|
|
|
a text file. The file can include one or many
|
|
|
|
ROI frames each in the following format:
|
|
|
|
width and height of the QP delta map followed
|
|
|
|
by width * height delta QP values in raster
|
|
|
|
order. In binary format, width and height are
|
|
|
|
32\-bit integers whereas the delta QP values are
|
|
|
|
signed 8\-bit values. The map can be of any size
|
|
|
|
and will be scaled to the video size. The file
|
|
|
|
reading will loop if end of the file is reached.
|
|
|
|
See roi.txt in the examples folder.
|
2017-04-19 12:47:47 +00:00
|
|
|
.TP
|
2018-08-21 13:37:55 +00:00
|
|
|
\fB\-\-set\-qp\-in\-cu
|
|
|
|
Set QP at CU level keeping pic_init_qp_minus26.
|
2019-05-22 14:26:10 +00:00
|
|
|
in PPS and slice_qp_delta in slize header zero.
|
2018-08-21 13:37:55 +00:00
|
|
|
.TP
|
2017-04-19 12:47:47 +00:00
|
|
|
\fB\-\-(no\-)erp\-aqp
|
2018-03-23 10:33:06 +00:00
|
|
|
Use adaptive QP for 360 degree video with
|
|
|
|
equirectangular projection. [disabled]
|
|
|
|
.TP
|
|
|
|
\fB\-\-level <number>
|
|
|
|
Use the given HEVC level in the output and give
|
|
|
|
an error if level limits are exceeded. [6.2]
|
|
|
|
\- 1, 2, 2.1, 3, 3.1, 4, 4.1, 5, 5.1, 5.2, 6,
|
|
|
|
6.1, 6.2
|
|
|
|
.TP
|
|
|
|
\fB\-\-force\-level <number>
|
|
|
|
Same as \-\-level but warnings instead of errors.
|
|
|
|
.TP
|
|
|
|
\fB\-\-high\-tier
|
|
|
|
Used with \-\-level. Use high tier bitrate limits
|
|
|
|
instead of the main tier limits during encoding.
|
2018-06-14 09:43:10 +00:00
|
|
|
High tier requires level 4 or higher.
|
2020-04-02 10:27:50 +00:00
|
|
|
.TP
|
2020-04-14 22:22:33 +00:00
|
|
|
\fB\-\-(no\-)vaq <integer>
|
2020-04-02 10:27:50 +00:00
|
|
|
Enable variance adaptive quantization with given
|
2020-04-20 13:21:40 +00:00
|
|
|
strength, in range 1..20. Recommended: 5.
|
|
|
|
[disabled]
|
2021-07-27 06:50:39 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-chroma\-qp\-in
|
|
|
|
List of input values used for mapping the luma
|
|
|
|
QP into chroma qp. [17,27,32,44]
|
|
|
|
.TP
|
|
|
|
\fB\-\-chroma\-qp\-out
|
|
|
|
List of output values used for mapping the luma
|
|
|
|
QP into chroma qp. These two lists have to be
|
|
|
|
same length, start with same value, and can
|
|
|
|
contain maximum 16 or 36 \- starting value
|
|
|
|
elements. [17,27,32,44]
|
2016-10-26 23:45:24 +00:00
|
|
|
|
|
|
|
.SS "Compression tools:"
|
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-(no\-)deblock <beta:tc>
|
|
|
|
Deblocking filter. [0:0]
|
|
|
|
\- beta: Between \-6 and 6
|
|
|
|
\- tc: Between \-6 and 6
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-sao <string>
|
|
|
|
Sample Adaptive Offset [full]
|
|
|
|
\- off: SAO disabled
|
|
|
|
\- band: Band offset only
|
|
|
|
\- edge: Edge offset only
|
|
|
|
\- full: Full SAO
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
2021-07-27 06:50:39 +00:00
|
|
|
\fB\-\-alf <string>
|
|
|
|
Adaptive Loop Filter [off]
|
|
|
|
\- off: ALF disabled
|
2022-06-14 07:38:42 +00:00
|
|
|
\- no\-cc: ALF enabled without cross component
|
|
|
|
refinement
|
2021-07-27 06:50:39 +00:00
|
|
|
\- full: Full ALF
|
|
|
|
.TP
|
2016-11-04 13:30:58 +00:00
|
|
|
\fB\-\-(no\-)rdoq
|
2018-03-23 10:33:06 +00:00
|
|
|
Rate\-distortion optimized quantization [enabled]
|
|
|
|
.TP
|
|
|
|
\fB\-\-(no\-)rdoq\-skip
|
2018-03-26 09:13:55 +00:00
|
|
|
Skip RDOQ for 4x4 blocks. [disabled]
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
2016-11-04 13:30:58 +00:00
|
|
|
\fB\-\-(no\-)signhide
|
2018-03-23 10:33:06 +00:00
|
|
|
Sign hiding [disabled]
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-rd <integer>
|
2018-03-26 09:13:55 +00:00
|
|
|
Intra mode search complexity [0]
|
2018-03-23 10:33:06 +00:00
|
|
|
\- 0: Skip intra if inter is good enough.
|
|
|
|
\- 1: Rough intra mode search with SATD.
|
|
|
|
\- 2: Refine intra mode search with SSE.
|
2022-03-17 12:16:57 +00:00
|
|
|
\- 3: Enable intra chroma mode search.
|
|
|
|
\- 4: Try all intra modes.
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
2016-11-04 13:30:58 +00:00
|
|
|
\fB\-\-(no\-)mv\-rdo
|
2018-03-23 10:33:06 +00:00
|
|
|
Rate\-distortion optimized motion vector costs
|
|
|
|
[disabled]
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
2020-02-04 19:06:21 +00:00
|
|
|
\fB\-\-(no\-)zero\-coeff\-rdo
|
|
|
|
If a CU is set inter, check if forcing zero
|
|
|
|
residual improves the RD cost. [enabled]
|
|
|
|
.TP
|
2016-11-04 13:30:58 +00:00
|
|
|
\fB\-\-(no\-)full\-intra\-search
|
|
|
|
Try all intra modes during rough search.
|
2018-03-23 10:33:06 +00:00
|
|
|
[disabled]
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
2016-11-04 13:30:58 +00:00
|
|
|
\fB\-\-(no\-)transform\-skip
|
2018-03-23 10:33:06 +00:00
|
|
|
Try transform skip [disabled]
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
2022-03-17 12:16:57 +00:00
|
|
|
\fB\-\-tr\-skip\-max\-size
|
|
|
|
Max log2 size of transform skip 2..5 [2]
|
|
|
|
.TP
|
2016-02-05 14:16:18 +00:00
|
|
|
\fB\-\-me <string>
|
2018-03-23 10:33:06 +00:00
|
|
|
Integer motion estimation algorithm [hexbs]
|
2016-11-04 13:30:58 +00:00
|
|
|
\- hexbs: Hexagon Based Search
|
|
|
|
\- tz: Test Zone Search
|
|
|
|
\- full: Full Search
|
|
|
|
\- full8, full16, full32, full64
|
2018-03-23 10:33:06 +00:00
|
|
|
\- dia: Diamond Search
|
|
|
|
.TP
|
|
|
|
\fB\-\-me\-steps <integer>
|
|
|
|
Motion estimation search step limit. Only
|
|
|
|
affects 'hexbs' and 'dia'. [\-1]
|
2016-02-05 14:16:18 +00:00
|
|
|
.TP
|
2016-02-04 05:41:18 +00:00
|
|
|
\fB\-\-subme <integer>
|
2018-03-23 10:33:06 +00:00
|
|
|
Fractional pixel motion estimation level [4]
|
|
|
|
\- 0: Integer motion estimation only
|
2016-11-04 13:30:58 +00:00
|
|
|
\- 1: + 1/2\-pixel horizontal and vertical
|
|
|
|
\- 2: + 1/2\-pixel diagonal
|
|
|
|
\- 3: + 1/4\-pixel horizontal and vertical
|
|
|
|
\- 4: + 1/4\-pixel diagonal
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-pu\-depth\-inter <int>\-<int>
|
2018-03-26 09:13:55 +00:00
|
|
|
Inter prediction units sizes [0\-3]
|
2016-11-04 13:30:58 +00:00
|
|
|
\- 0, 1, 2, 3: from 64x64 to 8x8
|
2020-03-20 11:27:07 +00:00
|
|
|
\- Accepts a list of values separated by ','
|
|
|
|
for setting separate depths per GOP layer
|
|
|
|
(values can be omitted to use the first
|
|
|
|
value for the respective layer).
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-pu\-depth\-intra <int>\-<int>
|
2018-03-26 09:13:55 +00:00
|
|
|
Intra prediction units sizes [1\-4]
|
2016-11-04 13:30:58 +00:00
|
|
|
\- 0, 1, 2, 3, 4: from 64x64 to 4x4
|
2020-03-20 11:27:07 +00:00
|
|
|
\- Accepts a list of values separated by ','
|
|
|
|
for setting separate depths per GOP layer
|
|
|
|
(values can be omitted to use the first
|
|
|
|
value for the respective layer).
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
2020-01-31 13:55:15 +00:00
|
|
|
\fB\-\-ml\-pu\-depth\-intra
|
|
|
|
Predict the pu\-depth\-intra using machine
|
|
|
|
learning trees, overrides the
|
|
|
|
\-\-pu\-depth\-intra parameter. [disabled]
|
|
|
|
.TP
|
2022-06-14 07:38:42 +00:00
|
|
|
\fB\-\-(no\-)combine\-intra\-cus: Whether the encoder tries to code a cu
|
|
|
|
on lower depth even when search is not
|
|
|
|
performed on said depth. Should only
|
|
|
|
be disabled if cus absolutely must not
|
|
|
|
be larger than limited by the search.
|
|
|
|
[enabled]
|
|
|
|
.TP
|
|
|
|
\fB\-\-force\-inter
|
|
|
|
Force the encoder to use inter always.
|
|
|
|
This is mostly for debugging and is not
|
|
|
|
guaranteed to produce sensible bitstream or
|
|
|
|
work at all. [disabled]
|
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-tr\-depth\-intra <int>
|
|
|
|
Transform split depth for intra blocks [0]
|
|
|
|
.TP
|
2016-11-04 13:30:58 +00:00
|
|
|
\fB\-\-(no\-)bipred
|
2018-03-23 10:33:06 +00:00
|
|
|
Bi\-prediction [disabled]
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-cu\-split\-termination <string>
|
|
|
|
CU split search termination [zero]
|
|
|
|
\- off: Don't terminate early.
|
|
|
|
\- zero: Terminate when residual is zero.
|
2016-08-03 04:27:02 +00:00
|
|
|
.TP
|
2018-03-23 10:33:06 +00:00
|
|
|
\fB\-\-me\-early\-termination <string>
|
|
|
|
Motion estimation termination [on]
|
|
|
|
\- off: Don't terminate early.
|
|
|
|
\- on: Terminate early.
|
|
|
|
\- sensitive: Terminate even earlier.
|
2016-05-26 07:38:45 +00:00
|
|
|
.TP
|
2018-06-19 10:39:23 +00:00
|
|
|
\fB\-\-fast\-residual\-cost <int>
|
|
|
|
Skip CABAC cost for residual coefficients
|
|
|
|
when QP is below the limit. [0]
|
|
|
|
.TP
|
2020-11-02 13:22:53 +00:00
|
|
|
\fB\-\-fast\-coeff\-table <string>
|
|
|
|
Read custom weights for residual
|
|
|
|
coefficients from a file instead of using
|
|
|
|
defaults [default]
|
|
|
|
.TP
|
2021-01-15 16:43:38 +00:00
|
|
|
\fB\-\-fast\-rd\-sampling
|
|
|
|
Enable learning data sampling for fast coefficient
|
|
|
|
table generation
|
|
|
|
.TP
|
|
|
|
\fB\-\-fastrd\-accuracy\-check
|
|
|
|
Evaluate the accuracy of fast coefficient
|
|
|
|
prediction
|
|
|
|
.TP
|
|
|
|
\fB\-\-fastrd\-outdir
|
|
|
|
Directory to which to output sampled data or accuracy
|
|
|
|
data, into <fastrd\-outdir>/0.txt to 50.txt, one file
|
|
|
|
for each QP that blocks were estimated on
|
|
|
|
.TP
|
2018-06-14 09:43:10 +00:00
|
|
|
\fB\-\-(no\-)intra\-rdo\-et
|
|
|
|
Check intra modes in rdo stage only until
|
|
|
|
a zero coefficient CU is found. [disabled]
|
|
|
|
.TP
|
2019-07-06 18:34:29 +00:00
|
|
|
\fB\-\-(no\-)early\-skip
|
|
|
|
Try to find skip cu from merge candidates.
|
|
|
|
Perform no further search if skip is found.
|
2022-06-14 07:38:42 +00:00
|
|
|
For rd = 0..1: Try the first candidate.
|
|
|
|
For rd = 2..
|
2020-01-31 13:55:15 +00:00
|
|
|
Try the best candidate based
|
2022-06-14 07:38:42 +00:00
|
|
|
on luma satd cost. [enabled]
|
2019-07-06 18:34:29 +00:00
|
|
|
.TP
|
2019-07-09 18:20:44 +00:00
|
|
|
\fB\-\-max\-merge <integer>
|
2022-03-17 12:16:57 +00:00
|
|
|
Maximum number of merge candidates, 1..6 [6]
|
2019-07-09 18:20:44 +00:00
|
|
|
.TP
|
2016-11-04 13:30:58 +00:00
|
|
|
\fB\-\-(no\-)implicit\-rdpcm
|
2018-03-23 10:33:06 +00:00
|
|
|
Implicit residual DPCM. Currently only supported
|
|
|
|
with lossless coding. [disabled]
|
2016-08-03 05:18:56 +00:00
|
|
|
.TP
|
2016-11-04 13:30:58 +00:00
|
|
|
\fB\-\-(no\-)tmvp
|
2018-03-23 10:33:06 +00:00
|
|
|
Temporal motion vector prediction [enabled]
|
2021-07-27 06:50:39 +00:00
|
|
|
.TP
|
2022-03-17 12:16:57 +00:00
|
|
|
\fB\-\-(no\-)mrl
|
|
|
|
Enable use of multiple reference lines in intra
|
|
|
|
predictions.
|
|
|
|
.TP
|
|
|
|
\fB\-\-(no\-)mip
|
2022-04-29 10:28:10 +00:00
|
|
|
Enable matrix weighted intra prediction.
|
2022-06-14 07:38:42 +00:00
|
|
|
.TP
|
2022-04-29 10:28:10 +00:00
|
|
|
\fB\-\-mts <string>
|
2021-07-27 06:50:39 +00:00
|
|
|
Multiple Transform Selection [off].
|
|
|
|
(Currently only implemented for intra
|
|
|
|
and has effect only when rd >= 2)
|
|
|
|
\- off: MTS disabled
|
|
|
|
\- intra: MTS applied only for intra blocks.
|
|
|
|
\- inter: MTS applied only for inter blocks.
|
2022-06-14 07:38:42 +00:00
|
|
|
\- both: MTS applied for both intra and inter
|
|
|
|
blocks.
|
|
|
|
\- implicit: uses implicit MTS. Applies DST7
|
|
|
|
instead of DCT2 to certain intra
|
|
|
|
blocks.
|
2022-03-17 12:16:57 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-(no\-)jccr
|
2022-06-14 07:38:42 +00:00
|
|
|
Joint coding of chroma residual.
|
|
|
|
Requires rdo >= 2. [disabled]
|
2022-03-17 12:16:57 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-(no\-)cclm
|
|
|
|
Cross component linear model.
|
|
|
|
Extra chroma prediction modes that are formed
|
|
|
|
via linear transformation from the luma
|
2022-06-14 07:38:42 +00:00
|
|
|
prediction. Requires rdo >= 3. [disabled
|
2022-03-17 12:16:57 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-(no\-)amvr
|
|
|
|
Adaptive Motion Vector Resolution.
|
2022-06-14 07:38:42 +00:00
|
|
|
Code some MVs with reduced resolution [disabled]
|
2016-10-26 23:45:24 +00:00
|
|
|
|
|
|
|
.SS "Parallel processing:"
|
2016-08-26 09:15:28 +00:00
|
|
|
.TP
|
2016-10-26 23:45:24 +00:00
|
|
|
\fB\-\-threads <integer>
|
2016-11-04 13:30:58 +00:00
|
|
|
Number of threads to use [auto]
|
2018-03-23 10:33:06 +00:00
|
|
|
\- 0: Process everything with main thread.
|
|
|
|
\- N: Use N threads for encoding.
|
|
|
|
\- auto: Select automatically.
|
2016-08-26 09:15:28 +00:00
|
|
|
.TP
|
2016-11-04 13:30:58 +00:00
|
|
|
\fB\-\-owf <integer>
|
2018-03-23 10:33:06 +00:00
|
|
|
Frame\-level parallelism [auto]
|
2018-06-18 06:33:36 +00:00
|
|
|
\- N: Process N+1 frames at a time.
|
2018-03-23 10:33:06 +00:00
|
|
|
\- auto: Select automatically.
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
2016-11-04 13:30:58 +00:00
|
|
|
\fB\-\-(no\-)wpp
|
2018-06-14 09:43:10 +00:00
|
|
|
Wavefront parallel processing. [enabled]
|
|
|
|
Enabling tiles automatically disables WPP.
|
|
|
|
To enable WPP with tiles, re\-enable it after
|
|
|
|
enabling tiles. Enabling wpp with tiles is,
|
|
|
|
however, an experimental feature since it is
|
|
|
|
not supported in any HEVC profile.
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-tiles <int>x<int>
|
|
|
|
Split picture into width x height uniform tiles.
|
|
|
|
.TP
|
|
|
|
\fB\-\-tiles\-width\-split <string>|u<int>
|
2018-03-23 10:33:06 +00:00
|
|
|
\- <string>: A comma\-separated list of tile
|
|
|
|
column pixel coordinates.
|
|
|
|
\- u<int>: Number of tile columns of uniform
|
|
|
|
width.
|
2016-10-26 23:45:24 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-tiles\-height\-split <string>|u<int>
|
2022-06-14 07:38:42 +00:00
|
|
|
\- <string>: A comma\-separated list of tile
|
|
|
|
row column pixel coordinates.
|
2018-03-23 10:33:06 +00:00
|
|
|
\- u<int>: Number of tile rows of uniform
|
|
|
|
height.
|
2017-01-31 14:30:40 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-slices <string>
|
2018-03-23 10:33:06 +00:00
|
|
|
Control how slices are used.
|
|
|
|
\- tiles: Put tiles in independent slices.
|
|
|
|
\- wpp: Put rows in dependent slices.
|
|
|
|
\- tiles+wpp: Do both.
|
2020-01-31 13:55:15 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-partial\-coding <x\-offset>!<y\-offset>!<slice\-width>!<slice\-height>
|
|
|
|
|
|
|
|
Encode partial frame.
|
|
|
|
Parts must be merged to form a valid bitstream.
|
|
|
|
X and Y are CTU offsets.
|
|
|
|
Slice width and height must be divisible by CTU
|
|
|
|
in pixels unless it is the last CTU row/column.
|
2020-01-31 14:19:48 +00:00
|
|
|
This parameter is used by kvaShare.
|
|
|
|
|
2016-02-04 05:41:18 +00:00
|
|
|
.SS "Video Usability Information:"
|
|
|
|
.TP
|
|
|
|
\fB\-\-sar <width:height>
|
2018-03-23 10:33:06 +00:00
|
|
|
Specify sample aspect ratio
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-overscan <string>
|
2016-11-04 13:30:58 +00:00
|
|
|
Specify crop overscan setting [undef]
|
|
|
|
\- undef, show, crop
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-videoformat <string>
|
2016-11-04 13:30:58 +00:00
|
|
|
Specify video format [undef]
|
2018-03-23 10:33:06 +00:00
|
|
|
\- undef, component, pal, ntsc, secam, mac
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-range <string>
|
2016-11-04 13:30:58 +00:00
|
|
|
Specify color range [tv]
|
|
|
|
\- tv, pc
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-colorprim <string>
|
2016-11-04 13:30:58 +00:00
|
|
|
Specify color primaries [undef]
|
|
|
|
\- undef, bt709, bt470m, bt470bg,
|
|
|
|
smpte170m, smpte240m, film, bt2020
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-transfer <string>
|
2016-11-04 13:30:58 +00:00
|
|
|
Specify transfer characteristics [undef]
|
|
|
|
\- undef, bt709, bt470m, bt470bg,
|
|
|
|
smpte170m, smpte240m, linear, log100,
|
|
|
|
log316, iec61966\-2\-4, bt1361e,
|
|
|
|
iec61966\-2\-1, bt2020\-10, bt2020\-12
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-colormatrix <string>
|
2016-11-04 13:30:58 +00:00
|
|
|
Specify color matrix setting [undef]
|
|
|
|
\- undef, bt709, fcc, bt470bg, smpte170m,
|
|
|
|
smpte240m, GBR, YCgCo, bt2020nc, bt2020c
|
2016-02-04 05:41:18 +00:00
|
|
|
.TP
|
|
|
|
\fB\-\-chromaloc <integer>
|
|
|
|
Specify chroma sample location (0 to 5) [0]
|