• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Create Premiere project programmatically

Community Beginner ,
Apr 29, 2016 Apr 29, 2016

Copy link to clipboard

Copied

Hi,

In order to better integrate my app with Adobe Premiere, I would like the ability to create a Premiere project and populate it with certain clips.

Sony Vegas, for example, allows to pass by command line a script, which can do everything I need. However, I can't think of a way to do this with Premiere.

I think I could have an empty project to copy it whenever I need, and then have the user load the required clips through a Panel action, but I would prefer to do it in one step.

Is this possible at all?

I don't think the "Importer API" is really related, but I'm checking it just in case.

Best regards.

TOPICS
SDK

Views

3.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Apr 29, 2016 Apr 29, 2016

PPro's ExtendScript API (used by panels) allows for creating projects, importing media as well as AAFs and FCP XML for sequences.

Several broadcasters use panels to provide managed workflows; the editor logs in, sees a work list, clicks a "New Episode of XYZShow" button, and gets a new project*, containing sequences with correct settings, as well as multiple open Media Browsers pointing to "Last Week's XYZShow" and "Station ID Graphics", and such.

* The panel creates that new project by copying

...

Votes

Translate

Translate
Adobe Employee ,
Apr 29, 2016 Apr 29, 2016

Copy link to clipboard

Copied

PPro's ExtendScript API (used by panels) allows for creating projects, importing media as well as AAFs and FCP XML for sequences.

Several broadcasters use panels to provide managed workflows; the editor logs in, sees a work list, clicks a "New Episode of XYZShow" button, and gets a new project*, containing sequences with correct settings, as well as multiple open Media Browsers pointing to "Last Week's XYZShow" and "Station ID Graphics", and such.

* The panel creates that new project by copying an existing .prproj, containing All The Right Stuff™ as detailed above, from a template project library on shared storage.

See PProPanel to get an idea what's possible; here's how to set up a panel dev system.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 11, 2024 Jan 11, 2024

Copy link to clipboard

Copied

Interesting stuff! What I am looking into is bulk edit a project template and automatically export the videos.
For example, when someone places files into a folder, PrPro (scripting) picks up that and replaces the files or text in appropriate places and exports the video. Can this be achieved through scripting?

I am new to scripting so do you know any good video tutorials that explain this ExtendScript automation process?
Also, will ExtendScript Toolkit listed on CC app (after toggling 'Show older apps option) work fine with 2024 version? Was it updated recently?

Please let me know.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 03, 2016 May 03, 2016

Copy link to clipboard

Copied

Thank you, that's great!

Ideally I would like to create a project from an external application. Is there any way to run Premiere and make it automatically launch a Panel, or something like that?

Best regards!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 03, 2016 May 03, 2016

Copy link to clipboard

Copied

A panel can be automatically opened, at PPro launch.

See this sample: CEP_HTML_Invisible_Extension

I'd recommend starting from a library of pre-made .prproj files, choosing among them based on options the user chooses, in your panel.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 10, 2016 May 10, 2016

Copy link to clipboard

Copied

Thank you very much, Bruce.

I have downloaded the Invisible Extension panel, and it seems to work. I have replaced all the code from the onload event to just show an alert.

However, something unexpected happens. In the manifest, the Panel is set to start on the "com.adobe.csxs.events.ApplicationActivate" event, but it doesn't start until Premiere loses focus and gets it again, as if it wasn't getting an ApplicationActivate on launch.

So, in short:

1) if I run Premiere and wait, nothing happens.

2) If I minimize Premiere and restore it, the Panel runs.

3) If I minimize Premiere and restore it once more, nothing happens.

Is this a bug or is there some workaround?

I'm running Windows 7, in case that matters.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 15, 2024 Jan 15, 2024

Copy link to clipboard

Copied

LATEST
 

 

See this sample: CEP_HTML_Invisible_Extension

 

quote

This link does not longer work

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines