Lossless compression
- Suka Girl
- Joined: Thu Apr 23, 2009 4:54 pm
Lossless compression
Can anyone recommend the best way to test a codec to prove that it is truely lossless and frame independent?
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact:
Re: Lossless compression
In avisynth:
source1 = AVISource("firstclip.avi")
source2 = AVISource("2ndclip.avi")
Compare(source1,source2)
Then play the avs script in virtualdub or something. The deviations should all be 0, and it should print a solid horizontal line along near the bottom.
source1 = AVISource("firstclip.avi")
source2 = AVISource("2ndclip.avi")
Compare(source1,source2)
Then play the avs script in virtualdub or something. The deviations should all be 0, and it should print a solid horizontal line along near the bottom.
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact:
Re: Lossless compression
Also by frame independent I'm guessing you mean all frames are keyframes. To check this just load the clip in virtualdub and go to file>file information.
It tells you the number of total frames and the number of keyframes. These should be equal.
It tells you the number of total frames and the number of keyframes. These should be equal.