Dela via


VideoEncodingQuality Enum

Definition

Determines the video encoding format.

public enum class VideoEncodingQuality
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class VideoEncodingQuality
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum VideoEncodingQuality
var value = Windows.Media.MediaProperties.VideoEncodingQuality.auto
Public Enum VideoEncodingQuality
Inheritance
VideoEncodingQuality
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Auto 0

Auto fills in the proper settings based on the current camera settings. So when Auto is used, settings that are manually modified are ignored. For example, if you create a preset profile using one the static create methods, such as CreateWmv, and specify Auto as the encoding quality, any changes you make to the properties will be overwritten with values based on the current camera settings.

HD1080p 1

HD1080p format.

HD720p 2

HD720p format.

Wvga 3

Wvga format.

Ntsc 4

Ntsc format.

Pal 5

Pal format.

Vga 6

Vga format.

Qvga 7

Qvga format.

Uhd2160p 8

2160p UHD format.
Use this API to test for avaiability of this enum:

 if (ApiInformation.IsEnumNamedValuePresent("Windows.Media.MediaProperties.VideoEncodingQuality", "Uhd2160p"))
 {
 }
Uhd4320p 9

4320p UHD format.
Use this API to test for avaiability of this enum:

 if (ApiInformation.IsEnumNamedValuePresent("Windows.Media.MediaProperties.VideoEncodingQuality", "Uhd4320p"))
 {
 }

Remarks

Version history

Windows version SDK version Value added
1703 15063 Uhd2160p
1703 15063 Uhd4320p

Applies to