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

Using Metal to rendering video frame with VideoOutput on macOS



  • I am using the VideoOutput component to render my own video frame data, but on macOS the GPU footprint is much higher than the native application.
    I tried to use

    QQuickWindow::setSceneGraphBackend(QSGRendererInterface::MetalRhi);
    

    to set the rendering engine, but found that although the UI can be displayed, the video cannot be rendered properly.
    Has anyone encountered a similar problem? Or what location class should I modify to use Metal to render video?


Log in to reply