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

Michael Niedermayer michaelni
Wed Aug 3 19:08:37 CEST 2005


Hi

On Wednesday 03 August 2005 19:03, Mike Melanson wrote:
> 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?

-f crc

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list