[Ffmpeg-devel] [PATCH] flacenc - md5

Måns Rullgård mru
Sun Jul 2 23:34:46 CEST 2006


Michael Niedermayer <michaelni at gmx.at> writes:

> hmm, seems flac is almost beating ogg in the most idiotic design category
> * putting a checksum of the whole stream at the begin makes flac
>   unuseable for streaming, and anything realtime

That certainly is a backwards way of doing things.

> * doing the checksum over the unencoded data instead of the encoded makes
>   it impossible to check without decoding, impossible to add the checksum

I think the idea of the checksum was to verify that the data got
decoded correctly, not to verify the integrity of the file as
transmitted.

>   at the muxer level where it belongs too and its slower too as the
>   unencoded data is larger then the encoded not to mention that without
>   specifiying the byteorder or channel interleaving of the input the
>   checksum is of course not well defined

That's another shortcoming, but it could be fixed by amending the spec.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list