首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在覆盆子Pi 3上用SRT编译gst-plugins-bad

在覆盆子Pi 3上用SRT编译gst-plugins-bad
EN

Stack Overflow用户
提问于 2018-10-10 10:41:47
回答 1查看 960关注 0票数 2

我试着用SRT编译gst-插件-不好,编译是成功的,但我找不到插件。我认为缺少依赖库srt和正确的参数(我使用了--with-srt)。下面是我使用的命令:

代码语言:javascript
复制
git clone git://anongit.freedesktop.org/git/gstreamer/gst-plugins-bad
cd gst-plugins-bad
git checkout 1.14.2
export LDFLAGS='-L/opt/vc/lib' \
CFLAGS='-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux' \
CPPFLAGS='-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux'
./autogen.sh --disable-gtk-doc --disable-examples --disable-x11 --disable-glx --disable-glx --disable-opengl --with-srt
make CFLAGS+="-Wno-error -Wno-redundant-decls -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux" \
CPPFLAGS+="-Wno-error -Wno-redundant-decls -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux" \
CXXFLAGS+="-Wno-redundant-decls" LDFLAGS+="-L/opt/vc/lib"

使用SRT编译的正确方法是什么?

EN

回答 1

Stack Overflow用户

发布于 2018-10-17 10:18:57

您需要从https://github.com/Haivision/srt下载并安装SRT库。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52738386

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档