VideoEncodingProperties.Subtype Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the subtype of the format.
public:
property Platform::String ^ Subtype { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Subtype();
void Subtype(winrt::hstring value);
public string Subtype { get; set; }
var string = videoEncodingProperties.subtype;
videoEncodingProperties.subtype = string;
Public Property Subtype As String
The subtype.
The value can be the string representation of a GUID in canonical form, or one of the predefined values listed in the following table.
Value | Description |
---|---|
"ARGB32" | RGB, 32 bpp with alpha channel. |
"BGRA8" | BGRA, 32 bpp with alpha channel. |
"D16" | 16-bit z-buffer depth |
"H263" | H.263 video |
"H264" | H.264 video |
"H264ES" | H.264 elementary stream |
"HEVC" | HEVC video |
"HEVCES" | HEVT elementary stream |
"IYUV" | YUV 8 bpp 4:2:0 |
"L8" | 8-bit luminance only. |
"L16" | 16-bit luminance only. |
"MJPG" | Motion jpeg |
"NV12" | YUV 8 bpp 4:2:0 |
"MPEG1" | MPEG-1 video |
"MPEG2" | MPEG-2 video |
"RGB24" | RGB, 24 bpp |
"RGB32" | RGB, 32 bpp |
"WMV3" | Windows Media Video 9 codec |
"WVC1" | SMPTE 421M ("VC-1") codec |
"VP9" | VP9 video |
"YUY2" | YUV 8 bpp 4:2:2 |
"YV12" | YUV 8 bpp 4:2:0 |
تحذير
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.
منتج | الإصدارات |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |