
- Posts: 389
- Joined: Tue Oct 14, 2014 11:53 pm
Would love an API call to replace / conform timeline items with a media pool item and retain all properties and effects of that timeline item. Basically the same function as right clicking a clip and choosing Conform Lock with Media Pool Clip. Something like ConformWithMediaPoolItem([MediaPoolItem]) on a timeline item could work.
Currently we only have two options to replace clips in the timeline via scripting:
1. Delete the timeline item, then AppendToTimeline a new media pool item with matching in and out points. This doesn't retain any properties or effects of the deleted clip and would be the same as manually deleting a clip and adding a new one from the media pool. There's also no way to access video effects, audio effects, or retime properties of a clip, so it's impossible to roll our own conform function.
or
2. A hacky solution is to add the media pool item as a take to the timeline item, select that take, then finalize the take. This retains some effects and properties, but doesn't work on retimed clips or audio clips.
Having this functionality would open up a lot more possibilities for tools and integrations for VFX and other workflows.
Currently we only have two options to replace clips in the timeline via scripting:
1. Delete the timeline item, then AppendToTimeline a new media pool item with matching in and out points. This doesn't retain any properties or effects of the deleted clip and would be the same as manually deleting a clip and adding a new one from the media pool. There's also no way to access video effects, audio effects, or retime properties of a clip, so it's impossible to roll our own conform function.
or
2. A hacky solution is to add the media pool item as a take to the timeline item, select that take, then finalize the take. This retains some effects and properties, but doesn't work on retimed clips or audio clips.
Having this functionality would open up a lot more possibilities for tools and integrations for VFX and other workflows.