Ernie Dunbar
2010-Dec-02 21:32 UTC
[asterisk-users] MP3s not decoding properly for MusicOnHold.
I have some MP3 files that play well in any MP3 player I throw at them, but when I try to make a MusicOnHold class with them, I get a continuous stream of errors like this: [Dec 2 13:20:31] WARNING[9120]: mp3/common.c:148 decode_header: Layer 2 not supported! [Dec 2 13:20:31] WARNING[9120]: mp3/interface.c:216 decodeMP3: Junk at the beginning of frame 50686f74 [Dec 2 13:20:31] WARNING[9120]: mp3/interface.c:216 decodeMP3: Junk at the beginning of frame e7becffc [Dec 2 13:20:31] WARNING[9120]: mp3/interface.c:216 decodeMP3: Junk at the beginning of frame 49443302 I figured this was something that was answered before, but googling for this error message reveals nothing.
Steve Edwards
2010-Dec-02 22:15 UTC
[asterisk-users] MP3s not decoding properly for MusicOnHold.
On Thu, 2 Dec 2010, Ernie Dunbar wrote:> I have some MP3 files that play well in any MP3 player I throw at them, > but when I try to make a MusicOnHold class with them, I get a continuous > stream of errors like this:Not addressing your errors, but why would you want to burn CPU resources decoding MP3s over and over? If you decode the files to [wav|ulaw|slin|xxx] the files will 'just work' and you'll have more cycles for more fun stuff like handling calls. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000