MediaPool
New in 19.0.2
AutoSyncAudio([MediaPoolItems], {audioSyncSettings})
Return Type: Bool
Syncs audio for specified [MediaPoolItems] (list). The list must contain a minimum of two MediaPoolItems - at least one video and one audio clip.
Returns True if successful. Refer to Audio Sync Settings section for details.
New in 19.0.2
GetSelectedClips()
Return Type: [MediaPoolItems]
Returns the current selected MediaPoolItems
SetSelectedClip(MediaPoolItem)
Return Type: Bool
Sets the selected MediaPoolItem to the given MediaPoolItem
AddSubFolder(folder, name)
Return Type: Folder
Adds new subfolder under specified Folder object with the given name.
AppendToTimeline([{clipInfo}, ...])
Return Type: [TimelineItem]
Appends list of clipInfos specified as dict of mediaPoolItem, startFrame (float/int), endFrame(float/int), (optional) mediaType(int; 1 - Video only, 2 - Audio only), trackIndex(int) and recordFrame(float/int). Returns the list of appended TimelineItem .
AppendToTimeline([clips])
Return Type: [TimelineItem]
Appends specified MediaPoolItem objects in the current timeline. Returns the list of appended TimelineItem .
AppendToTimeline(clip1, clip2, ...)
Return Type: [TimelineItem]
Appends specified MediaPoolItem objects in the current timeline. Returns the list of appended TimelineItem .
CreateEmptyTimeline(name)
Return Type: Timeline
Adds new Timeline with given name.
CreateStereoClip(LeftMediaPoolItem,RightMediaPoolItem)
Return Type: MediaPoolItem
Takes in two existing media pool items and creates a new 3D stereoscopic media pool entry replacing the input media in the media pool.
CreateTimelineFromClips(name, [{clipInfo}])
Return Type: Timeline
Creates new Timeline with specified name, appending the list of clipInfos specified as a dict of "MediaPoolItem ", "startFrame" (float/int), "endFrame" (float/int), "recordFrame" (float/int).
CreateTimelineFromClips(name, [clips])
Return Type: Timeline
Creates new Timeline with specified name, and appends the specified MediaPoolItem objects.
CreateTimelineFromClips(name, clip1, clip2,...)
Return Type: Timeline
Creates new Timeline with specified name, and appends the specified MediaPoolItem objects.
DeleteClipMattes(MediaPoolItem, [paths])
Return Type: Bool
Delete mattes based on their file paths, for specified MediaPoolItem . Returns True on success.