片源是使用SEED DVD的op, 一共1:29.29.97fps, 2696帧.
使用了下面的AVS脚本转成ffv1无损压缩格式.....
然后再用其它codec来压制
AVS 脚本:
------------------------------------------------------------------------------------
import("D:\aviutil\aviutilfilters.avs")
mpeg2source("seed.d2v",idct=7)
converttoyuy2()
ConvertYUY2ToAviUtlYC()
AU_wavelet3DNR2(2,0,20,0,20,20,20,20,20,20,5,0,0,0,0,10,false,true,true,false,false,false,false,false,false,false,false,false,true,true,false,false)
ConvertAviUtlYCToYUY2()
converttoyv12()
warpsharp(bump=100,depth=96,blur=3,cubic=-0.6)
undot()
----------------------------------------------------------------------------------------
文件大小是用xvid压的1st pass决定的......
在50%这个文件大小的时候画质已经相当低了.......
所以再低的就不做测试了..........
RV9在50%的时候看起来还不错.......
估计即使使用25%都能达到不错的效果.........
divx和xvid在50%的时候dct块严重.......
虽然wmv的psnr最低, 不过色块没那么严重, 所以粗看起来反而还比mepg4的codec还好一些.
但是取而代之则是画面上的噪讯相当严重, 仔细看才会发现画质比较差.
Divx使用的设置是:
performance/quality --> slowest
Bidirectional encoding on
其它的都是 off
用了n-pass, 100%,75%,50%的三个文件分别是3,4,5 pass....
Divx测量psnr用的脚本是:
----------------------------------------------------------------------------------
loadplugin("CompareYV12.dll")
fil=avisource("divx.avi")
org=avisource("ffv1.avi")
compareyv12(fil,org,channels="YUV",logfile="divx.log")
----------------------------------------------------------------------------------
Rv9使用的设置是:
EHQ=80
customPacketSize=16000
patternAdaptivity=自动
MSL=60
使用了新的VBR 2-pass
RV9测量psnr用的脚本是:
-------------------------------------------------------------------------------------------
loadplugin("CompareYV12.dll")
fil=directshowsource("rv9.rmvb",fps=29.97)
org=avisource("ffv1.avi")
compareyv12(fil,org,channels="YUV",logfile="rv9.log")
-------------------------------------------------------------------------------------
XVID使用的是最近下载的(11/17号左右)CVS编译的api4.........
XVID的设置是:
motionsearch= Ultra high
VHQ=4
quant type = h.263
BF: 3/100/100
trellis = on
chromamotion = on
chroma optimizer=on
2 pass(旧的2-pass):
high bitrate scene=10
low bitrate scene=10
payback with bias
XVID测量psnr用的脚本是:
-----------------------------------------------------------------------------------
loadplugin("CompareYV12.dll")
fil=avisource("xvid.avi").trim(1,0)
org=avisource("ffv1.avi")
compareyv12(fil,org,channels="YUV",logfile="xvid.log")
---------------------------------------------------------------------------------------
WMV9的设置是:
Maximum quality
decoder = Complex
2pass
WMV9测量psnr用的脚本是:
-----------------------------------------------------------------------------------------
loadplugin("CompareYV12.dll")
fil=avisource("wmv.avi")
org=avisource("ffv1.avi")
compareyv12(fil,org,channels="YUV",logfile="wmv.log")
-------------------------------------------------------------------------------------------
详细信息:
DIVX 5.11:文件大小(kb) 最低PSNR overall PSNR 最高PSNR
50% 19542 39.561242.7275 53.8387
75%30124 40.349345.112155.0143
100% 40120 41.7129 46.374755.0143
RV9: 文件大小 最低PSNR overall PSNR 最高PSNR
50%20515 37.337343.8383 53.4255
75%31502 39.180745.5457 54.9192
100% 40722 40.514146.6740 56.2918
XVID:文件大小 最低PSNR overall PSNR 最高PSNR
50%2003238.6173 43.1748 53.0419
75%3013640.9762 45.3821 53.1862
100% 4028243.7921 46.8194 53.1594
WMV:文件大小 最低PSNR overall PSNR 最高PSNR
50% 20154 36.905542.6175 53.5690
75% 30260 41.363344.5923 54.3810
100% 40336 41.377445.8225 55.6798