Closed GoogleCodeExporter closed 9 years ago
Attaching the file that seems to cause the problem.
Original comment by akegata@gmail.com
on 17 Mar 2012 at 11:49
Attachments:
It looks like this audio file is missing its MP3 header, so FFmpeg doesn't know
its duration. Oddly, my version of FFmpeg ("20120127", latest in Arch Linux) is
willing to make a guess based on the bitrate.
Anyway, it sounds like your version of FFmpeg is just not reporting a duration
for this broken MP3. I've fixed the audioread library to avoid crashing in
situations like this. Here's the commit:
https://github.com/sampsyo/audioread/commit/0bea6a9e4ae40f382ba02887125d15b2fc7a
16bd
Can you try installing audioread from the latest source in git to see if this
fixes the problem?
Original comment by adrian.sampson
on 18 Mar 2012 at 10:51
Yup, this solved the problem. :)
Actually, the fingerprinting seems to still fail (fingerprint matching
'/pool/backup/beetscrash/Emperor - Anthems to the Welkin at Dusk/11 - The Loss
and Curse of Reverence (Live).mp3' failed: missing required parameter
"duration"), but at least the file gets imported based on the rest of the album.
For the record, my FFmpeg version is SVN-r0.5.1-4:0.5.1-1ubuntu1.1, it's
probably several years old.
Original comment by akegata@gmail.com
on 19 Mar 2012 at 6:44
Great news. I don't think there's a way around the failing fingerprint (without
a duration, we can't make the Acoustid API call), so not crashing will have to
be good enough. :)
Original comment by adrian.sampson
on 19 Mar 2012 at 6:56
Original issue reported on code.google.com by
akegata@gmail.com
on 17 Mar 2012 at 10:59