FLAC re-encoding
Reply #53 – 2007-01-10 07:47:27
One issue I have noted with this batch file is that occasionally I'll try to process some FLAC that gives me an error about not being a WAV file... and how I need to enter a flag to process it. The batch craps out. I know FLAC is more than just a compressed WAV, but I am not any more knowledgeable. Any way you know of to quickly find such non-WAV-based FLAC files in my library? Are you talking about the message reported in post #31? By "crap out" do you mean that the batch file terminates immediately? This response from FLAC shouldn't cause the batch file to terminate. Perhaps you could post more info? The easiest way to simply look for files that fail testing is to navigate to your root FLAC folder and use the command:FOR /R %G IN (*.flac) DO (FLAC -t "%G" || ECHO "%G">>failed.txt) This will create a text file called failed.txt in the same folder with the path of any files that failed testing.Edit: Actually, if this is the same issue as post #31 then a test won't find them. The re-encoding stage highlights these files. You could try running the following command in the root FLAC folder:FOR /R %G IN (*.flac) DO (FLAC -f -o tmp.flac "%G" || ECHO "%G">>failed.txt) & DEL tmp.flac This will re-encode all files to a file called "tmp.flac", and if an error occurs write the file in question to failed.txt (and finally delete "tmp.flac").Any have ideas what this is and how to fix it?state = FLAC__STREAM_DECODER_READ_FRAME When do you receive this message? Are you running my batch file, and if so: is it during the test phase, and does it result in the file not being encoded?