armbian下编译ffmpeg-metartc

源码下载

git clone https://github.com/metartc/ffmpeg-metartc.git

安装编译软件

编译安装usrsctp

git clone https://github.com/sctplab/usrsctp
cd usrsctp
./bootstrap
./configure --prefix=/usr --disable-programs --disable-inet --disable-inet6
make && sudo make install

编译openssl
 export CC=/opt/mips-gcc540-glibc222-32bit-r3.3.0/bin/mips-linux-gnu-gcc
 
./Configure linux-aarch64

make
 
make install
生成的库在/usr/local/lib/目录下

编译srtp

/libsrtp-2-fit/crypto/math/datatypes.c  中 char bit_string[MAX_PRINT_STRING_LEN]; 加上static

static char bit_string[MAX_PRINT_STRING_LEN];

./configure 
 
make
 
make install
 
生成的库在/usr/local/lib/下。

编译SpeexDSP

tar xvf speexdsp-SpeexDSP-1.2.0.tar.gz

cd speexdsp-SpeexDSP-1.2.0/

sh autogen.sh

./configure

make

sudo make install

生成的库在/usr/local/lib/下

/etc/ld.so.conf

/usr/local/ffmpeg/lib

ldconfig

ffmpeg ......-acodec opus -strict -2 -ar 48000 -f webrtc webrtc://192.168.0.1/live/livestream

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值