List Info

Thread: G726




G726
user name
2007-02-16 16:19:21
gi guys,
i was looking at codec_g726.c and i've been to ask myself: what are the differences between g726 and g726aal2.
They both use the same struct g726_coder_pvt. They both using g726tolin_sample(), which is 2 samples/bytes
Also, a core show translation seems they are really fast to translate from one to other.
Is that just a small difference in the algo, like g711u vs g711a?

Also, the module description says: ITU G.726-32kbps G726 Transcoder, isnt for 16-24 and 40 too?



--
Clod Patry
RE: G726
country flaguser name
United States
2007-02-16 16:56:21
I think that the sample packing order is different between g726 and g726aal2.
 
And yes, it's the 32kbps (4 bits per sample) encoding only.


From: asterisk-dev-bounceslists.digium.com [mailto:asterisk-dev-bounceslists.digium.com] On Behalf Of Clod Patry
Sent: 16 February 2007 22:19
To: asterisk-devlists.digium.com
Subject: [asterisk-dev] G726

gi guys,
i was looking at codec_g726.c and i've been to ask myself: what are the differences between g726 and g726aal2.
They both use the same struct g726_coder_pvt. They both using g726tolin_sample(), which is 2 samples/bytes
Also, a core show translation seems they are really fast to translate from one to other.
Is that just a small difference in the algo, like g711u vs g711a?

Also, the module description says: ITU G.726-32kbps G726 Transcoder, isnt for 16-24 and 40 too?



--
Clod Patry
Re: G726
country flaguser name
United States
2007-02-16 17:45:01
Steve Langstaff wrote:
> I think that the sample packing order is different
between g726 and
> g726aal2.

That is correct, it is essentially little-ending vs.
big-ending packing
of the encoded bits into bytes. That is why converting
between them is
so fast.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: G726
country flaguser name
United Kingdom
2007-02-20 17:12:23
On 16 Feb 2007, at 23:45, Kevin P. Fleming wrote:

> Steve Langstaff wrote:
>> I think that the sample packing order is different
between g726 and
>> g726aal2.
>
> That is correct, it is essentially little-ending vs.
big-ending  
> packing
> of the encoded bits into bytes. That is why converting
between them is
> so fast.


1.4/include/asterisk/frame.h has this as:
/*! ADPCM (G.726, 32kbps, RFC3551 codeword packing) */
#define AST_FORMAT_G726         (1 << 11)

But
http://www.ietf.org/internet-drafts/draft-guy-iax-02.txt
 under
Media Format Subclass Values
says:


  0x00000800 | AMR            | Variable

- All of the rest of the codecs match.

Is this a bug in asterisk or in the draft-rfc ?
Or are we putting a translation layer between the values IAX
uses  
externally
and that asterisk uses internally?

Tim.


> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev

Tim Panton

www.mexuar.net
www.westhawk.co.uk/



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: G726
user name
2007-02-21 04:58:33
On Wed, Feb 21, 2007 at 10:55:50AM +0000, Dorian Logan
wrote:

>    Can the AMR Codecs be purchased? If so where from?

Voiceage, last time I was involved with a project for
licensing it,
it was around $50K set-up fee and then $2 an encoder and $1
a decoder
with a minimum of $20K.


Steve

-- 
NetTek Ltd  UK mob +44-(0)7775 755503
UK +44-(0)20 79932612 / US +1-(310)8577715 / Fax +44-(0)20
7483 2455
Skype/GoogleTalk/AIM/Gizmo/Mac stevekennedyuk / MSN
stevegbnet.net
Euro Tech News Blog http://eurotechnews.
blogspot.com
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )