Feature Description
I am setting up an HDMI Input streaming pipeline on the Orange Pi 5 Plus using the latest Ubuntu 24.04 LTS image. While the hardware encoder (mpph265enc) is present and working, the GStreamer RGA plugin (usually rgaconvert or gstrga) appears to be missing.
This plugin is critical for converting the high-quality HDMI input signal (NV24/BGR) to the format required by the hardware encoder (NV12) without overloading the CPU.
Hardware & OS:
- Board: Orange Pi 5 Plus (RK3588)
- OS: Ubuntu 24.04 LTS (Noble Numbat) - Joshua Riek Image
- Kernel:
6.1.0-1025-rockchip (verified via uname -r)
Steps to Reproduce:
- Install the full multimedia stack:
sudo apt install gstreamer1.0-rockchip1 librockchip-mpp1 librga2 librga-dev
- Check for RGA plugins in GStreamer:
gst-inspect-1.0 | grep -i "rga\|convert"
Expected Behavior:
I expect to see rgaconvert, gstrga, or mppvideoconvert listed, allowing for hardware-accelerated color space conversion.
Actual Behavior:
Only software converters (like videoconvert, audioconvert) and the MPP Encoders/Decoders (mpph265enc, etc.) are listed. The hardware accelerator for conversion is missing from GStreamer, forcing the use of the CPU-intensive videoconvert.
Context
dmesg | grep rga confirms the RGA hardware is initialized (rga3_core0, rga2).
librga.so is present in /usr/lib/aarch64-linux-gnu/.
- The missing piece seems to be the GStreamer wrapper (
libstrga.so).
Impact
Without rgaconvert, capturing HDMI Input (which defaults to NV24/YCbCr 4:4:4) and encoding it to H.265 (which requires NV12) forces a software conversion. This limits performance to ~10-15 FPS on 1080p streams, whereas hardware RGA conversion would allow 60 FPS.
Question
Is there a specific package or PPA I need to enable to get the rgaconvert plugin on Ubuntu 24.04? Or is this plugin currently not packaged for Noble?
Thank you for your hard work on this project!
Feature Description
I am setting up an HDMI Input streaming pipeline on the Orange Pi 5 Plus using the latest Ubuntu 24.04 LTS image. While the hardware encoder (
mpph265enc) is present and working, the GStreamer RGA plugin (usuallyrgaconvertorgstrga) appears to be missing.This plugin is critical for converting the high-quality HDMI input signal (NV24/BGR) to the format required by the hardware encoder (NV12) without overloading the CPU.
Hardware & OS:
6.1.0-1025-rockchip(verified viauname -r)Steps to Reproduce:
sudo apt install gstreamer1.0-rockchip1 librockchip-mpp1 librga2 librga-devgst-inspect-1.0 | grep -i "rga\|convert"Expected Behavior:
I expect to see
rgaconvert,gstrga, ormppvideoconvertlisted, allowing for hardware-accelerated color space conversion.Actual Behavior:
Only software converters (like
videoconvert,audioconvert) and the MPP Encoders/Decoders (mpph265enc, etc.) are listed. The hardware accelerator for conversion is missing from GStreamer, forcing the use of the CPU-intensivevideoconvert.Context
dmesg | grep rgaconfirms the RGA hardware is initialized (rga3_core0, rga2).librga.sois present in/usr/lib/aarch64-linux-gnu/.libstrga.so).Impact
Without
rgaconvert, capturing HDMI Input (which defaults to NV24/YCbCr 4:4:4) and encoding it to H.265 (which requires NV12) forces a software conversion. This limits performance to ~10-15 FPS on 1080p streams, whereas hardware RGA conversion would allow 60 FPS.Question
Is there a specific package or PPA I need to enable to get the
rgaconvertplugin on Ubuntu 24.04? Or is this plugin currently not packaged for Noble?Thank you for your hard work on this project!