Record frames from a Qt item as a video using FFMPEG
Unsolved
Mobile and Embedded
-
Hi,
I am working on a recording project on the Raspberry pi 4 with Boot2Qt, so, X11 is not available. I need to record the screen with the overlays that I have defined in one QML item. Since the built-in API for mediarecorder recorder.record() doesn't work due to a bug, I have to use ffmpeg directly. I tried using item.grabToImage() that copies the frame from the GPU into CPU, then I write it to the disk; but it's too slow. Is there any way to speed up this process?
Thanks,
Enayat -
Hi,
If you are using Qt 6.5, you could try with QScreenCapture.