Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

OLA TimeCode

From wiki.openlighting.org

Revision as of 17:44, 4 November 2011 by Nomis52 (talk | contribs) (Created page with "There is very basic support for sending TimeCode data using OLA. At the moment the only output method is ArtNet. From ola/timecode/TimeCode.h , ola/timecode/TimeCode…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

There is very basic support for sending TimeCode data using OLA. At the moment the only output method is ArtNet.

From ola/timecode/TimeCode.h , ola/timecode/TimeCodeEnums.h & ola/OlaCallbackClient.h

ola::timecode::TimeCode timecode(ola::timecode::TIMECODE_EBU, hours, minutes, seconds, frames);

client.SendTimeCode(
    ola::NewSingleCallback(&TimeCodeDone),
    timecode);

An example program demonstrates how to use the API. To run it use:

$ ola_timecode -f FILM 0:0:0:0