头像
dgwxx
管理猿
帖子: 771
注册时间: 2010-09-19 20:42
联系: 网站

x264 1867新质量评价体系测试

样本是獣の奏者エリンOP的前960帧。

1834的老评价体系(用来做参照):
x2641834-32 --profile high --crf 16 --deblock -1:-1 --keyint 240 --min-keyint 24 --ref 6 --no-fast-pskip --bframes 6 --b-adapt 2 --subme 10 --merange 32 --trellis 2 --psy-rd 0.4:0 --partitions all --me tesa --thread-input --no-dct-decimate --rc-lookahead 48 --b-pyramid normal --aq-mode 2 --psnr --ssim --output NUL "e:\test_24.avs"
avs [info]: 1280x720p 0:0 @ 24000/1001 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
x264 [info]: frame I:7 Avg QP:13.91 size:134065 PSNR Mean Y:50.37 U:52.84 V:53.70 Avg:51.12 Global:50.98
x264 [info]: frame P:216 Avg QP:17.66 size: 38853 PSNR Mean Y:48.02 U:50.94 V:51.09 Avg:48.79 Global:48.68
x264 [info]: frame B:736 Avg QP:21.56 size: 5683 PSNR Mean Y:47.28 U:50.32 V:50.51 Avg:48.08 Global:47.93
x264 [info]: consecutive B-frames: 1.5% 1.5% 5.4% 35.3% 21.0% 25.8% 9.6%
x264 [info]: mb I I16..4: 6.2% 56.5% 37.4%
x264 [info]: mb P I16..4: 3.9% 16.3% 2.2% P16..4: 41.7% 19.2% 5.4% 0.3% 0.4% skip:10.6%
x264 [info]: mb B I16..4: 0.5% 1.3% 0.1% B16..8: 24.8% 4.0% 0.9% direct: 6.6% skip:61.8% L0:39.8% L1:51.7% BI: 8.5%
x264 [info]: 8x8 transform intra:70.5% inter:67.1%
x264 [info]: coded y,uvDC,uvAC intra: 62.9% 67.9% 42.8% inter: 17.7% 21.6% 8.5%
x264 [info]: i16 v,h,dc,p: 26% 20% 7% 47%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 12% 12% 8% 12% 11% 11% 10% 14%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 11% 8% 8% 16% 12% 11% 8% 10%
x264 [info]: i8c dc,h,v,p: 32% 28% 18% 22%
x264 [info]: Weighted P-Frames: Y:7.9% UV:7.4%
x264 [info]: ref P L0: 52.3% 11.3% 19.4% 5.3% 5.8% 5.4% 0.4%
x264 [info]: ref B L0: 83.3% 9.6% 3.9% 1.8% 1.3%
x264 [info]: ref B L1: 96.0% 4.0%
x264 [info]: SSIM Mean Y:0.9888167 (19.514db)
x264 [info]: PSNR Mean Y:47.465 U:50.478 V:50.667 Avg:48.261 Global:48.104 kb/s:2702.76

encoded 959 frames, 4.09 fps, 2702.76 kb/s

======================================================

1867加入时间函数之后的评价体系:
x2641867-32 --profile high --crf 16 --deblock -1:-1 --keyint 240 --min-keyint 24 --ref 6 --no-fast-pskip --bframes 6 --b-adapt 2 --subme 10 --merange 32 --trellis 2 --psy-rd 0.4:0 --partitions all --me tesa --thread-input --no-dct-decimate --rc-lookahead 48 --b-pyramid normal --aq-mode 2 --psnr --ssim --output NUL "e:\test_24.avs"
avs [info]: 1280x720p 0:0 @ 24000/1001 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
x264 [info]: frame I:7 Avg QP:13.79 size:135710 PSNR Mean Y:50.43 U:52.90 V:53.76 Avg:51.18 Global:51.05
x264 [info]: frame P:214 Avg QP:17.49 size: 39832 PSNR Mean Y:48.07 U:50.97 V:51.13 Avg:48.84 Global:48.73
x264 [info]: frame B:738 Avg QP:21.58 size: 5732 PSNR Mean Y:47.31 U:50.35 V:50.54 Avg:48.11 Global:47.96
x264 [info]: consecutive B-frames: 2.2% 1.5% 5.6% 32.5% 20.9% 25.7% 11.7%
x264 [info]: mb I I16..4: 5.8% 57.0% 37.2%
x264 [info]: mb P I16..4: 3.8% 16.4% 2.3% P16..4: 41.5% 19.4% 5.5% 0.3% 0.4% skip:10.3%
x264 [info]: mb B I16..4: 0.5% 1.4% 0.1% B16..8: 24.6% 4.0% 0.9% direct: 6.6% skip:61.9% L0:40.3% L1:51.0% BI: 8.7%
x264 [info]: 8x8 transform intra:70.6% inter:66.8%
x264 [info]: coded y,uvDC,uvAC intra: 63.2% 68.2% 43.3% inter: 17.8% 21.6% 8.7%
x264 [info]: i16 v,h,dc,p: 26% 19% 8% 47%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 12% 13% 8% 12% 10% 11% 10% 14%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 10% 9% 9% 16% 12% 11% 8% 10%
x264 [info]: i8c dc,h,v,p: 32% 28% 18% 22%
x264 [info]: Weighted P-Frames: Y:8.4% UV:7.5%
x264 [info]: ref P L0: 52.1% 11.3% 19.4% 5.4% 5.9% 5.4% 0.5%
x264 [info]: ref B L0: 83.2% 9.7% 3.9% 1.8% 1.3%
x264 [info]: ref B L1: 96.1% 3.9%
x264 [info]: SSIM Mean Y:0.9888855 (19.541db)
x264 [info]: PSNR Mean Y:47.500 U:50.506 V:50.695 Avg:48.295 Global:48.137 kb/s:2740.95

encoded 959 frames, 4.04 fps, 2740.95 kb/s

======================================================

x2641867-32 --profile high --crf 16 --deblock -1:-1 --keyint 240 --min-keyint 24 --ref 6 --no-fast-pskip --bframes 6 --b-adapt 2 --subme 10 --merange 32 --trellis 2 --psy-rd 0.4:0 --partitions all --me tesa --thread-input --no-dct-decimate --rc-lookahead 48 --b-pyramid normal --aq-mode 2 --psnr --ssim --output NUL "e:\test_25.avs"
avs [info]: 1280x720p 0:0 @ 25000/1001 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
x264 [info]: frame I:7 Avg QP:13.95 size:133773 PSNR Mean Y:50.36 U:52.83 V:53.70 Avg:51.11 Global:50.98
x264 [info]: frame P:214 Avg QP:17.64 size: 38926 PSNR Mean Y:48.01 U:50.92 V:51.09 Avg:48.79 Global:48.67
x264 [info]: frame B:738 Avg QP:21.57 size: 5696 PSNR Mean Y:47.27 U:50.32 V:50.52 Avg:48.08 Global:47.93
x264 [info]: consecutive B-frames: 2.2% 1.5% 5.6% 32.5% 20.9% 25.7% 11.7%
x264 [info]: mb I I16..4: 6.4% 56.5% 37.1%
x264 [info]: mb P I16..4: 3.9% 16.3% 2.3% P16..4: 41.7% 19.2% 5.4% 0.3% 0.4% skip:10.6%
x264 [info]: mb B I16..4: 0.5% 1.4% 0.1% B16..8: 24.5% 4.0% 0.9% direct: 6.6% skip:62.1% L0:40.3% L1:51.1% BI: 8.6%
x264 [info]: 8x8 transform intra:70.7% inter:67.4%
x264 [info]: coded y,uvDC,uvAC intra: 63.0% 68.0% 42.9% inter: 17.6% 21.5% 8.5%
x264 [info]: i16 v,h,dc,p: 25% 20% 7% 47%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 12% 12% 8% 12% 11% 11% 10% 14%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 10% 8% 8% 16% 12% 11% 8% 10%
x264 [info]: i8c dc,h,v,p: 33% 27% 17% 22%
x264 [info]: Weighted P-Frames: Y:8.4% UV:7.5%
x264 [info]: ref P L0: 52.0% 11.3% 19.6% 5.3% 5.9% 5.4% 0.5%
x264 [info]: ref B L0: 83.5% 9.5% 3.9% 1.8% 1.3%
x264 [info]: ref B L1: 96.0% 4.0%
x264 [info]: SSIM Mean Y:0.9888075 (19.511db)
x264 [info]: PSNR Mean Y:47.459 U:50.474 V:50.667 Avg:48.256 Global:48.100 kb/s:2806.46

encoded 959 frames, 4.01 fps, 2806.46 kb/s

======================================================

x2641867-32 --profile high --crf 16 --deblock -1:-1 --keyint 240 --min-keyint 24 --ref 6 --no-fast-pskip --bframes 6 --b-adapt 2 --subme 10 --merange 32 --trellis 2 --psy-rd 0.4:0 --partitions all --me tesa --thread-input --no-dct-decimate --rc-lookahead 48 --b-pyramid normal --aq-mode 2 --psnr --ssim --output NUL "e:\test_60.avs"
avs [info]: 1280x720p 0:0 @ 60000/1001 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
x264 [info]: frame I:7 Avg QP:16.82 size:100671 PSNR Mean Y:48.88 U:51.46 V:52.48 Avg:49.66 Global:49.51
x264 [info]: frame P:214 Avg QP:20.60 size: 25345 PSNR Mean Y:46.81 U:50.00 V:50.17 Avg:47.64 Global:47.50
x264 [info]: frame B:738 Avg QP:21.82 size: 5503 PSNR Mean Y:46.51 U:49.72 V:49.90 Avg:47.35 Global:47.21
x264 [info]: consecutive B-frames: 2.2% 1.5% 5.6% 32.5% 20.9% 25.7% 11.7%
x264 [info]: mb I I16..4: 10.1% 64.7% 25.2%
x264 [info]: mb P I16..4: 4.6% 15.9% 1.5% P16..4: 44.7% 13.9% 3.2% 0.2% 0.1% skip:15.8%
x264 [info]: mb B I16..4: 0.5% 1.4% 0.1% B16..8: 23.5% 3.9% 0.8% direct: 6.5% skip:63.3% L0:38.6% L1:53.6% BI: 7.8%
x264 [info]: 8x8 transform intra:71.1% inter:77.5%
x264 [info]: coded y,uvDC,uvAC intra: 56.0% 62.2% 32.0% inter: 15.6% 19.2% 4.9%
x264 [info]: i16 v,h,dc,p: 28% 20% 7% 44%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 11% 12% 9% 12% 11% 12% 10% 14%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 11% 8% 8% 17% 12% 11% 8% 10%
x264 [info]: i8c dc,h,v,p: 31% 29% 18% 23%
x264 [info]: Weighted P-Frames: Y:8.4% UV:7.5%
x264 [info]: ref P L0: 53.4% 12.3% 17.6% 5.1% 5.5% 5.5% 0.5%
x264 [info]: ref B L0: 84.8% 8.2% 3.9% 1.7% 1.4%
x264 [info]: ref B L1: 95.3% 4.7%
x264 [info]: SSIM Mean Y:0.9870624 (18.881db)
x264 [info]: PSNR Mean Y:46.597 U:49.791 V:49.981 Avg:47.427 Global:47.284 kb/s:5094.95

encoded 959 frames, 4.17 fps, 5094.95 kb/s

完全意料之中的结果。
日常推 @dgwxx: 基本没什么技术的话题,欢迎没事看看消遣。
► 显示剧情透露 平庸的rip
► 显示剧情透露 “不知道”的五大理由
头像
upyzl
帖子: 446
注册时间: 2010-12-25 18:44
来自: 湘/京
联系: 网站

Re: x264 1867新质量评价体系测试

呃……不拿1834做25000/1001和60000/1001的对比么
头像
dgwxx
管理猿
帖子: 771
注册时间: 2010-09-19 20:42
联系: 网站

Re: x264 1867新质量评价体系测试

在1834的质量评价体系里,fps(->引申为每一帧持续的时间)不对质量的评价造成影响。所以可以预想到的结果是,无论是多少fps,质量都会是完全相同的。不过,口说无凭,姑且又用1834测试了25fps和60fps,log如下:

x2641834-32 --profile high --crf 16 --deblock -1:-1 --keyint 240 --min-keyint 24 --ref 6 --no-fast-pskip --bframes 6 --b-adapt 2 --subme 10 --merange 32 --trellis 2 --psy-rd 0.4:0 --partitions all --me tesa --thread-input --no-dct-decimate --rc-lookahead 48 --b-pyramid normal --aq-mode 2 --psnr --ssim --output NUL "e:\test_25.avs"
avs [info]: 1280x720p 0:0 @ 25000/1001 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
x264 [info]: frame I:7 Avg QP:13.91 size:134065 PSNR Mean Y:50.37 U:52.84 V:53.70 Avg:51.12 Global:50.98
x264 [info]: frame P:216 Avg QP:17.66 size: 38853 PSNR Mean Y:48.02 U:50.94 V:51.09 Avg:48.79 Global:48.68
x264 [info]: frame B:736 Avg QP:21.56 size: 5683 PSNR Mean Y:47.28 U:50.32 V:50.51 Avg:48.08 Global:47.93
x264 [info]: consecutive B-frames: 1.5% 1.5% 5.4% 35.3% 21.0% 25.8% 9.6%
x264 [info]: mb I I16..4: 6.2% 56.5% 37.4%
x264 [info]: mb P I16..4: 3.9% 16.3% 2.2% P16..4: 41.7% 19.2% 5.4% 0.3% 0.4% skip:10.6%
x264 [info]: mb B I16..4: 0.5% 1.3% 0.1% B16..8: 24.8% 4.0% 0.9% direct: 6.6% skip:61.8% L0:39.8% L1:51.7% BI: 8.5%
x264 [info]: 8x8 transform intra:70.5% inter:67.1%
x264 [info]: coded y,uvDC,uvAC intra: 62.9% 67.9% 42.8% inter: 17.7% 21.6% 8.5%
x264 [info]: i16 v,h,dc,p: 26% 20% 7% 47%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 12% 12% 8% 12% 11% 11% 10% 14%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 11% 8% 8% 16% 12% 11% 8% 10%
x264 [info]: i8c dc,h,v,p: 32% 28% 18% 22%
x264 [info]: Weighted P-Frames: Y:7.9% UV:7.4%
x264 [info]: ref P L0: 52.3% 11.3% 19.4% 5.3% 5.8% 5.4% 0.4%
x264 [info]: ref B L0: 83.3% 9.6% 3.9% 1.8% 1.3%
x264 [info]: ref B L1: 96.0% 4.0%
x264 [info]: SSIM Mean Y:0.9888167 (19.514db)
x264 [info]: PSNR Mean Y:47.465 U:50.478 V:50.667 Avg:48.261 Global:48.104 kb/s:2815.37

encoded 959 frames, 3.90 fps, 2815.37 kb/s

=====================================================

x2641834-32 --profile high --crf 16 --deblock -1:-1 --keyint 240 --min-keyint 24 --ref 6 --no-fast-pskip --bframes 6 --b-adapt 2 --subme 10 --merange 32 --trellis 2 --psy-rd 0.4:0 --partitions all --me tesa --thread-input --no-dct-decimate --rc-lookahead 48 --b-pyramid normal --aq-mode 2 --psnr --ssim --output NUL "e:\test_60.avs"
avs [info]: 1280x720p 0:0 @ 60000/1001 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
x264 [info]: frame I:7 Avg QP:13.91 size:134065 PSNR Mean Y:50.37 U:52.84 V:53.70 Avg:51.12 Global:50.98
x264 [info]: frame P:216 Avg QP:17.66 size: 38853 PSNR Mean Y:48.02 U:50.94 V:51.09 Avg:48.79 Global:48.68
x264 [info]: frame B:736 Avg QP:21.56 size: 5683 PSNR Mean Y:47.28 U:50.32 V:50.51 Avg:48.08 Global:47.93
x264 [info]: consecutive B-frames: 1.5% 1.5% 5.4% 35.3% 21.0% 25.8% 9.6%
x264 [info]: mb I I16..4: 6.2% 56.5% 37.4%
x264 [info]: mb P I16..4: 3.9% 16.3% 2.2% P16..4: 41.7% 19.2% 5.4% 0.3% 0.4% skip:10.6%
x264 [info]: mb B I16..4: 0.5% 1.3% 0.1% B16..8: 24.8% 4.0% 0.9% direct: 6.6% skip:61.8% L0:39.8% L1:51.7% BI: 8.5%
x264 [info]: 8x8 transform intra:70.5% inter:67.1%
x264 [info]: coded y,uvDC,uvAC intra: 62.9% 67.9% 42.8% inter: 17.7% 21.6% 8.5%
x264 [info]: i16 v,h,dc,p: 26% 20% 7% 47%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 12% 12% 8% 12% 11% 11% 10% 14%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 11% 8% 8% 16% 12% 11% 8% 10%
x264 [info]: i8c dc,h,v,p: 32% 28% 18% 22%
x264 [info]: Weighted P-Frames: Y:7.9% UV:7.4%
x264 [info]: ref P L0: 52.3% 11.3% 19.4% 5.3% 5.8% 5.4% 0.4%
x264 [info]: ref B L0: 83.3% 9.6% 3.9% 1.8% 1.3%
x264 [info]: ref B L1: 96.0% 4.0%
x264 [info]: SSIM Mean Y:0.9888167 (19.514db)
x264 [info]: PSNR Mean Y:47.465 U:50.478 V:50.667 Avg:48.261 Global:48.104 kb/s:6756.89

encoded 959 frames, 3.91 fps, 6756.89 kb/s

嗯……结果确实是完全一样的。
日常推 @dgwxx: 基本没什么技术的话题,欢迎没事看看消遣。
► 显示剧情透露 平庸的rip
► 显示剧情透露 “不知道”的五大理由
头像
upyzl
帖子: 446
注册时间: 2010-12-25 18:44
来自: 湘/京
联系: 网站

Re: x264 1867新质量评价体系测试

感谢dgw大测试

这对压制高帧率游戏视频还是很有参考价值的
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: x264 1867新质量评价体系测试

其实本来想做个vfr的测试,用vfr的视频看加了vfr mbtree后全片码率分布和1834之间的变化……
或者更EP点看verbose出来的单帧数据……
正好家里这找不到vfr源……
自己写个tc搞进去不知道有没有实用性……毕竟实际动画里面bob60的地方都是一些比较典型的画面,随便找地方嵌个随机tc还是不太甘心……
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。

回到 “视频编码器 / Video encoder discussion”