ubuntu20.04 安装gstreamer-1.19.2版本

1.安装依赖库

sudo apt install build-essential autotools-dev automake autoconf libtool autopoint libxml2-dev zlib1g-dev libglib2.0-dev pkg-config bison flex python3 git gtk-doc-tools libasound2-dev libgudev-1.0-dev libxt-dev libvorbis-dev libcdparanoia-dev libpango1.0-dev libtheora-dev libvisual-0.4-dev iso-codes libgtk-3-dev libraw1394-dev libiec61883-dev libavc1394-dev libv4l-dev libcairo2-dev libcaca-dev libspeex-dev libpng-dev libshout3-dev libjpeg-dev libaa1-dev libflac-dev libdv4-dev libtag1-dev libwavpack-dev libpulse-dev libsoup2.4-dev libbz2-dev libcdaudio-dev libdc1394-22-dev ladspa-sdk libass-dev libcurl4-gnutls-dev libdca-dev libdvdnav-dev
                                    
									
sudo apt install libexempi-dev libexif-dev libfaad-dev libgme-dev libgsm1-dev libiptcdata0-dev libkate-dev libmimic-dev libmms-dev libmodplug-dev libmpcdec-dev libofa0-dev libopus-dev librsvg2-dev librtmp-dev libsndfile1-dev libsoundtouch-dev libspandsp-dev libx11-dev libxvidcore-dev libzbar-dev libzvbi-dev liba52-0.7.4-dev libcdio-dev libdvdread-dev libmad0-dev libmp3lame-dev libmpeg2-4-dev libopencore-amrnb-dev libopencore-amrwb-dev  
     
	 
sudo apt install libsidplay1-dev libtwolame-dev libx264-dev python-gi-dev yasm python3-dev libgirepository1.0-dev libx265-dev 


sudo apt install libusb-dev libva-dev libbs2b-dev libchromaprint-dev libssh2-1-dev libdirectfb-dev libfaac-dev libopencv-dev libvulkan-dev libxkbcommon-x11-dev libwayland-client0 libltc-dev bluez libfdk-aac-dev libgsm1-dev liblrdf0-dev libde265-dev liblilv-0-0 libmjpegtools-dev libmpeg2encpp-2.1-0

2.下载最新的gstreamer代码:

git clone https://gitlab.freedesktop.org/gstreamer/gst-build.git

3. 编译安装:

git clone https://github.com/mesonbuild/meson.git
pip3 install ninja

meson.py build 
ninja -C build
ninja -C build clean
meson.py install -C build  #安装
ninja -C build uninstalled #卸载

测试:
root# gst-inspect-1.0 --version
gst-inspect-1.0 version 1.19.2
GStreamer 1.19.2

评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值