[FFmpeg-devel] Testing Inexact Data

Mike Melanson mike
Wed Jan 23 19:44:28 CET 2008

Benjamin Larsson wrote:
> You have to skip the wav header.

For this case, I was able to assume the header would be the same since
both files came from FFmpeg.

> ./tiny_psnr
> tiny_psnr <file1> <file2> [<elem size> [<shift> [<skip bytes>]]]
> for wav files use the following:
> ./tiny_psnr file1.wav file2.wav 2 0 44 to skip the header.
> And I would say that anything over 80dB PSNR should be considered a 
> PASS. But that's just a guess.

Thanks. This is something to work with.

	-Mike Melanson

More information about the ffmpeg-devel mailing list