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

Benjamin Larsson banan
Wed Aug 3 18:56:48 CEST 2005


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.

MvH
Benjamin Larsson





More information about the ffmpeg-devel mailing list