qmasingarbe / pymiere

Python for Premiere pro
GNU General Public License v3.0
353 stars 46 forks source link

How to duplicate a ProjectItem? #34

Closed ghost closed 3 years ago

ghost commented 3 years ago

As title, thank you

qmasingarbe commented 3 years ago

Hi @iferencz Did you manage to find a solution that suits your needs ? Thanks

ghost commented 3 years ago

@qmasingarbe I didn't find it, but it can be used in after effects. It seems that Premiere does not support this method. https://ae-scripting.docsforadobe.dev/items/compitem/?highlight=duplicate#compitem-duplicate

qmasingarbe commented 3 years ago

Thank you for this information, I will have a look on how to have a similar outcome in Premiere when I get the time!

ghost commented 3 years ago

@qmasingarbe thanks!

qmasingarbe commented 2 years ago

Hi @ghost , I now have more time to look at issues on Pymiere. I was wondering what you wanted to do exactly. If you want to duplicate a sequence, you can use Sequence.clone() or pymiere.wrappers.clone_sequence(). If you want to actually duplicate a ProjectItem (don't know why?), depending on your use case you may be fine with creating subclips or completely reimporting the same media as a new ProjectItem.

Please let me know more about what you're trying to achieve...