Skip to main content

Crate oximedia_timecode

Crate oximedia_timecode 

Source
Expand description

OxiMedia Timecode - LTC and VITC reading and writing

This crate provides SMPTE 12M compliant timecode reading and writing for:

  • LTC (Linear Timecode) - audio-based timecode
  • VITC (Vertical Interval Timecode) - video line-based timecode

§Features

  • All standard frame rates (23.976, 24, 25, 29.97, 30, 50, 59.94, 60)
  • Drop frame and non-drop frame support
  • User bits encoding/decoding
  • Real-time capable
  • No unsafe code

Modules§

burn_in
Timecode burn-in overlay module
continuity
Timecode continuity checking and gap detection.
drop_frame
Drop-frame timecode calculations for 29.97 fps NTSC.
duration
Timecode-based duration calculations
frame_offset
Frame offset calculation and conversion utilities.
frame_rate
Rational frame-rate representation independent of the SMPTE enum in lib.rs.
ltc
Linear Timecode (LTC) reading and writing
ltc_encoder
LTC audio signal encoder.
ltc_parser
LTC (Linear Timecode) bit-level parser.
midi_timecode
MIDI Timecode (MTC) implementation.
reader
Timecode reader/decoder module.
sync
Timecode Synchronization
sync_map
Timecode sync/offset mapping
tc_calculator
Timecode arithmetic: add/subtract frame counts with overflow handling.
tc_compare
Timecode comparison and distance utilities.
tc_convert
Timecode format conversion utilities.
tc_drift
Timecode drift detection and correction.
tc_interpolate
Timecode interpolation between known reference points.
tc_math
Timecode mathematical operations.
tc_metadata
Timecode metadata for embedding and extracting timecode-related info alongside media streams.
tc_range
Timecode range operations for defining and manipulating spans of timecode.
tc_smpte_ranges
SMPTE timecode range definitions and boundary checking.
tc_validator
Timecode validation rules and violation reporting.
timecode_calculator
Timecode arithmetic and conversion utilities.
timecode_format
Timecode display format and parsing utilities.
timecode_range
Timecode range operations for start/end interval management.
vitc
Vertical Interval Timecode (VITC) reading and writing

Structs§

FrameRateInfo
Frame rate information for timecode
Timecode
SMPTE timecode structure

Enums§

FrameRate
SMPTE timecode frame rates
TimecodeError
Timecode errors

Traits§

TimecodeReader
Timecode reader trait
TimecodeWriter
Timecode writer trait