Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

grab video frames from qml videooutput type



  • 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


  • Lifetime Qt Champion

    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.


  • Lifetime Qt Champion

    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.


Log in to reply