I am getting Errors while decoding FLACS encoded with Max v7.
While decoding Flacs with embeded artwork I get the following errors
0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
1:FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER
If I do not save artwork the files decode fine.
It appears that the files both files play fine, only when I decode them do I run into errors.
Anyone run into this?
Resolved:Errors when decoding Flac files with artwork
Re: Errors when decoding Flac files with artwork from Max 7
I can confirm this. With album art, the FLAC files are corrupt. Without it, they're fine. My error message is slightly different, but flac 1.1.1 (fink), flac 1.1.2 (Ubuntu/amd64) and flac 1.1.3 (Ubuntu/amd64) all refuse to deal with the files. metaflac works fine, but flac -d or -t fails.zuleskid wrote:I am getting Errors while decoding FLACS encoded with Max v7.
...
Anyone run into this?
The files are encoded with Max 7 via the internal FLAC encoder.
I do have XiphQt components installed. That shouldn't really be interferring with the internal Flac codec though, should it?
- Andrew
Re: Errors when decoding Flac files with artwork from Max 7
No, it shouldn't- I misunderstood the original post. I thought the trouble was with Max's handling of FLAC files with artwork, not with other applications incorrectly handling Max-generated FLACs.ajs wrote:I do have XiphQt components installed. That shouldn't really be interferring with the internal Flac codec though, should it?
I will have to play around and see if flac 1.1.3 works with Max-generated FLACSs, and go from there.
Re: Errors when decoding Flac files with artwork from Max 7
While you're at it, I've also noticed that even when the FLAC files are playable, the MD5 hash recorded in the header is incorrect. This I've verified with the same versions of flac that I mentioned in an earlier post.sbooth wrote:I will have to play around and see if flac 1.1.3 works with Max-generated FLACSs, and go from there.
To check if the hash is invalid, I use:
Code: Select all
% flac -t file.flac
Code: Select all
file.flac: WARNING, MD5 signature mismatch
Code: Select all
% mkdir tmp && flac --verify --best --output-prefix=tmp/ *.flac && mv tmp/*.flac . && rmdir tmp