How does format_mp3 work?

Home » Asterisk Users » How does format_mp3 work?
Asterisk Users 2 Comments


I was using the Playback application to play an MP3 file after compiling
and installing asterisk with format_mp3 and it seems to me that
asterisk is transcoding the file to an slin on the fly rather than
playing the mp3 itself. Is this what it does?

Also, does this mean I might as well change the format of MP3s to WAV
seeing as I’m used to doing that anyway?



2 thoughts on - How does format_mp3 work?

  • In article <1329920656.2027.37.camel@localhost.localdomain>,
    Ishfaq Malik wrote:

    Of course. You are not going to send mp3-encoded audio over a phone line,
    are you? That would require an mp3 decoder in every phone.

    In fact, any mp3 player is transcoding to linear on the fly, since that
    is part of converting it to audio for the speaker or earphones!

    What did you think was the difference between “trascoding to slin” and
    “playing the mp3”?

    If you have the storage space available for the larger WAV files, then yes,
    this would reduce the CPU consumption of playback.