Log in

View Full Version : compare function in avisynth does accept yv12???


haibane
28th December 2003, 06:00
I always thought the compare doesn't work in yv12, but i accidentally did a comparison without converttoyuy2() in the script. It worked and give me a log file. Then I try to search on the forum to see if it's updated, but all i can find is that it doesn't work in yv12.
I also compared the psnr values of compare() in yv12 with compare() in yuy2 and compareyv12(). It seems that compare() in yuy2 gives the highes psnr, and compareyv12() comes second, compare() in yv12 gives the lowes psnr. The results of compare() in yv12 seems pretty parallel to the other two.
The question is that why does compare() accepts yv12, is it a broken code but still able to process and output some data?

Wilbert
28th December 2003, 13:22
The question is that why does compare() accepts yv12, is it a broken code but still able to process and output some data?
Yes. It should give an error message. This happens also with other filters like layer.