H264ProfileIds Classe

Définition

Fournit des propriétés pour l’obtention des ID de profil H.264.

public ref class H264ProfileIds abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class H264ProfileIds final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class H264ProfileIds
Public Class H264ProfileIds
Héritage
Object Platform::Object IInspectable H264ProfileIds
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

Exemples

Voici un code qui crée un instance de la classe VideoEncodingProperties à l’aide de CreateH264 et définit profileId sur le profil H.264 haut profil.

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

videoProps.ProfileId = H264ProfileIds.High;

Remarques

Vous pouvez définir la valeur de VideoEncodingProperties.ProfileId sur l’un des ID de profil fournis par cette classe.

Propriétés

Baseline

Obtient le profil de base H.264.

ConstrainedBaseline

Obtient le profil de base contrainte H.264.

Extended

Obtient le profil étendu H.264.

High

Obtient le profil H.264 élevé.

High10

Obtient le profil H.264 high 10.

High422

Obtient le profil H.264 high 4:2:2.

High444

Obtient le profil H.264 high 4:4:4.

Main

Obtient le profil de main H.264.

MultiviewHigh

Obtient le profil multiview H.264.

StereoHigh

Obtient le profil haut stéréo H.264.

S’applique à