pdeljanov / Symphonia

Pure Rust multimedia format demuxing, tag reading, and audio decoding library
Mozilla Public License 2.0
2.28k stars 133 forks source link

Issue parsing AIFF files: "invalid chunk-id, expected 'FORM'" and "FourCC contains invalid characters: 02 87 04 06" #270

Closed mxw-meta closed 6 months ago

mxw-meta commented 6 months ago

Hey Folks 👋

First off, thanks for the most recent release. The added AIFF support was something me and my team have been looking out for! We did some testing, and encountered some erroneous AIFF files (from freesound), that import fine in Audacity and other DAWs. I thought I'd share the files so you could take a look and decide if the files are considered broken, or if they could help harden the product.

broken_AIFFs.zip contains:

Thanks again for your continuous efforts on this crate! I hope bringing in these examples helps out.

pdeljanov commented 6 months ago

@dedobbin could you take a look?

dedobbin commented 6 months ago

Hey !

First of all, glad to hear you enjoy the AIFF support.

I checked the files, they play properly for me using symphonia-play. Could you double check if these are indeed the offending files? If they do are, i'm curious what platform you used to build Symphonia on?

mxw-meta commented 6 months ago

Oh, that's interesting. We can verify that the files parse fine outside the product. This may, or may not be related to this crate then. I can close for now until we have something reproducible.

Sorry for stealing your time! I should have made sure I can repro locally first.