Audio MD5

Component for foobar2000 v1.5 and newer.

foobar2000 v1.4 version available here.

Released:2023-09-08 18:21
Size:290.4 KB
License:Modified ISC license




Generic audio integrity verification tool. Uses ffmpeg.exe to compute a checksum of the compressed audio part of the file.

Note that by default the checksum will not match the MD5 of various lossless audio formats. Those codecs calculate the checksum from the uncompressed PCM data before the compression is done. This component works on the already compressed binary data.
The checksum won't match generic MD5 checksum tools either. The use of ffmpeg allows ignoring all non-audio related bits of the file so tag edits won't ruin the checksums.

Since version 0.5 there is an advanced configuration option to switch lossless format checksum to be calculated from the decoded PCM output.


0.6.5 (2023-09-08):Changed the error message for missing ffmpeg to be more clear. Altered some wording.
0.6.4 (2023-03-16):Changed lossless output checksumming to use raw decoder output when supported. This allows the 32-bit version to handle some extra formats it otherwise couldn't losslessly process. Returned foobar2000 v1.5 compatibility for the 32-bit version of the component.
0.6.3 (2022-09-25):Fixed internal lossless hasher's handling of 32-bit integer PCM data. 32-bit foobar2000 shows an error message and 64-bit foobar2000 calculates correct checksum.
0.6.2 (2022-02-04):Added dark mode support.
0.6.1 (2022-01-19):Fixed text truncation in the result dialog statusbar.
0.6 (2021-12-21):Fixed track naming in result dialog to use the configured setting.
0.5 (2021-12-20):Added option to compute the hash from the decoded PCM data with lossless formats.
0.4 (2020-11-15):Made the name of the AudioMD5 tag field configurable.
0.3 (2020-10-17):Made default checksum scan skip tracks with existing AudioMD5 tag. Added a new hidden-by-default context menu command to force scan tracks with existing checksum tag. Removed OK button from the result dialog when there's no need to tag any files. Changed tagging not to touch the files if tag content didn't change. Improved status texts.
0.2 (2020-10-09):Added multithreaded scanning. Moved tagging to background thread.
0.1 (2020-10-07):Initial version.