Qt 6.11 is out! See what's new in the release
blog
Flip camera output horizontal or vertical?
-
In Qt5, when using a
QGraphicsVideoItemto display the output of aQCamerain yourQGraphicsScene, you must "start" the abstract video surface of yourVideoItem, and at that point you pass in the format of the frames. It is here you can specify these settings:format.setMirrored(true); format.setScanLineDirection(QtVideoFrameFormat::BottomToTop);for flip horizontal and vertical, respectively.
Since, in Qt6, you no longer need to "start" a VideoSink, and there is no method to set the format, how do i accomplish the same thing?
-