AnsweredAssumed Answered

How to use imxg2dtextoverlay

Question asked by yoontaek seo on Jan 8, 2019

I am using iMX6Q apalis module and Ixora v1.1 carrier board.

I am using Gstreamer to capture video through USB camera and display on HDMI with overlay.

Due to textoverlay performance, I am trying to use imxg2dtextoverlay.

I don't have any captured image on screen if I use imxg2dtextoverlay.

If I use this, gst-launch-1.0 imxv4l2src device=/dev/video3 ! video/x-raw,width=1280,height=720,framerate=30/1,format=UYVY ! imxvideoconvert_g2d  ! imxv4l2sink sync=false,

I can get captured images on screen.

Buf if I add imxg2dtextoverlay like this, gst-launch-1.0 imxv4l2src device=/dev/video3 ! video/x-raw,width=1280,height=720,framerate=30/1,format=UYVY ! imxvideoconvert_g2d  ! imxg2dtextoverlay text="test1" ! imxv4l2sink sync=false, I can't get any captured images on screen.

Could you let me know what I am doing wrong?

Thank you.

Outcomes