Skip to main content

Module timecode_display

Module timecode_display 

Source
Expand description

Timecode display formatting in different regional and industry conventions.

This module provides formatting utilities for rendering timecodes according to different conventions:

  • SMPTE (North American broadcast): HH:MM:SS:FF / HH:MM:SS;FF
  • EBU (European broadcast): HH:MM:SS:FF (always colon, even drop-frame)
  • Film (cinema): HH+MM:SS:FF with reel indicator
  • Feet+Frames (16/35mm film): FFFF+FF feet-and-frames notation
  • Samples (audio DAW): absolute sample count at given sample rate
  • Milliseconds (editing): HH:MM:SS.mmm sub-second in milliseconds

Structs§

ConventionComparison
Comparison table entry showing a timecode in multiple conventions.
DisplayOptions
Options for formatting a timecode.
FormattedTimecode
A formatted representation of a timecode value.

Enums§

DisplayConvention
Display convention for timecode rendering.

Functions§

comparison_table_header
Build a comparison table header string.
format_timecode
Format a timecode according to the given display options.
parse_display
Parse a formatted timecode string back to a Timecode.