08-23-2018, 11:53 PM
I am using a TinkerOS 2.0.7 and attempting to use the rgaconvert GStreamer plugin.
https://github.com/TinkerBoard/gstreamer-rockchip-extra
In the end I'd like to use it to rotate a MP4 movie, but for now I'm just trying to get the pipeline example to work:
https://github.com/rockchip-linux/rk-roo...est_rga.sh
When I run this sample, I get the following error:
Looking at the source for rgaconvert it appears to be looking for a device "rockchip-rga" that doesn't exist. Is there a kernel change needed to add support for this device?
Thank you
https://github.com/TinkerBoard/gstreamer-rockchip-extra
In the end I'd like to use it to rotate a MP4 movie, but for now I'm just trying to get the pipeline example to work:
https://github.com/rockchip-linux/rk-roo...est_rga.sh
Code:
#!/bin/sh
export DISPLAY=:0.0
#export GST_DEBUG=rgaconvert:5
#export GST_DEBUG_FILE=/tmp/2.txt
su linaro -c ' \
gst-launch-1.0 -v videotestsrc ! "video/x-raw,format=BGRA, width=1920,height=1080,framerate=30/1" ! \
rgaconvert hflip=false vflip=false rotation=90 input-crop=0x0x1920x1080 output-crop=0x0x640x360 \
output-io-mode=dmabuf capture-io-mode=dmabuf ! \
"video/x-raw,format=NV12, width=640,height=360,framerate=30/1" ! rkximagesink \
'When I run this sample, I get the following error:
Code:
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstRGAConvert:rgaconvert0: Cannot identify device ''.
Additional debug info:
v4l2/v4l2_calls.c(311): gst_v4l2_open (): /GstPipeline:pipeline0/GstRGAConvert:rgaconvert0:
system error: No such file or directory
Setting pipeline to NULL ...
Freeing pipeline ...Looking at the source for rgaconvert it appears to be looking for a device "rockchip-rga" that doesn't exist. Is there a kernel change needed to add support for this device?
Thank you



![[-]](https://tinkerboarding.co.uk/forum/images/collapse.png)