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

Getting bytes from VideoOutput



  • Hello All,

    I'm using an extension of QVideoProbe haplessly stolen from this post (http://www.qtcentre.org/archive/index.php/t-57981.html) in an attempt to get QVideoFrames from my Camera. The difference between my code and his is that where he uses QMediaPlayer, I use QCamera.

    Now, I am able to handle the videoFrameProbed signal and determine there are NV_21 frames coming in (which is correct.) However, when I read the bytes per line field I get a 0, and when I try and actually access the frame reference passed by that signal segfault.

    What gives? Where is that data going, and why can't I access it?


Log in to reply