Introduction to rockchip-multimedia ppa for ubuntu jammy

Are there any repos for RebornOS / Archlinux around?

You may find some of these packages in aur.

hey @amazingfate , i’ve installed your ppa on ubuntu jammy, but when i do gstreamer-inspect i only see decoders, not encoders, is that intentional?

root@b32ed7ddddff:/app# gst-inspect-1.0 | grep rock
rockchipmpp:  mppjpegdec: Rockchip's MPP JPEG image decoder
rockchipmpp:  mppvideodec: Rockchip's MPP video decoder
rockchipmpp:  mppvpxalphadecodebin: VP8/VP9 Alpha Decoder

i’ve installed inside docker to make it repeatable

FROM --platform=linux/arm64 ubuntu:jammy as base
# Set the working directory to /app

# gstreamer
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
    && apt-get -y install --no-install-recommends \
    gstreamer1.0-tools \
    gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
    gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
    python3-gi python3-gst-1.0 \
    && apt-get clean -y && rm -rf /var/lib/apt/lists/*

# gstreamer rockchip
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
    && apt-get -y install --no-install-recommends \
    # prerequisites
    curl gnupg software-properties-common \
    && add-apt-repository ppa:liujianfeng1994/rockchip-multimedia \
    && apt-get update \
    && apt-get -y install --no-install-recommends \
    # gstreamer
    gstreamer1.0-rockchip \
    && apt-get clean -y && rm -rf /var/lib/apt/lists/*

You need to install rockchip-multimedia-config to set the correct dev permission.

sudo apt install rockchip-multimedia-config
rm ~/.cache/gstreamer-1.0/registry.aarch64.bin
gst-inspect-1.0 rockchipmpp

Not accesible yet for Ubuntu 23.04?

No plan to support non-LTS releases.

Very bad decision

I will not upgrade my ubuntu release until the next LTS, so it is a very good decision for me.


just to post a solution – in my case i was using armbian with 6.3 kernel, to have encoders works one need to use legacy kernel 5.10.110-rockchip-rk3588 and then encoders in gstreamer shows/work

1 Like

when the input is gray8, rga says it is not supported, does that mean monocolor camera with rk3588 won’t achieve higher fps due to no hardware support for videoconvert?

You may try other color conversion method. I’m not familiar with this.

I installed ffmpeg but it doesn’t work :frowning:
(I use edge kernel 6.1 if it matter)

Make sure you are running kernel from rockchip. You don’t have mpp kernel driver right now.

I also have librockchip-mpp1 installed

but I have no /dev/mpp_service device

I checked journalctl and…

This is a mainline kernel, which doesn’t have mpp kernel driver.

Mainline is same as current kernel in armbian, I assume.
I also assume, that I need to use legacy 5.10 kernel.
I will try to downgrade and hope that will fix issue…

which kernel does have mpp driver
how to check?

legacy 5.10 kernel