1、下载源码
git clone https://github.com/GStreamer/gstreamer.git
2、编译
cd gstreamer
./autogen.sh
sudo make
sudo make install
如遇到找不到common
git clone https://github.com/GStreamer/common.git
checking for bison... no
configure: error: Could not find bison
sudo apt-get install bison
checking bison version 2.5 >= 1.875... yes
checking for flex... no
configure: error: Could not find flex
sudo apt-get install flex
You need to have gtk-doc >= 1.12 installed to build GStreamer RTSP Server Library
checking for flex... no
configure: error: Could not find flex
You need to have gtk-doc >= 1.12 installed to build GStreamer RTSP Server Librarysudo apt-get install gtk-doc-tools
3、总结
另外还需要编译gst-plugins-base