IAMAsyncReaderTimestampScaling interface

Enables a pull-mode source filter to support larger file sizes.


The IAMAsyncReaderTimestampScaling interface has these methods.

Method Description
IAMAsyncReaderTimestampScaling::GetTimestampMode Gets the filter's time-stamping mode.
IAMAsyncReaderTimestampScaling::SetTimestampMode Sets the filter's time-stamping mode.


In the pull model, the parser filter requests data from the source filter by calling IAsyncReader::Request. The input to this method is a media sample. The time stamp on the sample specifies the location to read in the stream, as a byte offset.

By default, the time stamp uses the following formula: Time = byte offset × 10000000. This scaling factor limits the effective file size to about 860 GB. To support larger file sizes, call SetTimestampMode with the value TRUE. This call sets the scaling factor to 1, so the formula becomes: Time = byte offset.


Windows version Windows 7 [desktop apps only] Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)

See Also

Pull Model