<div dir="ltr">John,<div><br></div><div>In what application are you using mp3's? In my case it was for music on hold. I simply had asterisk call ffmpeg to play the files (to get around all the issues). Where I have local files I convert them over to wav or gsm and call it a day.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 23, 2020 at 4:33 AM Jonathan H <<a href="mailto:lardconcepts@gmail.com">lardconcepts@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div><br></div><div>Returning to the issue of mp3 support in Asterisk, it seems it is using a build from 1997?!</div><div><a href="http://svn.digium.com/svn/thirdparty/mp3/trunk/layer3.c" target="_blank">http://svn.digium.com/svn/thirdparty/mp3/trunk/layer3.c</a><br></div><div><br></div><div>I have the same problems as everyone with the mp3 add-on, but now a new one:</div><div><ul><li>"mp3/interface.c: Junk at the beginning of frame 49443304" for ALL mp3 files, even when debug/verbose is off.</li><li>Very quiet playback compared to slin, so I have to control the outgoing volume by +7 for mp3 playback.</li><li>Now I find it chokes on mp3s which 

have a png cover art - this is perfectly valid in mp3 id3</li></ul></div><div>But I still need to use ControlPlayback from dialplan and f-agi.</div><div><br></div><div>I started going down a rabbit-hole of ARI media and Audiosocket etc, for example:</div><div><br></div><div><a href="https://www.youtube.com/watch?v=tjduXbZZEgI" target="_blank">https://www.youtube.com/watch?v=tjduXbZZEgI</a><br><a href="https://github.com/CyCoreSystems/audiosocket" target="_blank">https://github.com/CyCoreSystems/audiosocket</a><br></div><div><br></div><div>These all seem to add a fair amount of complexity for controlling playback - for example:</div><div><a href="https://wiki.asterisk.org/wiki/display/AST/ARI+and+Media%3A+Part+2+-+Playbacks#ARIandMedia:Part2-Playbacks-Controllingplaybacks" target="_blank">https://wiki.asterisk.org/wiki/display/AST/ARI+and+Media%3A+Part+2+-+Playbacks#ARIandMedia:Part2-Playbacks-Controllingplaybacks</a><br></div><div>And I need to know the current cplaybackoffset at any given time.</div><div><br></div><div></div><div>I was thinking: to keep it simple, is there a way to tell Asterisk to use a different mpg123 (the system one - my currently installed version from 2020!) instead of the Asterisk build?</div><div><br></div><div>I can live with the "junk" warnings and the quiet playback, but it cannot be crashing on valid id3 content (and I have no control over the remotely hosting files).<br></div><div><br></div><div>Thanks for any pointers in the right direction!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 3 Sept 2019 at 16:20, Dovid Bender <<a href="mailto:dovid@telecurve.com" target="_blank">dovid@telecurve.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Ludovic,<div><br></div><div>Currently using Asterisk 14.5.0 with</div><div>[root@a1-c2-nyc3 ~]# rpm -qa | grep mpg123<br>mpg123-1.25.6-1.el7.x86_64<br>mpg123-libs-1.25.6-1.el7.x86_64<br>mpg123-devel-1.25.6-1.el7.x86_64<br>[root@a1-c2-nyc3 ~]# <br></div><div>Should I be using a newer version of mpg123?</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 3, 2019 at 11:11 AM <<a href="mailto:ldrolez@free.fr" target="_blank">ldrolez@free.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi !<br>
<br>
Which Asterisk version do you use?<br>
Asterisk uses the mpg123 library.<br>
<br>
Regards,<br>
<br>
Ludovic<br>
<br>
On Sun, Sep 01, 2019 at 03:27:59PM -0400, Dovid Bender wrote:<br>
>    Hi,<br>
>    Does anyone know what code (if any) format_mp3 uses? I am trying to play<br>
>    a MP3 (e.g.<br>
<br>
-- <br>
<a href="https://drolez.com/blog" rel="noreferrer" target="_blank">https://drolez.com/blog</a>    - Marketing automation and Web dev<br>
<a href="https://chezsandro.com" rel="noreferrer" target="_blank">https://chezsandro.com</a>     - A cool place in Cape Verde :)<br>
<a href="https://aopensource.com" rel="noreferrer" target="_blank">https://aopensource.com</a>    - Android Open Source Portal<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>