Hello,
I'm using an imx8mp on a variscite dart board and a basler camera. I'm trying to get an overlay I generate in code to be displayed on top of the video.
In the code i created 2 general pipelines:
v4l2src -> queue1 -> compositor and appsrc -> queue2 -> compositor. The compositor is then connected to a waylandsink.
I'm able to see the overlay on top of the video but the framerate radically decreases. When I don't push up buffers to appsrc the framerate is 60fps, which drops to 30fps when I start sending empty buffers and drops more if the buffers have the overlay data in it. I've tried playing around with videorate and caps for the appsrc, v4l2src, and sink but haven't gotten the framerate up past 30fps when sending buffers. My understanding is that imxcompositor_g2d should take the framerate of the fastest pipeline as output but that doesn't seem to be the case. Any help would be appreciated.