Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MF_TOPONODE_MEDIASTART attribute

Specifies the start time of the presentation.

Data type

UINT64

Treat as a LONGLONG value.

Get/set

To get this attribute, call IMFAttributes::GetUINT64.

To set this attribute, call IMFAttributes::SetUINT64.

Applies to

IMFTopologyNode

Remarks

This attribute specifies the position in the source where playback starts, in 100-nanosecond units, relative to the start the source. If the attribute is not set, playback starts at zero (the start of the file). For example, to start playback at the 5-second mark, set this attribute to 50000000. Set the attribute on the source nodes in the topology (nodes with type equal to MF_TOPOLOGY_SOURCESTREAM_NODE). Set the attribute before calling IMFMediaSession::SetTopology.

Note  If you manually insert a decoder into the topology, you must also set the MF_TOPONODE_MARKIN_HERE and MF_TOPONODE_MARKOUT_HERE attributes on the decoder node.
 

This attribute is a signed value, although it is stored as a UINT64. However, negative values are not meaningful.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

See also

Alphabetical List of Media Foundation Attributes
Sequence Presentation Times
Topology Node Attributes
MF_TOPONODE_MEDIASTOP

 

 

Show:
© 2017 Microsoft