← Back

ofxTimecode

github.com/YCAMInterlab/ofxTimecode · @YCAMInterlab
OF 0.9 Video/Camera

a simple add on to convert between timecode strings, frames, and seconds

21 17 Last commit 9y ago Created 14y ago

Forks

Forks pushed to more recently than YCAMInterlab/ofxTimecode itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

interior-night/ofxTimecode by @interior-night · ★ 0 · pushed 2mo ago
roymacdonald/ofxTimecode by @roymacdonald · ★ 0 · pushed 8y ago

README

ofxTimecode



ofxTimecode is a simple class for converting between frames, seconds, milliseconds, and SMPTE representation (HH:MM:SS:FRAME) for time.

Useful for displaying times as strings, or saving/pulling human readable times from xml

It stores a frame rate internally and is easily combined with ofGetElapsedTimef(), ofGetElapsedMillis(), and ofGetFrameNum() as well as ofxMSATimer.

History:

v. 00 July 22nd 2012

first version, fairly untested but functional

example-smpte shows very simple use case, and shows how ofGetElapsedTimef() always differs from ofGetFrameNum()

Developed by James George at YCAM InterLab as part of the ofxTimeline project.

http://interlab.ycam.jp/en/ // http://www.jamesgeorge.org

Get this addon

HTTPS
SSH