Closed shivabohemian closed 5 months ago
Hi,
This is just a mirror repo, please report this issue to the RGA maintainer(or commiter).
Sorry, I only found the official gstreamer-rockchip
repository here.
I am using this repo's latest gstreamer-rockchip
plugin for transcoding, but the screen turns all green. Do you possibly know the reason for this? The old gstreamer-rockchip
in the SDK doesn't have this problem. Below is roughly the video transcoding part of the gst.
mppvideodec format=23 ! mpph265enc rc-mode=vbr width=1280 height=720 ! h265parse
please contact rga developers for this issue.
according to the log, you are using a device with ddr larger than 4g, and the rga might not be able to handle it.
it's a common issue, they should have a document about how to workaround it. maybe limit the total memory to 4g or limit the video memory to 4g(drm allocator or dma heap allocator). anyway, i don't know much about it, just providing what i've heard from other customers.
Thank you for your answer. By the way, the mirror repository's gstreamer-rockchip
can be compiled and used directly, right?
right, use meson or dpkg-buildpackage
right, use meson or dpkg-buildpackage
When I compiled the latest gstreamer-rockchip
code, I found two problems: the first is the plugin without mppvp8enc
, and the second is the green screen after transcoding now.
What's going on here? My gst
command (below) is normal in very old gstreamer-rockchip
.
mppvideodec format=23 ! mpph265enc rc-mode=vbr width=1280 height=720 ! h265parse
1/ enc plugins would only be registered when mpp can init it. so if vp8enc is missing, please ask mpp maintainer. https://github.com/JeffyCN/mirrors/blob/gstreamer-rockchip/gst%2Frockchipmpp%2Fgstmppvp8enc.c#L315 if (!gst_mpp_enc_supported (MPP_VIDEO_CodingVP8))
2/ please contact rga developers for rga issue.
Ok, thank you very much!
On the rk3568 platform, the RGA2 is reporting an error when handling memory larger than 4G. Is there a need to modify the
gstreamer-rockchip
ormpp
code to address this issue? Thank you! rga driver version:RGA multicore Device Driver: v1.2.25 rga API version:rgaapi version 1.10.0[5]