Function formatTimeCodeSmpte

  • Format smpte text to a TimeCode Instance

    exceedingMode:

    • "overflow" exceeding values will be kept (e.g. PAL and 00:00:00:25 => 00:00:01:00)
    • "truncate" exceeding values will be truncated (e.g. PAL and 00:00:00:25 => 00:00:00:24)
    • "error" exceeding values will throw error (e.g. PAL and 00:00:00:25 => Error)

    Returns

    TimeCode instance created from smpte string

    Parameters

    • smpte: string

      String representation of smpte

    • Optional options: FormatTimeCodeSmpteOptions

      Options for creating the time code from smpte

    Returns TimeCode