[Freeswitch-users] mod_amr transcoing for testing purposes

Kristian Kielhofner kris at kriskinc.com
Mon Jan 14 22:58:32 MSK 2013


IIRC Sangoma doesn't provide licensing for AMR and AMR-WB (just the
implementation).

AFAIK mod_sangoma_codec is no more legal than libamr.

On Mon, Jan 14, 2013 at 12:40 PM, Steven Ayre <steveayre at gmail.com> wrote:
> An alternative is mod_sangoma_codec, which supports AMR.
>
> This is the module to interface with a transcoding hardware card made by
> Sangoma, which implements several codecs including licensed ones such as
> AMR, G729 etc. The license cost is included in the cost of the hardware
> itself. The transcoding is done on the card itself, offloading that
> processing from the CPU.
>
> Since mod_amr licenses don't exist yet, that's probably your only legal
> option for AMR transcoding in FreeSWITCH right now.
>
> With a bit of research you can (quite easily) find the AMR library mod_amr
> is designed for from the headers Mike mentioned, but you won't get any help
> from the community finding, implementing or debugging it due to the legal
> issues surrounding doing so.
>
> As for testing with mod_amr... testing one codec implementation tells you
> exactly nothing about a different implementation. If you plan to test
> transcoding AMR you *need* to test with the implementation you will use in
> production to get any meaningful results. Which won't be mod_amr.
>
> Suffice to say transcoding in FreeSWITCH works very well, providing the
> in/out codecs are supported.
>
> -Steve
>
>
>
> On 14 January 2013 16:45, Michael Jerris <mike at jerris.com> wrote:
>>
>> Licensing for that pool last we looked was a bit of a mess IIRC.  We will
>> need a lot of interest to consider pursuing this.  That all being said, the
>> module in tree is complete module code, just requires the library.
>>
>> Makefile:
>> AMR_DIR=$(switch_srcdir)/libs/amr
>> AMR_BUILDDIR=$(switch_builddir)/libs/amr
>> AMR_A=$(AMR_BUILDDIR)/libamr.a
>>
>> LOCAL_INSERT_CFLAGS=if test -d $(AMR_DIR); then echo "-I$(AMR_DIR)" ; else
>> echo "-DAMR_PASSTHROUGH" ; fi ;
>> LOCAL_INSERT_LDFLAGS=test ! -d $(AMR_DIR) || echo "$(AMR_A)";
>>
>>
>> if you put the correct lib in libs/amr and build it then build the module,
>> it should work.
>>
>> your looking for a lib with these header files:
>>
>> #include "interf_enc.h"
>> #include "interf_dec.h"
>>
>> we do not distribute or provide any licensing for this library, so you
>> will need to arrange that on your own.
>>
>> Mike
>>
>>
>> On Jan 14, 2013, at 10:14 AM, Steven Ayre <steveayre at gmail.com> wrote:
>>
>> What exactly would you be 'testing' though? There's no licensed version of
>> the module available yet.
>>
>> From the Wiki:
>> Licensing is being worked on and FreeSWITCH™ may be able to offer
>> licensing terms in the future for this module.
>>
>> If you're interested in a transcoding version of the AMR codec for
>> production use I'd suggest you contact the core developers to either put
>> your name down for how many licenses you'd be interested in, or raise a
>> bounty (like happened with G729).
>>
>> -Steve
>>
>>
>>
>>
>> On 14 January 2013 13:04, Luis Azedo <luis.azedo at factorlusitano.com>
>> wrote:
>>>
>>> Hi,
>>>  is there any way to enable mod_amr with transcoding for testing purposes
>>> ?
>>>     maybe with opencore-amr ?
>>>     thanks
>>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Kristian Kielhofner



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list