Quantcast
Channel: Adobe Community : Popular Discussions - Premiere Pro SDK
Viewing all 53010 articles
Browse latest View live

Premiere Pro importer plugin loaded successfully but file still not supported?

$
0
0

Dear all, I am new to Adobe Premiere Pro plugin development and I developed a custom file importer plugin for Premiere Pro CC recently. But in some of my client machines the plugin can be loaded successfully by Premiere Pro according to the log file as following:

 

Loading C:\Program Files\Adobe\Common\Plug-ins\7.0\MediaCore\CustomImporter.prm

The registry tells us not to cache so the plugin will be loaded from disk.

Loading from disk...

This plugin was recognized by loader ba1058cd-0007-44e4-bf1a-0ef51307b979.

 

Curiously, when I try to import custom file into Premiere Pro, it warns that the file is not supported by Premiere Pro. But in my development machine it works like charming. I can't figure it out why did that happen? I developed this plugin in Windows 10 with Visual Studio 2015, and I tested the plugin in Premiere Pro 2019. The plugin SDK is also updated. Does anyone has the same issue? It would be very nice to give some advice...

 

Thank you very much.


Premiere Pro Programming language

$
0
0

Hello!

 

What is the programming language Adobe used to develop Premiere Pro and where can I find information about how they developed it?

Importing Markers

$
0
0

I'm currently trying to import markers in a Premiere plugin.

I'm using a Premiere Import plugin and an After Effects Effect plugin.

The AEGP_MarkerSuite2 offers a NewMarker API, but it seems that it's not available in Premiere.

The PrSDKMarkerSuite available in Premiere doesn't look to offer any way to create markers.

 

What's the most straight forward way to import a bunch of markers into Premiere from a plugin?

 

Thanks

Extendscript in Premiere CC 2019 try catch not working

$
0
0

I am having a problem with using a try/catch statement in Extendscript for Premiere CC 2019. The call

app.getProjectViewIDs() 

used to return undefined if there were no open project IDs, but now in CC 2019 it throws an exception, which I can't catch.

 

With the below code, I still get an alert saying unhandled exception. How do I handle this exception? For a reference I have only opened a blank, default project, and haven't loaded anything at this point.

 

try {

     return app.getProjectViewIDs();

} catch (e) {

     return null;

}

 

How to know the extension of an EPR preset

$
0
0

WE have the integrator put only the presets they want the user to user for our Export Controller plug-in. They copy the presets from the Premiere MediaIO/statempresets/ folder.

 

When we get the EPR file it does not tell me what the file extension should be.

 

How do I determine the extension for the file to be saved in my Export Controller from the EPR preset file?

Premiere Pro Scripting Guide - Omission Error

$
0
0

Hi All,

 

I am reviewing documentation for project.importFiles and I noticed that the Parameters field on page 17 of the current Premiere Pro Scripting Guide is not accurate. It seems to be the parameters field from the previous method in the list, openSequence().

 

I noticed this error in the documentation while troubleshooting "Bad arguement importFiles", my arguements are a file path string, true, false, and a ProjectItem which is the bin.

 

Please let me know if you can provide accurate documentation or any assistance with this issue.


Thanks,

 

 

John Pooley

Scripting in adobe premiere

$
0
0

All the steps below should be done through scripts

 

Script should be able to 

  1. Import a powerpoint template/slides (10 slides)
  2. Convert that slides to the videos
  3. Delete the section of video/slide. (suppose slide no. 5)
  4. Insert a separate a slide/video in between  (suppose insert a new slide in between 6 & 7)
  5. Insert a image/logo in a slide
  6. Text in the slides can be dynamic (like a variables which holds certain values)

 

------------------------------------------------------------------------------------------ ----------------------------------------------------------------------------

I'll have directory with the list of 100 images and contents(title, body, address to insert in the video). Like array with length 100

 

So, I'll create 100 videos. Mine process seems to be like (for which i want to create a script)

 

Import template from directory, Read the first index or data from contents(spreadsheets) and images, append the data/images into the template(.ppt) dynamically, create a video for that element/index, save it to the output directory. Repeat the loop until the last of content.

 

I'm on research, Is it possible, If yes then

 

  1. How can i get started
  2. What steps should i need to follow up

 

I am a JS developer.

Any help is much appreciated.

How to load a local JSON using JavaScript CEP API

$
0
0

Hi,

 

I'm desperatly trying to load a local JSON file using CEP API.

 

My current code is like :

 

file = cep.fs.readFile('path/to/file.json');

console.log(file);

 

And it gives me an unusable object instead of printing the json.

 

What am I doing wrong ?

Thanks for helping !


how to open a project of premiere pro in premiere pro extend script?

$
0
0

Hi i am making a script to read a folder that contains all the files of premiere pro and open it. Does anyone know how? It would really be great if you can help me. Thank you.

Changes to the loading of external DLLs, by Premiere Pro and After Effects plug-ins

$
0
0

Some changes have been implemented in the upcoming versions of Premiere Pro and After Effects which may affect how your tools interact with the application.

 

What's Changing:

Plugin DLLs are no longer loaded from Working Directory and SearchPath will no longer locate DLLs in the Working Directory.

What Isn't Changing:

 

The Working Directory is still typically set to the application directory and the application directory is always searched for DLLs first.

What This May Affect:

  • Plugin Loading
  • Cases when a user double-clicks a file to launch Premiere Pro or After Effects
  • Cases when an application (render manager) or extension launches Premiere Pro or After Effects

 

If you would like to test your plug-ins in pre-release builds of Premiere Pro or After Effects, contact me directly.

 

Thank you for testing, and thank you for developing plug-ins for our products!

 

-bbb

Duplicate clip

$
0
0

Hello,

 

I don't know how to duplicate clip in one sequence (of 2) which composed of several videotrack.

 

I have this script :

 

var first = app.project.rootItem.children[0];

first.setStartTime(20);

first.setInPoint(30);

first.setOutPoint(45);

var seq = app.project.activeSequence;

var vTrack1 = seq.videoTracks[1];

vTrack1.insertClip(first, '00;00;08;00');

 

 

This code will duplicate the clip 1 (children[0]) of the sequence 0 (rootTtem) on the sequence 1.

 

However, I would like to duplicate the clip 1 of the sequence 1 on the sequence 1.

 

I do not think I can use rootItem. I tried everything and do not know what to do

 

Do you know anything about that to destress me ?

 

Thank you

Custom User Preferences

$
0
0

Hello friends.

 

 

I am trying to find documentation on how to save Custom User Preferences in PPro.

I usually create Scripts for AE and it can save Custom Settings for storing variables, or any type of string that can be used after the first script installation, using the function:

 

 

app.settings.saveSetting (sectionName, keyName, value)

 

 

Is there any function of the PPro SDK that allows something like this?

 

 

Regards,

 

 

Rubens Nobre

Adobe Premiere Scripting Guide

$
0
0

Hello, I have to write some scripts for Premiere. It will import, cut and set rendering. I can do it in after effects, because there is Adobe After Effects Scripting Guide for CS6.pdf , but I cant find anything similar for Premiere But scripting in premiere is possible. I can find some commands in Data Browser in ExtendScript Toolkit editor, but I dont know how can I use it. (Import, edit etc.) Is for Premiere any scripting manual ? If not, why? Scripting in Premiere is not official supported? Thanks.

Multi-Frame Averaging Filter

$
0
0

I have a filter which requires a history of frames to compute the result (sort of like averaging). I've implemented it using C++ and now I would like to use Adobe Premiere as a frontend. Is this possible? As far as I can tell, filters must be single frame in, single frame out. Is it possible to implement a more stateful filter?

Call OS commands via scripting

$
0
0

Is there a way to call OS commands via the Premiere scripting API?

 

Basically I would like to run a python script from within premiere, but I see no way to call a os command.

 

After Effects has the system.callSystem method, which could look something like this:

 

cmd = "from sb_pipeline import folderStructure; print folderStructure()"

// Call the python script.

var s = system.callSystem('python -c ' + '"' +  cmd + '"');

alert(s);

 

 

/Simon


how to add plugins from premiere pro sdk into adobe premiere pro

$
0
0

I have downloaded premiere pro sdk and want to get familiar with plugin development, so how do i use plugins from premiere pro sdk into premiere pro.

I don't know how to use those plugins in the premiere pro sdk.

I am using macBook pro(16GB RAM, 2.2 Ghz, intel core i7).

How to develop it using Xcode.

They have given a documentation on that but its poorly documented.

Renaming a clip selected in the project panel?

$
0
0

Hi, I'm new to coding in any form so forgive the simple question. i wanted to create an extension for Premiere/Prelude that would help me rename clips. I haven't had any trouble with the HTML/Javascript part of this, and I have loaded the extension intro Premiere, but I can't figure out how to actually interact with objects inside of Premiere.

 

I have built a panel where the user inputs some information, and it's reformatted into a string. When the user clicks a button, right now an alert pops up with the string. What I would like to happen, is that when the button is clicked:

  1. The currently selected clip in the project panel is renamed to the string generated by my extension panel.
  2. The next clip in the bin is selected.
  3. That clip is opened in the source monitor.

I feel like these should be relatively simple actions, but I cannot find any documentation on this at all. Several people have linked to PProPanel, but the only was scripts are renamed is by targeting the first item in a bin. There does not appear to be any way to rename a selected clip unless it is already in a timeline, which isn't particularly useful.

 

Thanks so much for your help!

Lock / Unlock audio or video track

$
0
0

I was surprised after searching the forum that this question hasn't already come up.

 

I checked the sample and reflections but could not find any methods that would allow me to lock or unlock specific tracks, much like the setMute() / isMuted() code in the sample.

 

Do we have this capability? Would be a huge help.

New to AdobeAPI, where can I find an API overview or help with custom importer

$
0
0

Hi Adobe team, and fellow developers,

 

I am an experienced C++, Python and Qt developer, and have recently been asked to setup some pipeline tools for an production.

 

I am trying to figure out where I can find some more information about the Premier API, as I have to code a custom import dialog, which will read from an csv file and then pull audio and clips, add them to tracks as specific time frames and resize the clips accordingly.

 

At the moment I have found the Premier CC 2017 SDK, but I am using the 2018 version.

 

Is there a CC 2018 SDK available? Will the examples work from 2017 SDK work in 2018?

 

I have not been able to find how one actually loads the compiled tool into Premier, Is there a document on installing custom tools anywhere?

 

Does Premier have its own GUI API for creating/hanling dialogs?

 

The tool I am developing will be written in C++ and is for in house use. Any and all help would be greatly appreciated

 

Thanks,

Simon

Is there an idiots guide to getting started with extendscript in PP?

$
0
0

I’ve done AE scripting in the past & know JS, any links to how to get started in PP?

 

Thanks

Viewing all 53010 articles
Browse latest View live