MF_PD_ASF_MARKER attribute

Specifies the markers in an Advanced Systems Format (ASF) file. This attribute corresponds to the Marker Object in the ASF header, defined in the ASF specification.

Data type

Byte array

Remarks

This attribute applies to presentation descriptors for ASF content.

The IMFASFContentInfo::GeneratePresentationDescriptor method creates the presentation descriptor and generates this attribute from the Marker Object. The following table shows the format of the blob:

Marker Object field Data type Size Description
Markers Count DWORD 4 bytes Number of markers
Markers BYTE[] Varies Array of markers

 

The first DWORD is the number of markers, followed by an array of markers. Each marker has the following format:

Marker Object field Data type Size Description
Marker Description Length DWORD 4 bytes Size of the description string, in bytes, including the NULL character.
Marker Description WCHAR[] Varies Null-terminated string that describes the marker.
Presentation Time LONGLONG 8 bytes Presentation time of the marker, in 100-nanosecond units.
Send Time LONGLONG 8 bytes Send time of the marker entry, in milliseconds.
Offset UINT64 8 bytes Offset, in bytes, into the Data Object that specifies the position of the market.

 

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Wmcontainer.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetBlob

IMFAttributes::SetBlob

IMFPresentationDescriptor

Presentation Descriptor Attributes

ASF Header Object

Presentation Descriptors