Dela via


TimedMetadataEncodingProperties Class

Definition

Describes the encoding properties of a timed metadata stream. Timed metadata streams are used to encode data that is neither audio or video. For example, a media file may contain a video stream and a timed metadata stream containing GPS coordinates correlated to the video.

public ref class TimedMetadataEncodingProperties sealed : IMediaEncodingProperties
/// [Windows.Foundation.Metadata.Activatable(393216, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TimedMetadataEncodingProperties final : IMediaEncodingProperties
[Windows.Foundation.Metadata.Activatable(393216, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TimedMetadataEncodingProperties : IMediaEncodingProperties
function TimedMetadataEncodingProperties()
Public NotInheritable Class TimedMetadataEncodingProperties
Implements IMediaEncodingProperties
Inheritance
Object Platform::Object IInspectable TimedMetadataEncodingProperties
Attributes
Implements

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

Version history

Windows version SDK version Value added
2004 19041 CreatePgs
2004 19041 CreateSrt
2004 19041 CreateSsa
2004 19041 CreateVobSub

Constructors

TimedMetadataEncodingProperties()

Creates a new instance of the TimedMetadataEncodingProperties class.

Properties

Properties

Gets additional format properties for the timed metadata stream.

Subtype

Gets a string specifying the format subtype of the typed metadata.

Type

Gets a string specifying the format type of the typed metadata.

Methods

Copy()

Creates a copy of the TimedMetadataEncodingProperties object.

CreatePgs()

Creates an instance of TimedMetadataEncodingProperties for the Presentation Graphic Stream (PGS) format.

CreateSrt()

Creates an instance of TimedMetadataEncodingProperties for the SubRip Text (SRT) format.

CreateSsa(Byte[])

Creates an instance of TimedMetadataEncodingProperties for the SubStation Alpha Text (SSA) format.

CreateVobSub(Byte[])

Creates an instance of TimedMetadataEncodingProperties for the VobSub format.

GetFormatUserData(Byte[])

Gets information about the metadata encoding that is specific to the format type.

SetFormatUserData(Byte[])

Sets information about the metadata encoding that is specific to the format type.

Applies to