在Ubuntu18.04下安装Gstreamer

首先在Ubuntu18.04下进入GStreamer官方教程网站

https://gstreamer.freedesktop.org/documentation/tutorials/index.html?gi-language=c

如图所示,点击installing GStreamer 

在Ubuntu18.04下安装Gstreamer_第1张图片

 进入下面的页面,点击Installing on Linux

在Ubuntu18.04下安装Gstreamer_第2张图片

 点击后进入如下页面

在Ubuntu18.04下安装Gstreamer_第3张图片

 在你想安装的文件路径下,先运行Install GStreamer on Ubuntu or Debian中的指令,具体就是在对应路径中打开终端并运行:

apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio

安装完成后,再运行:

pkg-config --cflags --libs gstreamer-1.0

你可能感兴趣的:(ubuntu)