Interfaces


IAMAsyncReaderTimestampScaling Interface

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

When To Implement

Filters that implement the IAsyncReader interface can implement IAMAsyncReaderTimestampScaling on their output pins. The File Source (Async) and File Source (URL) filters implement this interface.

When To Use

Parser filters that connect to pull-mode source filters can use this interface to support very large media files. Query the source filter's output pin for the interface.

Applications should not use this interface.

Methods

The IAMAsyncReaderTimestampScaling interface inherits the methods of the IUnknown interface.

In addition, IAMAsyncReaderTimestampScaling defines the following methods.

MethodDescription

GetTimestampMode

Gets the filter's time-stamping mode.

SetTimestampMode

Sets the filter's time-stamping mode.

 

Remarks

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.

Requirements

Minimum supported clientWindows 7
Minimum supported serverWindows Server 2008 R2
HeaderStrmif.h (include Dshow.h)

See Also

Pull Model

Send comments about this topic to Microsoft

Build date: 10/19/2009

Tags :


Page view tracker