FLAC correctness using MD5 placed in STREAMINFO
5
votes
3
answers
4455
views
I know from [Sources], that FLAC computes CRC and MD5.
What I am afraid that
flac --test
only does CRC test - as stated in man flac
: same as -d except no decoded file is written
.
How to check flac file correctness, using MD5 of raw PCM placed in STREAMINFO in given .flac file ?
If flac --test
makes job, are there any reliable (like in flac documentation) references that shows it?
Sources:
http://en.wikipedia.org/wiki/Free_Lossless_Audio_Codec we can find:
> FLAC uses CRC checksums for identifying corrupted frames when used in a streaming protocol, and also has a complete MD5 hash of the raw PCM audio stored in its STREAMINFO metadata header.
http://flac.sourceforge.net/comparison.html
> By default when processing files, flac computes the MD5 sum while encoding and decoding.
To see md5sums in STEAMINFO we can use:
$ metaflac --show-md5sum *.flac
Asked by Grzegorz Wierzowiecki
(14740 rep)
Oct 3, 2011, 02:47 PM
Last activity: Feb 12, 2022, 05:29 AM
Last activity: Feb 12, 2022, 05:29 AM