Expand description
Timecode format conversion utilities.
Converts timecodes between different frame rates, between wall-clock time and timecode, and between SMPTE string representations and frame numbers.
Structs§
- Convert
Result - Result of a timecode conversion.
Enums§
- Convert
Strategy - Strategy for converting timecodes between different frame rates.
Functions§
- convert_
frame_ rate - Converts a timecode from one frame rate to another.
- df_
to_ ndf - Convert a drop-frame (DF) timecode to its non-drop-frame (NDF) equivalent.
- frames_
to_ smpte_ string - Formats a frame count as an SMPTE timecode string.
- millis_
to_ timecode - Converts milliseconds to a timecode.
- ndf_
to_ df - Convert a non-drop-frame (NDF) timecode to its drop-frame (DF) equivalent.
- parse_
smpte_ string - Parses a SMPTE timecode string like “01:02:03:04” or “01:02:03;04”.
- seconds_
to_ timecode - Converts a wall-clock duration in seconds to a timecode.
- timecode_
to_ audio_ samples - Computes the number of real-time samples (at a given audio sample rate) that correspond to a timecode offset.
- timecode_
to_ millis - Converts a timecode to a total millisecond value.
- timecode_
to_ seconds - Converts a timecode to wall-clock seconds.