davide256 Posted May 26, 2021 Share Posted May 26, 2021 Just had an issue where my backup library had some corrupted FLAC files, now I want to check all just to make sure no more are lurking in source or backup directory. Any good programs out there that do this? Also wondering the same now about DSD files... Regards, Dave Audio system Link to comment
katools Posted May 26, 2021 Share Posted May 26, 2021 Windows, OSX or Linux for the FLAC checking? Re DSD and others I can't help as they have no in-built error checking I'm aware of. Regarding detecting future bit rot in general: https://www.snapraid.it/ Link to comment
robi20064 Posted May 26, 2021 Share Posted May 26, 2021 This is rather simplistic and a bit outdated, but good enough to verify FLAC integrity. http://flacfrontend.sourceforge.net/ davide256 1 Link to comment
CatManDo Posted May 26, 2021 Share Posted May 26, 2021 Maybe not suitable for checking an entire collection, but I use the Dynamic Range Meter plugin in foobar2000 for every new album ripped or downloaded. It scans all the files of an album in about 10 seconds and stops in case of a file playback error. This made it possible for me to detect faulty files without having to listen to them. https://audio-file.org/2020/06/03/foo_dynamic_range-foobar-dynamic-range/ davide256 1 Claude Link to comment
Popular Post yamamoto2002 Posted May 26, 2021 Popular Post Share Posted May 26, 2021 PlayPcmWin installer package includes FlacIntegrityChecker program. It is installed on C:\Program Files\yamamoto2002\PlayPcmWin64\FlacIntegrityChecker davide256, lwr, CatManDo and 1 other 2 2 Sunday programmer since 1985 Developer of PlayPcmWin Link to comment
davide256 Posted May 26, 2021 Author Share Posted May 26, 2021 35 minutes ago, yamamoto2002 said: PlayPcmWin installer package includes FlacIntegrityChecker program. It is installed on C:\Program Files\yamamoto2002\PlayPcmWin64\FlacIntegrityChecker Thanks, will give this a try. Trying to prep now for a NAS HD size upgrade and want to be sure that I catch any bad data. Roon checks tags when you add to your library, was able to find that something happened to albums starting with "E" in the backup. But that check wont help if corruption was outside the tag... Regards, Dave Audio system Link to comment
davide256 Posted May 26, 2021 Author Share Posted May 26, 2021 Running now, will see how long 7300 files takes 😁 Regards, Dave Audio system Link to comment
botrytis Posted May 26, 2021 Share Posted May 26, 2021 I would hate to see how long 90K FLAC files would take :D Current: Daphile on an AMD A10-9500 with 16 GB RAM DAC - TEAC UD-501 DAC Pre-amp - Rotel RC-1590 Amplification - Benchmark AHB2 amplifier Speakers - Revel M126Be with 2 REL 7/ti subwoofers Cables - Tara Labs RSC Reference and Blue Jean Cable Balanced Interconnects Link to comment
yamamoto2002 Posted May 26, 2021 Share Posted May 26, 2021 Program outputs elapsed time when FLAC integrity check is finished 😁 Sunday programmer since 1985 Developer of PlayPcmWin Link to comment
davide256 Posted May 26, 2021 Author Share Posted May 26, 2021 ======================================== WWFlacIntegrityCheck version 1.0.13.6 Counting files in "D:\Music\FLAC"...Found 7377 files. Integrity Checking... FLAC Metadata total_samples field is Unknown : D:\Music\FLAC\Various Artists\Crazy For You [Original Broadway Cast Recording]\23 Company, The - Finale.flac (5546/7377) Error: FLAC lost sync error. Or this is not FLAC file. : D:\Music\FLAC\Emerson String Quartet\Shostakovich; String Quartet No. 8 in C minor\01 Emerson String Quartet - String Quartet No. 8 in C minor, Op. 110- Largo.flac (5864/7377) Error: FLAC decoder process failed : D:\Music\FLAC\Dixie Chicks\Taking the Long Way\08 Dixie Chicks - Silent House.flac Finished. Corrupted FLAC files = 2, Elapsed time = 00:48:11.9801910 ======================================== Not bad for time and I have a few to fix 👍 Need to do this next against the NAS, suspect thats going to take far longer. Having something like this to run regularly for the NAS seems like a good idea yamamoto2002 1 Regards, Dave Audio system Link to comment
yamamoto2002 Posted May 26, 2021 Share Posted May 26, 2021 35 minutes ago, davide256 said: FLAC Metadata total_samples field is Unknown : D:\Music\FLAC\Various Artists\Crazy For You [Original Broadway Cast Recording]\23 Company, The - Finale.flac This file is OK and it is not error. Sorry for the confusing message... Other two files are corrupted. Sunday programmer since 1985 Developer of PlayPcmWin Link to comment
davide256 Posted May 26, 2021 Author Share Posted May 26, 2021 ================================= Counting files in "\\Diskstation\music\FLAC"...Found 7508 files. Integrity Checking... FLAC Metadata total_samples field is Unknown : \\Diskstation\music\FLAC\Various Artists\Crazy For You [Original Broadway Cast Recording]\23 Company, The - Finale.flac Finished. Corrupted FLAC files = 0, Elapsed time = 00:46:20.0460571 ==================================== So this was across Etherregen switch, gige connections, completed slightly faster than like local HD scan. This will work. yamamoto2002 1 Regards, Dave Audio system Link to comment
davide256 Posted May 26, 2021 Author Share Posted May 26, 2021 Had something weird happen. Roon identified 3 files as bad last nite, I overwrote them with files from the NAS that were verified good on NAS today, bad on HD would swear they played after overwrite last nite but today they were bad again. Manually deleted, purged recycle bin and recopied, they play now. Will check again in 24 hours. Regards, Dave Audio system Link to comment
Popular Post yamamoto2002 Posted May 26, 2021 Popular Post Share Posted May 26, 2021 It seems Microsoft Windows 10 File Explorer's FLAC metadata edit function corrupts FLAC files when certain conditions are met (On exotic structured FLAC file its ID3 metadata field of the FLAC file is placed before the fLaC FourCC, its metadata is edited by Windows 10 File Explorer). There is a Powershell script to fix unplayable FLAC file created by this metadata editor bug: https://support.microsoft.com/en-us/topic/kb5003430-flac-encoded-music-file-is-corrupted-when-metadata-is-edited-in-windows-explorer-38619369-0787-44a8-950f-b408114ae856 lucretius and Dan Gravell 2 Sunday programmer since 1985 Developer of PlayPcmWin Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now