dnaxx
31st December 2004, 11:19
Hello,
I am trying to compare compressed destination files with an uncompressed source this way:
source=AviSource("D:\Uncomp.avi")
target=AviSource("D:\CinepakNormal.avi")
psnrfile=("D:\cinepak_normal.psnr")
rgbsource=ConvertToRGB24(source)
rgbtarget=ConvertToRGB24(target)
Compare(rgbsource,rgbtarget,"",psnrfile)
With the Windows Media Codec 9 it works this way. But with all other codecs (DivX, XVid, Cinepak, Indeo, HufYUV, ...) it does not work.
Does someone know why it does not work and how to fix it?
Thanks,
I am trying to compare compressed destination files with an uncompressed source this way:
source=AviSource("D:\Uncomp.avi")
target=AviSource("D:\CinepakNormal.avi")
psnrfile=("D:\cinepak_normal.psnr")
rgbsource=ConvertToRGB24(source)
rgbtarget=ConvertToRGB24(target)
Compare(rgbsource,rgbtarget,"",psnrfile)
With the Windows Media Codec 9 it works this way. But with all other codecs (DivX, XVid, Cinepak, Indeo, HufYUV, ...) it does not work.
Does someone know why it does not work and how to fix it?
Thanks,