Microsoft DirectX 9.0

AMTimelineSrc Object

Provides methods for manipulating and setting properties on sources in DirectShow Editing Services (DES). An AMTimelineSrc object represents a clip taken from one stream in a media source.

You can use a portion of the data within a source file by setting the media start and media stop times. These values specify the beginning and end of the AMTimelineSrc object, relative to the original media source. The media times can differ from the object's start and stop times on the timeline, allowing for fast- or slow-motion playback (with audio sources, the pitch shifts).

This object has the following methods.

Method Description
FixMediaTimes Not supported for Visual Basic.
FixMediaTimes2 Rounds the specified time values to the nearest frame boundary, as defined by the output frame rate.
GetDefaultFPS Retrieves the source object's default frame rate.
GetMediaLength Not supported for Visual Basic.
GetMediaLength2 Retrieves the media length of this object.
GetMediaName Retrieves the name of the source file represented by this object.
GetMediaTimes Not supported for Visual Basic.
GetMediaTimes2 Retrieves the media start and stop times.
GetStreamNumber Retrieves the current stream number for the source object.
GetStretchMode Retrieves the stretch mode.
IsNormalRate Indicates whether the clip will play at the authored playback rate.
ModifyStopTime Not supported for Visual Basic.
ModifyStopTime2 Sets the stop time.
SetDefaultFPS Sets the source object's default frame rate.
SetMediaLength Not supported for Visual Basic.
SetMediaLength2 Specifies the duration of the source file.
SetMediaName Specifies the name of the source file.
SetMediaTimes Not supported for Visual Basic.
SetMediaTimes2 Sets the media stop and start times.
SetStretchMode Sets the stretch mode.
SetStreamNumber Specifies which stream to read from the source file.
SpliceWithNext Joins the AMTimelineSrc object to another AMTimelineSrc object.

Requirements

Include a reference in your project to "Dexter 1.0 Type Library" (Qedit.dll).