Board logo

標題: Asterisk 1.4 & 1.6 G729, G723, iLBC and SpeeX codecs for ATOM CPU [打印本頁]

作者: 角色    時間: 2010-8-7 14:31     標題: Asterisk 1.4 & 1.6 G729, G723, iLBC and SpeeX codecs for ATOM CPU

本帖最後由 角色 於 2010-8-10 20:04 編輯

为了了大家方便,我把四个非常重要的codecs放在我的下载栏里,如果你的系统是ATOM CPU,又是行Asterisk 1.4的话,那么你可以直接下载,然后按照README.txt的安装方法就可以。

http://cid-581da835232568eb.offi ... %20for%20ATOM%20CPU

or download directly from this forum:
codecs.rar (561 KB)

The transcoding time for frequently used codecs is show as follows:

0011.png
2010-8-7 14:44


角色

圖片附件: 0011.png (2010-8-7 14:44, 8.38 KB) / 下載次數 810
http://www.telecom-cafe.com/forum/attachment.php?aid=127&k=204dca496f24569570f46be3c1c0683b&t=1713466976&sid=uLZ85U



附件: codecs.rar (2010-8-8 17:46, 561 KB) / 下載次數 940
http://www.telecom-cafe.com/forum/attachment.php?aid=135&k=c466d3dc6f0b978077f8267fe310e6a6&t=1713466976&sid=uLZ85U
作者: ckleea    時間: 2010-8-7 16:35

Thank you.
作者: bubblestar    時間: 2010-8-7 19:49

Thanks a lot.  They are very useful resources.
作者: ckleea    時間: 2010-8-7 19:51

本帖最後由 ckleea 於 2010-8-7 19:53 編輯

I also make ilbc and speex for asterisk 1.6.2.10 (ATOM)

Command>core show translation

         Translation times between formats (in microseconds) for one second of data
          Source Format (Rows) Destination Format (Columns)

           g723   gsm  ulaw  alaw g726aal2 adpcm  slin lpc10  g729 speex  ilbc  g726  g722 siren7 siren14 slin16
     g723     -     2     2     2        2     2     1  8002 12002 52004 32003  8002     2      -       -   8001
      gsm 16001     -  8002  8002     8002  8002  8001 16002 20002 60004 40003 16002  8002      -       -  16001
     ulaw  8001     2     -     1        2     2     1  8002 12002 52004 32003  8002     2      -       -   8001
     alaw  8001     2     1     -        2     2     1  8002 12002 52004 32003  8002     2      -       -   8001
g726aal2  8001     2     2     2        -     2     1  8002 12002 52004 32003  8002     2      -       -   8001
    adpcm  8001     2     2     2        2     -     1  8002 12002 52004 32003  8002     2      -       -   8001
     slin  8000     1     1     1        1     1     -  8001 12001 52003 32002  8001     1      -       -   8000
    lpc10  8001     2     2     2        2     2     1     - 12002 52004 32003  8002     2      -       -   8001
     g729 16000  8001  8001  8001     8001  8001  8000 16001     - 60003 40002 16001  8001      -       -  16000
    speex 16001  8002  8002  8002     8002  8002  8001 16002 20002     - 40003 16002  8002      -       -  16001
     ilbc 16000  8001  8001  8001     8001  8001  8000 16001 20001 60003     - 16001  8001      -       -  16000
     g726  8001     2     2     2        2     2     1  8002 12002 52004 32003     -     2      -       -   8001
     g722  8001     2     2     2        2     2     1  8002 12002 52004 32003  8002     -      -       -   8001
   siren7     -     -     -     -        -     -     -     -     -     -     -     -     -      -       -      -
  siren14     -     -     -     -        -     -     -     -     -     -     -     -     -      -       -      -
   slin16  8002     3     3     3        3     3     2  8003 12003 52005 32004  8003     1      -       -      - codec 1.6.2.10.zip (179.93 KB)

附件: codec 1.6.2.10.zip (2010-8-7 19:53, 179.93 KB) / 下載次數 810
http://www.telecom-cafe.com/forum/attachment.php?aid=128&k=2a789b25473881f24ec2b4d1309a5e9b&t=1713466976&sid=uLZ85U
作者: ckleea    時間: 2010-8-7 19:54

For speex, you also need these files

rpm -ivh http://www.lfarkas.org/linux/pac ... 2-0.10.rc1.i386.rpm
rpm -ivh http://www.lfarkas.org/linux/pac ... 2-0.10.rc1.i386.rpm
rpm -ivh http://www.lfarkas.org/linux/pac ... 2-0.10.rc1.i386.rpm
作者: 角色    時間: 2010-8-7 20:51

回復 4# ckleea

For the sake of easy comparison, I use a notepad and a software to make the figure to look more comfortable.

0012.png
2010-8-7 20:50

   
YH

圖片附件: 0012.png (2010-8-7 20:50, 12.29 KB) / 下載次數 709
http://www.telecom-cafe.com/forum/attachment.php?aid=129&k=5050fda6d7621e7b8c192cbe8cff17a3&t=1713466976&sid=uLZ85U


作者: ckleea    時間: 2010-8-7 21:07

Try again
1.6.2.10 ATOM.jpg
2010-8-7 21:06


圖片附件: 1.6.2.10 ATOM.jpg (2010-8-7 21:06, 69.65 KB) / 下載次數 833
http://www.telecom-cafe.com/forum/attachment.php?aid=130&k=103428085ba2ef2530bc117ff7d5d2cc&t=1713466976&sid=uLZ85U


作者: alang    時間: 2010-8-8 13:32

For speex, you also need these files

rpm -ivh
rpm -ivh
rpm -ivh
ckleea 發表於 2010-8-7 19:54


Many thanks ckleea for this info, as I'm building asterisk 1.6.1 on CentOS 5.
作者: ckleea    時間: 2010-8-9 09:25

不用客氣,同樣你的綱頁讓我學習咗很多 DD-WRT & asterisk。
作者: lttliang    時間: 2010-8-10 09:04

回復 1# 角色


    我就睇不明里面的說明了,因為我不是專業的..........
作者: 角色    時間: 2010-8-10 09:53

看不明白呢?没有什么专业用语。

角色
作者: lttliang    時間: 2010-8-10 11:50

回復 11# 角色


    1) Copy the codecs g729,g723, iLBC, Speex to the directory /usr/lib/asterisk/modules

cp *.so /usr/lib/asterisk/modules   然之後在putty輸入cp *.so /usr/lib/asterisk/modules


2) Copy the SpeeX libary       復制speeX目錄用來做咩?

cp *.1 /usr/lib                            在putty輸入cp *.1 /usr/lib  


3) Restart asterisk                      這步是否可以用reboot代替
/etc/init.d/asterisk restart



你都知啦   我系個種有需要時  就學一D野的人,所以冇你地咁勁   又系英盲哦
作者: 角色    時間: 2010-8-10 11:54

基本上就是这样,但是你要知道怎样把codecs拷到Linux系统里。

角色
作者: TsinTsin    時間: 2010-8-10 12:02

之前應成yhfung抄返呢份野出來,呢份report只要係測試吾同code對cpu咯影響
Concurrent Calls (max recommended)
G729<30
G711u<50


Download:
Test_Report_of_Atom_CPU_with_asterisk_G729-G711
http://www.fileden.com/files/200 ... erisk_G729-G711.pdf
作者: TsinTsin    時間: 2010-8-10 12:14

上面主要係講atom 230,如果係D510加返10%-20%就係Max Concurrent Calls

或者參考下Elastix Appliance ELX-025都係用Intel 1.6 GHz(atom or mobile u),Concurrent Calls (max recommended)都係30 user
http://store.palosanto.com/index ... liance-elx-025.html
http://www.palosanto.com/images/Documentacion/elx-a-flyer_eng.pdf
作者: 角色    時間: 2010-8-10 19:45

Thank for your information.

YH
作者: TsinTsin    時間: 2010-8-10 19:54

回復 1# 角色
想問下free G729 code穩定性如何啊?

呢到download?
http://asterisk.hosting.lv/
作者: 角色    時間: 2010-8-10 20:04

简单试过,没有问题。长期稳定性测试就没有做,不过,应该问题不大。

你说的没有错,我是从你说的link去求的。

角色
作者: ckleea    時間: 2010-8-10 23:10

需要注意 codecs are CPU specific.




歡迎光臨 電訊茶室 (http://www.telecom-cafe.com/forum/) Powered by Discuz! 7.2