amfIMarker SetFinalFrameIndex

Sets the index of the final frame for which the marker will be tracked.

Syntax

marker_handle SetFinalFrameIndexidx

Description

Sets the frame number at which the marker will stop being tracked during the tracking calculation.

Inputs

idx
The default value for the final frame index is -1, which means tracking will continue until the end of the video.

Example

marker_handle SetFinalFrameIndex 99

Error

An error will be returned if any of the following cases are true:
  • idx is less than -1.
  • idx is greater than or equal to the frame count of the video
  • idx is less than the value returned by amfIMarker::GetInitialFrameIndex