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

Forensic Log in Premiere Pro

$
0
0

I was sent here through customer service because i had an inquiry about some functionality that i though was built into Premiere Pro. The line of video editing that i do requires a strict log of all changes done to the footage and needs to be exportable in some sort of format. If there is anything out there i would really appreciate it if someone could point me in the right direction.


Create Premiere project programmatically

$
0
0

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.

Node Enabled by Default in 2017.1?

$
0
0

We've begun to take advantage of the Node integration in a Premiere Pro Panel. Based on the documentation, it seems as though CEP 7 supports the following two flags for the CEFCommandLine:

 

  1. --enable-nodejs - According to the documentation, this is disabled by default.
    • [Side Note: the CEP Cookbook PDF contains this Adobe-internal link for "Customize CEF Command Line Parameters".]
  2. --mixed-context - According to the documentation, this is disabled by default.

 

Before attempting to use any Node APIs, I enabled both of those in the manifest.xml for our panel and restarted Premiere Pro (2017.1). Everything worked great.

 

The documentation does not specify if the above two flags are interdependent or not. To test, I decided to remove both flags to ensure that I would get an "undefined" or some other error in our console output. Instead, I was surprised to find that the APIs worked without issue! It appears as though I'm currently able to use the Node integration without specifying any special CEFCommandLine flags!

 

What am I missing here?

Parameter types for Track.insertClip and Track.overwriteClip?

$
0
0

What are the parameters for the Track.insertClip and Track.overwriteClip functions? Specifically I'm interested in understanding what parameters are allowed, what parameters are optional, parameter types, and the return value, if any, of the functions.

 

Here's what I've been able to glean [in TypeScript format] from the Premiere.jsx examples:

 

// insertClip's second parameter can be either a number or a string.

insertClip(clipToInsert: ProjectItem, timeInSeconds: number): void;

insertClip(clipToInsert: ProjectItem, time: string): void;

 

// overwriteClip only has a single example (using a number for the

//  time).Does it also accept a string?

overwriteClip(clipToWrite: ProjectItem, time: number): void;

 

The stuff I'm unsure of is colored red.

 

Further, any documentation about what the APIs actually do would be very useful. For instance, if the time specified for overwriteClip is in the middle of another clip on the Track, does the entire clip get erased and the current clip inserted at the specified location, or is the existing clip get truncated at the point specified before insertion?

 

Thanks!

AWS S3: Download media file get corrupted

$
0
0

Hi All,

 

I am trying to download media file (image or video) from AWS S3 using nodejsaws-sdk module. The file is downloaded but I couldn't open as it looks corrupted. Also noted that file size is not same as source file. Refer below code:

 

 

var AWS = require('aws-sdk');

var options = {
accessKeyId: "XXX",
secretAccessKey: "XXX"
};
var s3 = new AWS.S3(options);

var bucketName = 'test-bucket';
var keyName = 'test.jpg';
var params = {Bucket: bucketName, Key: keyName};

var fsModule = "fs";
var fs = require(fsModule);

// This requires when running this code in panel
AWS.util.stream = require('stream');

var writeStream = fs.createWriteStream('D:/test.jpg');
var readStream = s3.getObject(params).createReadStream();

readStream.pipe(writeStream);

 

I have added aws-sdk node module in my extension folder.

 

Note:
(1) I can download and open txt file without any issue
(2) If I run this code outside panel context (run in local nodejs server) it works for all type of files including text and media!!

 

 


Premiere Pro version: 9.0.0
Extension Type: Panel

 


Thanks & Regards,
Meet Tank

How to check given path isFile or isDirectory in jsx?

$
0
0

Hello,

 

I want to check that given path is File or Directory in a jsx.

 

The 'isFileExist' function only check that path is exist or not in the file system.

I want to check it is 'folder' or 'file'

 

For example,

          path = 'd:/folder1' then isFile method should return 'false'

          path = 'd:/folder1/1.epr' then isFile method should return 'true'

 

How can I do that? I am using below code.

isFileExist : function(path) {    var file = new File(path);  return file.exists;
}




isFile : function(path) {
         //How can I check that path is 'file' or 'directory'?         
}

 

Premiere Pro version 11.0

Transition Items

$
0
0

Hi Bruce Bullis,

 

thanks for adding some more granularity to transition items. And yet... my humble opinion is using the local language for the name is not a good choice. I suggest this be modified to either remain in english, or better, use a UUID, or use the SMPTE code if the transition is also one standardized by SMPTE (which many of the standard ones are) as an ID.

Also, these improvements have not (yet) found their way into the FCP XML export, this one is still exported as a cross dissolve no matter what the actual transition is.

 

Thoughts?

 

Best regards,

Erik

Exporting from Adobe Premiere using extendscript

$
0
0

Hi!

 

I'm trying to figure out how the exportTimeline() function works.  So far, I have managed to import files and add them to a sequence.  Now I want to export the sequence as a Quicktime movie.  Eventually, I want to be able to set start and end points for an export (i.e. export a work area, export a clip from the timeline, etc.).

 

I did try to use the function by passing in a path to a file name:

 

exportTimeline("somepath.mov")

 

I didn't get an error message, which is good.  I got a 'result:7' (not sure what that means).  I did not see any new files exported to the path though.

 

Thanks!


Premiere Markers export and import: Roundtrip via FCP XML not working

$
0
0

The objective of my project is to create a sports app that records markers and saves it in different formats of XML / CSV that I can then import in different NLE packages.

I have already succeeded with Vegas Pro but also want to support NLEs for MAC-OS.

 

In order to approach this analytically I have exported a very simple project with 1 sequence including 1 clip and 3 markers (with length zero and length > 0) and exported it
in FCP XML from Adobe Premiere CC and do a round-trip import it via FCP import into Adobe Premiere CC.

 

This round-trip does not work. Any insight why or any support what other mechanism will work?

 

Thanks


Thomas

ExtendScripts JSON object is suddenly undefined?

$
0
0

I've been passing data pretty fluently back and forth between a custom HTML5 panel and ExtendScript, making use of JSON.stringify

 

All of a sudden, today the JSON object is coming up as undefined in the ExtendScript context.

I know it has worked, and now it doesn't.  Why on earth?!

Extendscript reference for Premiere Pro CC 2014

$
0
0

Hi,

 

I am trying to develop an extension for Premiere Pro CC 2014 using CEF & CEP and am having trouble finding information about the available APIs in Extendscript.

While I have with some trial and error been able to find some objects and methods using the ExtendScript Toolkit Data Browser, I can't see what arguments the methods accept so I don't know how to call them.

 

Is there any reference or documentation available the Extendscript API for Premiere Pro CC 2014?

 

In particular, I am looking for any documentation for the render- and export- methods of the sequence object, as well as any information accessing presets.

 

Regards,

PP capture plugin build

$
0
0

Hello,

 

I have a need to build a capture window, using Premiere Pro, to pull in H.264 RTSP streams from several sources at once. Some are IP cameras, some are SDI converters to H.264 (i.e. Teradek). I have attempted this with FFMPEG processes but we think the FFMPEGS are possibly failing out on bad frames.

 

Has anyone any knowledge of doing this or has a means to do this? It is a medical suite recording application. We stream H.264 to iPads.

 

Thanks

Ivan

 

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]

[Moved from regular Premiere Pro to programming SDK forum... Mod]

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

How to differ between conforming call and random-access audio calls ?

$
0
0

Hello,

In our importer plugin, when getting an imImportAudio7 selector to return an audio buffer, we need to know if that call is for confirming the audio or a random-access retrieving. Is there a way to differ between the two ?

 

Thanks,

Oran Gilad

XTRMX R&D Leader

Running a .jsx in Premiere outside of ExtendScript

$
0
0

Has anyone figured out a way to run a script in Premiere outside of Extendscript?

 

I am trying to tie the file to a Keyboard Maestro or Applescript shortcut and it wont go through. I'm sure this is because Extendscript has its own processes to get it to link, but I'm wondering if anyone has developed a workaround?

 

If I figured out how to set up an HTML panel extension in premiere would a button even be able to run these scripts without extendscript?


Can you build premiere pro plugins using the After Effects SDK?

$
0
0

I come from the background of using Motion and Final Cut Pro.  I am one of the few programmers who uses the FxPlug API which is used to make Motion and Final cut Pro Plugins.  I am expanding into trying to create plugins for premiere pro.  I am confused by After Effects and Premiere Pro having two different SDKs.  After Effects seems to have some structure to it with a parameter setup and methods for rendering while Premiere Pro seems to have very little structure to it.  I noticed that I can open .plugins created with the After Effects SDK both inside After Effects and Premiere Pro while I have had trouble getting any of the Premiere Pro .bundle's to work correctly at all.  What is the difference in making a .bundle vs a .plugin when .plugins seem to work in both?

 

I am on a Mac and using Xcode and anytime I try to debug any of the example projects that came with the Premiere Pro SDK I have this error. "This file path does not exist on disk at this location.  /Applications/Adobe Premiere Pro CC 2017/Adobe Premiere Pro CC 2017.app/Contents/MacOS/Adobe Premiere Pro CC 2017 - NSDocumentRevisonsDebugMode YES".

 

I cant even get one of the example projects off the ground to mess with one for debugging and testing purposes.  What are the benefits of using one SDK over the other?

 

My last question relates to effects and project media files.  Do you need to insert media into the project every time or can I have media built into an effect kind of like a Generator in Final Cut Pro.  In Final Cut Pro you can have media cooked into an effect and media is not needed in the project or the timeline to accomplish this.  It seems like effects only offer presets that are just a difference in parameters but do not have any media built into them.  Is it possible to have media inside of an effect in either Premiere Pro SDK or After Effect SDK?

Importing images as a sequence in Adobe Premiere Pro using extendscript

$
0
0

So I've been looking around and trying to find a way of importing image sequences in Adobe Premiere Pro using extendscript.

I can import separate single files using: app.project.importFiles(new Folder(folder_path));

But I can't give an option of importing these images as a sequence.

I tried using opts = new ImportOptions(new File("path_to_image")); opts.sequence = true; and calling this within app.project.importFiles(opts) but Premiere doesn't seem to support ImportOptions, I keep getting an error stating "Import Options does not have a constructor"....

I'm assuming Premiere Pro doesn't support ImportOptions?

Is there any other way of importing an image sequence using app.project.importFiles?

Thanks!

Can you do that with the SDK?

$
0
0

I have a question concerning the SDK. In a project, we want to automate some Editing-Functions and the "Premiere_SDK_Guide.pdf" leaves some questions:

 

1) Is it possible to write a plugin, that read pathes from ressources (for example Images and Audio from an XML-file) and put these at specific places on the timeline?

2) With video- and audio-transitions?

 

Even if the above is not possible, than can you automatically:

3) Set Chapter-Markers?

4) Export to Encore or directly as a DVD?

 

Thanks in advance,

Hans

AE fails to load PRM plugin

$
0
0

I build an Exporter plugin for Premiere as a dot PRM file.  Zal Lam says I need to put it into C:\Program Files\Adobe\Common\Plug-ins\CS5.5\MediaCore folder so the render will be seen in the queue and access MediaCore libraries. 

 

After Effects is trying to load my Premiere Exporter plug-in and giving a failed to load warning. 

 

How do I make my Premiere plug-in only be seen by Premiere and not also by After Effects?

Creating UI inside transmitterPlugin.cpp

$
0
0

Hi, I had two questions regarding transmitterPLugin. I am trying to create a plugin that would transmit data from premier pro source monitor on to a external hardware device.

transmit_UI.PNG

1) I can use the MessageBox to create a normal window from the above code, but how do I create a UI like premier pro has inside the above function ? Is there any documentation on how to create UI using C++ ?

   Or do I need a create a Javascript UI file which is used by the C++ plugin when it loads ?

 

2) The SDK documentation mentions this :

    transmit_other.PNG

Clicking on the Transmit Invocation Suite does not give any useful information. I also checked out an earlier post on this https://forums.adobe.com/thread/1179336

Could Adobe please explain on how can I get the Transmit invocation suite to work. For example ,assume I should create a video filter which if the user adds to the clip, it should

send the entire timeline to the external hardware, how do I use the SDK example files in order to achieve this ? Should I export a Video_filer plugin and a Transmitter plugin or should

I add the source code from both these into one ? It would be helpful to understand this workflow since there are no examples related to this in the SDK.

 

Thanks

Viewing all 53010 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>