首页 > 视频编解码 > HEVC > x265 帮助文档 0.5+259-9d74638c3640 (UTC 3:43:29 AM)
2014
10-08

x265 帮助文档 0.5+259-9d74638c3640 (UTC 3:43:29 AM)

源获取:https://x265.cc/

文档获取途径:

x265 >help.txt

文档内容及部分渣翻(其中“早期”指的是0.5+95版本)

如有错误请纠正,有些没翻是某水姬没弄太清楚,就略过了,欢迎补充~

ver 0.5+259

Syntax: x265 [options] infile [-o] outfile
命令行样例:x265 [参数] 输入文件名 -o 输出文件名

infile can be YUV or Y4M
输入文件可以为YUV或Y4M

outfile is raw HEVC bitstream
输出文件为HEVC编码RAW流

Executable Options:
命令行参数

-h/–h Show this help text and exit
显示帮助文本

-V/–version Show version info and exit
显示版本

–cpuid Limit SIMD capability bitmap 0:auto 1:None. Default:0

–threads Number of threads for thread pool (0: detect CPU core count, default)

-p/–preset ultrafast, veryfast, faster, fast, medium, slow, slower, veryslow, or placebo
预设,从左到右依次变慢

-t/–tune Tune the settings for a particular type of source or situation
影片类型 选择与影片类型相近的选项

-F/–frame-threads Number of concurrently encoded frames. 0: auto-determined by core count
同时编码帧数 默认为0,即自动(早期为1)

–log Logging level 0:ERROR 1:WARNING 2:INFO 3:DEBUG -1:NONE.Default 2

–csv Comma separated log file, log level >= 3 frame log, else one lineper run

–y4m Parse input stream as YUV4MPEG2 regardless of file extension
文件输入为Y4M(YUV4MPEG2)

–no-progress Disable CLI progress reports
禁用命令行状态显示

-o/–output Bitstream output file name
输出文件名

Input Options:
输入选项

–input Raw YUV or Y4M input file name
输入YUV或Y4M文件名

–input-depth Bit-depth of input file and internal encoder bit depth. Default 8
输入位深 默认为8

–input-res Source picture size [w x h], auto-detected if Y4M
输入分辨率 格式为1280×720,Y4M支持自动检测

–input-csp Source color space parameter, auto-detected if Y4M
输入颜色空间,Y4M支持自动检测(早期无此参数)

–fps Source frame rate, auto-detected if Y4M
输入分辨率,Y4M支持自动检测

–frame-skip Number of frames to skip at start of input file
输入跳过帧数

-f/–frames Number of frames to be encoded. Default all
编码帧数,默认为全部(all)

Quad-Tree analysis:

–[no-]wpp Enable Wavefront Parallel Processing. Default enabled

-s/–ctu Maximum CU size (default: 64×64). Default 64

–tu-intra-depth Max TU recursive depth for intra CUs. Default 1(早期为3)

–tu-inter-depth Max TU recursive depth for inter CUs. Default 1(早期为3)

Temporal / motion search options:
运动预测

–me Motion search method 0:dia 1:hex 2:umh 3:star 4:full. Default 3
全像素估算模式,可选0-4,默认为3,从小到大速度变慢

-m/–subme Amount of subpel refinement to perform (0:least .. 7:most). Default 5
子像素估算复杂程度,可选0-7,默认为5,越大越复杂(慢)

–merange Motion search range. Default 60
动态搜索范围,默认为60

–[no-]rect Enable rectangular motion partitions Nx2N and 2NxN. Default enabled

–[no-]amp Enable asymmetric motion partitions, requires –rect. Default enabled

–max-merge Maximum number of merge candidates. Default 3(早期为5)

–[no-]early-skip Enable early SKIP detection. Default disabled
[停用]P帧的早期略过侦测,默认为停用

–[no-]fast-cbf Enable Cbf fast mode. Default disabled

Spatial / intra options:

–rdpenalty penalty for 32×32 intra TU in non-I slices. 0:disabled 1:RD-penalty 2:maximum. Default 0

–[no-]tskip Enable intra transform skipping. Default disabled(早期为enabled)

–[no-]tskip-fast Enable fast intra transform skipping. Default enabled

–[no-]strong-intra-smoothing Enable strong intra smoothing for 32×32 blocks. Default enabled

–[no-]constrained-intra Constrained intra prediction (use only intra coded reference pixels) Default disabled

Slice decision options:

–refresh Intra refresh type – 0:none, 1:CDR, 2:IDR (default: CDR) Default 1

-i/–keyint Max intra period in frames. Default 250
最大GOP,默认为250

–rc-lookahead Number of frames for frame-type lookahead (determines encoder latency) Default 40
向前预测帧数,默认为40(早期为10)

–bframes Maximum number of consecutive b-frames (now it only enables B GOP structure) Default 3
最大连续B帧数,默认为3(早期为1)

–bframe-bias Bias towards B frame decisions. Default 0
B帧使用倾向,默认为0

–b-adapt 0 – none, 1 – fast, 2 – full (trellis) adaptive B frame scheduling. Default 1
B帧决策算法,0为无,1为快速,2为最佳,默认为1

–ref max number of L0 references to be allowed (1 .. 16) Default 3
最大参照帧,可选1-16,默认为3

-w/–[no-]weightp Enable weighted prediction in P slices. Default disabled
P帧预测权重,默认为启用

QP, rate control and rate distortion options:
量化值/码率控制

–bitrate Target bitrate (kbps), implies ABR. Default 0
目标码率,ABR

–crf Quality-based VBR (0-51). Default 28.000000
crf模式,VBR质量模式,可选0-51,0为画质最高,默认为28.0

-q/–qp Base QP for CQP mode. Default 32
量化值模式,默认为32

–aq-mode Mode for Adaptive Quantization – 0:none 1:aqVariance Default 0
弹性量化模式,0为无,1为aq方差,默认为0

–cbqpoffs Chroma Cb QP Offset. Default 0

–crqpoffs Chroma Cr QP Offset. Default 0

–rd Level of RD in mode decision 0:least….2:full RDO. Default 0
RD模式,可选0-2,2为全部,默认为0

–[no-]signhide Hide sign bit of one coeff per TU (rdo). Default enabled

Loop filter:

–[no-]lft Enable Loop Filter. Default enabled
[停用]循环滤镜,默认为启用

Sample Adaptive Offset loop filter:

–[no-]sao Enable Sample Adaptive Offset. Default enabled

–sao-lcu-bounds 0: right/bottom boundary areas skipped 1: non-deblocked pixels are used. Default 0

–sao-lcu-opt 0: SAO picture-based optimization, 1: SAO LCU-based optimization. Default 1

Quality reporting metrics:
画质报告

–[no-]ssim Enable reporting SSIM metric scores. Default disabled
报告SSIM(图像相似性)数值,默认为禁用

–[no-]psnr Enable reporting PSNR metric scores. Default enabled
报告PSNR(峰值信噪比)数值,默认为启用

Reconstructed video options (debugging):

-r/–recon Reconstructed raw image YUV or Y4M output file name

–recon-depth Bit-depth of reconstructed raw image file. Defaults to input bit depth

SEI options:

–hash Decoded Picture Hash SEI 0: disabled, 1: MD5, 2: CRC, 3: Checksum. Default 0

 

 

版权所有: 某水姬的实验室|DHR-Raws Project
本文链接: http://mizuhime.info/x265-help-doc-259/

打赏
最后编辑:
作者:admin
这个作者貌似有点懒,什么都没有留下。

留下一个回复

你的email不会被公开。