Function

resolveTimecodeFrameRate

Resolves a frame-rate option to frames per second. This uses the same validation and normalization path as the timecode formatter/parser helpers, so invalid rates throw the same `RangeError`.

Signature

Type Definition
resolveTimecodeFrameRate(frameRate: TimecodeFrameRate): number

Parameters

NameTypeDescription
frameRateTimecodeFrameRateFrame rate to normalize.

Returns

number

Frames per second.