Hi, what software do i need to convert an mp3 to a g729 format? I have a portal where a user can upload their own MP3, but when a user is using a g729 codec, the music on hold has a crackly sound. using g711 it's very clear. so what i'd like to do is when they upload an MP3 i will make a copy on g729 format, so that asterisk can choose which file to play depending on what codec is being used by the user. TIA Regards Ron
On Tue, Jun 23, 2009 at 3:31 AM, Ron<nhadie at gmail.com> wrote:> Hi, > > what software do i need to convert an mp3 to a g729 format?I'm not aware of a package to do it in one step. Sox can work with a large number of formats, but mp3 isn't one of them.> I have a portal where a user can upload their own MP3, but when a user > is using a g729 codec, the music on hold has a crackly sound. using g711 > it's very clear.That could be for any number of reasons, including a overly lossy mp3 to begin with.> so what i'd like to do is when they upload an MP3 i will make a copy on > g729 format, so that asterisk can choose which file to play depending on > what codec is being used by the user.Why did you choose mp3 in the first place? How about turn this around on the customer and have them upload a g729 file?
On Tue, 23 Jun 2009, Ron wrote:> Hi, > > what software do i need to convert an mp3 to a g729 format? > > I have a portal where a user can upload their own MP3, but when a user > is using a g729 codec, the music on hold has a crackly sound. using g711 > it's very clear. > > so what i'd like to do is when they upload an MP3 i will make a copy on > g729 format, so that asterisk can choose which file to play depending on > what codec is being used by the user.Have you tried the convert command inside Asterisk? (1.4+) Gordon