IAMTimelineGroup::SetOutputFPS

 
Microsoft DirectShow 9.0

IAMTimelineGroup::SetOutputFPS

The SetOutputFPS method sets the uncompressed output frame rate for this group.

Syntax

  HRESULT SetOutputFPS(
    double FPS
);

Parameters

FPS

Output frame rate for this group, in frames per second. The value cannot equal zero, and cannot have more than seven digits after the decimal place.

Return Value

Returns S_OK if successful, or E_INVALIDARG otherwise.

Remarks

Rendered output from this group runs at the specified frame rate, and all edits on the source material are rounded to the nearest frame boundary, as defined by the frame rate. For best performance, use the same frame rate for all groups, video and audio.

The IAMTimelineGroup::SetSmartRecompressFormat method overwrites the frame rate.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also