- Posts: 20
- Joined: Fri Jun 07, 2019 8:09 pm
- Real Name: Jean-Philippe Allard
I'm trying to create a python script and need to access the new Speed Warp motion estimation in DR16.
I can access motion estimation through the Project object, but trying to set project.SetSetting('imageMotionEstimationMode', 'speedWarp') returns False, and don't change anything to the project settings.
Looking through the available keys of a clip in GetClipProperty() doesn't give me a usable key for that either.
I suspect I need to find how to set it at the TimelineItem level, since this is where we set it in the Resolve GUI, but the API docs don't give me any method to access what I normally find in the inspector window (Retime and scaling --> Motion Estimation --> Speed Warp)
Here's what I get when I call dir() on a sample TimeLineItem:
Any pointers to at least get me in the right direction to access this (must we say it?) awesome feature?
Thanks.
I can access motion estimation through the Project object, but trying to set project.SetSetting('imageMotionEstimationMode', 'speedWarp') returns False, and don't change anything to the project settings.
Looking through the available keys of a clip in GetClipProperty() doesn't give me a usable key for that either.
I suspect I need to find how to set it at the TimelineItem level, since this is where we set it in the Resolve GUI, but the API docs don't give me any method to access what I normally find in the inspector window (Retime and scaling --> Motion Estimation --> Speed Warp)
Here's what I get when I call dir() on a sample TimeLineItem:
['AddFlag', 'AddFusionComp', 'AddMarker', 'AddTake', 'AddVersion', 'ClearClipColor', 'ClearFlags', 'CopyGrades', 'DeleteFusionCompByName', 'DeleteMarkerAtFrame', 'DeleteMarkersByColor', 'DeleteTakeByIndex', 'DeleteVersionByName', 'ExportFusionComp', 'FinalizeTake', 'GetClipColor', 'GetDuration', 'GetEnd', 'GetFlags', 'GetFusionCompByIndex', 'GetFusionCompByName', 'GetFusionCompCount', 'GetFusionCompNames', 'GetLeftOffset', 'GetMarkers', 'GetMediaPoolItem', 'GetName', 'GetRightOffset', 'GetSelectedTakeIndex', 'GetStart', 'GetStereoConvergenceValues', 'GetStereoLeftFloatingWindowParams', 'GetStereoRightFloatingWindowParams', 'GetTakeByIndex', 'GetTakesCount', 'GetVersionNames', 'ImportFusionComp', 'LoadFusionCompByName', 'LoadVersionByName', 'Print', 'RenameFusionCompByName', 'RenameVersionByName', 'SelectTakeByIndex', 'SetCDL', 'SetClipColor', 'SetLUT']
Any pointers to at least get me in the right direction to access this (must we say it?) awesome feature?
Thanks.