Set the Duration or End TC of a Clip via AP

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Lordfirespeed

  • Posts: 6
  • Joined: Tue Jun 07, 2022 12:32 pm
  • Real Name: Joe Clack

Set the Duration or End TC of a Clip via AP

PostMon Jun 20, 2022 7:34 pm

I've found that I can set clip Start Timecode with:
Code: Select all
clip.SetClipProperty("Start TC", "xx:yy:zz:aa")
However, this also pushes back the end TC by however much the start TC was changed, since the duration is unchanged. I've tried using the same syntax to try to edit the Duration or End TC of the clip:
Code: Select all
clip.SetClipProperty("Duration", "xx:yy:zz:aa")
clip.SetClipProperty("End TC", "xx:yy:zz:aa")

The API returns False for both of this, representing failure. Is there a way to set Clip End TC and/or Duration via the API?

Return to DaVinci Resolve

Who is online

Users browsing this forum: No registered users and 213 guests