Summary: | kde music players fail to play a specific mp3 (but xmms and mpg123 can) | ||
---|---|---|---|
Product: | [Unmaintained] akodelib | Reporter: | David Rosenstrauch <darose> |
Component: | general | Assignee: | Stefan Westerfeld <stefan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | darose |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
David Rosenstrauch
2004-09-14 15:40:49 UTC
FYI - this MP3 also works on my iPod (mini). Further evidence that the mp3 is valid and that this is a bug in arts. Doesn't work here with akode, noatun just skips that file. I don't know if the reporter used mpeglib or akode but I guess fixing akode is the best solution anyway ;) The file is encoded as dual mono. In theory that means it contains two mono streams rather than a stereo stream. What application has encoded this file? Dual mono, huh? Interesting. So perhaps arts has a problem with dual mono? Just curious, by the way, how did were you able to find out it was encoded that way? I actually don't know what app was used to capture the file originally, unfortunately. I got it from a former co-worker who I'm no longer in touch with. Don't know if this helps at all, but I just found another one that doesn't work: http://www.darose.net/Whitesnake%20-%20Still%20Of%20The%20Night.mp3 Same problem: doesn't play w/KDE/arts stuff; plays fine in XMMS and on my iPod. I suspect that there might be more like this in my collection as well. Maybe KDE just doesn't like 80's tunes? :-) Anybody have any idea for a cause and/or fix for this? I much prefer using KDE apps, but I'll switch to something else if it turns out that KDE can't play a bunch of my tunes. Tnx, DR Did a bit more reading tonight about dual mono, and I checked: both sample files are recorded in this 2-channel/dual-mono fashion. So problem then, I guess, is that the KDE mp3 lib doesn't support this 2-channel/dual-mono format, and so that's the root of the issue. A fix would mean somehow providing support for this format. Don't know how priority an issue this is, though. I doubt that there's many MP3's out there with this format. CVS commit by carewolf: Play dual mono samples as if it was stereo, instead of not playing them at all. CCMAIL:89487-done@bugs.kde.org M +1 -1 akodePlayObject_impl.cpp 1.24 --- kdemultimedia/akode/arts_plugin/akodePlayObject_impl.cpp #1.23:1.24 @@ -375,5 +375,5 @@ void akodePlayObject_impl::calculateBloc } } - if (buffer->channel_config != MonoStereo || buffer->sample_width > 24 || buffer->sample_width == 0) { + if (buffer->channels > 2 || buffer->sample_width > 24 || buffer->sample_width == 0) { arts_warning("akode: Incompatible media"); halt(); |