Hi all,
When I run this GStreamer pipeline using the imxcompositor_g2d plugin:
GST_DEBUG=3 gst-launch-1.0 \
v4l2src device=/dev/video2 io-mode=2 ! \
video/x-raw,format=GRAY8,width=1280,height=720,framerate=60/1 ! \
queue max-size-buffers=3 leaky=downstream ! \
videoconvert n-threads=8 ! \
video/x-raw,format=NV12 ! \
imxcompositor_g2d name=comp ! \
queue ! \
fpsdisplaysink sync=false text-overlay=true video-sink=autovideosink
I get a reported FPS of about 60 fps, but the video stream is visibly lagging. The logs repeatedly show this warning:
imxcompositor gstimxcompositor.c:1556:gst_imxcompositor_aggregate_frames:<comp:sink_0> set rotate failed 0xaaab07b7aea0
Without using imxcompositor_g2d, the stream runs smoothly at about 25 fps with no lag.
I want to understand:
Is the “set rotate failed” warning related to the lag and dropped frames?
If not, what might be causing the lag when using imxcompositor_g2d despite the higher FPS reported?
Any suggestions on how to resolve or mitigate this lag?
Thanks!
Hello,
A reported 60 FPS with visible lag in your stream likely indicates a problem with how the stream is being encoded or transmitted, Here's a breakdown of potential issues and how to troubleshoot:
Hello,
Yes this is well know behavior of imxcompositor, our developers are working to get fixed, but so far nothing, sorry, is the way is works.
regards