How to Install GStreamer MPP Plugins
Testing Environment:
LPA3588: Ubuntu 20.04
Kernel Version: 5.10.110
Method 2: Install via Command
sudo apt update
sudo apt install gstreamer1.0-rockchip
Method 3: Compile and Install
The MPP codec plugin and rkximagesink display plugin source code are located in the <SDK>/external/gstreamer-rockchip
directory.
Copy the source code to the /home/neardi
directory on the LPA3588
board.
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
Installation successful:
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 User Manual
Refer to the document Linux->Multimedia->Rockchip_User_Guide_Linux_Gstreamer_CN.pdf