Giter Club home page Giter Club logo

cin-audiocodec's Introduction

Prepare 3rd and PCM files

3rd 和 测试PCM文件 打包放在github,下载时可能需要代理,在脚本里搜 get_3rd get_pcm 可找到下载链接。如果本地已经存文件则不会执行下载过程。

./build.sh prepare 

查看帮助

./build.sh help 

Dependencies

spandsp 依赖 libtiff。CentOS上安装 libtiff-devel

sudo yum install libtiff-devel

Build Library

make -C audiocodec 

Build and Test

make -C audiocodec test

Clean Build

make -C audiocodec clean

Clean All

删除 3rd目录 和 编译生成文件

./build.sh clean 

3rd

ITU-T_pesq

ITU-T_pesq 下载 zip包,解压缩后创建符号链接

ln -s ITU-T_pesq-simon-dev ITU-T_pesq

bcg729

下载并解压缩 bcg729-1.1.1.tar.gz

fdk-aac

下载并解压缩 fdk-aac-2.0.3.tar.gz

lame

使用原版 svn MS/3rd/lame-3.100

opencore-amr

下载并解压缩 opencore-amr-0.1.6.tar.gz

tiff

使用原版 svn MS/3rd/tiff-3.7.1

speexdsp

下载并解压缩 speexdsp-1.2.1.tar.gz

vo-amrwbenc

下载并解压缩 vo-amrwbenc-0.1.3.tar.gz

opus

编译svn 原版,M1 成功, 但kylin10 失败。

/home/funing/opus-1.4/missing:行81: automake-1.13:未找到命令

原版 都能编译成功。

./configure --enable-shared=no --enable-static=yes && make

spandsp

  • svn 原版 spandsp-0.0.6
    在 kylin10 (192.168.2.52) 上编译失败,苹果M1也编译失败。

  • 最新版 spandsp 7b0b8cf
    kylin10 编译成功,M1编译失败

    error: initializer element is not a compile-time constant
    
  • 原版 spandsp-0.0.6.tar.gz
    kylin10 和 M1 都编译成功,但configure命令不一样。
    M1:

    ./configure --enable-shared=no --enable-static=yes 

    kylin10:

    ./configure --enable-shared=no --enable-static=yes --build=aarch64-unknown-linux-gnu

    kylin10 如果没有 --build=aarch64-unknown-linux-gnu 会提示

    configure: error: cannot guess build type; you must specify one

    参考这个,可以解决

    $ cp /usr/share/automake-1.16/config.guess ./config/config.guess
    
    $ ./configure --enable-shared=no --enable-static=yes

    用 kylin10 上的 config.guess 在 M1 上也能编译成功。

minimp3

下载 minimp3 两个头文件

cin-audiocodec's People

Contributors

simon-fu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.