Skip to content

Latest commit

 

History

History
55 lines (30 loc) · 1.75 KB

mf-mt-video-rotation.md

File metadata and controls

55 lines (30 loc) · 1.75 KB
description ms.assetid title ms.topic ms.date
Specifies the rotation of a video frame in the counter-clockwise direction.
7C0911A6-6D7C-4510-891F-A6F56CE1EC2B
MF_MT_VIDEO_ROTATION attribute (Mfapi.h)
reference
05/31/2018

MF_MT_VIDEO_ROTATION attribute

Specifies the rotation of a video frame in the counter-clockwise direction.

Data type

MFVideoRotationFormat stored as UINT32

Remarks

Video from a handheld device, such as a mobile phone, is often rotated by 90, 180, or 270 degrees. If the camera stores the orientation as metadata in the video file, the image can be adjusted at the time of playback.

If this attribute set to MFVideoRotationFormat_90, it means that the content has been rotated 90 degrees in the counter-clockwise direction. If the content was rotated 90 degrees in the clockwise direction, the attribute value would be MFVideoRotationFormat_270.

The supported values for this attribute are enumerated in MFVideoRotationFormat.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2012 [desktop apps | UWP apps]
Header
Mfapi.h

See also

Alphabetical List of Media Foundation Attributes

Media Types