setting duration or start/end for timeline item

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

tin921

  • Posts: 6
  • Joined: Tue Mar 31, 2020 11:43 pm
  • Real Name: tin lam

setting duration or start/end for timeline item

PostTue Mar 31, 2020 11:52 pm

is it possible to change the duration of an media item on a timeline?

i know there is a TimelineItem:GetDuration(), but there is not a TimelineItem:SetDuration() ?

i know there is a MediaPool:AppendToTimeline(clip), but nothing like MediaPool:AppendToTimeline(clip, duration) ?

or the create timeline from xml import, can i have duration in the xml? is there any sample?

i am looking to overlay a bunch of slide[##].png on a video in order. i want to just manually set markers, then fill another video track with the PNGs of different durations based on those markers. is it possible to do it with scripting?

please help, thank you!
Offline
User avatar

antoine

  • Posts: 508
  • Joined: Sat Nov 24, 2018 2:20 am
  • Real Name: Antoine Dornstetter

Re: setting duration or start/end for timeline item

PostWed Apr 15, 2020 12:18 pm

Hi,

I'm wondering the same.

Also, how do you insert the clip wherever you want in the timeline (start, end, in, out, playbackSpeed) and on the video tracks and audio tracks you want ? (AppendToTimeline() doesn't have this kind of arguments)
BRAW Studio FREE and Premium importer plugins for Adobe Premiere Pro and After Effects, with a brand new Desktop .BRAW Player and Color Grader, as well as an automatic White Balance Color Picker tool

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], david.given, Dustin Bowser, Google [Bot], Johannes Jonsson, pauliesheehy, Richard Dean, Stephen Swaney, Zanshin and 359 guests