于是测试数据更新,使用了--tune ssim,上图为1/(1-SSIM),下图为PSNR。我由此得出的结论是10bit输出的编码效率更高。至于效果什么的,还是得靠眼睛来收货,拿10bit编码后的结果再dither并转换成8bit RGB,与16bit的源数据dither并转换成8bit RGB做SSIM比较我觉得难以办到并且有N种实现方式,每种方式结果也会不同,也难以保证公平比较,而且实际意义也不如主观比较强。
AVS
代码: 全选
sourcefilter
f3kdb(range=15, Y=42, Cb=36, Cr=36, ditherY=0, ditherC=0, precision_mode=3, dynamic_dither_noise=true, keep_tv_range=false, input_mode=0, output_mode=0, output_depth=8)
或
f3kdb(range=15, Y=42, Cb=36, Cr=36, ditherY=0, ditherC=0, precision_mode=3, dynamic_dither_noise=true, keep_tv_range=false, input_mode=0, output_mode=2, output_depth=10)
Trim(0,1599)
x264 info
代码: 全选
x264 [info]: profile High 10, level 4.0, 4:2:0 10-bit
x264 [info]: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 fgo=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=16.0/18.0/20.0 qcomp=0.60 qpmin=0 qpmax=81 qpstep=4 ip_ratio=1.40 aq=2:1.00