H264ProfileIds H264ProfileIds H264ProfileIds H264ProfileIds H264ProfileIds Class

Definition

Provides properties for getting H.264 profile ids.

public : static class H264ProfileIds
static struct winrt::Windows::Media::MediaProperties::H264ProfileIds
public static class H264ProfileIds
Public Shared Class H264ProfileIds
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Examples

Here is some code that creates an instance of the VideoEncodingProperties class using CreateH264 and sets the ProfileId to the H.264 high profile.

VideoEncodingProperties videoProps = 
    Windows.Media.MediaProperties.VideoEncodingProperties.CreateH264();

videoProps.ProfileId = H264ProfileIds.High;

Remarks

You can set the value of VideoEncodingProperties.ProfileId to one of the profile ids provided by this class.

Properties

Baseline Baseline Baseline Baseline Baseline

Gets the H.264 baseline profile.

ConstrainedBaseline ConstrainedBaseline ConstrainedBaseline ConstrainedBaseline ConstrainedBaseline

Gets the H.264 constrained baseline profile.

Extended Extended Extended Extended Extended

Gets the H.264 extended profile.

High High High High High

Gets the H.264 high profile.

High10 High10 High10 High10 High10

Gets the H.264 high 10 profile.

High422 High422 High422 High422 High422

Gets the H.264 high 4:2:2 profile.

High444 High444 High444 High444 High444

Gets the H.264 high 4:4:4 profile.

Main Main Main Main Main

Gets the H.264 main profile.

MultiviewHigh MultiviewHigh MultiviewHigh MultiviewHigh MultiviewHigh

Gets the H.264 multiview profile.

StereoHigh StereoHigh StereoHigh StereoHigh StereoHigh

Gets the H.264 stereo high profile.