Aracılığıyla paylaş


MediaEncodingSubtypes Class

Definition

Provides properties for getting the standard names for media subtypes.

public ref class MediaEncodingSubtypes 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 MediaEncodingSubtypes 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 MediaEncodingSubtypes
Public Class MediaEncodingSubtypes
Inheritance
Object Platform::Object IInspectable MediaEncodingSubtypes
Attributes

Windows requirements

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

Remarks

MediaEncodingSubtypes provides names for media subtypes which can be used to set AudioEncodingProperties.Subtype, VideoEncodingProperties.Subtype, ContainerEncodingProperties.Subtype, and ImageEncodingProperties.Subtype.

Warning

The string values returned by the MediaEncodingSubtypes properties may not use the same letter casing as AudioEncodingProperties.Subtype, VideoEncodingProperties.Subtype, ContainerEncodingProperties.Subtype, and ImageEncodingProperties.Subtype. For this reason, if you compare the values, you should use a case-insensitive comparison or use hardcoded strings that match the casing returned by the encoding properties.

For how-to guidance for setting the encoding properties for media, see Set media encoding properties for MediaCapture.

Version history

Windows version SDK version Value added
1703 15063 Alac
1703 15063 D16
1703 15063 Flac
1703 15063 L16
1703 15063 L8
1703 15063 Vp9
1803 17134 P010
1809 17763 Heif
2004 19041 Pgs
2004 19041 Srt
2004 19041 Ssa
2004 19041 VobSub

Properties

Aac

Gets the name for Advanced Audio Coding (AAC).

AacAdts

Gets the name for Advanced Audio Coding (AAC) audio in Audio Data Transport Stream (ADTS) format.

Ac3

Gets the name for Dolby Digital audio (AC-3).

Alac

Gets the name for Apple Lossless Audio Codec (ALAC) audio encoding.

AmrNb

Gets the name for Adaptive Multi-Rate (AmrNb).

AmrWb

Gets the name for Adaptive Multi-Rate Wideband.

Argb32

Gets the name for RGB 32 with alpha channel.

Asf

Gets the name for Advanced Systems Format (ASF).

Av1

Gets the name for the AOMedia Video 1 (AV1) video encoding subtype.

Avi

Gets the name for Audio Video Interleave (AVI).

Bgra8

Gets the name for BGRA8.

Bmp

Gets the name for BMP file format.

D16

Gets the name for 16-bit z-buffer depth image encoding.

Eac3

Gets the name Dolby Digital Plus (E-AC-3).

Flac

Gets the name for Free Lossless Audio Codec (FLAC) audio encoding.

Float

Gets the name for Uncompressed IEEE floating-point audio.

Gif

Gets the name for Graphics Interchange Format (GIF).

H263

Gets the name for H.263.

H264

The name for H.264.

H264Es

Get the name for H.264Es.

Heif

Gets the name for High Efficiency Image File (HEIF).

Hevc

Gets the name for High Efficiency Video Coding (HEVC).

HevcEs

Gets the name for HEVCES.

Iyuv

Gets the name for IYUV.

Jpeg

Gets the name for JPEG.

JpegXr

Gets the name for JPEG-XR.

L16

Gets the name for 16-bit luminance-only image encoding.

L8

Gets the name for 8-bit luminance-only image encoding.

Mjpg

Gets the name for Motion JPEG (MJPG).

Mp3

Gets the name for MPEG Audio Layer-3 (MP3).

Mpeg

Gets the name for MPEG.

Mpeg1

Gets the name for MPEG-1.

Mpeg2

Gets the name for MPEG-2.

Mpeg4

Gets the name for MPEG-4.

Nv12

Gets the name for NV12.

P010

Gets the P010, the 10-bit equivalent of NV12 format.

Pcm

Gets the name for PCM.

Pgs

Gets the name for the Presentation Graphic Stream (PGS) format.

Png

Gets the name for Portable Network Graphics (PNG).

Rgb24

Gets the name for the RGB24 image format.

Rgb32

Gets the name for the RGB32 image format.

Srt

Gets the name for the SubRip Text (SRT) format.

Ssa

Gets the name for the SubStation Alpha Text (SSA) format.

Tiff

Gets the name for TIFF.

VobSub

Gets the name for the VobSub format.

Vp9

Gets the name for VP9 video encoding.

Wave

Gets the name for Waveform Audio File (WAVE).

Wma8

Gets the name for Windows Media Audio 8.

Wma9

Gets the name for Windows Media Audio 8.

Wmv3

Gets the name for Windows Media Video 9.

Wvc1

Gets the name for Windows Media Video 9 Advanced Profile.

Yuy2

Gets the name for YUY2.

Yv12

Gets the name for YV12.

Applies to

See also