Platforms to show: All Mac Windows Linux Cross-Platform
The module LTCMBS
module LTCMBSType | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
module | Timecode | MBS Tools Plugin | 20.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
This plugin part can load libltc, a library to encode and decode linear timecode.
Linear (or Longitudinal) Timecode (LTC) is an encoding of timecode data as a Manchester-Biphase encoded audio signal.
The audio signal is commonly recorded on a VTR track or other storage media.
libltc facilitates decoding and encoding of LTC from/to timecode, including SMPTE date support.
see
https://github.com/x42/libltc
- method FrameToTime(OutputTimecode as LTCSMPTETimecodeMBS, InputFrame as LTCFrameMBS, Flags as Integer = 0)
- method LoadLibrary(file as folderitem) as boolean
- method LoadLibrary(path as string) as boolean
- method TimeToFrame(OutputFrame as LTCFrameMBS, InputTimecode as LTCSMPTETimecodeMBS, TVStandard as Integer, Flags as Integer = 0)
- property LibraryLoaded as Boolean
- property LibraryLoadError as Integer
- property LibraryLoadErrorMessage as String
- const LTC_FRAME_BIT_COUNT = 80
Encoder and LTCframe flags
Constant | Value | Description |
---|---|---|
LTC_BGF_DONT_TOUCH | 4 |
Encoder init or re-init does not touch the BGF bits (initial values after initialization is zero) |
LTC_NO_PARITY | 8 |
Parity bit is left untouched when setting or in/decrementing the encoder frame-number |
LTC_TC_CLOCK | 2 |
The Timecode is wall-clock aka freerun. This also sets BGF1 (unless LTC_BGF_DONT_TOUCH is given) |
LTC_USE_DATE | 1 |
LTCFrame <> SMPTETimecode converter and LTCFrame increment/decrement use date, also set BGF2 to '1' when encoder is initialized or re-initialized (unless LTC_BGF_DONT_TOUCH is given) |
TV Standards
Constant | Value | Description |
---|---|---|
LTC_TV_1125_60 | 2 |
30fps |
LTC_TV_525_60 | 0 |
30fps |
LTC_TV_625_50 | 1 |
25fps |
LTC_TV_FILM_24 | 3 |
24fps |
Some examples which use this module:
Blog Entries
- MonkeyBread Software Releases the MBS Xojo Plugins in version 20.1
- MBS Xojo Plugins, version 20.1pr1
Xojo Developer Magazine
The items on this page are in the following plugins: MBS Tools Plugin.
