1

I have a few animations that I need to do with some frequency, the steps are as follows:

  1. Generate the image from an external program from a template.
  2. Add the image to the second nest in a doubly-nested sequence.
  3. Determine how long the image should play and apply two animation (motion) presets I made, clamped to the in and out of the image. The animation presets are the same, but since they depend on the in and out I have to determine the length first. (Scaling messes up some of the intermediate keys).
  4. Add some audio at the beginning and end of the image (same audio, but clamped to the in and out).
  5. Add a matte image (same every time) to the first nest, and apply a track matte effect on the second nest referring to it (same every time).

The image is always of the same resolution.

This is very time consuming and I have to do it 5-10 times per video I make. Is there any way I can build some sort of macro that does this (except part 1, obviously)? Preferably it would automate as much as possible. Ideally, I could give it an image and a length parameter and it would generate the whole thing, but even automating just the nesting and track matte would save a lot of time.

Can I make a macro/preset that I can use across projects that does this? I don't have any experience with the Premiere API, but I have programming experience if this would be really straightforward by writing a plugin.

2 Answers 2

1

I'd try to export a sample project as XML and then let a script change the necessary parts of the XML project file.

1
  • I've done this with Final Cut Pro XML. A good text editor designed for working with XML is helpful (e.g. a programmer's text editor like Atom, sublime text, textWrangler or notepad++).
    – stib
    Aug 19, 2016 at 12:24
0

Unfortunately the Premiere API seems to be almost completely undocumented by Adobe, except for this pdf on Github I don't understand why. There's lots of info out there on scripting After Effects using the Extendscript Toolox (based on javascript), and a lot of it is similar for premiere.

However if you use the ExtendScript ToolBox's data browser you can see all the objects and methods there (you have to have Premiere running and choose Premiere from the drop-down in the top left as your target).

enter image description here

I'm still dipping my toe in the water as far as scripting premiere goes, so that's as far as I can help you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.