搜索 社区服务 统计排行 帮助
  • 3777阅读
  • 17回复

[原创]X264参数设置轻微探究

楼层直达
级别: 风云使者
注册时间:
2006-03-12
在线时间:
54小时
发帖:
6604
此文是研究小型MKV的X264参数设置与大小速度质量的
如果你对X264参数了如指掌 或者 只看只压720P 1080P的话请选择无视
对比图片较大 也可点击下面的网址
http://photo.mofile.com/cn/album/albumDown.do?albumId=7V43ZHH37U_205


1 首先是速度与大小 此测试与质量无关
----------------------------------------------------------------------------
--me hex --nr 0 -q 26 -A none -m 1 其他默认

StartTime:2007-07-18 12:21:08
encoded 2928 frames, 24.75 fps, 724.74 kb/s
EndTime:2007-07-18 12:23:07
---------------------------------------------------------
-A all

StartTime:2007-07-18 12:23:07
encoded 2928 frames, 20.12 fps, 701.26 kb/s
EndTime:2007-07-18 12:25:35
--------------------------------------------------
-m 3

StartTime:2007-07-18 12:25:35
encoded 2928 frames, 21.07 fps, 708.81 kb/s
EndTime:2007-07-18 12:27:56
--------------------------------------------------
-m 5

StartTime:2007-07-18 12:27:57
encoded 2928 frames, 18.07 fps, 703.72 kb/s
EndTime:2007-07-18 12:30:41
----------------------------------------------------

-------------------------------------------------------

-q 20

StartTime:2007-07-18 12:59:51
x264 [info]: slice I:19Avg QP:16.00 size: 24156
x264 [info]: slice P:1695 Avg QP:20.00 size: 9189
x264 [info]: slice B:1214 Avg QP:21.55 size: 1803
x264 [info]: mb I I16..4: 31.2% 0.0% 68.8%
x264 [info]: mb P I16..4: 19.7% 0.0% 0.0% P16..4: 47.0% 0.0% 0.0% 0.0% 0.0%skip:33.3%
x264 [info]: mb B I16..4: 1.2% 0.0% 0.0% B16..8: 22.2% 0.0% 0.0% direct:10.4% skip:66.3%
x264 [info]: direct mvs spatial:98.6% temporal:1.4%
x264 [info]: ref P 75.4% 24.6%
x264 [info]: ref B 82.8% 17.2%
x264 [info]: kb/s:1492.3
encoded 2928 frames, 22.27 fps, 1492.39 kb/s
EndTime:2007-07-18 13:02:04
--------------------------------------------------
-q 30

StartTime:2007-07-18 13:02:04
x264 [info]: slice I:19Avg QP:26.00 size: 9720
x264 [info]: slice P:1696 Avg QP:30.00 size: 2927
x264 [info]: slice B:1213 Avg QP:31.55 size: 391
x264 [info]: mb I I16..4: 52.0% 0.0% 48.0%
x264 [info]: mb P I16..4: 19.9% 0.0% 0.0% P16..4: 30.1% 0.0% 0.0% 0.0% 0.0%skip:50.0%
x264 [info]: mb B I16..4: 0.8% 0.0% 0.0% B16..8: 9.8% 0.0% 0.0% direct: 2.8% skip:86.5%
x264 [info]: direct mvs spatial:94.5% temporal:5.5%
x264 [info]: ref P 74.5% 25.5%
x264 [info]: ref B 84.2% 15.8%
x264 [info]: kb/s:460.5
encoded 2928 frames, 26.08 fps, 460.67 kb/s
EndTime:2007-07-18 13:03:58
--------------------------------------------------
-b 16

StartTime:2007-07-18 13:03:59
x264 [info]: slice I:19Avg QP:22.00 size: 14643
x264 [info]: slice P:1275 Avg QP:26.00 size: 5703
x264 [info]: slice B:1634 Avg QP:27.80 size: 754
x264 [info]: mb I I16..4: 42.4% 0.0% 57.6%
x264 [info]: mb P I16..4: 26.0% 0.0% 0.0% P16..4: 42.1% 0.0% 0.0% 0.0% 0.0%skip:32.0%
x264 [info]: mb B I16..4: 0.9% 0.0% 0.0% B16..8: 13.5% 0.0% 0.0% direct: 4.5% skip:81.1%
x264 [info]: direct mvs spatial:96.4% temporal:3.6%
x264 [info]: ref P 76.6% 23.4%
x264 [info]: ref B 81.5% 18.5%
x264 [info]: kb/s:719.1
encoded 2928 frames, 24.71 fps, 719.20 kb/s
EndTime:2007-07-18 13:05:59
--------------------------------------------------
-r 16

StartTime:2007-07-18 13:06:00
x264 [info]: slice I:22Avg QP:22.00 size: 14142
x264 [info]: slice P:1756 Avg QP:26.00 size: 3295
x264 [info]: slice B:1150 Avg QP:27.58 size: 555
x264 [info]: mb I I16..4: 50.7% 0.0% 49.3%
x264 [info]: mb P I16..4: 17.3% 0.0% 0.0% P16..4: 41.3% 0.0% 0.0% 0.0% 0.0%skip:41.4%
x264 [info]: mb B I16..4: 0.7% 0.0% 0.0% B16..8: 14.2% 0.0% 0.0% direct: 3.3% skip:81.8%
x264 [info]: direct mvs spatial:91.7% temporal:8.3%
x264 [info]: ref P 52.6% 8.5% 4.3% 2.7% 3.9% 3.2% 3.3% 4.8% 6.3% 3.4% 1.1% 0.9% 0.8% 1.2% 1.5% 1.5%
x264 [info]: ref B 74.5% 6.8% 3.7% 1.3% 1.4% 1.6% 1.8% 1.8% 2.1% 1.4% 0.8% 0.4% 0.6% 0.9% 0.8%
x264 [info]: kb/s:551.6
encoded 2928 frames, 7.53 fps, 551.74 kb/s
EndTime:2007-07-18 13:12:31
--------------------------------------------------
-nr 100

StartTime:2007-07-18 13:12:31
x264 [info]: slice I:24Avg QP:22.00 size: 14674
x264 [info]: slice P:1753 Avg QP:26.00 size: 4210
x264 [info]: slice B:1151 Avg QP:27.58 size: 587
x264 [info]: mb I I16..4: 48.4% 0.0% 51.6%
x264 [info]: mb P I16..4: 24.3% 0.0% 0.0% P16..4: 34.8% 0.0% 0.0% 0.0% 0.0%skip:41.0%
x264 [info]: mb B I16..4: 1.0% 0.0% 0.0% B16..8: 14.3% 0.0% 0.0% direct: 3.5% skip:81.2%
x264 [info]: direct mvs spatial:94.1% temporal:5.9%
x264 [info]: ref P 78.2% 21.8%
x264 [info]: ref B 84.7% 15.3%
x264 [info]: kb/s:688.6
encoded 2928 frames, 17.62 fps, 688.72 kb/s
EndTime:2007-07-18 13:15:19
--------------------------------------------------
-q 20 --me umh
StartTime:2007-07-18 13:36:52
x264 [info]: slice I:21Avg QP:16.00 size: 23404
x264 [info]: slice P:1756 Avg QP:20.00 size: 8671
x264 [info]: slice B:1151 Avg QP:21.58 size: 1566
x264 [info]: mb I I16..4: 37.2% 0.0% 62.8%
x264 [info]: mb P I16..4: 20.9% 0.0% 0.0% P16..4: 46.3% 0.0% 0.0% 0.0% 0.0%skip:32.7%
x264 [info]: mb B I16..4: 1.4% 0.0% 0.0% B16..8: 24.0% 0.0% 0.0% direct: 7.9% skip:66.7%
x264 [info]: direct mvs spatial:96.6% temporal:3.4%
x264 [info]: ref P 78.0% 22.0%
x264 [info]: ref B 84.4% 15.6%
x264 [info]: kb/s:1434.6
encoded 2928 frames, 16.11 fps, 1434.72 kb/s
EndTime:2007-07-18 13:39:54
--------------------------------------------------
-q 20 -r 5

StartTime:2007-07-18 13:39:54
x264 [info]: slice I:17Avg QP:16.00 size: 22797
x264 [info]: slice P:1698 Avg QP:20.00 size: 8831
x264 [info]: slice B:1213 Avg QP:21.55 size: 1822
x264 [info]: mb I I16..4: 30.2% 0.0% 69.8%
x264 [info]: mb P I16..4: 16.0% 0.0% 0.0% P16..4: 50.7% 0.0% 0.0% 0.0% 0.0%skip:33.4%
x264 [info]: mb B I16..4: 1.0% 0.0% 0.0% B16..8: 22.3% 0.0% 0.0% direct:10.3% skip:66.3%
x264 [info]: direct mvs spatial:96.7% temporal:3.3%
x264 [info]: ref P 64.3% 13.5% 7.4% 5.7% 9.1%
x264 [info]: ref B 78.0% 10.5% 6.0% 2.9% 2.6%
x264 [info]: kb/s:1440.6
encoded 2928 frames, 19.25 fps, 1440.71 kb/s
EndTime:2007-07-18 13:42:27
--------------------------------------------------
-q 20 -nr 200

StartTime:2007-07-18 13:42:27
x264 [info]: slice I:19Avg QP:16.00 size: 25247
x264 [info]: slice P:1696 Avg QP:20.00 size: 8140
x264 [info]: slice B:1213 Avg QP:21.55 size: 1599
x264 [info]: mb I I16..4: 27.9% 0.0% 72.1%
x264 [info]: mb P I16..4: 19.8% 0.0% 0.0% P16..4: 46.9% 0.0% 0.0% 0.0% 0.0%skip:33.3%
x264 [info]: mb B I16..4: 1.2% 0.0% 0.0% B16..8: 22.4% 0.0% 0.0% direct:10.3% skip:66.1%
x264 [info]: direct mvs spatial:99.1% temporal:0.9%
x264 [info]: ref P 74.8% 25.2%
x264 [info]: ref B 82.4% 17.6%
x264 [info]: kb/s:1328.6
encoded 2928 frames, 21.33 fps, 1328.71 kb/s
EndTime:2007-07-18 13:44:46
=========================================
-A all -m 3 在速度和大小上获得较好的平衡 推荐
-q 是影响码率的关键 二次压制推荐25-28甚至更小
-b 一般设3就够了 大了也没什么意思
-nr 能够有效减小码率
-r 16 确实非常有效的减小了码率 然而确实是速度杀手 但是设置-r 5 效果比较不显著 推荐 2-3
--me umh 不推荐

===========================================================
2 raw: last exile op divx 720x480 码率4000还是2000忘了
--------------------------------------------------
--progress --no-psnr --no-ssim --cqm flat --mixed-refs --scenecut 50 -I 250 -i 25 --me hex --sar 1:1 --threads 1 -r 3 --nr 0 -f 0:0 -b 3 --direct "auto" --bime --b-bias 0 --b-pyramid -w -q 26 --qpmin 10 --qpmax 51 --8x8dct -A p8x8,p4x4,b8x8,i8x8,i4x4 --ipratio 1.500000 --pbratio 1.300000 -m 3

StartTime:2007-07-18 14:38:42

x264 [info]: slice I:56Avg QP:22.00 size: 11058
x264 [info]: slice P:2005 Avg QP:26.00 size: 6036
x264 [info]: slice B:726 Avg QP:27.75 size: 1300
x264 [info]: mb I I16..4: 19.2% 66.2% 14.6%
x264 [info]: mb P I16..4: 8.2% 42.2% 3.8% P16..4: 19.5% 5.4% 1.6% 0.2% 0.1%skip:19.0%
x264 [info]: mb B I16..4: 0.3% 2.7% 0.4% B16..8: 12.6% 0.6% 1.0% direct: 4.3% skip:78.2%
x264 [info]: 8x8 transform intra:77.3% inter:57.3%
x264 [info]: direct mvs spatial:99.6% temporal:0.4%
x264 [info]: ref P 79.5% 11.7% 8.8%
x264 [info]: ref B 87.2% 8.1% 4.7%
x264 [info]: kb/s:1175.7
encoded 2787 frames, 8.99 fps, 1175.86 kb/s
EndTime:2007-07-18 14:43:52
--------------------------------------------------
-m 5

StartTime:2007-07-18 14:43:53

x264 [info]: slice I:59Avg QP:22.00 size: 11388
x264 [info]: slice P:2007 Avg QP:26.00 size: 5985
x264 [info]: slice B:721 Avg QP:27.75 size: 1290
x264 [info]: mb I I16..4: 19.0% 65.9% 15.0%
x264 [info]: mb P I16..4: 8.1% 41.7% 3.6% P16..4: 19.2% 5.9% 1.8% 0.3% 0.1%skip:19.2%
x264 [info]: mb B I16..4: 0.3% 2.6% 0.3% B16..8: 13.5% 0.6% 1.1% direct: 3.6% skip:78.0%
x264 [info]: 8x8 transform intra:77.5% inter:56.3%
x264 [info]: direct mvs spatial:99.6% temporal:0.4%
x264 [info]: ref P 80.8% 11.0% 8.3%
x264 [info]: ref B 88.3% 7.2% 4.5%
x264 [info]: kb/s:1171.2

encoded 2787 frames, 6.23 fps, 1171.39 kb/s
EndTime:2007-07-18 14:51:22
--------------------------------------------------
umh

StartTime:2007-07-18 14:51:22

x264 [info]: slice I:48Avg QP:22.00 size: 11025
x264 [info]: slice P:2014 Avg QP:26.00 size: 6009
x264 [info]: slice B:725 Avg QP:27.75 size: 1294
x264 [info]: mb I I16..4: 20.6% 64.2% 15.2%
x264 [info]: mb P I16..4: 8.3% 41.7% 3.4% P16..4: 19.9% 5.7% 2.0% 0.2% 0.1%skip:18.8%
x264 [info]: mb B I16..4: 0.2% 2.6% 0.3% B16..8: 12.8% 0.6% 1.1% direct: 4.2% skip:78.1%
x264 [info]: 8x8 transform intra:77.7% inter:55.5%
x264 [info]: direct mvs spatial:99.6% temporal:0.4%
x264 [info]: ref P 79.1% 11.8% 9.1%
x264 [info]: ref B 86.9% 8.1% 5.0%
x264 [info]: kb/s:1167.3

encoded 2787 frames, 5.88 fps, 1167.49 kb/s
EndTime:2007-07-18 14:59:18
=================================
-m 5 虽然是默认参数 不过实在是速度杀手 而且质量没什么显著提升 不推荐
umh 更加不推荐

对比图片
  1. umh
  2. [url]http://pdjh02.mofile.com/p/1/2007/7/18/BF/BFTWLI0FDY_205.jpg[/url]
  3. -m 5
  4. [url]http://pdjh02.mofile.com/p/1/2007/7/18/P2/P2YIKG22MJ_205.jpg[/url]
  5. 基本
  6. [url]http://pdjh02.mofile.com/p/1/2007/7/18/P2/P2YIKG22MJ_205.jpg[/url]

=======================================================
raw: 妄想代理人 op divx 1024*576 码率4000还是2000忘了
--------------------------------------------------
--progress --no-psnr --no-ssim --cqm flat --mixed-refs --scenecut 50 -I 250 -i 25 --me hex --sar 1:1 --threads 1 -r 3 --nr 0 -f 0:0 -b 3 --direct "auto" --bime --b-bias 0 --b-pyramid -w -q 26 --qpmin 10 --qpmax 51 --8x8dct -A p8x8,p4x4,b8x8,i8x8,i4x4 --ipratio 1.500000 --pbratio 1.300000 -m 3

StartTime:2007-07-18 15:40:55
x264 [info]: slice I:22Avg QP:22.00 size: 23557
x264 [info]: slice P:1725 Avg QP:26.00 size: 8837
x264 [info]: slice B:408 Avg QP:29.42 size: 2235
x264 [info]: mb I I16..4: 13.3% 65.7% 21.0%
x264 [info]: mb P I16..4: 4.2% 24.0% 3.5% P16..4: 20.2% 6.6% 1.9% 0.2% 0.1%skip:39.3%
x264 [info]: mb B I16..4: 0.3% 4.0% 0.9% B16..8: 9.0% 0.7% 0.8% direct: 2.0% skip:82.3%
x264 [info]: 8x8 transform intra:75.4% inter:56.3%
x264 [info]: direct mvs spatial:99.3% temporal:0.7%
x264 [info]: ref P 76.2% 13.7% 10.1%
x264 [info]: ref B 69.5% 17.6% 12.9%
x264 [info]: kb/s:1484.1

encoded 2155 frames, 5.73 fps, 1484.25 kb/s
EndTime:2007-07-18 15:47:14
--------------------------------------------------
-nr 100

StartTime:2007-07-18 15:47:14

x264 [info]: slice I:22Avg QP:22.00 size: 23557
x264 [info]: slice P:1725 Avg QP:26.00 size: 8715
x264 [info]: slice B:408 Avg QP:29.42 size: 2218
x264 [info]: mb I I16..4: 13.3% 65.7% 21.0%
x264 [info]: mb P I16..4: 4.2% 24.0% 3.5% P16..4: 20.2% 6.6% 1.9% 0.2% 0.1%skip:39.3%
x264 [info]: mb B I16..4: 0.3% 4.0% 0.9% B16..8: 9.1% 0.7% 0.8% direct: 2.0% skip:82.2%
x264 [info]: 8x8 transform intra:75.4% inter:55.7%
x264 [info]: direct mvs spatial:98.8% temporal:1.2%
x264 [info]: ref P 76.1% 13.8% 10.1%
x264 [info]: ref B 69.6% 17.6% 12.8%
x264 [info]: kb/s:1464.8

encoded 2155 frames, 5.65 fps, 1464.93 kb/s
EndTime:2007-07-18 15:53:38
--------------------------------------------------
-r 8

StartTime:2007-07-18 15:53:39

x264 [info]: slice I:20Avg QP:22.00 size: 23103
x264 [info]: slice P:1727 Avg QP:26.00 size: 8580
x264 [info]: slice B:408 Avg QP:29.42 size: 2104
x264 [info]: mb I I16..4: 13.6% 66.4% 20.0%
x264 [info]: mb P I16..4: 4.1% 23.0% 2.8% P16..4: 21.1% 7.1% 2.4% 0.2% 0.1%skip:39.3%
x264 [info]: mb B I16..4: 0.3% 3.7% 0.7% B16..8: 9.5% 0.7% 0.8% direct: 1.9% skip:82.4%
x264 [info]: 8x8 transform intra:76.7% inter:55.8%
x264 [info]: direct mvs spatial:97.8% temporal:2.2%
x264 [info]: ref P 67.6% 10.7% 7.1% 3.7% 3.5% 3.0% 2.5% 2.0%
x264 [info]: ref B 58.7% 13.0% 8.3% 5.9% 4.6% 3.0% 3.3% 3.2%
x264 [info]: kb/s:1436.4
encoded 2155 frames, 3.91 fps, 1436.50 kb/s
EndTime:2007-07-18 16:02:51
--------------------------------------------------
--ipratio 1.800000 --pbratio 1.200000

StartTime:2007-07-18 16:02:52
x264 [info]: slice I:22Avg QP:21.00 size: 25251
x264 [info]: slice P:1725 Avg QP:26.00 size: 8833
x264 [info]: slice B:408 Avg QP:27.71 size: 2948
x264 [info]: mb I I16..4: 13.3% 65.2% 21.5%
x264 [info]: mb P I16..4: 4.2% 24.0% 3.5% P16..4: 20.2% 6.6% 1.9% 0.2% 0.1%skip:39.3%
x264 [info]: mb B I16..4: 0.4% 4.0% 1.2% B16..8: 10.9% 0.9% 1.1% direct: 3.5% skip:78.1%
x264 [info]: 8x8 transform intra:75.2% inter:56.4%
x264 [info]: direct mvs spatial:98.8% temporal:1.2%
x264 [info]: ref P 76.1% 13.9% 10.1%
x264 [info]: ref B 70.2% 17.5% 12.3%
x264 [info]: kb/s:1512.6
encoded 2155 frames, 5.69 fps, 1512.73 kb/s
EndTime:2007-07-18 16:09:13
================================
-r -nr 都可有效减小码率 但前者是速度杀手 不推荐
--ipratio 增加的同时建议也增加 --pbratio

对比图片
  1. -r 8
  2. [url]http://pdjh02.mofile.com/p/1/2007/7/18/4M/4M0EHXIZG8_205.jpg[/url]
  3. -nr 100
  4. [url]http://pdjh02.mofile.com/p/1/2007/7/18/OT/OT1ACVH3HZ_205.jpg[/url]
  5. ip 1.8 pb 1.2
  6. [url]http://pdjh02.mofile.com/p/1/2007/7/18/DW/DW3PA1E7MU_205.jpg[/url]
  7. 基本
  8. [url]http://pdjh02.mofile.com/p/1/2007/7/18/TA/TADKKV8R79_205.jpg[/url]

================================================
raw: ergo proxy op divx 4000+ kb/s 704*306
--------------------------------------------------
--progress --no-psnr --no-ssim --cqm flat --mixed-refs --scenecut 50 -I 250 -i 25 --me hex --sar 1:1 --threads 1 -r 3 --nr 0 -f 0:0 -b 3 --direct "auto" --bime --b-bias 0 --b-pyramid -w -q 26 --qpmin 10 --qpmax 51 --8x8dct -A p8x8,p4x4,b8x8,i8x8,i4x4 --ipratio 1.500000 --pbratio 1.500000 -m 3

StartTime:2007-07-18 16:51:26
x264 [info]: slice I:41Avg QP:22.00 size: 27225
x264 [info]: slice P:1821 Avg QP:26.00 size: 11003
x264 [info]: slice B:670 Avg QP:29.78 size: 2077
x264 [info]: mb I I16..4: 12.8% 52.2% 35.0%
x264 [info]: mb P I16..4: 5.4% 36.9% 5.9% P16..4: 20.2% 7.8% 3.7% 0.6% 0.4%skip:19.3%
x264 [info]: mb B I16..4: 0.5% 5.2% 0.6% B16..8: 13.3% 1.1% 2.0% direct: 6.2% skip:71.0%
x264 [info]: 8x8 transform intra:75.9% inter:47.5%
x264 [info]: direct mvs spatial:98.7% temporal:1.3%
x264 [info]: ref P 75.7% 13.9% 10.3%
x264 [info]: ref B 80.0% 11.7% 8.3%
x264 [info]: kb/s:1707.9

encoded 2532 frames, 10.02 fps, 1708.02 kb/s
EndTime:2007-07-18 16:55:41
--------------------------------------------------
-t 1

StartTime:2007-07-18 16:55:41

x264 [info]: slice I:42Avg QP:22.00 size: 27506
x264 [info]: slice P:1820 Avg QP:26.00 size: 10819
x264 [info]: slice B:670 Avg QP:29.78 size: 2117
x264 [info]: mb I I16..4: 12.5% 52.9% 34.6%
x264 [info]: mb P I16..4: 5.5% 36.4% 5.8% P16..4: 20.2% 7.9% 3.7% 0.6% 0.4%skip:19.4%
x264 [info]: mb B I16..4: 0.5% 5.2% 0.6% B16..8: 13.0% 1.1% 2.0% direct: 7.0% skip:70.5%
x264 [info]: 8x8 transform intra:75.4% inter:51.9%
x264 [info]: direct mvs spatial:98.7% temporal:1.3%
x264 [info]: ref P 75.0% 14.4% 10.6%
x264 [info]: ref B 79.2% 12.1% 8.7%
x264 [info]: kb/s:1686.6
encoded 2532 frames, 8.55 fps, 1686.75 kb/s
EndTime:2007-07-18 17:00:39
--------------------------------------------------
-t 2

StartTime:2007-07-18 17:00:40

x264 [info]: slice I:39Avg QP:22.00 size: 26720
x264 [info]: slice P:1823 Avg QP:26.00 size: 10916
x264 [info]: slice B:670 Avg QP:29.78 size: 2137
x264 [info]: mb I I16..4: 13.5% 53.5% 32.9%
x264 [info]: mb P I16..4: 5.3% 35.2% 5.0% P16..4: 20.8% 8.6% 4.8% 0.6% 0.4%skip:19.3%
x264 [info]: mb B I16..4: 0.5% 4.9% 0.6% B16..8: 13.3% 1.1% 2.1% direct: 6.8% skip:70.8%
x264 [info]: 8x8 transform intra:76.5% inter:50.9%
x264 [info]: direct mvs spatial:98.7% temporal:1.3%
x264 [info]: ref P 66.3% 11.8% 7.7% 3.9% 3.2% 2.7% 2.4% 1.9%
x264 [info]: ref B 71.6% 10.1% 5.6% 4.1% 2.8% 2.2% 2.1% 1.5%
x264 [info]: kb/s:1694.9

encoded 2532 frames, 6.02 fps, 1695.06 kb/s
EndTime:2007-07-18 17:07:42
--------------------------------------------------
--ipratio 1.800000 --pbratio 1.500000

StartTime:2007-07-18 17:07:42
x264 [info]: slice I:42Avg QP:21.00 size: 30666
x264 [info]: slice P:1820 Avg QP:26.00 size: 10999
x264 [info]: slice B:670 Avg QP:29.78 size: 2078
x264 [info]: mb I I16..4: 12.5% 52.3% 35.2%
x264 [info]: mb P I16..4: 5.4% 36.9% 5.9% P16..4: 20.1% 7.8% 3.7% 0.6% 0.4%skip:19.3%
x264 [info]: mb B I16..4: 0.5% 5.2% 0.6% B16..8: 13.4% 1.1% 2.0% direct: 6.2% skip:71.0%
x264 [info]: 8x8 transform intra:75.8% inter:47.5%
x264 [info]: direct mvs spatial:98.7% temporal:1.3%
x264 [info]: ref P 75.7% 14.0% 10.3%
x264 [info]: ref B 79.9% 11.8% 8.2%
x264 [info]: kb/s:1719.5
encoded 2532 frames, 10.00 fps, 1719.66 kb/s
EndTime:2007-07-18 17:11:58
=============================
推荐使用 -t 1
--ipratio 增大 速度基本不变 码率没有显著增加 然而I帧QP提高一个单位 推荐

对比图片
  1. -t 1
  2. [url]http://pdjh02.mofile.com/p/1/2007/7/18/ZF/ZFO60WS0KR_205.jpg[/url]
  3. -t 2
  4. [url]http://pdjh02.mofile.com/p/1/2007/7/18/DM/DM3Z08F3MZ_205.jpg[/url]
  5. 基本
  6. [url]http://pdjh02.mofile.com/p/1/2007/7/18/P9/P9OF0Q0T28_205.jpg[/url]
  7. ip 1.8 pb 1.5
  8. [url]http://pdjh02.mofile.com/p/1/2007/7/18/HL/HLD4VP6S99_205.jpg[/url]

==============================================================
以上

级别: 精灵王
注册时间:
2004-07-26
在线时间:
18小时
发帖:
3730
只看该作者 1楼 发表于: 2007-07-18
lz 辛苦了 ~~  



沉默是金................
懂得不多,就单单学会点人家传授的皮毛就一付不得了了的语气的,让人看了就只会觉得他是小丑~ 有本事自创一个有新意的理论..

高手不是挂在嘴上的~~ 挂在嘴上的叫高嘴
谦虚是美德~

  
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
  
========================================
免费诊测你的IP~~ :p :p (看不到说明有RPWT)
级别: 侠客
注册时间:
2005-12-16
在线时间:
5小时
发帖:
676
只看该作者 2楼 发表于: 2007-07-18
-r 16 确实非常有效的减小了码率 然而确实是速度杀手 但是设置-r 5 效果比较不显著 推荐 2-3
===========
这个,你的第一批测试里面有个默认的q26 -r1 724.74 kb/s
,后面有个q26 -r16 551.74 kb/s
,没看到q26 -r5或q26 -r2-3压出来的码率是多少,上面那个结论是怎么出来的?

另外要否定-b 16的话最好找段静态多的动画也压一下才能下结论。


话说-nr。。。有人用这个么?比起deen之类的怎么样?

爱看看不看滚
级别: 风云使者
注册时间:
2006-03-12
在线时间:
54小时
发帖:
6604
只看该作者 3楼 发表于: 2007-07-18
引用
最初由 kzhou 发布
-r 16 确实非常有效的减小了码率 然而确实是速度杀手 但是设置-r 5 效果比较不显著 推荐 2-3
===========
这个,你的第一批测试里面有个默认的q26 -r1 724.74 kb/s
,后面有个q26 -r16 551.74 kb/s
,没看到q26 -r5或q26 -r2-3压出来的码率是多少,上面那个结论是怎么出来的?

另外要否定-b 16的话最好找段静态多的动画也压一下才能下结论。


话说-nr。。。有人用这个么?比起deen之类的怎么样?


-q 20 -r 5

StartTime:2007-07-18 13:39:54
x264 [info]: slice I:17Avg QP:16.00 size: 22797
x264 [info]: slice P:1698 Avg QP:20.00 size: 8831
x264 [info]: slice B:1213 Avg QP:21.55 size: 1822
x264 [info]: mb I I16..4: 30.2% 0.0% 69.8%
x264 [info]: mb P I16..4: 16.0% 0.0% 0.0% P16..4: 50.7% 0.0% 0.0% 0.0% 0.0%skip:33.4%
x264 [info]: mb B I16..4: 1.0% 0.0% 0.0% B16..8: 22.3% 0.0% 0.0% direct:10.3% skip:66.3%
x264 [info]: direct mvs spatial:96.7% temporal:3.3%
x264 [info]: ref P 64.3% 13.5% 7.4% 5.7% 9.1%
x264 [info]: ref B 78.0% 10.5% 6.0% 2.9% 2.6%
x264 [info]: kb/s:1440.6
encoded 2928 frames, 19.25 fps, 1440.71 kb/s
EndTime:2007-07-18 13:42:27


-nr 雷鸣用的吧

-b 16 在DOOM9上被说是USELESS的 因为这个设置是最大值 99%都是3以内的

级别: 侠客
注册时间:
2005-12-16
在线时间:
5小时
发帖:
676
只看该作者 4楼 发表于: 2007-07-19
-q 20 -r 5和原来q26的两个如何比较。。。
我还是等有空了自己试试去了。
不过-r这边的人用到小于5的不多吧?大家都是机器猛又有时间的人。。- -

爱看看不看滚
级别: 风云使者
注册时间:
2006-03-12
在线时间:
54小时
发帖:
6604
只看该作者 5楼 发表于: 2007-07-19
引用
最初由 kzhou 发布
-q 20 -r 5和原来q26的两个如何比较。。。
我还是等有空了自己试试去了。
不过-r这边的人用到小于5的不多吧?大家都是机器猛又有时间的人。。- -


-q 20 -r 5 和 -q 20 以及 q 20 -nr 200 比较 显然 -nr 200 作用显著

级别: 工作组
注册时间:
2005-05-03
在线时间:
0小时
发帖:
2914
只看该作者 6楼 发表于: 2007-07-19
引用
最初由 superkidx 发布



-nr 雷鸣用的吧

-b 16 在DOOM9上被说是USELESS的 因为这个设置是最大值 99%都是3以内的

[/han] 我什么时候用这个了……只是说它可以减小码率,我自己又不用……
级别: 风云使者
注册时间:
2006-03-12
在线时间:
54小时
发帖:
6604
只看该作者 7楼 发表于: 2007-07-19
引用
最初由 雷鸣 发布

[/han] 我什么时候用这个了……只是说它可以减小码率,我自己又不用……

http://popgo.net/bbs/showthread.php?s=&threadid=430697

nr = 170

级别: 新手上路
注册时间:
2005-03-31
在线时间:
0小时
发帖:
135
只看该作者 8楼 发表于: 2007-07-19
压动画,开aq能明显减少大的block
--aq-strength 0.5 --aq-sensitivity 5

AutoGK简易指引
http://u8.sh.com/?jerryds
http://jerryds.ys168.com
级别: 工作组
注册时间:
2005-05-03
在线时间:
0小时
发帖:
2914
只看该作者 9楼 发表于: 2007-07-19
啥时的东西也翻出来……
aq?没听说过,什么时候看看去。

编辑:x264 --longhelp 未发现aq参数……
级别: 风云使者
注册时间:
2006-03-12
在线时间:
54小时
发帖:
6604
只看该作者 10楼 发表于: 2007-07-19
引用
最初由 雷鸣 发布
啥时的东西也翻出来……
aq?没听说过,什么时候看看去。

编辑:x264 --longhelp 未发现aq参数……


是新的特性吧

另外 你签名中的MOFILE动画质量怎么那么好啊

级别: 工作组
注册时间:
2005-05-03
在线时间:
0小时
发帖:
2914
只看该作者 11楼 发表于: 2007-07-19
引用
最初由 superkidx 发布


是新的特性吧

另外 你签名中的MOFILE动画质量怎么那么好啊

具体看这里
http://popgo.net/bbs/showthread.php?s=&threadid=452493
级别: 新手上路
注册时间:
2005-03-31
在线时间:
0小时
发帖:
135
只看该作者 12楼 发表于: 2007-07-19
sharktooth 版才有的额外的patch

http://mirror05.x264.nl/Cef/

AutoGK简易指引
http://u8.sh.com/?jerryds
http://jerryds.ys168.com
级别: 新手上路
注册时间:
2007-02-26
在线时间:
0小时
发帖:
185
只看该作者 13楼 发表于: 2007-07-29
nr对速度影响很小,至少nr100对速度影响很小~

在固顶码率下,如果开nr100,我测试的结果是提高了PSNR但降低了SSIM~

CQ模式下如果开nr100,在速度牺牲4%的情况下,码率下降了6%。

另外,我用下面的脚本分析一下nr都干了些什么

a=directshowsource("nr0.mkv",25)
b=directshowsource("nr100.mkv",25)
Subtract(a,b)

发现nr主要是磨去了物体边缘和带复杂纹理的表面上的噪声,这种噪声类似雪花点也就是白噪声,我想觉得从观看角度上讲,去掉这些噪声是有好处的。尤其对于动画片更是如此。对于低码率下的电影也能提高主观观感。另外nr对速度影响很小,比外置去噪滤镜划算~
级别: 风云使者
注册时间:
2006-03-12
在线时间:
54小时
发帖:
6604
只看该作者 14楼 发表于: 2007-07-29
引用
最初由 techneek 发布
nr对速度影响很小,至少nr100对速度影响很小~

在固顶码率下,如果开nr100,我测试的结果是提高了PSNR但降低了SSIM~

CQ模式下如果开nr100,在速度牺牲4%的情况下,码率下降了6%。

另外,我用下面的脚本分析一下nr都干了些什么

a=directshowsource("nr0.mkv",25)
b=directshowsource("nr100.mkv",25)
Subtract(a,b)

发现nr主要是磨去了物体边缘和带复杂纹理的表面上的噪声,这种噪声类似雪花点也就是白噪声,我想觉得从观看角度上讲,去掉这些噪声是有好处的。尤其对于动画片更是如此。对于低码率下的电影也能提高主观观感。另外nr对速度影响很小,比外置去噪滤镜划算~


我测试的感觉是速度基本不降 但码率显著下降

快速回复

限150 字节
上一个 下一个