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:FFwith reel indicator - Feet+Frames (16/35mm film):
FFFF+FFfeet-and-frames notation - Samples (audio DAW): absolute sample count at given sample rate
- Milliseconds (editing):
HH:MM:SS.mmmsub-second in milliseconds
Structs§
- Convention
Comparison - Comparison table entry showing a timecode in multiple conventions.
- Display
Options - Options for formatting a timecode.
- Formatted
Timecode - A formatted representation of a timecode value.
Enums§
- Display
Convention - 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.