x265参数详解(基于版本2.8)

本文档详细介绍了x265编码器的参数选项,包括输入输出设置、质量报告、编码配置、性能优化、编码工具以及循环过滤器等,旨在帮助用户理解和调整HEVC编码过程。
摘要由CSDN通过智能技术生成


Syntax: x265 [options] infile [-o] outfile
    infile can be YUV or Y4M
    outfile is raw HEVC bitstream

Executable Options:
-h/--help                        Show this help text and exit
   --fullhelp                    Show all options and exit
-V/--version                     Show version info and exit

Output Options:
-o/--output <filename>           Bitstream output file name
-D/--output-depth 8|10|12        Output bit depth (also internal bit depth). Default 8
   --log-level <string>          Logging level: none error warning info debug full. Default full
   --no-progress                 Disable CLI progress reports
   --csv <filename>              Comma separated log file, if csv-log-level > 0 frame level statistics, else one line per run
   --csv-log-level <integer>     Level of csv logging, if csv-log-level > 0 frame level statistics, else one line per run: 0-2

Input Options:
   --input <filename>            Raw YUV or Y4M input file name. `-` for stdin
   --y4m                         Force parsing of input stream as YUV4MPEG2 regardless of file extension
   --fps <float|rational>        Source frame rate (float or num/denom), auto-detected if Y4M
   --input-res WxH               Source picture size [w x h], auto-detected if Y4M
   --input-depth <integer>       Bit-depth of input file. Default 8
   --input-csp <string>          Chroma subsampling, auto-detected if Y4M
                                 0 - i400 (4:0:0 monochrome)
                                 1 - i420 (4:2:0 default)
                                 2 - i422 (4:2:2)
                                 3 - i444 (4:4:4)
-f/--frames <integer>            Maximum number of frames to encode. Default all
   --seek <integer>              First frame to encode
   --[no-]interlace <bff|tff>    Indicate input pictures are interlace fields in temporal order. Default progressive
   --dither                      Enable dither if downscaling to 8 bit pixels. Default disabled
   --[no-]copy-pic               Copy buffers of input picture in frame. Default enabled

Quality reporting metrics:
   --[no-]ssim                   Enable reporting SSIM metric scores. Default disabled
   --[no-]psnr                   Enable reporting PSNR metric scores. Default disabled

Profile, Level, Tier:
-P/--profile <string>            Enforce an encode profile: main, main10, mainstillpicture
   --level-idc <integer|float>   Force a minimum required decoder level (as '5.0' or '50')
   --[no-]high-tier              If a decoder level is specified, this modifier selects High tier of that level
   --uhd-bd                      Enable UHD Bluray compatibility support
   --[no-]allow-non-conformance  Allow the encoder to generate profile NONE bitstreams. Default disabled

Threading, performance:
   --pools <integer,...>         Comma separated thread count per thread pool (pool per NUMA node)
                                 '-' implies no threads on node, '+' implies one thread per core on node
-F/--frame-threads <integer>     Number of concurrently encoded frames. 0: auto-determined by core count
   --[no-]wpp                    Enable Wavefront Parallel Processing. Default enabled
   --[no-]slices <integer>       Enable Multiple Slices feature. Default 1
   --[no-]pmode                  Parallel mode analysis. Default disabled
   --[no-]pme                    Parallel motion estimation. Default disabled
   --[no-]asm <bool|int|string>  Override CPU detection. Default: auto

Presets:
-p/--preset <string>             Trade off performance for compression efficiency. Default medium
                                 ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, or placebo
-t/--tune <string>               Tune the settings for a particular type of source or situation:
                                 psnr, ssim, grain, zerolatency, fastdecode

Quad-Tree size and depth:
-s/--ctu <64|32|16>              Maximum CU size (WxH). Default 64
   --min-cu-size <64|32|16|8>    Minimum CU size (WxH). Default 8
   --max-tu-size <32|16|8|4>     Maximum TU size (WxH). Default 32
   --tu-intra-depth <integer>    Max TU recursive depth for intra CUs. Default 1
   --tu-inter-depth <integer>    Max TU recursive depth for inter CUs. Default 1
   --limit-tu <0..4>             Enable early exit from TU recursion for inter coded blocks. Default 0

Analysis:
   --rd <1..6>                   Level of RDO in mode decision 1:least....6:full RDO. Default 3
   --[no-]psy-rd <0..5.0>        Strength of psycho-visual rate distortion optimization, 0 to di

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值