openh264初探

代码下载

git clone https://github.com/cisco/openh264

代码编译

git branch -av
git checkout --track -b openh264v2.3.1 origin/openh264v2.3.1  //切换到一个稳定分支
mkdir out  //创建构建目录
meson out  //开始meson构建
cd out
ninja  //ninja编译

安装

sudo ninja install  //安装

安装内容如下:

fuqiang@ubuntu:~/workspace/spacemit_mpp/thirdparty/openh264/out$ sudo ninja install

[0/1] Installing files.
Installing libopenh264.so.2.3.1 to /usr/local/lib/x86_64-linux-gnu
Installing symlink pointing to libopenh264.so.2.3.1 to /usr/local/lib/x86_64-linux-gnu/libopenh264.so.7
Installing symlink pointing to libopenh264.so.7 to /usr/local/lib/x86_64-linux-gnu/libopenh264.so
Installing /home/fuqiang/workspace/spacemit_mpp/thirdparty/openh264/codec/api/wels/codec_api.h to /usr/local/include/wels
Installing /home/fuqiang/workspace/spacemit_mpp/thirdparty/openh264/codec/api/wels/codec_app_def.h to /usr/local/include/wels
Installing /home/fuqiang/workspace/spacemit_mpp/thirdparty/openh264/codec/api/wels/codec_def.h to /usr/local/include/wels
Installing /home/fuqiang/workspace/spacemit_mpp/thirdparty/openh264/codec/api/wels/codec_ver.h to /usr/local/include/wels
Installing /home/fuqiang/workspace/spacemit_mpp/thirdparty/openh264/out/meson-private/openh264.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig

上一篇:【C++】开源:iceoryx通信中间件配置与使用


下一篇:【前缀和 + 双指针】第十三届蓝桥杯省赛C++ B组《统计子矩阵》(C++)