grab video frames from qml videooutput type
Solved
Mobile and Embedded
-
I've tried many ways to read camera from QAbstractVideoSurface which bring me a mistake all pixel formats were invalid except nv21 which results a gray image which I don't like.
But when I use VideoOutput with a same camera the result is colorful.
Is there a way to grab videoFrames from VideoOutput
-
Hi,
There's a fragment shader at the end of the pipeline that does the conversion.
As suggested in your other thread, you have to do the conversion from NV21 to RGB.