AudioFile Can't open some mp3 files
lminer opened this issue · comments
So I'm running into an error when I try to open some mp3 files. Basically, I get:
ValueError: Failed to open audio file: file "test.mp3" does not seem to contain audio data in a known or supported format.
The file plays fine and works with both ffmpeg and soundfile. I've found that mp3s produced via vlc run into this error. Interestingly, I don't see the issue on macos. It only crops up in linux. The wheel is pedalboard-0.7.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
. The problem appears to have been introduced in 0.6.8, 0.6.7 works fine. Happy to send the file to you if you'd like if you provide me with an email.
Hi @lminer!
If you're able to share one of those files, feel free to send it via email (my username at my company name dot com) - or better yet, if you have a VLC command or reproduction steps that can create these MP3 files, that would be super useful as well.
I think it might just be any file exported to mp3 from vlc. I'll send the file now.