TimelineItem
New in 20.2.0
SetName(name)
Return Type: Bool
Sets the clip's name to name(string). Returns True if successful.
ResetAllNodeColors()
Return Type: Bool
Reset node color for all nodes in the active version of the clip. Returns True if successful.
New in 20.1.0
GetVoiceIsolationState()
Return Type: VoiceIsolationState
Returns the Voice Isolation State as a dict {isEnabled, amount}, of the TimelineItem.
SetVoiceIsolationState({VoiceIsolationState})
Return Type: Bool
Sets Voice Isolation state of the timelineItem to the given VoiceIsolationState of {isEnabled (bool), amount (int)}. amount is in range of [0, 100].
Returns True if successful.
New in 19.1.0
GetIsColorOutputCacheEnabled()
Return Type: cache_value(int)
Returns if the cache corresponding to cache_type is enabled
GetIsFusionOutputCacheEnabled()
Return Type: cache_value(int)
Returns if the cache corresponding to cache_type is enabled (or auto)
SetColorOutputCache(cache_value)
Return Type: Bool
Sets caching to enabled or disabled. Equivalent to clip context menu action Render Cache Color Output.
SetFusionOutputCache(cache_value)
Return Type: Bool
Sets caching to auto, enabled or disabled. Equivalent to clip context menu action Render Cache Fusion Output.
New in 19.0.2
GetSourceEndFrame()
Return Type: int
Returns the end frame position of the media pool clip in the timeline clip.
GetSourceEndTime()
Return Type: float
Returns the end time position of the media pool clip in the timeline clip.
GetSourceStartFrame()
Return Type: int
Returns the start frame position of the media pool clip in the timeline clip.
GetSourceStartTime()
Return Type: float
Returns the start time position of the media pool clip in the timeline clip.
New in 19.0.1
GetSourceAudioChannelMapping()
Return Type: json formatted string
Returns a string with TimelineItem's audio mapping information. Check 'Audio Mapping' section below for more information.
New in 19.0.0
GetNodeGraph(layerIdx)
Return Type: Graph
Returns the clip's node graph object at layerIdx (int, optional). Returns the first layer if layerIdx is skipped. 1 < = layerIdx < = project.GetSetting("nodeStackLayers").
GetColorGroup()
Return Type: ColorGroup
Returns the clip's color group if one exists.
AssignToColorGroup(ColorGroup)
Return Type: Bool
Returns True if TiItem to successfully assigned to given ColorGroup.
ColorGroup must be an existing group in the current project.
RemoveFromColorGroup()
Return Type: Bool
Returns True if the TiItem is successfully removed from the ColorGroup it is in.
ExportLUT(exportType, path)
Return Type: Bool
Exports LUTs from tiItem referring to value passed in 'exportType' (enum) for LUT size. Refer to. ExportLUT notes section for possible values.
Saves generated LUT in the provided 'path' (string). 'path' should include the intended file name.
If an empty or incorrect extension is provided, the appropriate extension (.cube/.vlt) will be appended at the end of the path.
GetLinkedItems()
Return Type: [TimelineItems]
Returns a list of linked timeline items.
GetTrackTypeAndIndex()
Return Type: [trackType, trackIndex]
Returns a list of two values that correspond to the TimelineItem's trackType (string) and trackIndex (int) respectively.
trackType is one of subtitle
1 < = trackIndex < = Timeline.GetTrackCount(trackType)
AddFlag(color)
Return Type: Bool
Adds a flag with given color (string).
AddFusionComp()
Return Type: fusionComp
Adds a new Fusion composition associated with TimelineItem.
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.
AddTake(mediaPoolItem, startFrame, endFrame)
Return Type: Bool
Adds MediaPoolItem as a new take. Initializes a take selector for the timeline item if needed. By default, the full clip extents is added. startFrame (int) and endFrame (int) are optional arguments used to specify the extents.
AddVersion(versionName, versionType)
Return Type: Bool
Adds a new color version for a video clip based on versionType (0 - local, 1 - remote).
ApplyArriCdlLut()
Move to Graph since 19.1.0
Return Type: Bool
Applies ARRI CDL and LUT. Returns True if successful, False otherwise.
ClearClipColor()
Return Type: Bool
Clears the item color.