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

Getting Display Name Of Clip In Sequence?

$
0
0

Does anyone know if there is a way to access the name of a clip in a specific sequence? I'm looking for the name that is displayed, not necessarily the projectItem name.

 

In Premiere you can right click on a clip in a sequence and rename the instance of that clip, but not have that actually rename the source item's name in the project.

I'm looking for a way to view the renamed clip's name (and potentially modify it)

 

I know I can get the source name of a clip with something like this:

app.project.activeSequence.videoTracks[0].clips[0].projectItem.name;

 

But that won't give me the renamed name.

 

Has anyone come across this before? Any help is appreciated!

Thanks!


exmancmd /install panel.zxp getting -411

$
0
0

Hi All,

 

When we try to install panel in a specific environment in all the systems we are getting -411 error, which denotes compatible app not found

We can still open the Premiere pro in the same machine.

We tried to install the panel for 2017.0.1 and 2017.0.2 both are not working in this specific environment with windows os.

 

On further checking we found

that when we try the /list all command its not showing all the products name in the command prompt

exmancmd /list all

0 extension installed for others

status     extension name version

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

 

but in other environments we get

 

0 extension installed for Photoshop cc 2017 64

status     extension name version

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

0 extension installed for Premiere Pro CC 2017

status     extension name version

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

 

 

Can someone give a solution for this

Thanks and Regards,

Anoop NR

Render Sequence In to Out

$
0
0

I am trying to use the following in a script.

I cant find anything about it, is it not possible?

Focus Panel with Keyboard?

$
0
0

Is it possible to set up Premiere Pro to be able to switch to a target Panel or Extension? There are two interactions we have in mind for this:

 

  1. [Registerable?] Keyboard Command to open or focus a panel/extension.
  2. OS keyboard commands to switch to floating window.

 

It's really annoying to keep having to use the mouse to switch to a specific extension panel.

 

What's more, with respect to #2 (on macOS, at least), it seems that it's possible to use the built-in window-switching keyboard shortcut [⌘`] (command tick) to switch from a floating panel to the main application, but not back to the floating panel! Once the main app has context, it appears to swallow the command entirely...

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

Authorized Javascript Origins for Google API

$
0
0

Hello,

 

I'm working on a Premiere Panel that will make a call on the Javascript side to the Google Sheets API. I'm using their quickstart guide as a template to get me started.

 

In order for the API to work, I need to whitelist "the origin URI of the client application," in other words, where will Google's API see that the request is coming from. For example, in the quickstart project, Google has you starting a server at http://localhost:8888 and that's what you enter into the API whitelist. At the moment, my panel is failing silently at the point when it should be setting up the Google API authorization and I think the issue is that I don't have the proper origin whitelisted. Does anyone know what the appropriate URI and port would be?

 

Thank you very much in advance.

cep_node context

$
0
0

Hi everyone,

I'm trying to get the basic PPRO Panel example work with the following addition:

Download a file and import into premiere's source monitor.

I'll be discussing the Download part of this task, as I'm failing with it.

I've see some discussions here and I've noticed that

require('http')

or

cep_node.require('http')

is being used.

As a new user of this product, I couldn't find a resource or documentation on where is that code can exists?

I've tried to include it in the .js file which is loaded first (ext.js in this example) but chrome debugger complains:

Uncaught ReferenceError: cep_node is not defined

What am I doing wrong?

 

Thanks!

 

EDIT:

Looks like the `<CEFCommandLine>` node in the manifest wasn't at its right place. 

I've just realized that maybe a validation of the manifest structure is something that would help investigate and save some time. 

If someone could direct me, I'll be happy to contribute.

How to export an EDL from a timeline using ExtendScript


3D modeler PremierePro

$
0
0

Hello,

 

I want to develop a plugin for PremierePro that will be a simple 3D modeler.

Is it already possible to manipulate and draw in/a 3D world in PremierePro?

Which sample plugin should i start developing it from?

 

thanks

How to implement motion blur which can adjust the quality in transition?

$
0
0

Hi, everyone.

I'd like to implement a motion blur which can adjust the quality in my transition.

Would you let me know if there is any good way?

 

Regards,

Anthonie.

How to enable NodeJs for HTML5 Panels

$
0
0

Hi All,

We are trying to implement downloading assets from url, in our Premiere pro Panel.

From the premiere pro sdk forum we came to know that by using NodeJs we can implement this feature(Downloading file with NodeJS in CEP extension )

Also we have gone through the github sample Nodejs.html (Samples/Nodejs.html at db6086245ee6b64466710056f60ca324fce12880 · Adobe-CEP/Samples · GitHub )

 

Here is the code and Panel screenshots:

function isNodeJSEnabled() {

  if (typeof(require) !== 'undefined') {

  $('#result').val("Node.js is enabled");

  } else {

  $('#result').val("Node.js is disabled");

  }

  }

Nodejs.PNG

 

But when we run the code from our panel, we are getting the message  "Node.js is disabled".

We have added the following values in manifest file

<CEFCommandLine>

  <Parameter>--enable-nodejs</Parameter>

  </CEFCommandLine>

Downloading file with NodeJS in CEP extensionBut still we get the same result. "Node.js is disabled"

We are testing the panel in Windows 7,Adobe Premiere pro CC 2015.2 (9.2.0(41))

 

What are the steps we need to take care in-order to enable NodeJs in our panel?

 

Thanks and Regards,

Anoop NR

Set focus to timeline after click in panel?

$
0
0

What's the correct way to set the focus to the timeline again when you click a button in your panel?

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?

Is it possible to add a clip to a sequence using ExtendScript?

$
0
0

My job consists of making videos that follow a very specific format:  add the interview clip, add the opener, lower third, outro music, copyright, make sure the audio levels are good, add a Dynamics preset, export.  Over and over and over again, day after day.  Growing weary of the daily grind, I looked rather extensively into the capabilities of Premiere scripting via ExtendScript.  I was excited to hear that CC 2014 had expanded on its scripting capabilities, so I dove in and found out what it was capable of doing, not letting myself be deterred by the lack of documentation.

 

Here's what I discovered:  among many other things, you can programmatically create (and sometimes modify) bins, markers, and sequences, and import clips into the project.  But you can't actually put those clips into a sequence.  Indeed, every Google search led me to the same point:  you can do quite a bit with scripting, but you can't do that.  That's where everyone gets stuck, and no one has an answer.

 

Is it just... not possible?  If not, why come so close and yet so far with scripting?  Will this be added in the future?  I'm far from the only person on the interwebs who would absolutely love this ability.

 

Thanks!

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,


Premiere Pro Script execution without ExtendScript Toolkit confirmation

$
0
0

Hi everyone,

I'm creating a video browser OSX app, that will import files to opened project, open and play it in the source viewer in Premiere Pro.

The app creates a JSX file with:

 

"#target premierepro";

app.enableQE();

var result=qe.project.importFiles(argv);

var num=qe.project.numItems;

var proje=qe.project.getItemAt(num-1);

proje.openInSource();

qe.source.player.play();

 

It works correctly in ESTK, but if I open it inside my app, calling:

NSWorkspace *workspace = [NSWorkspacesharedWorkspace];

[workspace openFile:jsxFilePath];

//This exactly the same than opening it in Finder via double-clicking it

 

It shows me this confirmation dialog (sorry for the Spanish localization)

Captura de pantalla 2015-02-06 a la(s) 12.22.45.png

If I press 'Si(Yes)', the script is executed correctly inside Adode Premiere, if I press 'No', then ESTK opens in Debug mode. This is the same behavior if I open the jsx file in the Finder.

 

Then, how can I avoid this dialog every time the app runs a script?

 

Thanks a lot,

Regards,

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

Encoded out put file from Media encoder shows "Media offline"

$
0
0

Hi All,

 

We have been using the app.encoder.encoder sequence  function to encode the sequences from our panel.

But in the cc 2017 the media encoding is not happening properly if there is video and audio in the file..

If there is only video the file is encoding properly.

Here is the code snippet we are using,

 

           app.encoder.launchEncoder();

            app.encoder.bind('onEncoderJobComplete', $._ext_Premiere.onEncoderJobComplete);

            var jobID = app.encoder.encodeSequence(app.project.activeSequence,full_path_to_file,full_path_to_pres et,app.encoder.ENCODE_ENTIRE,1);

            app.encoder.startBatch();

 

Is there any new changes needs to be done to handle the sequence encoding in Pre pro 2017?

Here is the screenshot of video only and video+audio sequence export..

 

Video+audio.png

 

Video only.png

 

Thanks and Regards,

Anoop NR

How to modify a clip's start, inPoint or duration ?

$
0
0

Hi,

I can get any sequence's clip start (offset on track), inPoint (its offset from the source origin) or duration on track - either by using ExtendScript or a C++ plugin.

But I can't find a way to modify these properties. Is there any such way using either ExtendScript or the C++ SDK ?

HDR video export...

$
0
0

How do I get Premiere to give me high range pixels out of ->RenderVideoFrame() ?  I have selected the PrPixelFormat_BGRA_4444_32f pixel format, so I assumed I would get pixels with values above 1.0f (using some high color depth Red files).  Is there another flag I need somewhere?

 

Thanks!

Viewing all 53010 articles
Browse latest View live


Latest Images

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