webrtc音视频编解码

做webrtc视频编解码应用资源

https://github.com/pion/mediadevices/tree/master/examples/webrtc

https://github.com/rviscarra/webrtc-remote-screen

https://github.com/rviscarra/webrtc-speech-to-text

https://github.com/giongto35/cloud-morph/tree/master/pkg

https://github.com/deepch/RTSPtoWebRTC

https://github.com/deepch/RTSPtoWeb

音频解码libopus 

下载
https://www.opus-codec.org/downloads/

解压
tar xf opus-1.3.1.tar.gz
cd opus-1.3.1
编译
BUILD_LIBS=${HOME}/build_libs
./configure --prefix=${BUILD_LIBS} --with-pic --enable-float-approx
 make
 make install

安装libvpx

Step 1
sudo apt-get update -y
Step 2
sudo apt-get install -y libvpx-dev
Step 3
Check the system logs to confirm that there are no related errors. You can use ZoomAdmin to check the logs, manager servers, host multiple websites and apps on your servers and more. The apps run in docker containers, to learn more
see ZoomAdmin Features for list of features and demo videos. And you can start with the Free Plan.

安装libx264

原文链接:https://blog.csdn.net/jenie/article/details/110000453

1).安装依赖的包:

sudo apt-get update
sudo apt-get install build-essential git-core checkinstall texi2html libfaac-dev \
libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev \
libvorbis-dev libx11-dev libxfixes-dev zlib1g-dev

2.安装Yasm:x264需要使用yasm来针对CPU架构进行优化,提高性能。

cd
wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
tar xzvf yasm-1.2.0.tar.gz
cd yasm-1.2.0
./configure
make
make install

3.安装x264:下载源代码、编译、安装

cd
git clone git://git.videolan.org/x264
cd x264
./configure --enable-shared    //动态库
make
make install

4.此时 libx264.so默认安装在/usr/local/lib,直接编译会出现

tmux: error while loading shared libraries: libx264.so.2: cannot open shared object file: No such file or directory

原因就是已经安装了该共享库, 但执行需要调用该共享库的程序的时候, 程序按照默认共享库路径 /usr/lib 找不到该共享库文件. 

如果共享库文件安装到了/usr/local/lib(很多开源的共享库都会安装到该目录下)或其它"非/lib或/usr/lib"目录下, 那么在执行ldconfig命令前, 还要把新共享库目录加入到共享库配置文件/etc/ld.so.conf中, 如下:

# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
# echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig
windows下x264

https://blog.csdn.net/martinkeith/article/details/105323052

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值