MFSampleExtension_DeviceTimestamp attribute

Contains the time stamp from the device driver.

Data type

UINT64

Get/set

To get this attribute, call IMFAttributes::GetUINT64.

To set this attribute, call IMFAttributes::SetUINT64.

Applies to

IMFSample

Remarks

This attribute is set on media samples created by a media source for a capture device. This attribute's value is in the MFTIME domain, sharing an epoch with query performance counter (QPC) time and always expressed in 100ns units. This attribute is available for MFTs inserted into the capture pipeline.

To get the time stamp relative to the start of streaming, call the IMFSample::GetSampleTime method.

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

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
Mfidl.h

See also

Alphabetical List of Media Foundation Attributes

Audio/Video Capture in Media Foundation

Sample Attributes