Windows Dev Center

MediaEncodingSubtypes class

Provides properties for getting the standard names for media subtypes.

Syntax


var mediaEncodingSubtypes = Windows.Media.MediaProperties.MediaEncodingSubtypes;

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

Members

The MediaEncodingSubtypes class has these types of members:

Methods

The MediaEncodingSubtypes class inherits methods from the Object class (C#/VB/C++).

Properties

The MediaEncodingSubtypes class has these properties.

PropertyAccess typeDescription

Aac

Read-onlyGets the name for Advanced Audio Coding (AAC).

AacAdts

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

Ac3

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

AmrNb

Read-onlyGets the name for Adaptive Multi-Rate (AmrNb).

AmrWb

Read-onlyGets the name for Adaptive Multi-Rate Wideband.

Argb32

Read-onlyGets the name for RGB 32 with alpha channel.

Asf

Read-onlyGets the name for Advanced Systems Format (ASF).

Avi

Read-onlyGets the name for Audio Video Interleave (AVI).

Bgra8

Read-onlyGets the name for BGRA8.

Bmp

Read-onlyGets the name for BMP file format.

Eac3

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

Float

Read-onlyGets the name for Uncompressed IEEE floating-point audio.

Gif

Read-onlyGets the name for Graphics Interchange Format (GIF).

H263

Read-onlyGets the name for H.263.

H264

Read-onlyThe name for H.264.

H264Es

Read-onlyGet the name for H.264Es.

Hevc

Read-onlyGets the name for High Efficiency Video Coding (HEVC).

HevcEs

Read-onlyGets the name for HEVCES.

Iyuv

Read-onlyGets the name for IYUV.

Jpeg

Read-onlyGets the name for JPEG.

JpegXr

Read-onlyGets the name for JPEG-XR.

Mjpg

Read-onlyGets the name for Motion JPEG (MJPG).

Mp3

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

Mpeg

Read-onlyGets the name for MPEG.

Mpeg1

Read-onlyGets the name for MPEG-1.

Mpeg2

Read-onlyGets the name for MPEG-2.

Mpeg4

Read-onlyGets the name for MPEG-4.

Nv12

Read-onlyGets the name for NV12.

Pcm

Read-onlyGets the name for PCM.

Png

Read-onlyGets the name for Portable Network Graphics (PNG).

Rgb24

Read-onlyGets the name RGB 24.

Rgb32

Read-onlyGets the name for RGB 32.

Tiff

Read-onlyGets the name for TIFF.

Wave

Read-onlyGets the name for Waveform Audio File (WAVE).

Wma8

Read-onlyGets the name for Windows Media Audio 8.

Wma9

Read-onlyGets the name for Windows Media Audio 8.

Wmv3

Read-onlyGets the name for Windows Media Video 9.

Wvc1

Read-onlyGets the name for Windows Media Video 9 Advanced Profile.

Yuy2

Read-onlyGets the name for YUY2.

Yv12

Read-onlyGets the name for YV12.

 

Remarks

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

Examples

Here is some code that creates an instance of the VideoEncodingProperties class using CreateUncompressed, specifying BGRA8 media type and 720x480 resolution.


VideoEncodingProperties videoProps = 
    VideoEncodingProperties.CreateUncompressed(MediaEncodingSubtypes.Bgra8, 720, 480);


Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.MediaProperties
Windows::Media::MediaProperties [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.MediaProperties
Windows::Media::MediaProperties [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2015 Microsoft