x265参数配置

关于x265配置参数的官方文档

几个比较重要的参数:

   --csv <filename>

Writes encoding results to a comma separated value log file. Creates the file if it doesnt already exist. If --csv-log-level is 0, it adds one line per run. If --csv-log-level is greater than 0, it writes one line per frame. Default none

--psnr--no-psnr

Calculate and report Peak Signal to Noise Ratio. It is recommended to use --tune psnr if you are measuring PSNR, else the results should not be used for comparison purposes. Default disabled

--frame-threads-F <integer>

Number of concurrently encoded frames. Using a single frame thread gives a slight improvement in compression, since the entire reference frames are always available for motion compensation, but it has severe performance implications. Default is an autodetected count based on the number of CPU cores and whether WPP is enabled or not.

Over-allocation of frame threads will not improve performance, it will generally just increase memory use.

Values: any value between 0 and 16. Default is 0, auto-detect

--wpp--no-wpp

Enable Wavefront Parallel Processing. The encoder may begin encoding a row as soon as the row above it is at least two CTUs ahead in the encode process. This gives a 3-5x gain in parallelism for about 1% overhead in compression efficiency.This feature is implicitly disabled when no thread pool is present.

实例参数配置:--input=BasketballPass_416x240_50_rc.yuv --frames=500 --ref=4 --psnr --input-res=416x240 --fps=50 --qp=30 --frame-threads 1 --no-wpp --preset slow --rd 5 --rect --no-amp --csv cu.csv --output=test.bin


  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值