[Asterisk-Users] How "expensive" are thedifferent codecs? (Regarding CPU time)

Jim Van Meggelen jim at vanmeggelen.ca
Wed Dec 15 10:57:40 MST 2004


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Michael Vogel
> Sent: December 15, 2004 11:24 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] How "expensive" are 
> thedifferent codecs? (Regarding CPU time)
> 
> 
> el Flynn schrieb:
> 
> > at the CLI, type "show translation" and it will show a chart of how 
> > long
> > (in milliseconds) it will take to translate from one codec 
> to another.
> 
> Thanks! That helps me a lot. Am I right that this chart is calculated 
> depending my machine's speed:
> 
> ##############################################################
> #########
>  zhad*CLI> show translation
>            Translation times between formats (in milliseconds)
>             Source Format (Rows) Destination Format(Columns)
>  
> 	  G723   GSM  ULAW  ALAW  G726 ADPCM SLINR LPC10 G729A SPEEX
ILBC
> G723	-     -     -     -     -     -     -     -     -     -     -
> GSM		-     -    13    13    47    15    12    43     -   253
124 
> ULAW	-    41     -     1    36     4     1    32     -   242   113
> ALAW	-    41     1     -    36     4     1    32     -   242   113
> G726	-    82    43    43     -    45    42    73     -   283   154
> ADPCM	-    43     4     4    38     -     3    34     -   244   115
> SLINR	-    40     1     1    35     3     -    31     -   241   112
> LPC10	-    58    19    19    53    21    18     -     -   259   130
> G729A	-     -     -     -     -     -     -     -     -     -     -
> SPEEX	-    52    13    13    47    15    12    43     -     -   124
> ILBC	-    59    20    20    54    22    19    50     -   260     -
> zhad*CLI> 
> ##############################################################
> #########
> 
> Encoding to speex or ilbc seems to be too heavy for my machine ;-)

YIKES! What kind of processor have you got there?





More information about the asterisk-users mailing list