LINUX doubango编译详细过程记录

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-29 11:18:11
  • 说明

本文章详细记录了编译doubango的详细过程。

为了保证移植的便利,所有用到的库,都自行编译。

  • 参考文档

https://github.com/DoubangoTelecom/doubango/blob/master/Building_Source_v2_0.md

吾使用的是debango编译。

  • 准备工作
apt update
apt install gcc make camke
apt install autoconf subversion git wget  g++ pkgconfig 
# libtool libogg-devel nasm
  • 下载编译libtool

https://blog.csdn.net/quantum7/article/details/104086313

  • 下载编译libogg

https://blog.csdn.net/quantum7/article/details/104086366

  • 下载编译nasm

https://blog.csdn.net/quantum7/article/details/104086464

  • 下载编译libsrtp

https://blog.csdn.net/quantum7/article/details/104086582

  • 下载编译OpenSSL

https://blog.csdn.net/quantum7/article/details/104086731

  • 下载编译libspeex

https://blog.csdn.net/quantum7/article/details/104086849

  • 下载编译YASM

https://blog.csdn.net/quantum7/article/details/104086713

  • 下载编译Which

https://blog.csdn.net/quantum7/article/details/104086868

  • 下载编译libvpx

https://blog.csdn.net/quantum7/article/details/104086885

  • 下载编译libyuv

https://blog.csdn.net/quantum7/article/details/104086985

  • 下载编译libopus

https://blog.csdn.net/quantum7/article/details/104087104

  • 下载编译opencore-amr

https://blog.csdn.net/quantum7/article/details/104087232

  • 下载编译vo-amrwbenc

https://blog.csdn.net/quantum7/article/details/104087266

  • 下载编译libgsm

https://blog.csdn.net/quantum7/article/details/104087285

  • 下载编译g729

https://blog.csdn.net/quantum7/article/details/104087356

  • 下载编译iLBC

https://blog.csdn.net/quantum7/article/details/104087424

  • 下载编译x264

https://blog.csdn.net/quantum7/article/details/104087603

  • 下载编译openh264

https://blog.csdn.net/quantum7/article/details/104087760

  • 下载编译FFmpeg

https://blog.csdn.net/quantum7/article/details/104087693

 

以上编译,注意都要设置prefix

  • 编译doubango
UILD_LIBS=${HOME}/build_libs

chmod 777 autogen.sh

./autogen.sh
./configure  \
    --prefix="${BUILD_LIBS}"  \
    --with-ssl --with-srtp --with-vpx --with-yuv --with-amr --with-speex --with-speexdsp --enable-speexresampler --enable-speexdenoiser --with-opus --with-gsm --with-ilbc --with-g729 --with-ffmpeg

#    --with-speexdsp --with-ffmpeg --with-opus

make

make install

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!