Skip to main content

Module timecode

Module timecode 

Source
Expand description

SMPTE timecode integration for virtual production synchronisation.

Supports:

  • Non-drop-frame (NDF) and drop-frame (DF) timecodes
  • Frame rates: 23.976 (24/1.001), 24, 25, 29.97 (30/1.001), 30, 48, 50, 60
  • Arithmetic: add/subtract frame counts, difference
  • Conversion to/from total frame counts and real-time seconds
  • SMPTE string parsing and formatting (HH:MM:SS:FF / HH:MM:SS;FF)
  • Playback trigger: fire registered callbacks at target timecodes
  • Linear time code (LTC) bit-stream frame boundary detection

Structs§

FiredTriggers
Result of checking triggers: list of fired trigger IDs and labels.
LtcDecoder
Minimal LTC frame-boundary detector.
Timecode
A SMPTE timecode value.
TimecodeScheduler
Frame-accurate timecode playback scheduler.

Enums§

FrameRate
Supported SMPTE timecode frame rates.
TimecodeError
Errors that can occur during timecode parsing or construction.

Type Aliases§

TriggerId
Identifier for a registered trigger.