Differences between revisions 1 and 2
Revision 1 as of 2010-05-31 08:10:16
Size: 501
Editor: SamatJain
Comment:
Revision 2 as of 2010-07-28 07:49:50
Size: 890
Editor: SamatJain
Comment: Recompressing FLAC files
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
Some FLAC files cannot be checked, with the self-explaining warning:

{{{WARNING, cannot check MD5 signature since it was unset in the STREAMINFO}}}

The best thing to do is decode and recompress the FLAC files to contain an MD5 header. In the process, decoding is an effective check for frame damage. To rencode such files in-place:

{{{#!highlight sh
flac --best -f *flac
}}}

Consistency checking

FLAC

FLAC files already contain MD5 sums of stream data, so changes to other metadata (artist, track title, etc) will not perturb this checksum. flac can be used to check FLAC files:

   1 flac -ts *.flac

Some FLAC files cannot be checked, with the self-explaining warning:

WARNING, cannot check MD5 signature since it was unset in the STREAMINFO

The best thing to do is decode and recompress the FLAC files to contain an MD5 header. In the process, decoding is an effective check for frame damage. To rencode such files in-place:

   1 flac --best -f *flac

MP3

Checkmate MP3 checker is a simple and fast tool for checking MP3 files, particularly checking for bad frames. Invocation:

   1 mpck -qrB .


CategoryCheatSheet

SamatsWiki: CheatSheet/Audio (last edited 2020-05-07 18:16:12 by SamatJain)