Lossless compression

If you have questions about compression/encoding/converting look here.
Locked
User avatar
Suka Girl
Joined: Thu Apr 23, 2009 4:54 pm
Org Profile

Lossless compression

Post by Suka Girl » Thu Apr 23, 2009 7:59 pm

Can anyone recommend the best way to test a codec to prove that it is truely lossless and frame independent?

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Re: Lossless compression

Post by Zarxrax » Fri Apr 24, 2009 10:06 am

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.

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Re: Lossless compression

Post by Zarxrax » Fri Apr 24, 2009 10:08 am

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.

User avatar
Suka Girl
Joined: Thu Apr 23, 2009 4:54 pm
Org Profile

Re: Lossless compression

Post by Suka Girl » Fri Apr 24, 2009 6:42 pm

Thanks Zarxrax!!! You rock!

Locked

Return to “Conversion / Encoding Help”