get_frame_time


Description:

[ Version ( since = "1.18" ) ]
public ClockTime get_frame_time (FrameNumber frame_number)

Converts the given frame number into a timestamp, using the "natural" frame rate of the asset.

You can use this to reference a specific frame in a media file and use this as, for example, the `in-point` or `max-duration` of a Clip.

Parameters:

this

The object for which to compute timestamp for specifed frame

frame_number

The frame number we want the internal time coordinate timestamp of

Returns:

The timestamp corresponding to frame_number in the element source, given in internal time coordinates, or CLOCK_TIME_NONE if the clip asset does not have a natural frame rate.