Raspberry pi 在Raspberry Pi 3上使用SRT编译gst插件

Raspberry pi 在Raspberry Pi 3上使用SRT编译gst插件,raspberry-pi,gstreamer,raspberry-pi3,srt,Raspberry Pi,Gstreamer,Raspberry Pi3,Srt,我尝试用SRT编译gst插件,编译成功,但找不到插件。我认为依赖项库srt缺失,并且是正确的参数(我使用了——与srt一起使用)。 以下是我使用的命令: 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/op

我尝试用SRT编译gst插件,编译成功,但找不到插件。我认为依赖项库srt缺失,并且是正确的参数(我使用了——与srt一起使用)。 以下是我使用的命令:

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进行编译的正确方法是什么?

您需要从下载并安装SRT库

如何安装该库,没有make install。我不知道我必须把哪些文件放在哪里。GitHub页面上有一个安装部分。实际上,您需要安装dependenceis,然后运行configure和make。