class QtVideo

Enumerations for camera and video functionality. More

Added in version 6.7.

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

class Rotation

The angle of the clockwise rotation that should be applied to a video frame before displaying.

Constant

Description

QtVideo.Rotation.None

No rotation required, the frame has correct orientation

QtVideo.Rotation.Clockwise90

The frame should be rotated clockwise by 90 degrees

QtVideo.Rotation.Clockwise180

The frame should be rotated clockwise by 180 degrees

QtVideo.Rotation.Clockwise270

The frame should be rotated clockwise by 270 degrees