欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

如何進(jìn)行FreeSwitch一些模塊的安裝-創(chuàng)新互聯(lián)

今天就跟大家聊聊有關(guān)如何進(jìn)行FreeSwitch一些模塊的安裝,可能很多人都不太了解,為了讓大家更加了解,小編給大家總結(jié)了以下內(nèi)容,希望大家根據(jù)這篇文章可以有所收獲。

讓客戶滿意是我們工作的目標(biāo),不斷超越客戶的期望值來自于我們對這個行業(yè)的熱愛。我們立志把好的技術(shù)通過有效、簡單的方式提供給客戶,將通過不懈努力成為客戶在信息化領(lǐng)域值得信任、有價值的長期合作伙伴,公司提供的服務(wù)項目有:域名與空間、網(wǎng)頁空間、營銷軟件、網(wǎng)站建設(shè)、雙塔網(wǎng)站維護(hù)、網(wǎng)站推廣。

FreeSwitch 視頻支持,需要特殊安裝一些依賴 還有安裝順序問題

這里列出來 安裝libyuv libvpx opus mod_av 等模塊的代碼 方便大家使用

環(huán)境:

CentOS 6.x 64

FreeSwitch 1.6.20

URL=file.qzlink.com

#bugfix: step1 libyuv

cd /usr/local/src/freeswitch/libs

rm -rf libyuv

wget http://$URL/freeswitch/libyuv.zip

unzip libyuv.zip

cd libyuv

make -f linux.mk CXXFLAGS="-fPIC -O2 -fomit-frame-pointer -Iinclude/"

make install

yes|cp /usr/lib/pkgconfig/libyuv.pc /usr/lib64/pkgconfig/

yes|cp /usr/lib/libyuv.so /usr/lib64/

#bugfix :step2 libvpx

cd /usr/local/src/freeswitch/libs

rm -rf libvpx

wget http://$URL/freeswitch/libvpx.zip

unzip libvpx.zip

cd libvpx

./configure --enable-pic --disable-static --enable-shared

make

make install

yes|cp /usr/local/lib/pkgconfig/vpx.pc /usr/lib64/pkgconfig/

#bugfix :step3 opus

cd /usr/local/src/freeswitch/libs

rm -rf opus

wget http://$URL/freeswitch/opus.zip

unzip opus.zip

cd opus

./autogen.sh

./configure

make

make install

yes|cp /usr/local/lib/pkgconfig/opus.pc /usr/lib64/pkgconfig

#bugfix step4 libpng

cd /usr/local/src/freeswitch/libs

rm -rf libpng

wget http://$URL/freeswitch/libpng.zip

unzip libpng.zip

cd libpng

./configure

make

make install

yes|cp /usr/local/lib/pkgconfig/libpng* /usr/lib64/pkgconfig/

#bugfix step5 mod_sndfile

cd /usr/local/src/freeswitch/libs

rm -rf libsndfile

wget http://$URL/freeswitch/libsndfile-1.0.27.tar.gz

tar zxvf  libsndfile-1.0.27.tar.gz

cd libsndfile-1.0.27

./configure   

make

make install

yes|cp /usr/local/lib/pkgconfig/sndfile.pc /usr/lib64/pkgconfig

cd ..

#step 6  install x264 (mod_av needed)

rm -rf zxvf libav-11.8.tar.gz

wget http://$URL/highswitch_v2/x264-snapshot-20170226-2245-stable.tar.bz2

tar   -jxvf  x264-snapshot-20170226-2245-stable.tar.bz2

rm -rf x264-snapshot-20170226-2245-stable.tar.bz2

cd x264-snapshot-20170226-2245-stable

./configure --enable-shared --enable-static --disable-opencl

make

make install

yes|cp /usr/local/lib/pkgconfig/x2* /usr/lib64/pkgconfig

cd ..

#否則編譯mod_av的時候 提示x264找不到

#然后把產(chǎn)生的.a 。so 文件 搞到系統(tǒng)的 /usr/lib64 目錄下

yes|p /usr/local/lib/libx*  /usr/lib64/

#step 7  mod_av

cd ..

rm -rf zxvf libav-11.8.tar.gz

wget http://$URL/highswitch_v2/libav-11.8.tar.gz

tar zxvf libav-11.8.tar.gz

rm -rf libav-11.8.tar.gz

cd libav-11.8

./configure --enable-shared --enable-libx264 --enable-gpl --extra-cflags=-fPIC

#如果沒有參數(shù) --extra-cflags=-fPIC  可以 修改config.mak  給CPPFLAGS 加上-fPIC參數(shù)

make

make install

yes|cp /usr/local/lib/pkgconfig/*.pc /usr/lib64/pkgconfig/

yes|cp -f /usr/local/lib/* /usr/lib64/

cd ..

# live 555

rm -rf live.2017.01.26.tar.gz

wget http://$URL/highswitch_v2/live.2017.01.26.tar.gz

tar zxvf live.2017.01.26.tar.gz

rm -rf live.2017.01.26.tar.gz

cd live

./genMakefiles linux-64bit

make

make install

# vlc 

cd ..

rm   -rf vlc-2.2.4.tar.xz

wget http://$URL/highswitch_v2/vlc-2.2.4.tar.xz

tar xvf vlc-2.2.4.tar.xz

rm  -rf vlc-2.2.4.tar.xz

cd  vlc-2.2.4

sed -i 's#LIVE555_PREFIX-"/usr"#LIVE555_PREFIX-"/usr/local"#g' configure

./configure --enable-run-as-root --enable-realrtsp --disable-mad --disable-a52 --disable-jpeg --enable-live555

make

make install

yes|cp /usr/local/lib/pkgconfig/libvlc.pc /usr/lib64/pkgconfig/

# mod_shout playmp3

cd ..

rm -rf libshout-2.2.2.tar.gz

wget http://$URL/highswitch_v2/libshout-2.2.2.tar.gz

tar zxvf libshout-2.2.2.tar.gz

rm -rf libshout-2.2.2.tar.gz

cd libshout-2.2.2

./configure

make

make install

# mpg123

cd ..

rm -rf mpg123-1.23.8.tar.bz2

wget http://$URL/highswitch_v2/mpg123-1.23.8.tar.bz2

tar jxvf mpg123-1.23.8.tar.bz2

rm -rf mpg123-1.23.8.tar.bz2

cd mpg123-1.23.8

./configure

make

make install

#lame

cd ..

rm -rf lame-3.98.4.tar.gz

wget http://$URL/highswitch_v2/lame-3.98.4.tar.gz

tar zxvf lame-3.98.4.tar.gz

rm -rf lame-3.98.4.tar.gz

cd lame-3.98.4

./configure

make linux

make install

看完上述內(nèi)容,你們對如何進(jìn)行FreeSwitch一些模塊的安裝有進(jìn)一步的了解嗎?如果還想了解更多知識或者相關(guān)內(nèi)容,請關(guān)注創(chuàng)新互聯(lián)-成都網(wǎng)站建設(shè)公司行業(yè)資訊頻道,感謝大家的支持。

分享文章:如何進(jìn)行FreeSwitch一些模塊的安裝-創(chuàng)新互聯(lián)
分享網(wǎng)址:http://chinadenli.net/article32/ddipsc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供外貿(mào)網(wǎng)站建設(shè)微信公眾號、靜態(tài)網(wǎng)站網(wǎng)站內(nèi)鏈、移動網(wǎng)站建設(shè)、做網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

h5響應(yīng)式網(wǎng)站建設(shè)