This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gstreamer rgaconvert
#1
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

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
[-] The following 2 users Like cpsntd's post:
  • ffdev, johlim
Reply
#2
(08-23-2018, 11:53 PM)cpsntd Wrote:
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

I'm seeing the exact same output. I'm fully patched and updated as of the date of this message.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)