Timeline
AddMarker(frameId, color, name, note, duration, customData)
Return Type:Bool
Creates a new marker at given frameId position and with given marker information. 'customData' is optional and helps to attach user specific data to the marker.
AddTrack(trackType, optionalSubTrackType)
Return Type:Bool
Adds track of trackType ("video", "subtitle", "audio").
Second argument optionalSubTrackType is required for "audio”
optionalSubTrackType can be one of {"mono", "stereo", "5.1", "5.1film", "7.1", "7.1film", "adaptive1", ... , "adaptive24"}
ApplyGradeFromDRX(path, gradeMode, [items])
Return Type:Bool
Loads a still from given file path (string) and applies grade to Timeline Items with gradeMode (int): 0 - "No keyframes", 1 - "Source Timecode aligned", 2 - "Start Frames aligned".
ApplyGradeFromDRX(path, gradeMode, item1, item2, ...)
Return Type:Bool
Loads a still from given file path (string) and applies grade to Timeline Items with gradeMode (int): 0 - "No keyframes", 1 - "Source Timecode aligned", 2 - "Start Frames aligned".
ConvertTimelineToStereo()
Return Type:Bool
Converts timeline to stereo. Returns True if successful; False otherwise.