[Ffmpeg-devel] [Ffmpeg-devel-old] Verifying losslessness

Mike Melanson mike
Wed Aug 3 19:03:08 CEST 2005

Benjamin Larsson wrote:
> Mike Melanson wrote:
>> Hi,
>>     I am prototyping a new lossless video codec. Are there any 
>> recommendations for how I should validate the losslessness of the 
>> codec? I could write out each of the original frames of a file as 
>> individual raw files, encode and decode with the new codec, and diff 
>> each decoded frame with the original frames. That seems tedious. And 
>> storage-intensive.
>>     Does FFmpeg have built-in facilities to help with this? I see 
>> there is a -psnr option but I do not understand how it works.
>>     Thanks...
> MD5sums seams like a good alternative to me.

	I thought about that too... like the test cycle doesn't take long 
enough already :) ... I suspect it would be best to incorporate some 
md5sum function directly into the code?

	-Mike Melanson

More information about the ffmpeg-devel mailing list