title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: Verify that FLAC file is still an accurate rip a year later

  1. #1

    Join Date
    Jan 2021
    Posts
    3

    Question Verify that FLAC file is still an accurate rip a year later

    Hi

    I am hoping to verify that my FLAC file is the same as it was when I ripped it a year ago (using XLD). From the log file of my RIP I know:

    CRC32 hash : FA5DDF0A
    CRC32 hash (skip zero) : 5E8732E4
    AccurateRip v1 signature : 8C0BCA19
    AccurateRip v2 signature : E6EE3E8E

    Is it possible to calculate any of these from my FLAC to ensure that no bitrot has set in?

    Many thanks

    Andrew

  2. #2
    dBpoweramp Guru
    Join Date
    Nov 2007
    Location
    Florida, USA
    Posts
    5,730

    Re: Verify that FLAC file is still an accurate rip a year later

    Quote Originally Posted by arohl View Post
    Hi

    I am hoping to verify that my FLAC file is the same as it was when I ripped it a year ago (using XLD). From the log file of my RIP I know:

    CRC32 hash : FA5DDF0A
    CRC32 hash (skip zero) : 5E8732E4
    AccurateRip v1 signature : 8C0BCA19
    AccurateRip v2 signature : E6EE3E8E

    Is it possible to calculate any of these from my FLAC to ensure that no bitrot has set in?

    Many thanks

    Andrew
    Edit: of course to make sure the FLAC file is not corrupted, you can simply use dbpa CONVERTER and "convert to" [TEST CONVERSION]

    yes, the dbpa related program PerfectTunes can do an AccurateRip database match check post-ripping. That's the main reason I purchased PerfectTunes.
    https://www.dbpoweramp.com/perfecttunes.htm


  3. #3

    Join Date
    Jan 2021
    Posts
    3

    Re: Verify that FLAC file is still an accurate rip a year later

    Quote Originally Posted by garym View Post
    Edit: of course to make sure the FLAC file is not corrupted, you can simply use dbpa CONVERTER and "convert to" [TEST CONVERSION]

    yes, the dbpa related program PerfectTunes can do an AccurateRip database match check post-ripping. That's the main reason I purchased PerfectTunes.
    https://www.dbpoweramp.com/perfecttunes.htm

    I was hoping to write some code to do it myself :-) I am not sure what file the CRC32 checksum has been done on - obviously not the flac file - do you know?

    Many thanks

    Andrew

  4. #4
    Administrator
    Join Date
    Apr 2002
    Posts
    43,831

    Re: Verify that FLAC file is still an accurate rip a year later

    Flac internally has an MD5 hash of the audio, this is compared each time FLAC is decoded in dBpoweramp, any miss-match and dBpoweramp would inform you. All CRCs are on the decoded audio data.

  5. #5
    dBpoweramp Guru
    Join Date
    Nov 2007
    Location
    Florida, USA
    Posts
    5,730

    Re: Verify that FLAC file is still an accurate rip a year later

    Quote Originally Posted by arohl View Post
    I was hoping to write some code to do it myself :-) I am not sure what file the CRC32 checksum has been done on - obviously not the flac file - do you know?

    Many thanks

    Andrew

    when you convert a FLAC to [TEST CONVERSION] it is decoding the FLAC file and comparing the embedded checksum with the calculated checksum. So you know the FLAC file is the same as originally encoded. And this can be done in an automatic batch. After moving my collection to a new backup drive, I often run batch convert to [TEST CONVERSION] on the library on the new drive to make sure nothing went wrong in the transfer. This seems to easily do what you desire with only a couple of mouse clicks, so not sure of the reason to write code to do the same thing.

  6. #6

    Join Date
    Jan 2021
    Posts
    3

    Re: Verify that FLAC file is still an accurate rip a year later

    Many thanks both - I have learned something about the flac format now! I can simply use flac --test on all my files.

    Andrew

  7. #7
    dBpoweramp Guru
    Join Date
    Nov 2007
    Location
    Florida, USA
    Posts
    5,730

    Re: Verify that FLAC file is still an accurate rip a year later

    Quote Originally Posted by arohl View Post
    Many thanks both - I have learned something about the flac format now! I can simply use flac --test on all my files.

    Andrew
    And this built in ability to do the checksum test is one of the most important aspects of FLAC. I often have to try to explain this to people who think using WAV or AIFF format is "better" (it's not for any sound quality reason by the way). They say, "disk space is cheap, so why not use WAV/AIFF?" But when I point out that I can confirm with a few mouse clicks in a batch manner whether any of my 116,000 flac files are corrupted, but with WAV files, one would have to check each file one at a time, this gives them pause at least.

  8. #8

    Join Date
    Jun 2022
    Posts
    43

    Re: Verify that FLAC file is still an accurate rip a year later

    Hi! How do I use batch converter to do a test conversion? I have almost 1T of flac files to check. Is batch converter the way to go? I have reviewed the menus and the help files, but can&*8217;t figure out how to do it. Thanks
    Last edited by Johnnyb; 03-05-2023 at 02:20 PM.

  9. #9
    Administrator
    Join Date
    Apr 2002
    Posts
    43,831

    Re: Verify that FLAC file is still an accurate rip a year later

    Open batch converter, click to select the root music folder, click Convert, choose Test Conversion as the encoder, and convert, no error = all ok.

  10. #10

    Join Date
    Jun 2022
    Posts
    43

    Re: Verify that FLAC file is still an accurate rip a year later

    Thanks so much, Spoon. I feel like a real dummy when I can&*8217;t find this stuff. You all are so helpful. Cool. So I can just run a check on all of my files once I get them moved. Do you think I need to run Accuraterip in Perfect Tunes as well? Or is that overkill?

  11. #11
    dBpoweramp Guru
    Join Date
    Nov 2007
    Location
    Florida, USA
    Posts
    5,730

    Re: Verify that FLAC file is still an accurate rip a year later

    Quote Originally Posted by Johnnyb View Post
    Thanks so much, Spoon. I feel like a real dummy when I can&*8217;t find this stuff. You all are so helpful. Cool. So I can just run a check on all of my files once I get them moved. Do you think I need to run Accuraterip in Perfect Tunes as well? Or is that overkill?
    Can't hurt to run accuraterip in Ptunes. Not really needed if TEST CONVERSION didn't report an error. Note that with TEST CONVERSION, "no error" really means it just ends and returns to your screen with the selected file list. It doesn't say NO ERROR. It is only if there is an actual error that you will get a popup screen telling you that there was an error.

  12. #12

    Join Date
    Jun 2022
    Posts
    43

    Re: Verify that FLAC file is still an accurate rip a year later

    Thanks Gary. Now I just have to figure out the best way to get the 1T of music onto my external drive from the internal hard drive. Does anyone know of any software that would make that easier or more secure? Then I have to set up my backups &*8230;

  13. #13
    dBpoweramp Guru
    Join Date
    Nov 2007
    Location
    Florida, USA
    Posts
    5,730

    Re: Verify that FLAC file is still an accurate rip a year later

    Quote Originally Posted by Johnnyb View Post
    Thanks Gary. Now I just have to figure out the best way to get the 1T of music onto my external drive from the internal hard drive. Does anyone know of any software that would make that easier or more secure? Then I have to set up my backups &*8230;
    easy, assuming the external drive is a USB drive, just plug the external drive into your PC or Mac and select the top directory of your internal drive music files, select copy, then paste to your external drive. Windows and Mac file programs have built in error checking, etc. to detect any problems. And then just to be sure nothing odd happened, after you transfer to the external drive run TEST CONVERSION on all those newly copied files. This will confirm that nothing got corrupted.

    For incremental backup I use (for windows), a program called freefilesync. Does a nice job of keeping my backup libraries synched with main library (and it is efficient, because it only addresses changed or new files).

  14. #14
    dBpoweramp Guru
    Join Date
    Feb 2014
    Posts
    1,740

    Re: Verify that FLAC file is still an accurate rip a year later

    For a Windows environment I would recommend the use of robocopy, a very capable Windows built in tool. I use it to synchronize my music files to several storages.

    Dat Ei

  15. #15

    Join Date
    Jun 2022
    Posts
    43

    Re: Verify that FLAC file is still an accurate rip a year later

    Thanks guys! I&*8217;m going to use the largest USB SSD drive I can afford. My digital library is growing exponentially!

    I&*8217;m in a Mac environment, BTW. So, I&*8217;ll look for other software options. I know they are out there.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •