ContainerEncodingProperties ContainerEncodingProperties ContainerEncodingProperties ContainerEncodingProperties ContainerEncodingProperties Class

Definition

Describes a media container format.

public : sealed class ContainerEncodingProperties : IContainerEncodingProperties, IMediaEncodingProperties
struct winrt::Windows::Media::MediaProperties::ContainerEncodingProperties : IContainerEncodingProperties, IMediaEncodingProperties
public sealed class ContainerEncodingProperties : IContainerEncodingProperties, IMediaEncodingProperties
Public NotInheritable Class ContainerEncodingProperties Implements IContainerEncodingProperties, IMediaEncodingProperties
var containerEncodingProperties = new containerEncodingProperties();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Media files usually contain at least some of the following elements:

  • File headers that describe the number of streams, the format of each stream, and so on.
  • An index that enables random access to the content.
  • Metadata that describes the content (for example, the artist or title).

The term media container describes the entire package of media data, file headers, indexes, and metadata. The reason for using the term container rather than file is that some container formats are designed for live broadcast. A container might be generated in real time, without ever being stored as a file.

An early example of a media container is the AVI file format. Other examples include MP4 and Advanced Systems Format (ASF). Containers can be identified by file name extension (for example, ".mp4") or by MIME type.

Constructors

ContainerEncodingProperties() ContainerEncodingProperties() ContainerEncodingProperties() ContainerEncodingProperties() ContainerEncodingProperties()

Creates a new instance of the ContainerEncodingProperties class.

Properties

Properties Properties Properties Properties Properties

Gets additional format properties for the media container.

Subtype Subtype Subtype Subtype Subtype

Gets or sets the subtype of the media container.

Type Type Type Type Type

Gets the format type.

Methods

Copy() Copy() Copy() Copy() Copy()

Creates a copy of the ContainerEncodingProperties object.