如何安装 gstreamer mpp插件

测试环境:

  • LPA3588: Ubuntu 20.04

  • 内核版本: 5.10.110

方法二:命令安装

sudo apt update
sudo apt install gstreamer1.0-rockchip

方法三:编译安装

MPP编解码插件及rkximagesink显⽰插件源码在 <SDK>/external/gstreamer-rockchip目录。

将源码拷贝至 LPA3588/home/neardi 目录。

sudo apt update
sudo apt install gcc g++ clang make-guile build-essential meson
cd /home/neardi/gstreamer-rockchip

meson build && ninja -C build
sudo ninja -C build install

安装成功

neardi@LPA3588:~/gstreamer-rockchip$ sudo ninja -C build install
ninja: Entering directory `build'
[0/1] Installing files.
Installing gst/rkximage/libgstrkximage.so to /usr/local/lib/aarch64-linux-gnu/gstreamer-1.0
Installing gst/rockchipmpp/libgstrockchipmpp.so to /usr/local/lib/aarch64-linux-gnu/gstreamer-1.0
Installing gst/kmssrc/libgstkmssrc.so to /usr/local/lib/aarch64-linux-gnu/gstreamer-1.0

FAQ

Gstreamer使用手册

见文档Linux->Multimedia->Rockchip_User_Guide_Linux_Gstreamer_CN.pdf