title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • verypsb
    • Jun 2008
    • 30

    Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File

    All of a sudden I get the following error on a lot of files: "Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File". What does the error "Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File" mean? Is this a corrupt file? It's different from "md5 did not match decoded data, file is corrupt. for source file:".

    Cheers,
    Dennis.
  • Spoon
    Administrator
    • Apr 2002
    • 44000

    #2
    Re: Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File

    It means the file is so corrupted no data can be decoded.
    Spoon
    www.dbpoweramp.com

    Comment

    • verypsb
      • Jun 2008
      • 30

      #3
      Re: Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File

      So this means I need to re-rip the 144 files mentioned in the log files.

      Comment

      • verypsb
        • Jun 2008
        • 30

        #4
        Re: Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File

        I backup daily, but lost some recent backups, around the same time TuneFUSION started complaining about corrupt files. That's Murphy's Law for you. However , I found a two month old backup, restored the files and don't get the results I would expect. The same files are still corrupted according to TuneFUSION.
        During these two months TuneFUSION synchronized those files weekly and started complaining just last week. Why didn't TuneFUSION complain some two months earlier if these files are corrupted?
        I don't see any pattern in the files that are corrupted according to TuneFUSION. Another tool, ROON, does analyze the same files and doesn't seem to have a problem with them. Some files were probably played recently, other files weren't played in a long time. What am I missing?
        Last edited by verypsb; August 25, 2022, 08:57 PM.

        Comment

        • verypsb
          • Jun 2008
          • 30

          #5
          Re: Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File

          Hey @simbun,

          I took your and randomly checked some files listed by TuneFUSION as corrupted. The flac.exe test reports the same error(s) as TuneFUSION. I moved my storage to another disk somewhere in the last two months and I probably used the backup to do this. This will explain the corruption in my files. This doesn't explain why it took TuneFUSION so long to notice the corruption. TuneFUSION started complaining after I changed the source location, resulting in a complete resync.

          Comment

          • Spoon
            Administrator
            • Apr 2002
            • 44000

            #6
            Re: Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File

            Tunefusion would not need to read the source files unless actively syncing it.
            Spoon
            www.dbpoweramp.com

            Comment

            • verypsb
              • Jun 2008
              • 30

              #7
              Re: Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File

              I think it's safe to say that TuneFUSION is good at detecting file corruption. Is it possible to schedule a "full" or "initial" synchronization periodically? To notice corrupted files earlier? Or is there another tool (Windows) I can use for scheduled testing of my music files (99% .flac)?

              Comment

              • garym
                dBpoweramp Guru
                • Nov 2007
                • 5753

                #8
                Re: Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File

                You can simply use dbpoweramp music converter (batch converter) and select your top music folder (assuming all the music files are in subfolders to this top folder), and in Batch Converter, select "CONVERT", then for the DSP/CODEC dropdown menu, select TEST CONVERSION. This will check all your files and report if any are corrupted. It works particularly well for FLAC files, as it compares the embedded audio checksum to the calculated checksum when running TEST CONVERSION.

                Comment

                • verypsb
                  • Jun 2008
                  • 30

                  #9
                  Re: Encountered 'FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC' in FLAC File

                  Would it possible to use command line + task scheduler to exetue this task?

                  Comment

                  Working...

                  ]]>