Skip to content
Qt 6.11 is out! See what's new in the release blog
  • 0 Votes
    2 Posts
    880 Views
    jsulmJ
    @friendlyQtBeginner I guess you should connect to videoFrameChanged() signal as described in documentation to make sure there actually is a frame when you call videoFrame: "QVideoSink will provide individual video frames to the application developer through the videoFrameChanged() signal." You can also call https://doc.qt.io/qt-6/qvideoframe.html#isValid to check whether you got a valid frame.