Skip to content

Commit

Permalink
resolve 19.0.2 update
Browse files Browse the repository at this point in the history
  • Loading branch information
WheheoHu committed Oct 9, 2024
1 parent 6d0c025 commit 2451cc4
Show file tree
Hide file tree
Showing 36 changed files with 3,620 additions and 135 deletions.
930 changes: 930 additions & 0 deletions Davinci_README/19_0_2/README.txt

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ sidebar_label: Introduction



💡 Last Updated: 16 July 2024


💡 Last Updated: 20 September 2024

---

Expand Down
19 changes: 17 additions & 2 deletions docs/resolve_api/MediaPool.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
> 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`

Expand All @@ -6,7 +21,7 @@ Adds new subfolder under specified [Folder](./Folder.md) object with the given
### AppendToTimeline([\{clipInfo\}, ...])
Return Type: `[TimelineItem]`

Appends list of clipInfos specified as dict of mediaPoolItem, startFrame (int), endFrame(int), (optional) mediaType(int; 1 - Video only, 2 - Audio only), trackIndex(int) and recordFrame(int).
Appends list of clipInfos specified as dict of mediaPoolItem, startFrame (int), endFrame(int), (optional) mediaType(int; 1 - Video only, 2 - Audio only), trackIndex(int) and recordFrame(int/float).
Returns the list of appended [TimelineItem](./TimelineItem.md) .

### AppendToTimeline([clips])
Expand Down Expand Up @@ -34,7 +49,7 @@ Takes in two existing media pool items and creates a new 3D stereoscopic media p
### CreateTimelineFromClips(name, [\{clipInfo\}])
Return Type: `Timeline`

Creates new [Timeline](./Timeline.md) with specified name, appending the list of clipInfos specified as a dict of "[MediaPoolItem](./MediaPoolItem.md) ", "startFrame" (int), "endFrame" (int), "recordFrame" (int).
Creates new [Timeline](./Timeline.md) with specified name, appending the list of clipInfos specified as a dict of "[MediaPoolItem](./MediaPoolItem.md) ", "startFrame" (int), "endFrame" (int), "recordFrame" (int/float).

### CreateTimelineFromClips(name, [clips])
Return Type: `Timeline`
Expand Down
44 changes: 35 additions & 9 deletions docs/resolve_api/MediaPoolItem.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@

> New in 19.0.2
### GetThirdPartyMetadata(metadataType=None)
Return Type: `string|dict`

Returns the third party metadata value for the key 'metadataType'.

If no argument is specified, a dict of all set third parth metadata properties is returned.


### SetThirdPartyMetadata(metadataType, metadataValue)
Return Type: `Bool`

Sets/Add the given third party metadata to metadataValue (string).Returns True if successful.

### SetThirdPartyMetadata(\{metadata\})

Return Type: `Bool`

Sets/Add the item third party metadata with specified 'metadata' dict. Returns True if successful.
pt

-------
> New in 19.0.0
### GetAudioMapping()
Return Type: `json formatted string`

Returns a `string` with MediaPoolItem's audio mapping information.

Check [Audio Mapping](../resolve_settings/AudioMapping.md) section for more information.

------

### AddFlag(color)
Return Type: `Bool`

Expand Down Expand Up @@ -147,12 +182,3 @@ Return Type: `Bool`
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.

------
> New in 19.0.0
### GetAudioMapping()
Return Type: `json formatted string`

Returns a `string` with MediaPoolItem's audio mapping information.

Check [Audio Mapping](../resolve_settings/AudioMapping.md) section for more information.
32 changes: 17 additions & 15 deletions docs/resolve_api/Project.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
> New in 19.0.0
### GetColorGroupsList()
Return Type: `[ColorGroups...]`

Returns a list of all [group](./ColorGroup.md) objects in the timeline.
### AddColorGroup(groupName)
Return Type: `ColorGroup`

Creates a new [ColorGroup](./ColorGroup.md). groupName must be a **unique** string.
### DeleteColorGroup(colorGroup)
Return Type: `Bool`

Deletes the given [color group](./ColorGroup.md) and sets clips to ungrouped.

------

### AddRenderJob()
Return Type: `string`
Expand Down Expand Up @@ -196,18 +213,3 @@ Return Type: `None`

Stops any current render processes.

------
> New in 19.0.0
### GetColorGroupsList()
Return Type: `[ColorGroups...]`

Returns a list of all [group](./ColorGroup.md) objects in the timeline.
### AddColorGroup(groupName)
Return Type: `ColorGroup`

Creates a new [ColorGroup](./ColorGroup.md). groupName must be a **unique** string.
### DeleteColorGroup(colorGroup)
Return Type: `Bool`

Deletes the given [color group](./ColorGroup.md) and sets clips to ungrouped.
27 changes: 15 additions & 12 deletions docs/resolve_api/Resolve.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@

> New in 19.0.0
### GetKeyframeMode()
Return Type: `keyframeMode`

Returns the currently set keyframe mode (int). Refer to section [Keyframe Mode information](../resolve_settings/KeyframeModeInformation.md) for details.

### SetKeyframeMode(keyframeMode)
Return Type: `Bool`

Returns True when 'keyframeMode'(enum) is successfully set. Refer to section [Keyframe Mode information](../resolve_settings/KeyframeModeInformation.md) below for details.

------

### DeleteLayoutPreset(presetName)
Return Type: `Bool`

Expand Down Expand Up @@ -96,15 +111,3 @@ Return Type: `Bool`

Overwrites preset named 'presetName' with current UI layout.

------
> New in 19.0.0
### GetKeyframeMode()
Return Type: `keyframeMode`

Returns the currently set keyframe mode (int). Refer to section [Keyframe Mode information](../resolve_settings/KeyframeModeInformation.md) for details.

### SetKeyframeMode(keyframeMode)
Return Type: `Bool`

Returns True when 'keyframeMode'(enum) is successfully set. Refer to section [Keyframe Mode information](../resolve_settings/KeyframeModeInformation.md) below for details.
57 changes: 30 additions & 27 deletions docs/resolve_api/Timeline.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@

> New in 19.0.1
### GetTrackSubType(trackType, trackIndex)

Return Type: `string`

Returns an audio track's format.the return value is one of `{"mono", "stereo", "5.1", "5.1film", "7.1", "7.1film", "adaptive1", ... , "adaptive24"} `and matches the parameters 'subTrackType' and 'audioType' in [timeline.AddTrack](#addtracktracktype-subtracktype).

returns a blank string for non audio tracks

------
> New in 19.0.0
### GetNodeGraph()
Return Type: `Graph`

Returns the timeline's node [graph](./Graph.md) object.
### AnalyzeDolbyVision([timelineItems]=[], analysisType=NONE)
Return Type: `Bool`

Analyzes Dolby Vision on clips present on the timeline.

Returns True if analysis start is successful; False otherwise.

if [[timelineItems](./TimelineItem.md)] is empty, analysis performed on **all items**. Else, analysis performed on [[timelineItems](./TimelineItem.md)] only.

set `analysisType` to `resolve.DLB_BLEND_SHOTS` for blend setting

------
### AddMarker(frameId, color, name, note, duration, customData)
Return Type: `Bool`

Expand Down Expand Up @@ -309,31 +339,4 @@ Return Type: `Bool`
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.

------
> New in 19.0.0
### GetNodeGraph()
Return Type: `Graph`

Returns the timeline's node [graph](./Graph.md) object.
### AnalyzeDolbyVision([timelineItems]=[], analysisType=NONE)
Return Type: `Bool`

Analyzes Dolby Vision on clips present on the timeline.

Returns True if analysis start is successful; False otherwise.

if [[timelineItems](./TimelineItem.md)] is empty, analysis performed on **all items**. Else, analysis performed on [[timelineItems](./TimelineItem.md)] only.

set `analysisType` to `resolve.DLB_BLEND_SHOTS` for blend setting

------
> New in 19.0.1
### GetTrackSubType(trackType, trackIndex)

Return Type: `string`

Returns an audio track's format.the return value is one of `{"mono", "stereo", "5.1", "5.1film", "7.1", "7.1film", "adaptive1", ... , "adaptive24"} `and matches the parameters 'subTrackType' and 'audioType' in [timeline.AddTrack](#addtracktracktype-subtracktype).

returns a blank string for non audio tracks
Loading

0 comments on commit 2451cc4

Please sign in to comment.