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

Link Media popup appears, despite the media is already linked

$
0
0

Hello All,

 

I am trying to rename and then relink a file which is already imported in premiere pro using below code:

 

cep.fs.rename(oldPath, newPath);
projectItem.changeMediaPath(newPath);


The file is renamed and relinked successfully. New file path being reflected in the Proerties of the project item. However, I still get the Link Media popup for that project item which is a bit strange to me:

 

missing_media.png

 

Is this a bug in premiere pro? Any help would be appreciated.

 

Premiere Pro Version: 9.0.0
Extension Type: Panel

 

Thanks & Regards,
Meet Tank


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

cant download file using nodejs when going to remote site.

$
0
0

Hey,

 

I am trying to download a file using nodejs and I am facing a bit of an odd problem.

I started from the CEP_HTML_Test_Extension

in the nodejs.html I changed isNodeJSEnabled to the following (the code below works):

 

function isNodeJSEnabled() {

     var https = window.cep_node.require('https')

     var fs = window.cep_node.require('fs')

     var url = "https://upload.wikimedia.org/wikipedia/commons/4/4f/Big%26Small_edit_1.jpg"

     var fullPath = "C:\\premiereTest\\6\\abcde.jpg";

     var file = fs.createWriteStream(fullPath);

     var request = https.get(url, function (response) {

          response.pipe(file);

          // ensure file is complete before importing 

          response.on('end', function () {

          });

     });

}

 

and as I said this code works.

but when I take the same code put it in my real website

and changed the index.html in CEP_HTML_Test_Extension to just reload my site i.e(window.location.replace("https://test.MyRealWebsite.io/")).

then the same code doesn't work, it creates the file so the createWriteStream works. but the https.get does nothing, I tried to check error callbacks as well but nothing is been called, nor does the success, just nothing.

any ideas?

thanks.

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

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,

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?!

Setting focus on an extension that is opened.

$
0
0

Using csInterface.requestOpenExtension() to call "sub-extensions" that are part of the main extension.

 

They open fine, except modal dialogs that are being created are not focusing on creation. Is there a way to focus them? Without this, the user has to click two or three times(on a button) to get the focus set on the extension. Most users aren't going to think to select the toolbar on the top of the window to set the focus.  I haven't found anything in the code or the sample extensions that leads me to believe there's a way with Adobe.

 

I know this is a more general question for extensions, but the Extension Builder forums are kind of dead, so I figured here was my best bet. Thanks.

 

This appears to be an issue on Windows only, on OSX, modal dialogs are already focused.

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


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.

How to open closed project panel by PPro api?

$
0
0

Hello,

 

I want to open closed project panel by PPro API.

 

Steps:

  1. Open project.
  2. Close the panel. Right click on Project Panel >> 'Close Panel'.
  3. Try to open Project by API.

 

I have tried to open that project once again by below code but it can't open the project panel.

 

var projToOpen = new File(projectFilePath);
app.openDocument( projToOpen.fsName,  1, // suppress 'Convert Project' dialogs?  1, // suppress 'Locate Files' dialogs?  1);

 

Is there any way to open it?

 

I found below API code to open extension but I am not sure that will work for this panel.

 

CSInterface.prototype.requestOpenExtension = function(extensionId, params)
{  window.__adobe_cep__.requestOpenExtension(extensionId, params);

};

 

Could you please suggest me the proper way to open that project panel once again if end user closes project panel and I need to reopen by API?

As well What should be the extensionId for that project panel?

 

proapi.png

 

PPro Version: 12.0.0

Adobe Slider Bar for Panel?

$
0
0

Hi,

 

I would like to develop a custom panel with the video sliding bar/time ruler (with zoom) to navigate across the frame:

Does the Adobe PPro SDK (CEP or C++) able to render this slider bar UI?

Open additional window when opening multiple projects from extendScript.

$
0
0

I'm running app.openDocument(premiere_project_path) to open a project. That is working well. But if I already have project open it will close that and open the new project in it's place. Is there a way to open projects in a new window if another premiere instance is already running?

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,

[BUG] Premiere Pro CC 2018 Panel Background is White

$
0
0

We just installed Premiere Pro CC 2018 to test our extension in the latest version. One immediately noticeable difference was that the background of the Extension's content is pure-white. After some investigating, we found that the default background-color was transparent (alpha = 0), allowing the panel's backing color to shine through. This worked in previous versions of Premiere Pro. It was nice because the user's color settings in the panel were handled automatically.

 

With CC 2018, all extensions will now need some sort of color handling of their own, akin to what the PProPanel does, including theme change event handling.

 

It would be preferable to have the background color be the same as the actual application's theme color as in previous application versions.

Create Marker missing frames by tiny fraction

$
0
0

Hi,

 

I'm trying to move all existing markers in my Sequence by exactly 2 frames to the right.

Each individual frame is incremented by 0.04170833333333 (time in seconds) from previous frame. (my video is 23.976 fps)

 

So I tried to add 2 Frames worth of value 0.04170833333333. i.e., 0.08341666666666 to each marker; and create new markers and remove old markers.

It worked for most of the frames. Most markers are moved by 2 frames.

 

BUT some markers have only moved by 1 frame.

They failed to move because of a very tiniest fraction difference.

Can anyone help, how to fix this.

 

Example:

A marker at 00:33:16:06  (in frames) whose start.seconds value is 1998.24625. I want to advance this marker by 2 frames.

If I add 2 frames worth of time in seconds to 1998.24625, it becomes 1998.32966666666.

When I create a marker, using markers.createMarker (1998.32966666666), method, its only advanced to 00:33:16:07 (in frames) instead of 00:33:16:08 (in frames)

 

So I have added a new frame manually at 00:33:16:08 and checked its time in seconds which came to 1998.32966666667.

This means a new frame move is missed by 0.0000000001 difference.


Weirdness with stderr

$
0
0

hey friendly Adobe peeps,

 

I’m seeing some weirdness with stderr, maybe you can help. I've repurposed this code from the CEP_HTML_Test_Extension:

 

var createProcessResult = window.cep.process.createProcess(“my_fancy_process”, “arg1”, “arg2");

gPID = createProcessResult.data;

var stderrResult = window.cep.process.stderr(gPID, function(output) {

    document.getElementById("StdErrResult").value = output;

});


 

… and I’m getting stderr output, but it's truncated -- even if the process continues -- when I do certain things in my python scripts. For example, if I use the python json module to load or dump data. Does this ring any bells? It’s almost like Premiere loses track of the PID in certain cases. Maybe there’s another way to get reliable stderr?


I get the same result when directly using CEP HTML Test Extension > Native Functions > Process APIs > Set StdErr Handler.


Cheers,

Raphael

How to play a project item in the source monitor via ExtendScript

$
0
0

Let's say you select the following item:

ThisItem=app.project.rootItem.children[2];

 

I'm trying to achieve something along the lines of...

sourceMonitor.loadItem(ThisItem);
sourceMonitor.play();

Is there an actual way to do so using ExtendScript?

Plug-In not showing up in premiere pro

$
0
0

Hello, I'm from accevolution (www.accevolution.net) and we've got the problem that our plugins are not showing up in premiere pro at about 30% of the customers machines. Our workaround at the moment is to tell the customers to install the most recent graphics card driver, launch premiere pro while holding down the shift key and if this doesn't help, to set the ignore flag in the registry here: 3. HKEY_CURRENT_USER\Software\Adobe\Premiere Pro\11.0\PluginCache.64\en_US3. HKEY_CURRENT_USER\Software\Adobe\Premiere Pro\11.0\PluginCache.64\en_US to "0".

 

Any suggestions why they are working perfectly on 70% and not showing up on 30%? From those 30% that have trouble are 99% windows-user, but we also got a few mac users with that problem.

 

It would be great if somebody could give me a hint.

 

Best regards,

 

Wolfram

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!

HDR video export from Media Encoder

$
0
0

OK, we've identified the problem.  It's something in Media Encoder (not Premiere).  So, if you:

 

1) make a media encoder job, and convert exr files to our format, then HDR export works fine.

2) if you do the exact same thing with an HDR video in media encoder, you do NOT get HDR export.

3) HOWEVER, if I take the same HDR video file, drop it into a Premiere project and then put it on the timeline, and then export THAT file, then we do get HDR pixels properly.

 

So, this appears to be a bug in Media Encoder and how it detects whether the input file is an HDR input or not.  Where do I file bugs?

 

This wasted a ton of time, btw - you need more information in the export record stuff, so we can see what ME/PPro *thinks* it's dumping out...

Viewing all 53010 articles
Browse latest View live


Latest Images

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