category
string | methods
list | subcategories
list |
---|---|---|
Resolve | [
{
"function": "Returns the Fusion object. Starting point for Fusion scripts",
"method": "Fusion()",
"return": "Fusion"
},
{
"function": "Returns the media storage object to query and act on media locations",
"method": "GetMediaStorage()",
"return": "MediaStorage"
},
{
"function": "Returns the project manager object for currently open database",
"method": "GetProjectManager()",
"return": "ProjectManager"
},
{
"function": "Switches to indicated page in DaVinci Resolve. Input can be one of ('media', 'cut', 'edit', 'fusion', 'color', 'fairlight', 'deliver')",
"method": "OpenPage(pageName)",
"return": "Bool"
},
{
"function": "Returns the page currently displayed in the main window. Returned value can be one of ('media', 'cut', 'edit', 'fusion', 'color', 'fairlight', 'deliver', None)",
"method": "GetCurrentPage()",
"return": "String"
},
{
"function": "Returns product name('DaVinci Resolve' or 'DaVinci Resolve Studio')",
"method": "GetProductName()",
"return": "String"
},
{
"function": "Returns list of product version fields in [major, minor, patch, build, suffix] format",
"method": "GetVersion()",
"return": "[version fields]"
},
{
"function": "Returns product version in 'major.minor.patch[suffix].build' format",
"method": "GetVersionString()",
"return": "String"
},
{
"function": "Loads UI layout from saved preset named 'presetName'",
"method": "LoadLayoutPreset(presetName)",
"return": "Bool"
},
{
"function": "Overwrites preset named 'presetName' with current UI layout",
"method": "UpdateLayoutPreset(presetName)",
"return": "Bool"
},
{
"function": "Exports preset named 'presetName' to path 'presetFilePath'",
"method": "ExportLayoutPreset(presetName, presetFilePath)",
"return": "Bool"
},
{
"function": "Deletes preset named 'presetName'",
"method": "DeleteLayoutPreset(presetName)",
"return": "Bool"
},
{
"function": "Saves current UI layout as a preset named 'presetName'",
"method": "SaveLayoutPreset(presetName)",
"return": "Bool"
},
{
"function": "Imports preset from path 'presetFilePath'. The optional argument 'presetName' specifies how the preset shall be named. If not specified, the preset is named based on the filename",
"method": "ImportLayoutPreset(presetFilePath, presetName)",
"return": "Bool"
},
{
"function": "Quits the Resolve App",
"method": "Quit()",
"return": "None"
}
] | [
{
"category": "ProjectManager",
"methods": [
{
"function": "Archives project to provided file path with the configuration as provided by the optional arguments",
"method": "ArchiveProject(projectName, filePath, isArchiveSrcMedia=True, isArchiveRenderCache=True, isArchiveProxyMedia=False)",
"return": "Bool"
},
{
"function": "Creates and returns a project if projectName (string) is unique, and None if it is not",
"method": "CreateProject(projectName)",
"return": "Project"
},
{
"function": "Delete project in the current folder if not currently loaded",
"method": "DeleteProject(projectName)",
"return": "Bool"
},
{
"function": "Loads and returns the project with name = projectName (string) if there is a match found, and None if there is no matching Project",
"method": "LoadProject(projectName)",
"return": "Project"
},
{
"function": "Returns the currently loaded Resolve project",
"method": "GetCurrentProject()",
"return": "Project"
},
{
"function": "Saves the currently loaded project with its own name. Returns True if successful",
"method": "SaveProject()",
"return": "Bool"
},
{
"function": "Closes the specified project without saving",
"method": "CloseProject(project)",
"return": "Bool"
},
{
"function": "Creates a folder if folderName (string) is unique",
"method": "CreateFolder(folderName)",
"return": "Bool"
},
{
"function": "Deletes the specified folder if it exists. Returns True in case of success",
"method": "DeleteFolder(folderName)",
"return": "Bool"
},
{
"function": "Returns a list of project names in current folder",
"method": "GetProjectListInCurrentFolder()",
"return": "[project names...]"
},
{
"function": "Returns a list of folder names in current folder",
"method": "GetFolderListInCurrentFolder()",
"return": "[folder names...]"
},
{
"function": "Opens root folder in database",
"method": "GotoRootFolder()",
"return": "Bool"
},
{
"function": "Opens parent folder of current folder in database if current folder has parent",
"method": "GotoParentFolder()",
"return": "Bool"
},
{
"function": "Returns the current folder name",
"method": "GetCurrentFolder()",
"return": "string"
},
{
"function": "Opens folder under given name",
"method": "OpenFolder(folderName)",
"return": "Bool"
},
{
"function": "Imports a project from the file path provided with given project name, if any. Returns True if successful",
"method": "ImportProject(filePath, projectName=None)",
"return": "Bool"
},
{
"function": "Exports project to provided file path, including stills and LUTs if withStillsAndLUTs is True (enabled by default). Returns True in case of success",
"method": "ExportProject(projectName, filePath, withStillsAndLUTs=True)",
"return": "Bool"
},
{
"function": "Restores a project from the file path provided with given project name, if any. Returns True if successful",
"method": "RestoreProject(filePath, projectName=None)",
"return": "Bool"
},
{
"function": "Returns a dictionary (with keys 'DbType', 'DbName' and optional 'IpAddress') corresponding to the current database connection",
"method": "GetCurrentDatabase()",
"return": "{dbInfo}"
},
{
"function": "Returns a list of dictionary items (with keys 'DbType', 'DbName' and optional 'IpAddress') corresponding to all the databases added to Resolve",
"method": "GetDatabaseList()",
"return": "[{dbInfo}]"
},
{
"function": "Switches current database connection to the database specified by the keys below, and closes any open project.'DbType': 'Disk' or 'PostgreSQL' (string)'DbName': database name (string)'IpAddress': IP address of the PostgreSQL server (string, optional key - defaults to '127.0.0.1')",
"method": "SetCurrentDatabase({dbInfo})",
"return": "Bool"
}
],
"subcategories": [
{
"category": "Project",
"methods": [
{
"function": "Returns the Media Pool object",
"method": "GetMediaPool()",
"return": "MediaPool"
},
{
"function": "Returns the number of timelines currently present in the project",
"method": "GetTimelineCount()",
"return": "Int"
},
{
"function": "Returns timeline at the given index, 1 <= idx <= project.GetTimelineCount()",
"method": "GetTimelineByIndex(idx)",
"return": "Timeline"
},
{
"function": "Returns the currently loaded timeline",
"method": "GetCurrentTimeline()",
"return": "Timeline"
},
{
"function": "Sets given timeline as current timeline for the project. Returns True if successful",
"method": "SetCurrentTimeline(timeline)",
"return": "Bool"
},
{
"function": "Returns the Gallery object",
"method": "GetGallery()",
"return": "Gallery"
},
{
"function": "Returns project name",
"method": "GetName()",
"return": "String"
},
{
"function": "Sets project name if given projectName (string) is unique",
"method": "SetName(projectName)",
"return": "Bool"
},
{
"function": "Returns a list of presets and their information",
"method": "GetPresetList()",
"return": "[presets...]"
},
{
"function": "Sets preset by given presetName (string) into project",
"method": "SetPreset(presetName)",
"return": "Bool"
},
{
"function": "Adds a render job based on current render settings to the render queue. Returns a unique job id (string) for the new render job",
"method": "AddRenderJob()",
"return": "String"
},
{
"function": "Deletes render job for input job id (string)",
"method": "DeleteRenderJob(jobId)",
"return": "Bool"
},
{
"function": "Deletes all render jobs in the queue",
"method": "DeleteAllRenderJobs()",
"return": "Bool"
},
{
"function": "Returns a list of render jobs and their information",
"method": "GetRenderJobList()",
"return": "[render jobs...]"
},
{
"function": "Returns a list of render presets and their information",
"method": "GetRenderPresetList()",
"return": "[presets...]"
},
{
"function": "Starts rendering jobs indicated by the input job ids",
"method": "StartRendering(jobId1, jobId2, ...)",
"return": "Bool"
},
{
"function": "Starts rendering jobs indicated by the input job idsThe optional 'isInteractiveMode', when set, enables error feedback in the UI during rendering",
"method": "StartRendering([jobIds...], isInteractiveMode=False)",
"return": "Bool"
},
{
"function": "Starts rendering all queued render jobs. The optional 'isInteractiveMode', when set, enables error feedback in the UI during rendering",
"method": "StartRendering(isInteractiveMode=False)",
"return": "Bool"
},
{
"function": "Stops any current render processes",
"method": "StopRendering()",
"return": "None"
},
{
"function": "Returns True if rendering is in progress",
"method": "IsRenderingInProgress()",
"return": "Bool"
},
{
"function": "Sets a preset as current preset for rendering if presetName (string) exists",
"method": "LoadRenderPreset(presetName)",
"return": "Bool"
},
{
"function": "Creates new render preset by given name if presetName(string) is unique",
"method": "SaveAsNewRenderPreset(presetName)",
"return": "Bool"
},
{
"function": "Sets given settings for rendering. Settings is a dict, with support for the keys: Refer to 'Looking up render settings' section for information for supported settings",
"method": "SetRenderSettings({settings})",
"return": "Bool"
},
{
"function": "Returns a dict with job status and completion percentage of the job by given jobId (string)",
"method": "GetRenderJobStatus(jobId)",
"return": "{status info}"
},
{
"function": "Returns value of project setting (indicated by settingName, string). Check the section below for more information",
"method": "GetSetting(settingName)",
"return": "String"
},
{
"function": "Sets the project setting (indicated by settingName, string) to the value (settingValue, string). Check the section below for more information",
"method": "SetSetting(settingName, settingValue)",
"return": "Bool"
},
{
"function": "Returns a dict (format -> file extension) of available render formats",
"method": "GetRenderFormats()",
"return": "{render formats...}"
},
{
"function": "Returns a dict (codec description -> codec name) of available codecs for given render format (string)",
"method": "GetRenderCodecs(renderFormat)",
"return": "{render codecs...}"
},
{
"function": "Returns a dict with currently selected format 'format' and render codec 'codec'",
"method": "GetCurrentRenderFormatAndCodec()",
"return": "{format, codec}"
},
{
"function": "Sets given render format (string) and render codec (string) as options for rendering",
"method": "SetCurrentRenderFormatAndCodec(format, codec)",
"return": "Bool"
},
{
"function": "Returns the render mode: 0 - Individual clips, 1 - Single clip",
"method": "GetCurrentRenderMode()",
"return": "Int"
},
{
"function": "Sets the render mode. Specify renderMode = 0 for Individual clips, 1 for Single clip",
"method": "SetCurrentRenderMode(renderMode)",
"return": "Bool"
},
{
"function": "Returns list of resolutions applicable for the given render format (string) and render codec (string). Returns full list of resolutions if no argument is provided. Each element in the list is a dictionary with 2 keys 'Width' and 'Height'",
"method": "GetRenderResolutions(format, codec)",
"return": "[{Resolution}]"
},
{
"function": "Refreshes LUT List",
"method": "RefreshLUTList()",
"return": "Bool"
},
{
"function": "Returns a unique ID for the project item",
"method": "GetUniqueId()",
"return": "String"
},
{
"function": "Inserts the media specified by mediaPath (string) with startOffsetInSamples (int) and durationInSamples (int) at the playhead on a selected track on the Fairlight page. Returns True if successful, otherwise False",
"method": "InsertAudioToCurrentTrackAtPlayhead(mediaPath, startOffsetInSamples, durationInSamples)",
"return": "Bool"
}
],
"subcategories": [
{
"category": "Timeline",
"methods": [
{
"function": "Returns the timeline name",
"method": "GetName()",
"return": "String"
},
{
"function": "Sets the timeline name if timelineName (string) is unique. Returns True if successful",
"method": "SetName(timelineName)",
"return": "Bool"
},
{
"function": "Returns the frame number at the start of timeline",
"method": "GetStartFrame()",
"return": "Int"
},
{
"function": "Returns the frame number at the end of timeline",
"method": "GetEndFrame()",
"return": "Int"
},
{
"function": "Set the start timecode of the timeline to the string 'timecode'. Returns true when the change is successful, false otherwise",
"method": "SetStartTimecode(timecode)",
"return": "Bool"
},
{
"function": "Returns the start timecode for the timeline",
"method": "GetStartTimecode()",
"return": "String"
},
{
"function": "Returns the number of tracks for the given track type ('audio', 'video' or 'subtitle')",
"method": "GetTrackCount(trackType)",
"return": "Int"
},
{
"function": "Returns a list of TimelineItem objects on that track (based on trackType and index). 1 <= index <= GetTrackCount(trackType)",
"method": "GetItemListInTrack(trackType, index)",
"return": "[TimelineItem...]"
},
{
"function": "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",
"method": "AddMarker(frameId, color, name, note, duration, customData)",
"return": "Bool"
},
{
"function": "Returns a dict (frameId -> {information}) of all markers and dicts with their informationExample: a value of {96.0: {'color': 'Green', 'duration': 1.0, 'note': '', 'name': 'Marker 1', 'customData': ''}, ...} indicates a single green marker at timeline offset 96",
"method": "GetMarkers()",
"return": "{markers...}"
},
{
"function": "Returns marker {information} for the first matching marker with specified customData",
"method": "GetMarkerByCustomData(customData)",
"return": "{marker...}"
},
{
"function": "Updates customData (string) for the marker at given frameId position. CustomData is not exposed via UI and is useful for scripting developer to attach any user specific data to markers",
"method": "UpdateMarkerCustomData(frameId, customData)",
"return": "Bool"
},
{
"function": "Returns customData string for the marker at given frameId position",
"method": "GetMarkerCustomData(frameId)",
"return": "String"
},
{
"function": "Deletes all timeline markers of the specified color. An 'All' argument is supported and deletes all timeline markers",
"method": "DeleteMarkersByColor(color)",
"return": "Bool"
},
{
"function": "Deletes the timeline marker at the given frame number",
"method": "DeleteMarkerAtFrame(frameNum)",
"return": "Bool"
},
{
"function": "Delete first matching marker with specified customData",
"method": "DeleteMarkerByCustomData(customData)",
"return": "Bool"
},
{
"function": "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'",
"method": "ApplyGradeFromDRX(path, gradeMode, item1, item2, ...)",
"return": "Bool"
},
{
"function": "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'",
"method": "ApplyGradeFromDRX(path, gradeMode, [items])",
"return": "Bool"
},
{
"function": "Returns a string timecode representation for the current playhead position, while on Cut, Edit, Color, Fairlight and Deliver pages",
"method": "GetCurrentTimecode()",
"return": "String"
},
{
"function": "Sets current playhead position from input timecode for Cut, Edit, Color, Fairlight and Deliver pages",
"method": "SetCurrentTimecode(timecode)",
"return": "Bool"
},
{
"function": "Returns the current video TimelineItem",
"method": "GetCurrentVideoItem()",
"return": "TimelineItem"
},
{
"function": "Returns a dict (keys 'width', 'height', 'format' and 'data') with data containing raw thumbnail image data (RGB 8-bit image data encoded in base64 format) for current media in the Color PageAn example of how to retrieve and interpret thumbnails is provided in 6_get_current_media_thumbnail.py in the Examples folder",
"method": "GetCurrentClipThumbnailImage()",
"return": "{thumbnailData}"
},
{
"function": "Returns the track name for track indicated by trackType ('audio', 'video' or 'subtitle') and index. 1 <= trackIndex <= GetTrackCount(trackType)",
"method": "GetTrackName(trackType, trackIndex)",
"return": "String"
},
{
"function": "Sets the track name (string) for track indicated by trackType ('audio', 'video' or 'subtitle') and index. 1 <= trackIndex <= GetTrackCount(trackType)",
"method": "SetTrackName(trackType, trackIndex, name)",
"return": "Bool"
},
{
"function": "Duplicates the timeline and returns the created timeline, with the (optional) timelineName, on success",
"method": "DuplicateTimeline(timelineName)",
"return": "timeline"
},
{
"function": "Creates a compound clip of input timeline items with an optional clipInfo map: {'startTimecode' : '00:00:00:00', 'name' : 'Compound Clip 1'}. It returns the created timeline item",
"method": "CreateCompoundClip([timelineItems], {clipInfo})",
"return": "timelineItem"
},
{
"function": "Creates a Fusion clip of input timeline items. It returns the created timeline item",
"method": "CreateFusionClip([timelineItems])",
"return": "timelineItem"
},
{
"function": "Imports timeline items from an AAF file and optional importOptions dict into the timeline, with support for the keys:'autoImportSourceClipsIntoMediaPool': Bool, specifies if source clips should be imported into media pool, True by default'ignoreFileExtensionsWhenMatching': Bool, specifies if file extensions should be ignored when matching, False by default'linkToSourceCameraFiles': Bool, specifies if link to source camera files should be enabled, False by default'useSizingInfo': Bool, specifies if sizing information should be used, False by default'importMultiChannelAudioTracksAsLinkedGroups': Bool, specifies if multi-channel audio tracks should be imported as linked groups, False by default'insertAdditionalTracks': Bool, specifies if additional tracks should be inserted, True by default'insertWithOffset': string, specifies insert with offset value in timecode format - defaults to '00:00:00:00', applicable if 'insertAdditionalTracks' is False'sourceClipsPath': string, specifies a filesystem path to search for source clips if the media is inaccessible in their original path and if 'ignoreFileExtensionsWhenMatching' is True'sourceClipsFolders': string, list of Media Pool folder objects to search for source clips if the media is not present in current folder",
"method": "ImportIntoTimeline(filePath, {importOptions})",
"return": "Bool"
},
{
"function": "Exports timeline to 'fileName' as per input exportType & exportSubtype formatRefer to section 'Looking up timeline exports properties' for information on the parameters",
"method": "Export(fileName, exportType, exportSubtype)",
"return": "Bool"
},
{
"function": "Returns value of timeline setting (indicated by settingName : string). Check the section below for more information",
"method": "GetSetting(settingName)",
"return": "String"
},
{
"function": "Sets timeline setting (indicated by settingName : string) to the value (settingValue : string). Check the section below for more information",
"method": "SetSetting(settingName, settingValue)",
"return": "Bool"
},
{
"function": "Inserts a generator (indicated by generatorName : string) into the timeline",
"method": "InsertGeneratorIntoTimeline(generatorName)",
"return": "TimelineItem"
},
{
"function": "Inserts a Fusion generator (indicated by generatorName : string) into the timeline",
"method": "InsertFusionGeneratorIntoTimeline(generatorName)",
"return": "TimelineItem"
},
{
"function": "Inserts a Fusion composition into the timeline",
"method": "InsertFusionCompositionIntoTimeline()",
"return": "TimelineItem"
},
{
"function": "Inserts an OFX generator (indicated by generatorName : string) into the timeline",
"method": "InsertOFXGeneratorIntoTimeline(generatorName)",
"return": "TimelineItem"
},
{
"function": "Inserts a title (indicated by titleName : string) into the timeline",
"method": "InsertTitleIntoTimeline(titleName)",
"return": "TimelineItem"
},
{
"function": "Inserts a Fusion title (indicated by titleName : string) into the timeline",
"method": "InsertFusionTitleIntoTimeline(titleName)",
"return": "TimelineItem"
},
{
"function": "Grabs still from the current video clip. Returns a GalleryStill object",
"method": "GrabStill()",
"return": "galleryStill"
},
{
"function": "Grabs stills from all the clips of the timeline at 'stillFrameSource' (1 - First frame, 2 - Middle frame). Returns the list of GalleryStill objects",
"method": "GrabAllStills(stillFrameSource)",
"return": "[galleryStill]"
},
{
"function": "Returns a unique ID for the timeline",
"method": "GetUniqueId()",
"return": "String"
}
],
"subcategories": [
{
"category": "TimelineItem",
"methods": [
{
"function": "Returns the item name",
"method": "GetName()",
"return": "string"
},
{
"function": "Returns the item duration",
"method": "GetDuration()",
"return": "Int"
},
{
"function": "Returns the end frame position on the timeline",
"method": "GetEnd()",
"return": "Int"
},
{
"function": "Returns number of Fusion compositions associated with the timeline item",
"method": "GetFusionCompCount()",
"return": "Int"
},
{
"function": "Returns the Fusion composition object based on given index. 1 <= compIndex <= timelineItem.GetFusionCompCount()",
"method": "GetFusionCompByIndex(compIndex)",
"return": "fusionComp"
},
{
"function": "Returns a list of Fusion composition names associated with the timeline item",
"method": "GetFusionCompNameList()",
"return": "[names...]"
},
{
"function": "Returns the Fusion composition object based on given name",
"method": "GetFusionCompByName(compName)",
"return": "fusionComp"
},
{
"function": "Returns the maximum extension by frame for clip from left side",
"method": "GetLeftOffset()",
"return": "Int"
},
{
"function": "Returns the maximum extension by frame for clip from right side",
"method": "GetRightOffset()",
"return": "Int"
},
{
"function": "Returns the start frame position on the timeline",
"method": "GetStart()",
"return": "Int"
},
{
"function": "Sets the value of property 'propertyKey' to value 'propertyValue'Refer to 'Looking up Timeline item properties' for more information",
"method": "SetProperty(propertyKey, propertyValue)",
"return": "Bool"
},
{
"function": "returns the value of the specified keyif no key is specified, the method returns a dictionary(python) or table(lua) for all supported keys",
"method": "GetProperty(propertyKey)",
"return": "Int / [key:value]"
},
{
"function": "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",
"method": "AddMarker(frameId, color, name, note, duration, customData)",
"return": "Bool"
},
{
"function": "Returns a dict (frameId -> {information}) of all markers and dicts with their informationExample: a value of {96.0: {'color': 'Green', 'duration': 1.0, 'note': '', 'name': 'Marker 1', 'customData': ''}, ...} indicates a single green marker at clip offset 96",
"method": "GetMarkers()",
"return": "{markers...}"
},
{
"function": "Returns marker {information} for the first matching marker with specified customData",
"method": "GetMarkerByCustomData(customData)",
"return": "{markers...}"
},
{
"function": "Updates customData (string) for the marker at given frameId position. CustomData is not exposed via UI and is useful for scripting developer to attach any user specific data to markers",
"method": "UpdateMarkerCustomData(frameId, customData)",
"return": "Bool"
},
{
"function": "Returns customData string for the marker at given frameId position",
"method": "GetMarkerCustomData(frameId)",
"return": "String"
},
{
"function": "Delete all markers of the specified color from the timeline item. 'All' as argument deletes all color markers",
"method": "DeleteMarkersByColor(color)",
"return": "Bool"
},
{
"function": "Delete marker at frame number from the timeline item",
"method": "DeleteMarkerAtFrame(frameNum)",
"return": "Bool"
},
{
"function": "Delete first matching marker with specified customData",
"method": "DeleteMarkerByCustomData(customData)",
"return": "Bool"
},
{
"function": "Adds a flag with given color (string)",
"method": "AddFlag(color)",
"return": "Bool"
},
{
"function": "Returns a list of flag colors assigned to the item",
"method": "GetFlagList()",
"return": "[colors...]"
},
{
"function": "Clear flags of the specified color. An 'All' argument is supported to clear all flags",
"method": "ClearFlags(color)",
"return": "Bool"
},
{
"function": "Returns the item color as a string",
"method": "GetClipColor()",
"return": "String"
},
{
"function": "Sets the item color based on the colorName (string)",
"method": "SetClipColor(colorName)",
"return": "Bool"
},
{
"function": "Clears the item color",
"method": "ClearClipColor()",
"return": "Bool"
},
{
"function": "Adds a new Fusion composition associated with the timeline item",
"method": "AddFusionComp()",
"return": "fusionComp"
},
{
"function": "Imports a Fusion composition from given file path by creating and adding a new composition for the item",
"method": "ImportFusionComp(path)",
"return": "fusionComp"
},
{
"function": "Exports the Fusion composition based on given index to the path provided",
"method": "ExportFusionComp(path, compIndex)",
"return": "Bool"
},
{
"function": "Deletes the named Fusion composition",
"method": "DeleteFusionCompByName(compName)",
"return": "Bool"
},
{
"function": "Loads the named Fusion composition as the active composition",
"method": "LoadFusionCompByName(compName)",
"return": "fusionComp"
},
{
"function": "Renames the Fusion composition identified by oldName",
"method": "RenameFusionCompByName(oldName, newName)",
"return": "Bool"
},
{
"function": "Adds a new color version for a video clip based on versionType (0 - local, 1 - remote)",
"method": "AddVersion(versionName, versionType)",
"return": "Bool"
},
{
"function": "Returns the current version of the video clip. The returned value will have the keys versionName and versionType(0 - local, 1 - remote)",
"method": "GetCurrentVersion()",
"return": "{versionName...}"
},
{
"function": "Deletes a color version by name and versionType (0 - local, 1 - remote)",
"method": "DeleteVersionByName(versionName, versionType)",
"return": "Bool"
},
{
"function": "Loads a named color version as the active version. versionType: 0 - local, 1 - remote",
"method": "LoadVersionByName(versionName, versionType)",
"return": "Bool"
},
{
"function": "Renames the color version identified by oldName and versionType (0 - local, 1 - remote)",
"method": "RenameVersionByName(oldName, newName, versionType)",
"return": "Bool"
},
{
"function": "Returns a list of all color versions for the given versionType (0 - local, 1 - remote)",
"method": "GetVersionNameList(versionType)",
"return": "[names...]"
},
{
"function": "Returns the media pool item corresponding to the timeline item if one exists",
"method": "GetMediaPoolItem()",
"return": "MediaPoolItem"
},
{
"function": "Returns a dict (offset -> value) of keyframe offsets and respective convergence values",
"method": "GetStereoConvergenceValues()",
"return": "{keyframes...}"
},
{
"function": "For the LEFT eye -> returns a dict (offset -> dict) of keyframe offsets and respective floating window params. Value at particular offset includes the left, right, top and bottom floating window values",
"method": "GetStereoLeftFloatingWindowParams()",
"return": "{keyframes...}"
},
{
"function": "For the RIGHT eye -> returns a dict (offset -> dict) of keyframe offsets and respective floating window params. Value at particular offset includes the left, right, top and bottom floating window values",
"method": "GetStereoRightFloatingWindowParams()",
"return": "{keyframes...}"
},
{
"function": "Returns the number of nodes in the current graph for the timeline item",
"method": "GetNumNodes()",
"return": "Int"
},
{
"function": "Sets LUT on the node mapping the node index provided, 1 <= nodeIndex <= total number of nodesThe lutPath can be an absolute path, or a relative path (based off custom LUT paths or the master LUT path)The operation is successful for valid lut paths that Resolve has already discovered (see Project.RefreshLUTList)",
"method": "SetLUT(nodeIndex, lutPath)",
"return": "Bool"
},
{
"function": "Gets relative LUT path based on the node index provided, 1 <= nodeIndex <= total number of nodes",
"method": "GetLUT(nodeIndex)",
"return": "String"
},
{
"function": "Keys of map are: \"NodeIndex\", \"Slope\", \"Offset\", \"Power\", \"Saturation\", where 1 <= NodeIndex <= total number of nodes.<br/>Example python code - SetCDL({\"NodeIndex\" : \"1\", \"Slope\" : \"0.5 0.4 0.2\", \"Offset\" : \"0.4 0.3 0.2\", \"Power\" : \"0.6 0.7 0.8\", \"Saturation\" : \"0.65\"})",
"method": "SetCDL([CDL map])",
"return": "Bool"
},
{
"function": "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",
"method": "AddTake(mediaPoolItem, startFrame, endFrame)",
"return": "Bool"
},
{
"function": "Returns the index of the currently selected take, or 0 if the clip is not a take selector",
"method": "GetSelectedTakeIndex()",
"return": "Int"
},
{
"function": "Returns the number of takes in take selector, or 0 if the clip is not a take selector",
"method": "GetTakesCount()",
"return": "Int"
},
{
"function": "Returns a dict (keys \"startFrame\", \"endFrame\" and \"mediaPoolItem\") with take info for specified index",
"method": "GetTakeByIndex(idx)",
"return": "{takeInfo...}"
},
{
"function": "Deletes a take by index, 1 <= idx <= number of takes",
"method": "DeleteTakeByIndex(idx)",
"return": "Bool"
},
{
"function": "Selects a take by index, 1 <= idx <= number of takes",
"method": "SelectTakeByIndex(idx)",
"return": "Bool"
},
{
"function": "Finalizes take selection",
"method": "FinalizeTake()",
"return": "Bool"
},
{
"function": "Copies the current grade to all the items in tgtTimelineItems list. Returns True on success and False if any error occurred",
"method": "CopyGrades([tgtTimelineItems])",
"return": "Bool"
},
{
"function": "Updates sidecar file for BRAW clips or RMD file for R3D clips",
"method": "UpdateSidecar()",
"return": "Bool"
},
{
"function": "Returns a unique ID for the timeline item",
"method": "GetUniqueId()",
"return": "String"
}
]
}
]
}
]
}
]
}
] |
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 35