Skip to content

framesToTimecode

framesToTimecode(frame, fps): string

Defined in: src/components/editor/Timeline/timelineCoords.ts:51

Format a frame number as HH:MM:SS:FF timecode at the given fps. Negative frames clamp to zero; fps is rounded to whole frames-per-second.

Parameters

frame

number

fps

number

Returns

string