I'm currently trying to hook onto an HW H.264 decoder on Oculus Quest 2 (Adreno 650).
The platform supports just one HW decoder OMX.qcom.video.decoder.avc
The video decoding pipeline is created using GStreamer and currently looking like this: rtspsrc location=rtsp://192.168.1.239:8554/left ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! decodebin ! videoconvert ! video/x-raw,width=1920,height=1080,format=RGBA ! appsink emit-signals=true name=wallesink sync=false
The decodebin
bin should automatically use the available OMX decoder, but GStreamer
library isn't built with it being supported.
I'm currently using this release of GStreamer.
So my question is simple: What is the easiest way to add support for said OMX decoder?
I've tried building from source with Meson, but was unable to do it with OMX enabled.
Are there any other builds for Android that have this decoder bundled?