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

Premiere SDK Development ?

Community Beginner ,
Sep 30, 2019 Sep 30, 2019

Hi,

I am using the Premiere Pro CC 2019,

and I want to create a plugin in the File - Export list, for export my special personal format file.

 

I tried to read the SDK guide and also find the solution on google or youtube, but i still can not find the using way of the SDK to make this, I tried to build the sdk example file to find some way but failed. My computer tell me i dont have cuda (But i am using MacBook Pro), or my .prm file is not a valid 32 file (on another computer of Windows x64)……

 

I am very confused that what I should do now, if someone can provide me a video clip to know how to develop the export tool? Or if someone can tell me what should i do in a right way? 

 

THANK YOU!!!!!

TUT……

TOPICS
Export , SDK
4.0K
Translate
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

Community Beginner , Oct 01, 2019 Oct 01, 2019
Thanks for your help, and i have succefully build the example SDK_export_controller's project and saw the plugin in the Premiere.
Translate
Adobe Employee ,
Sep 30, 2019 Sep 30, 2019

Start from the SDK_Exporter sample project, and modify it to support your file format instead. 

> I tried to build the sdk example file to find some way but failed.

We'd be happy to help, if you can provide a lot more specifics about each failure...?

Translate
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 ,
Oct 01, 2019 Oct 01, 2019
Thanks for your help, and i have succefully build the example SDK_export_controller's project and saw the plugin in the Premiere.
Translate
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 ,
Oct 01, 2019 Oct 01, 2019
But I still have some question, i want to export a file looks like xml, how can i create a new export UI window? and how can i read the timeline's xml, which i can rewrite my personally file format change from the timelime's xml
Translate
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 ,
Oct 01, 2019 Oct 01, 2019

You can do that using PPro's ExtendScript API. 

Here's a link to the PProPanel sample, which exports an FCP XML for the current sequence.

Translate
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 ,
Oct 01, 2019 Oct 01, 2019
I tried to download the ExtendScript Toolkit, but the web show that page is unavailable. How can i get it in another way or if some other way to instead it?
Translate
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 ,
Oct 01, 2019 Oct 01, 2019
It's available through the Creative Cloud Desktop app; in the preferences, you have to enable "Show older apps".
Translate
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 ,
Oct 02, 2019 Oct 02, 2019
yeah, i got it!! Can you help me that how can i run the ternimal shell in ExtendScript Toolkit? Thank you!
Translate
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 ,
Oct 02, 2019 Oct 02, 2019

In PPro, you cannot. However, CEP panels can invoke command lines; see CEP HTML Test Panel.

Translate
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 ,
Oct 02, 2019 Oct 02, 2019

I have a step code in python, and i want to call it in ESTK. If is there another way to call python build's exec file?

Translate
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 ,
Oct 02, 2019 Oct 02, 2019
LATEST

Again, not from within ExtendScript. CEP panels, from which most ExtendScript is executed, can invoke a command line.

Here's a snippet of JavaScript (not ExtendScript) panel code, that asks the user to pick a file, and then invokes a python script to operate on that file. 

function processMoGRT (){
    var csInterface = new CSInterface();
    var OSVersion = csInterface.getOSInformation();
    var filetypes = new Array();
    filetypes[0] = "mogrt"; 
    var result = window.cep.fs.showOpenDialog(false,false,"Select a .mogrt file", "~/Desktop",filetypes);

    var mogrtPath = result.data[0];

    var extPath = csInterface.getSystemPath(SystemPath.EXTENSION);

    var sep = "/";
    if (OSVersion.indexOf("Windows") > 0){
        sep = "\\\\"; 
    }
    var mogrtParentPath = mogrtPath.substring(0, mogrtPath.lastIndexOf(sep));
    var pyPath = extPath + sep + 'Foiltop.py';
    var processResult = window.cep.process.createProcess("usr/bin/python", pyPath, mogrtPath);

    if (OSVersion.indexOf("Windows") >=0){
        window.cep.process.createProcess("C:\\Windows\\explorer.exe", mogrtParentPath);
    } else {
        window.cep.process.createProcess("/usr/bin/open", mogrtParentPath);
    }
    var resultFileName = mogrtParentPath + sep + "Foiltop_results.txt";

    var resultFileContents = window.cep.fs.readFile(resultFileName);
    
    if (0 === result.err) {
        alert(resultFileContents.data);
    } else {
        alert("Failed to read results file.");
    }
Translate
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