Working with timecodes is essential for any post workflow. We use our own timecode library which records timecode as two values (frames per second in float and the number of frames from zero as an integer). The Timecode class

  • does easy conversions (24 to 25 etc)
  • is sortable and comparable
  • can be used with ranges and link lists
  • supports calculations like multiplication, subtraction and division (timecode calculators galore!)
  • outputs itself in different formats – floating seconds with comma and dot, bit-packed SMPTE
  • parses user-friendly input patterns like “000100” and “10h 10s 10f”
  • is super easy to subclass and serialize

Home Page: http://guerilla-di.org/timecode/
Language: Pure Ruby (no compilation required)
Platform: Windows, OS X, Linux
License: MIT