This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Display overlay problems

Part Number: AM5728


Tool/software: Linux


Hello,

I am trying to overlay  PNG images and text messege in real-time video stream, I'm testing with the following pipeline

gst-launch-1.0 -v v4l2src device=/dev/video1 num-buffers=5000 io-mode=4 ! \
'video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080' ! \
vpe num-input-buffers=8 ! queue ! \
textoverlay text="TEXT1:ABC" halignment=4 valignment=3 deltax=100 deltay=100 ! \
gdkpixbufoverlay location=test.png offset-x=200 offset-y=200 overlay-width=240 overlay-height=320 alpha=0.8 ! \
waylandsink

The pipeline is running successfully .However, the CPU usage  is about 115% and video frame rate dropped significantly.

I wonder if I missing some caps, or what can I do to resolve the issue,like using GPU?

Thanks,

Lex