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

[Adobe Premiere Pro] Installed Extensions not Showing in Adobe Premiere

$
0
0

[Adobe Premiere Pro] Installed Extensions not Showing in Adobe Premiere

 

Hi all,

 

Complete Adobe-Development noob here -- so apologies in advanced for any confusion on my part.

 

I have a requirement for work to update an extension that someone else (who is no longer available) created for Adobe Premiere Pro.

 

To the limit of my knowledge, it was hosted on Adobe Exchange and ceased to work due to new released Premiere Pro versions. I am tasked with updating the extension to make it compatible with the newest Premiere Pro release (and hopefully just all versions if possible). The extension is just essentially an iFrame redirect to our web application, housed in an Adobe Premiere Pro panel. I plan to just update the versions and submit a "Patch" on Adobe Exchange with the new ZXP Package.

 

Issue:

  1. I cannot see my "installed" extension in Adobe Premiere Pro when testing my ZXP changes -- the extension menu is grayed out / disabled.

 

Attempted Fix Process (learning to repackage the original ZXP file has been an epic journey):

  • I stripped the original ZXP package of the "mimetype" file and "META-INF" directory after learning those are generated after signing the package.

          ZXP Package Files.png

  • I edited the CSXS --> manifest.xml to provide (what I thought was) the minimum version supported (which I hoped would then just be compatible with all new versions)

               Manifest XML File - Updated.PNG

  • I signed the folder with ZXPSignCmd.exe -- this creates the new, signed ZXP file

 

  • I install the new ZXP package with ExManCmd.exe
    • Command: ExManCmd.exe /install com.MyExtension.zxp

 

  • I receive a successful extension installation result:

          Successful CMD Line Install of Extension.PNG

 

  • Unfortunately, I still do not see the installed extension (or any extensions) in Adobe Premiere Pro version: 11.1.2

          Adobe Premiere Pro - No Extension Showing.png

 

Question:

  1. Can anyone tell me what I'm missing or what I'm doing wrong? Ha I feel like I've exhausted all my options / internet-hunting / knowledge power here.

 

 

EDIT:

  • When installing the extension with ExManCmd.exe, the "com.MyExtension" extension folder is being placed in the following path:
    • C:\Program Files (x86)\Common Files\Adobe\CEP\extensions

Moving from CEP7 to CEP8 will require changes to Node.js usage

$
0
0

[Apologies for broad distribution.]

 

Hello, potential CEP panel developers!

 

Changes to CEP's Node.js handling are required, between CEP7 and CEP8; this will break existing Node.js usage, in CEP extensions.

 

We apologize in advance for the breaking change; we wouldn't make these changes if they weren't required to maintain Adobe's security standards.

 

Good news: While CEP8 applications are not yet available, we can provide a good understanding of the required changes, today.

 

Attached are a migration guide, and additional details about Node.js enablement in various JavaScript contexts; the information you'll need to make your existing panels compatible with forthcoming CEP8 hosts.

 

If you'd like to test your panels in CEP8 applications, either reach out to your product team contacts, or go here to apply for pre-release access to applications which rely upon CEP8: https://www.adobeprerelease.com

Getting Started in Premiere Pro Plugin Development?

$
0
0

Hello! I am a DSLR Video Producer & Photographer out of the PNW working with an employer that has the possibility of an improved workflow. If only I could develop a Premiere Pro Plugin to fit their needs. Alas, I am unable to find any viable beginner information on the matter. I've looked over the SDK documents, I've also looked on YouTube, Forums (including here) and have yet to find anything that will help me get from 0 to something rather than 0 to nothing. I don't even know how to begin to get started. I hope to make some videos myself on this matter due to my struggle, but I need to be helped before I can help others. I hope that I can be given some information to be put in the right direction. I am just clueless, even after everything I've looked at. I've seen everything from You can use any development program to develop with the SDK to You develop with HTML5, Javascript, and CSS or something close to the sort. Yet, no simple information for a beginner myself to just get started. Please, help??

 

What I'm trying to do: Basic automated animation for photos in Premiere (kind-of like a slideshow). I'm trying develop a custom plugin for Premiere Pro that takes out the handy work of setting: position and scale keyframe at position1, animate a basic movement with position and scale to position2 while keeping a person or persons face or faces as the focus. Possible detection of photo width/height for proper scale to cover monitor viewport. Possible anchor point movement/use to allow custom movement to pull/push towards the desired point in photo.

 

I love Adobe products and have been a CC subscriber for years. I am more than willing to clear anything up if needed. I hope to hear from anyone willing to help soon.

 

Thank you.

Marker Name and Comments not working in Premiere pro 2018

$
0
0

Hi All,

 

The Markers created from script is not able to assign the Name and Comments to the marker in Premiere pro 2018,

This is working fine in premiere pro 2017. Markers are created, but no name and comments

 

Here is the sample code from github

 

if (projectItem.type == ProjectItemType.CLIP ||

projectItem.type == ProjectItemType.FILE) {

markers = projectItem.getMarkers();

if (markers) {

var num_markers = markers.numMarkers;

var new_marker = markers.createMarker(1.345);

var guid = new_marker.guid; // new in 11.1

new_marker.name = 'Marker created by PProPanel.';

new_marker.comments = 'Here are some comments, inserted by PProPanel.';

new_marker.end = 2.6789;

}

}

 

Anyone else facing the same problem?

 

Thanks and Regards,

Anoop NR

Export a sequence to a file or to AME.

$
0
0

How to export a sequence to a file or to AME?

 

Not sure how .exportAsMediaDirect() works. Any example please?

How to know that the user executed the 'play' command ?

$
0
0

Hello,

We have an importer plugin (that streams media from a remote storage) and a PPro JS/JSX Panel (that browse that remote storage).

 

We need to know as soon as the user invoked the play command (clicked the play button, or the shortcut key, or whatever) even before the PPro started the actual playback, so we can start streaming ASAP and fill the playback cache properly (to avoid drop frames during playback).

 

Today, we can tell that the PPro started playing using our other (transmitter) plugin, when the StartPlaybackClock method is invoked. But that is "too late" - this few hundreds of milliseconds would have helped us to avoid drops. (Likewise, If there was such event on the JSX layer, it would have been helpful too - we could find a quick way to transmit the info down to the C++-importer-plugin. Currently we found only a way to observe the playback-state by polling).

 

Thanks,

Oran Gilad

XTRMX R&D Leader

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?

SDK_ProcAmp_GPU: documentation or example to interact with CUDA

$
0
0

Hi- I see the SDK_ProcAmpGPU example uses OpenCL and casts the memory info as cl_mem for GPU processing:

 

  void* frameData = 0;

  mGPUDeviceSuite->GetGPUPPixData(*outFrame, &frameData);

  cl_mem buffer = (cl_mem)frameData;

 

When using CUDA, what is the proper struct/class to cast the frameData for use with CUDA?

 

Thanks,

 

John


How to access the Premiere Pro clipboard?

$
0
0

I'm not sure if I need to use the SDK for this or not.

 

Basically, I want to be able to COPY many different items from Premiere, like presets, transitions, and clips... into the clipboard, one at a time, and then SAVE all of that clipboard information somewhere where it won't get overwritten when the next thing is copied onto the clipboard.

 

Then I'm going to program a system (probably using AutoHotKey) where any particular item can be recalled and placed back into the active clipboard, then pasted straight into Premiere like normal.

 

This would allow me to use custom keyboard shortcuts to instantly apply any effect I want, any transition I want, and any group of clips that I want to the timeline... incredibly easily and flawlessly.

 

 

I've tried using autohotkey's clipboardAll() function, (Clipboard and ClipboardAll) but it doesn't work for items copied in Premiere... only for text and pictures and things like that. It looks to me like Premiere has its own special clipboard that it uses for more complicated things like copying effects or clips off of the timeline.

 

So again, my question is, how do I access the Premiere Pro clipboard? Where is that file located in Windows? I searched through all the Premiere AppData files and I didn't see anything that looked like clipboard information... I'm not even sure if that's the right place to look.

 

I downloaded the SDK, but I don't see any information about the clipboard in the included help file, so I don't know if the SDK would be useful for this.

 

I would be so, so grateful if anyone could help me with this. I'm a video editor, not a programmer, so this stuff is not very easy for me.

Premiere Pro Panel SDK: Function to exchange assets (Offline/Online)

$
0
0

Hello,

 

I'm trying to find out if the Premiere API is capable of exchanging project/sequence assets for an offline/online workflow.

 

Consider we have an asset management system available which manages all derivates (source, mezzanine and proxy) of a video asset (file name, path and additional metadata). Consider that the file name of an asset will be the same for all derivates.

 

As an editor I'll import video assets in a single derivate (e.g. mezzanine or proxy) into my Premiere project and sequence.

As a last step I like to online the source derivate to export my sequence timeline with the highest available video source quality.

 

Can I create a panel process to exchange the derivate type of all assets used in my Premiere project?

Can I create a panel process to exchange the derivate type of assets used in my current Premiere sequence?

 

E.g.

-> get a list of all clips in project/sequence with file paths

-> verify if clip is a managed asset and if so, which type of derivate

-> if higher quality is available: exchange clip derivate (replace file/filepath or delete&add/relink file)

 

Thanks,

Mirko

About the Adobe Extension SDK...

$
0
0

I am trying to add extensions to premiere pro.

 

However, I run the sample code ppropanel index.html, and I get the following error. (in CSInterface.js)

 

Uncaught TypeError: Cannot read property 'getHostEnvironment' of undefined at CSInterface.js:480

 

 

This happens when I run it directly in the browser, or when I create and deploy the zxp file.

 

What should I do? I need help.

 

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

[Moved from generic Suite forum to SDK forum... Mod]

Panel window height & width: Getting and setting the dimensions

$
0
0

Setting

In custom panels for Photoshop, Illustrator, and InDesign it's possible to dynamically set the panel window size with the following command:

window.__adobe_cep__.resizeContent(YourCustomWidth,YourCustomHeight);

Not so, it seems, for Premiere Pro, After Effects, and Audition.

 

 

Getting

window.innerWidth and window.innerHeight seem to work reliably in JS context for

After Effects, Audition, Photoshop, Illustrator, and InDesign, but not reliably for Premiere.  The innerHeight seems to get jammed at 800.

QtCore4.dll and QtGui4.dll

$
0
0

Hello,

 

I have a question about Qt dll's. We createad a plugin for CS4 and CS5 using Nokia Qt 4.7.1 framework. It works fine, but we have to distibute our plugin with two dll's: QtCore4.dll and QtGui4.dll. We cannot put them next to .prm plugin file, because Premiere Pro will not try to find these dll's there - they should be in the same folder as "Adobe Premiere Pro.exe".  With CS4, we didn't have any problems with that, but we are having trouble with CS5. CS5 already has QtCore4.dll and QtGui4.dll, but they are old versions.

Our questions are - why does CS5 use Qt, for what purposes, and is it ok if we overwrite these dll's with new ones? Also, when we update PP CS5, it looks like it overwrites Qt dll's with old versions again. Is there any way to avoid it? Or is there any way to store and load dll's that we need from some other place (without using Qt static compilation, of course) ?

 

Thank you.

What would it take to allow the visual contents of a Custom HTML panel to appear as a clip in a timeline?

$
0
0

Or any HTML content. Would love the ability to create an HTML file, format it 3840x2160 or 1920x1080, etc, give the body background-color an opacity of 0, and and run full HTML/CSS/JS directly in a timeline.  It's a little out there, but would be a great extra way of getting lower 3rds and any other info quickly, easily, dynamically into an edit.

New UI font in CC 2018

$
0
0

Which font is being used now? Same or different across macOS and Windows?


Not able to install panel after the Premiere pro CC 2018 upgrade

$
0
0

Hi All,

 

After the Premiere pro CC 2018 update our panel installation is not working.

We have been using the exmancmd command to install the panel.

After the upgrade the command line doesn't through any error, but the panel folder is not coming up in C:\Program Files (x86)\Common Files\Adobe\CEP\extensions

We tried modifying the CSXSversion to 8, added <HostName="PPRO"Version="[9.0,12.9]"/> and added the PlayerDebugMode flag too.

But still the panel is not getting installed.

Our panel was working fine with Premiere pro cc 2017, so we installed the Premiere pro 2017 from - Download Creative Cloud apps

Then we installed the panel and the panel folder came under C:\Program Files (x86)\Common Files\Adobe\CEP\extensions

and panel is appearing in Premiere pro CC 2017 and CC 2018.

 

Please suggest what can go wrong, when we have only Premiere pro CC 2018 installed.

 

Thanks and Regards,

Anoop NR

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

Finding a bin with Project.findItemsMatchingMediaPath()?

$
0
0

I'm trying to figure out how to locate a known bin by name. I see that there's a Project.findItemsMatchingMediaPath() API. I've been able to use it to locate Clips but attempts to locate Bins have been unsuccessful.

 

What's the expected way for us to traverse the bin hierarchy? What's the best way to locate a specific bin within the project?

TypeScript Enabled CEP Development

$
0
0

Modern Tools and ExtendScript

Earlier this week, Bruce Bullis integrated a pull request into the CEP Samples repository that included a new Sample called TypeScript. TypeScript is a language that "transpiles" into JavaScript and JavaScript-based languages (e.g. ExtendScript). It can also be configured in certain environments (e.g. Visual Studio Code) to provide normal JavaScript (and, it turns out, ExtendScript) development with helpful type checking and IntelliSense/autocompletion support. Here's an example:

TSExample.gif

Open the PProPanel-vscode folder in Visual Studio Code (or other TypeScript-aware IDEs?), open up the Premiere.jsx file, and simply begin typing. The environment is already set up to provide rich IntelliSense support.

 

Powered By TypeScript Declaration Files and JSDoc

The environment has to get information about the types from somewhere, right? The type information is identified by the TypeScript system in the following ways:

 

  • In the Panel JavaScript Environment:
  • In the App ExtendScript Environment:
    • Uses the TypeScript-provided ES5 type information (ES3 is coming - when available, it will be switched to use that!).
    • Uses custom Type Declaration files (included within the sample here) to help make the IDE aware of what types are available, as well as documentation!
    • Sources JSDoc comments for type information.

 

Beyond this, TypeScript is capable of type inference (set var x = 5; and the IDE will infer that x is a number). For more on how TypeScript does all of this, see this document.

 

Inline ExtendScript and PremierPro API Documentation

The declaration files included in the sample are currently incomplete, but Bruce Bullis has indicated interest in helping to fill in the blanks. These files are an improvement over the current documentation in that they can be [more] easily read on the web (don't need to be downloaded and opened in a browser) and also power in-line documentation and suggestions (as in the above gif)!

 

Writing in TypeScript

As configured, the sample does not actually assume that you will be writing in TypeScript and transpiling to JavaScript, but that you are simply writing JavaScript/ExtendScript. If you wish to use this feature, you will have to configure your IDE to do so (Visual Studio Code, Webstorm, Sublime Text, etc.).

 

Writing in NEW JavaScript

It should also be noted that TypeScript can transpile from new JavaScript to old JavaScript. This may not seem all that interesting except that you could use the latest ES6 features to write code for both your panel JavaScriptor your app ExtendScript. These would be transpiled into platform-compatible versions: target: "es5" for panel and target: "es3" for ExtendScript!

 

As with TypeScript, this use-case would require setting up the TypeScript compiler.

 

Debugging In Visual Studio Code

This sample also contains configuration settings to allow debugging of the panel (HTML) environment directly in Visual Studio Code, rather than through a Chrome browser. See:

vscode-debugging.png

 

Questions? Comments? Ask/post away!

Component API in Premiere Pro CC2017?

$
0
0

I noticed that the CC2017 update to Premiere Pro brought in a new Component API, which provides access to Clip Keyframes. Awesome.

 

The problem is that the API isn't documented. The nearest thing to documentation is Bruce Bullis' "Play With Keyframes" PProPanel sample. However, as used in that sample, the specifics about the API are super vague.

 

With most other Premiere APIs, the ExtendScript Toolkit's Object Model Viewer provides you with useful information like expected types or whether a value is readonly. The Component API is mysteriously missing from the Object Model Viewer, however. The only indication that it exists at all is that the TrackItem class contains a readonly components property of type ComponentCollection. I dove into this a little bit with some test scripts and was able to determine a bit more information about the APIs but I've not figured out everything. At this point I'd simply like to get input from those-in-the-know, rather than push for diminishing returns.

 

I've codified what I've found (and combined it with some info gleaned from the PProPanel project) into the TypeScript typings listed below. I'm pretty certain I've got ComponentCollection, Component, and ComponentParamCollection figured out. The ComponentParam class, however, contains a lot of incomplete information. By default I marked everything with no function parameters and a void return type.

 

declare class ComponentCollection
{    readonly numItems: number;
}

declare class Component
{
    readonly displayName: string;    readonly matchName: string;    readonly properties: ComponentParamCollection;
}

declare class ComponentParamCollection
{
    readonly numItems: number;
}

declare class ComponentParam
{
    readonly displayName: string;    addKey(): void;    areKeyframesSupported(): boolean;    findNearestKey(): void;    findNextKey(): void;    findPreviousKey(): void;    getKeys(): Array<Time>;    getValue(): number;    getValueAtKey(): void;    isEmpty(): boolean;    isTimeVarying(): boolean;    keyExistsAtTime(): boolean;    removeKey(): void;    removeKeyRange(startTimeSeconds:number, endTimeSeconds: number, shouldUpdateUI: boolean): void;    setInterpolationTypeAtKey(): void;    setTimeVarying(varying: boolean): void;    setValue(): void;    setValueAtKey(): void;
}

 

Could someone in the know help fill in the blanks here?

Viewing all 53010 articles
Browse latest View live


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