『漫游』酷论坛>『影音数码技术学习交流』>关于x264编码psy_rd参数 ..
vempx@2008-07-22 00:46
--psy-rd 0
这样应该是关闭psy了吧,待会试试去~
52wy@2008-07-22 07:14
901 关闭PsyRDO的log
Log for job job1
Job commandline: "F:\comic\media\MeGUI2\tools\x264\x264.exe" --crf 20.0 --ref 16 --mixed-refs --no-fast-pskip --bframes 16 --b-pyramid --b-rdo --bime --weightb --direct auto --filter 1,1 --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output "F:\avc.mp4" "F:\avc.avs" --aq-mode 0 --rdcmp ssd
avis [info]: 704x396 @ 23.98 fps (2515 frames)
x264 [warning]: width or height not divisible by 16 (704x396), compression will suffer.
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 Cache64
mp4 [info]: initial delay 2002 (scale 24000)
x264 [info]: slice I:30 Avg QP:19.73 size: 25435
x264 [info]: slice P:1758 Avg QP:22.45 size: 11150
x264 [info]: slice B:727 Avg QP:22.80 size: 1997
x264 [info]: mb I I16..4: 30.7% 34.7% 34.6%
x264 [info]: mb P I16..4: 11.2% 12.0% 6.3% P16..4: 34.1% 12.2% 7.5% 0.0% 0.0% skip:16.7%
x264 [info]: mb B I16..4: 0.3% 0.2% 0.2% B16..8: 21.8% 1.5% 2.7% direct: 4.5% skip:68.9%
x264 [info]: 8x8 transform intra:40.2% inter:49.2%
x264 [info]: direct mvs spatial:97.7% temporal:2.3%
x264 [info]: ref P 76.4% 9.1% 4.6% 1.9% 1.5% 1.2% 1.1% 0.9% 0.7% 0.7% 0.5% 0.3% 0.3% 0.3% 0.3% 0.3%
x264 [info]: ref B 79.3% 8.5% 3.2% 1.9% 1.6% 0.9% 0.8% 0.5% 0.8% 0.7% 0.5% 0.4% 0.3% 0.3% 0.2%
x264 [info]: kb/s:1663.9
encoded 2515 frames, 3.74 fps, 1664.06 kb/s
desired video bitrate of this job: 20 kbit/s - obtained video bitrate (approximate): 1665 kbit/s
------------------------------------------------------
901 开启PsyRDO的log
Job commandline: "F:\comic\media\MeGUI2\tools\x264\x264.exe" --crf 20.0 --ref 16 --mixed-refs --no-fast-pskip --bframes 16 --b-pyramid --b-rdo --bime --weightb --direct auto --filter 1,1 --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output "F:\avc.mp4" "F:\avc.avs" --aq-mode 0
avis [info]: 704x396 @ 23.98 fps (2515 frames)
x264 [warning]: width or height not divisible by 16 (704x396), compression will suffer.
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 Cache64
mp4 [info]: initial delay 2002 (scale 24000)
x264 [info]: slice I:30 Avg QP:19.73 size: 29812
x264 [info]: slice P:1758 Avg QP:22.45 size: 12575
x264 [info]: slice B:727 Avg QP:22.80 size: 2541
x264 [info]: mb I I16..4: 25.4% 51.1% 23.5%
x264 [info]: mb P I16..4: 8.4% 10.0% 4.1% P16..4: 35.6% 13.8% 13.2% 0.0% 0.0% skip:14.9%
x264 [info]: mb B I16..4: 0.2% 0.1% 0.1% B16..8: 32.7% 1.4% 4.6% direct: 5.0% skip:55.9%
x264 [info]: 8x8 transform intra:44.9% inter:50.3%
x264 [info]: direct mvs spatial:94.6% temporal:5.4%
x264 [info]: ref P 74.9% 9.6% 4.8% 2.0% 1.6% 1.3% 1.2% 0.9% 0.8% 0.7% 0.5% 0.4% 0.3% 0.3% 0.3% 0.3%
x264 [info]: ref B 78.7% 9.4% 3.5% 1.8% 1.5% 0.9% 0.7% 0.5% 0.7% 0.6% 0.5% 0.3% 0.3% 0.3% 0.2%
x264 [info]: kb/s:1895.0
encoded 2515 frames, 3.45 fps, 1895.16 kb/s
desired video bitrate of this job: 20 kbit/s - obtained video bitrate (approximate): 1896 kbit/s
------------------------------------------------------
915默认开启PsyRDO的log
--[NoImage] Job commandline: "F:\comic\media\MeGUI\tools\x264\x264.exe" --crf 20.0 --ref 16 --mixed-refs --no-fast-pskip --bframes 16 --b-pyramid --b-rdo --bime --weightb --direct auto --filter 1,1 --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --aq-mode 0 --sar 1:1 --progress --no-psnr --no-ssim --output "F:\avc.mp4" "F:\avc.avs"
--[Information] [2008-7-22 6:44:48] Encoding started
--[NoImage] Standard output stream:
--[NoImage] Standard error stream
---[NoImage] avis [info]: 704x396 @ 23.98 fps (2515 frames)
---[NoImage] x264 [warning]: width or height not divisible by 16 (704x396), compression will suffer.
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 Cache64
---[NoImage] mp4 [info]: initial delay 2002 (scale 24000)
---[NoImage] x264 [info]: slice I:30 Avg QP:19.73 size: 26679
---[NoImage] x264 [info]: slice P:1758 Avg QP:22.45 size: 11800
---[NoImage] x264 [info]: slice B:727 Avg QP:22.80 size: 2265
---[NoImage] x264 [info]: mb I I16..4: 25.2% 44.8% 29.9%
---[NoImage] x264 [info]: mb P I16..4: 8.8% 10.8% 4.9% P16..4: 36.6% 13.3% 9.7% 0.0% 0.0% skip:15.9%
---[NoImage] x264 [info]: mb B I16..4: 0.2% 0.2% 0.1% B16..8: 27.4% 1.5% 2.1% direct: 6.1% skip:62.4% L0:38.0% L1:49.1% BI:12.8%
---[NoImage] x264 [info]: 8x8 transform intra:44.0% inter:52.8%
---[NoImage] x264 [info]: direct mvs spatial:96.7% temporal:3.3%
---[NoImage] x264 [info]: ref P L0 75.7% 9.4% 4.7% 2.0% 1.6% 1.2% 1.1% 0.9% 0.8% 0.7% 0.5% 0.3% 0.3% 0.3% 0.3% 0.3%
---[NoImage] x264 [info]: ref B L0 78.9% 8.9% 3.4% 1.8% 1.6% 0.9% 0.8% 0.5% 0.8% 0.7% 0.5% 0.3% 0.4% 0.3% 0.2%
---[NoImage] x264 [info]: ref B L1 95.8% 4.2%
---[NoImage] x264 [info]: kb/s:1768.7
---[NoImage] encoded 2515 frames, 3.52 fps, 1768.87 kb/s
--[Information] Final statistics
---[NoImage] Constant Quality Mode: Quality 20 computed...
---[NoImage] Video Bitrate Obtained (approximate): 1770 kbit/s
--[Information] [2008-7-22 6:56:43] Job completed
--[Information] [2008-7-22 6:56:43] Postprocessing
---[Information] Deleting intermediate files
------------------------------------------------------
915使用--psy-rd 0 的log
--[NoImage] Job commandline: "F:\comic\media\MeGUI\tools\x264\x264.exe" --crf 20.0 --ref 16 --mixed-refs --no-fast-pskip --bframes 16 --b-pyramid --b-rdo --bime --weightb --direct auto --filter 1,1 --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --aq-mode 0 --sar 1:1 --progress --no-psnr --no-ssim --output "F:\avc.mp4" "F:\avc.avs" --psy-rd 0
--[Information] [2008-7-22 7:28:06] Encoding started
--[NoImage] Standard output stream:
--[NoImage] Standard error stream
---[NoImage] avis [info]: 704x396 @ 23.98 fps (2515 frames)
---[NoImage] x264 [warning]: width or height not divisible by 16 (704x396), compression will suffer.
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 Cache64
---[NoImage] mp4 [info]: initial delay 2002 (scale 24000)
---[NoImage] x264 [info]: slice I:30 Avg QP:19.73 size: 25435
---[NoImage] x264 [info]: slice P:1758 Avg QP:22.45 size: 11150
---[NoImage] x264 [info]: slice B:727 Avg QP:22.80 size: 1997
---[NoImage] x264 [info]: mb I I16..4: 30.7% 34.7% 34.6%
---[NoImage] x264 [info]: mb P I16..4: 11.2% 12.0% 6.3% P16..4: 34.1% 12.2% 7.5% 0.0% 0.0% skip:16.7%
---[NoImage] x264 [info]: mb B I16..4: 0.3% 0.2% 0.2% B16..8: 21.8% 1.5% 1.6% direct: 5.5% skip:68.9% L0:38.1% L1:46.7% BI:15.3%
---[NoImage] x264 [info]: 8x8 transform intra:40.2% inter:49.2%
---[NoImage] x264 [info]: direct mvs spatial:97.7% temporal:2.3%
---[NoImage] x264 [info]: ref P L0 76.4% 9.1% 4.6% 1.9% 1.5% 1.2% 1.1% 0.9% 0.7% 0.7% 0.5% 0.3% 0.3% 0.3% 0.3% 0.3%
---[NoImage] x264 [info]: ref B L0 79.3% 8.5% 3.2% 1.9% 1.6% 0.9% 0.8% 0.5% 0.8% 0.7% 0.5% 0.4% 0.3% 0.3% 0.2%
---[NoImage] x264 [info]: ref B L1 96.2% 3.8%
---[NoImage] x264 [info]: kb/s:1663.9
---[NoImage] encoded 2515 frames, 3.81 fps, 1664.03 kb/s
--[Information] Final statistics
---[NoImage] Constant Quality Mode: Quality 20 computed...
---[NoImage] Video Bitrate Obtained (approximate): 1665 kbit/s
--[Information] [2008-7-22 7:39:06] Job completed
--[Information] [2008-7-22 7:39:06] Postprocessing
---[Information] Deleting intermediate files
根据测试结果 915的--psy-rd 0参数效果等于915之前的--rdcmp ssd(可能),还等高人确认。。。。
vempx@2008-07-22 10:03
那么--psy-rd 0 和默认的参数压出的片子视觉观感有不同吗?
52wy@2008-07-22 12:07
说实话 没有
vempx@2008-07-22 12:30
=_,= 观感没差别,码率凭空小了100多K,关之!
52wy@2008-07-22 12:37
关闭PsyRDO
开启PsyRDO
仔细看还是有些差异,主要在背景的细节上。据说PsyRDO本来就是锐化画面用的,细节从感官上而言有些提升。但是至于性价比如何,这个还看大家自己的理念咯。。
开启PsyRDO:
优点:细节感觉有提升。
缺点:体积直线上升,画面看起来有些脏,可能是锐化的缘故造成的。2pass用可能不错。
关闭PsyRDO:
优点:crf cq模式下体积小。画面比较干净
缺点:也许细节不如开启状态吧。
假如用crf 20+PsyRDO 来代替crf 19 不开启PsyRDO,这个方案估计也是可行的:D 体积可以保持住,细节也提升了。
bomber1984@2008-07-22 13:33
颜色深浅度不一样
两张截图
更正
是我自己的问题
颜色一样
52wy@2008-07-22 13:48
颜色感觉一样啊。。用acdsee切换看没看出区别。。
蓝の回忆@2008-07-22 14:21
差距太小了..
只在箭头附近有稍许差别..
52wy@2008-07-22 14:32
http://www.fs2you.com/files/d0f54c68-57b7-11dd-81a4-0019d11a795f/
有兴趣自己下压完的视频看吧~~
qyqgpower@2008-07-22 19:34
PsyRDO压滤得一干二净的tvrip没什么大用,反而可能会增加ringing
但PsyRDO能有效防止banding的发生,保留噪点等细节,压DVD、BD时非常有用
52wy@2008-07-22 19:46
引用
最初由 qyqgpower 发布
PsyRDO压滤得一干二净的tvrip没什么大用,反而可能会增加ringing
但PsyRDO能有效防止banding的发生,保留噪点等细节,压DVD、BD时非常有用
同感~
52wy@2008-08-17 23:46
最近x264更新后,使用PsyRDO体积再次增大了很多=。= Orz
看来crf用PsyRDO越来越难控制体积了,基本上crf21+ psy_rd1 等于 crf18+psy_rd 0的体积。前几个版本的x264用crf19+psy_rd1能达到crf18+psy_rd 0的体积。
x264在同等参数下码率已经越来越大了=。= 真不知道是好事还是坏事。
superkidx@2008-08-17 23:50
引用
最初由 52wy 发布
基本上crf21+ psy_rd1 等于 crf10+psy_rd 0的体积。
aq mode 1 也是这样啊 不过没那么夸张
我觉得aq mode 1 下设置的crf是最大值 而不是平均值了
52wy@2008-08-17 23:57
psy_rd 1 已经有点夸张了=。=
psy0 crf18
--[Information] [2008-8-17 23:13:51] Started handling job
--[Information] [2008-8-17 23:13:51] Preprocessing
--[NoImage] Job commandline: "E:\comic\media\MeGUI\tools\x264\x264.exe" --crf 18.0 --keyint 240 --min-keyint 24 --ref 16 --mixed-refs --no-fast-pskip --bframes 16 --b-pyramid --b-rdo --bime --weightb --direct auto --filter 1,1 --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --merange 32 --threads auto --thread-input --aq-mode 0 --sar 1:1 --progress --no-psnr --no-ssim --output "E:\avi-3.mp4" "E:\avi.avs" --psy-rd 0
--[Information] [2008-8-17 23:13:53] Encoding started
--[NoImage] Standard output stream:
--[NoImage] Standard error stream
---[NoImage] avis [info]: 704x396 @ 24.00 fps (2157 frames)
---[NoImage] x264 [warning]: width or height not divisible by 16 (704x396), compression will suffer.
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] mp4 [info]: initial delay 2 (scale 24)
---[NoImage] x264 [info]: slice I:9 Avg QP:16.00 size: 53762
---[NoImage] x264 [info]: slice P:1295 Avg QP:18.79 size: 9059
---[NoImage] x264 [info]: slice B:853 Avg QP:21.13 size: 2574
---[NoImage] x264 [info]: consecutive B-frames: 37.6% 28.9% 7.3% 14.9% 7.7% 2.0% 1.3% 0.0% 0.4% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
---[NoImage] x264 [info]: mb I I16..4: 20.0% 22.1% 57.9%
---[NoImage] x264 [info]: mb P I16..4: 3.7% 4.1% 3.8% P16..4: 27.2% 7.6% 6.7% 0.0% 0.0% skip:46.9%
---[NoImage] x264 [info]: mb B I16..4: 0.2% 0.9% 0.5% B16..8: 17.3% 2.6% 2.6% direct: 3.7% skip:72.2% L0:39.6% L1:48.3% BI:12.0%
---[NoImage] x264 [info]: 8x8 transform intra:36.6% inter:37.1%
---[NoImage] x264 [info]: direct mvs spatial:99.2% temporal:0.8%
---[NoImage] x264 [info]: ref P L0 73.1% 9.2% 5.5% 2.2% 1.9% 1.7% 1.4% 0.8% 0.8% 0.6% 0.6% 0.5% 0.5% 0.5% 0.4% 0.3%
---[NoImage] x264 [info]: ref B L0 79.9% 7.1% 4.0% 2.1% 1.2% 1.3% 1.0% 0.7% 0.6% 0.5% 0.4% 0.4% 0.4% 0.3% 0.3%
---[NoImage] x264 [info]: ref B L1 95.7% 4.3%
---[NoImage] x264 [info]: kb/s:1282.8
---[NoImage] encoded 2157 frames, 6.86 fps, 1282.85 kb/s
--[Information] Final statistics
---[NoImage] Constant Quality Mode: Quality 18 computed...
---[NoImage] Video Bitrate Obtained (approximate): 1284 kbit/s
--[Information] [2008-8-17 23:19:10] Job completed
------------------------
psy1 crf18
--[Information] [2008-8-17 23:21:20] Started handling job
--[Information] [2008-8-17 23:21:20] Preprocessing
--[NoImage] Job commandline: "E:\comic\media\MeGUI\tools\x264\x264.exe" --crf 18.0 --keyint 240 --min-keyint 24 --ref 16 --mixed-refs --no-fast-pskip --bframes 16 --b-pyramid --b-rdo --bime --weightb --direct auto --filter 1,1 --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --merange 32 --threads auto --thread-input --aq-mode 0 --sar 1:1 --progress --no-psnr --no-ssim --output "E:\avi-rd1.mp4" "E:\avi.avs"
--[Information] [2008-8-17 23:21:22] Encoding started
--[NoImage] Standard output stream:
--[NoImage] Standard error stream
---[NoImage] avis [info]: 704x396 @ 24.00 fps (2157 frames)
---[NoImage] x264 [warning]: width or height not divisible by 16 (704x396), compression will suffer.
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] mp4 [info]: initial delay 2 (scale 24)
---[NoImage] x264 [info]: slice I:9 Avg QP:16.00 size: 64808
---[NoImage] x264 [info]: slice P:1284 Avg QP:18.85 size: 12707
---[NoImage] x264 [info]: slice B:864 Avg QP:21.04 size: 3625
---[NoImage] x264 [info]: consecutive B-frames: 37.0% 29.0% 7.3% 14.9% 7.7% 2.0% 1.3% 0.0% 0.4% 0.0% 0.5% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
---[NoImage] x264 [info]: mb I I16..4: 23.2% 30.4% 46.4%
---[NoImage] x264 [info]: mb P I16..4: 2.9% 4.2% 3.2% P16..4: 32.7% 7.8% 11.3% 0.0% 0.0% skip:38.0%
---[NoImage] x264 [info]: mb B I16..4: 0.1% 0.7% 0.3% B16..8: 19.0% 2.4% 3.4% direct: 3.9% skip:70.1% L0:39.1% L1:46.1% BI:14.8%
---[NoImage] x264 [info]: 8x8 transform intra:41.3% inter:26.7%
---[NoImage] x264 [info]: direct mvs spatial:98.5% temporal:1.5%
---[NoImage] x264 [info]: ref P L0 73.3% 10.1% 5.0% 2.1% 1.7% 1.6% 1.3% 0.7% 0.7% 0.6% 0.6% 0.5% 0.5% 0.5% 0.5% 0.3%
---[NoImage] x264 [info]: ref B L0 79.1% 8.3% 3.8% 2.0% 1.2% 1.3% 0.9% 0.6% 0.5% 0.5% 0.4% 0.4% 0.4% 0.3% 0.3%
---[NoImage] x264 [info]: ref B L1 96.2% 3.8%
---[NoImage] x264 [info]: kb/s:1783.1
---[NoImage] encoded 2157 frames, 6.18 fps, 1783.17 kb/s
--[Information] Final statistics
---[NoImage] Constant Quality Mode: Quality 18 computed...
---[NoImage] Video Bitrate Obtained (approximate): 1785 kbit/s
--[Information] [2008-8-17 23:27:13] Job completed
---------------------------------
psy1 crf21
--[Information] [2008-8-17 23:45:10] Started handling job
--[Information] [2008-8-17 23:45:10] Preprocessing
--[NoImage] Job commandline: "E:\comic\media\MeGUI\tools\x264\x264.exe" --crf 21.0 --keyint 240 --min-keyint 24 --ref 16 --mixed-refs --no-fast-pskip --bframes 16 --b-pyramid --b-rdo --bime --weightb --direct auto --filter 1,1 --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --merange 32 --threads auto --thread-input --aq-mode 0 --sar 1:1 --progress --no-psnr --no-ssim --output "E:\avi-6.mp4" "E:\avi.avs"
--[Information] [2008-8-17 23:45:12] Encoding started
--[NoImage] Standard output stream:
--[NoImage] Standard error stream
---[NoImage] avis [info]: 704x396 @ 24.00 fps (2157 frames)
---[NoImage] x264 [warning]: width or height not divisible by 16 (704x396), compression will suffer.
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] mp4 [info]: initial delay 2 (scale 24)
---[NoImage] x264 [info]: slice I:9 Avg QP:19.00 size: 52188
---[NoImage] x264 [info]: slice P:1284 Avg QP:21.81 size: 8947
---[NoImage] x264 [info]: slice B:864 Avg QP:24.00 size: 2231
---[NoImage] x264 [info]: consecutive B-frames: 37.0% 29.0% 7.3% 14.9% 7.7% 2.0% 1.3% 0.0% 0.4% 0.0% 0.5% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
---[NoImage] x264 [info]: mb I I16..4: 22.0% 30.7% 47.3%
---[NoImage] x264 [info]: mb P I16..4: 3.3% 3.7% 2.8% P16..4: 28.2% 7.2% 9.2% 0.0% 0.0% skip:45.5%
---[NoImage] x264 [info]: mb B I16..4: 0.1% 0.5% 0.2% B16..8: 19.0% 2.1% 2.5% direct: 2.8% skip:72.8% L0:41.0% L1:48.3% BI:10.7%
---[NoImage] x264 [info]: 8x8 transform intra:38.3% inter:31.6%
---[NoImage] x264 [info]: direct mvs spatial:98.3% temporal:1.7%
---[NoImage] x264 [info]: ref P L0 71.8% 10.2% 5.8% 2.2% 1.8% 1.7% 1.5% 0.8% 0.8% 0.6% 0.6% 0.6% 0.5% 0.5% 0.5% 0.3%
---[NoImage] x264 [info]: ref B L0 78.2% 8.0% 4.3% 2.1% 1.3% 1.4% 1.1% 0.7% 0.6% 0.6% 0.4% 0.4% 0.4% 0.3% 0.3%
---[NoImage] x264 [info]: ref B L1 95.9% 4.1%
---[NoImage] x264 [info]: kb/s:1236.0
---[NoImage] encoded 2157 frames, 7.10 fps, 1236.06 kb/s
--[Information] Final statistics
---[NoImage] Constant Quality Mode: Quality 21 computed...
---[NoImage] Video Bitrate Obtained (approximate): 1237 kbit/s
--[Information] [2008-8-17 23:50:18] Job completed
码率涨幅达到了500多K,一个OP就多了6MB多~为了那一点点细节提升这么多体积,到底值不值呢=。=
«1234567»共7页
| TOP