Flip camera output horizontal or vertical?
Unsolved
Qt 6
-
In Qt5, when using a
QGraphicsVideoItem
to display the output of aQCamera
in 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?
-