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

Getting returned values from evalScript calls

$
0
0

I have a few functions that return bits of information from the JSX context to the panel JS so that they can be further processed there. One such function returns an array of times-in-seconds (Array<number>). I have verified with console.log that I do indeed get the results back. However, while I was expecting an Array<number> in the callback, the type of the value passed to the callback is string!

 

Is it possible to get objects in the callbacks or will everything simply be coerced to a string? If the latter, is there a suggested way to convert and then reconvert the data? (I looked but didn't see a JSON utility object/class in the JSX context to assist with this...)


Random Flashing Frames from Cache

$
0
0

I am implementing a standard Importer using the PP SDK.

 

During file playback i get occasional flashing frames, where it will randomly display the wrong frame (always displays a frame but may be 10 frames out or more) and then goes back to the correct frame.

 

If I call (*ldataH)->PPixCacheSuite->ExpireAllPPixesFromCache()  at the end of every call to GetSourceVideo() which is effectively forcing Premiere to not cache any frames by constantly clearing the cache then the video plays smoothly in order with no issues.

This would indicate that the frame cache is somehow caching the frames in the incorrect places, and as such returning the wrong frame accasionally - forcing it to decode every frame every time seems to work.

 

Could I be doing something wrong that could cause this ?

 

Nigel.

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?

Premiere Pro extension to read/write an external file system?

$
0
0

I'm an experienced developer but a complete newbie to Premiere Pro so forgive my ignorance on PP specifics. I've been asked to look at the options for integrating Premiere Pro with an in-house video repository which exists outside of the local file system. We have a REST API for querying metadata and video references, and in practice the physical video files reside in AWS S3 buckets. Many of the video files are into the hundred of MBs, sometimes GBs, so it would be prohibitively slow to download a file from S3 before opening a local copy (or to upload it after saving). What I'm hoping is that it might be possible to write a Premiere Pro extension which would allow us to pass video data to and from S3 as required rather than dealing only with the local file system. For example if Premiere Pro is playing a 1GB video and the user moves the play position to the halfway mark than I would hope that the application might be able to request the extension to read data from file offset = 500MB, allowing the extension to set the S3 stream offset to the same point in the remote file.

 

Is such a thing possible using either the plug-in SDK or with a CEP panel?

 

From what I've read in the two SDKs so far:

  • As a plug-in it looks like this would be an importer type, and I can see that it should be possible to have an importer which supports the video formats we're using (in practice likely to be mpeg4/h264). However it looks like an importer really works at the frame level, which we don't want to get into. We'd really want the plug-in to act as a sort of proxy layer for the file system, with Premiere Pro calling the plug-in to read or write data, but the data being in an existing known format which the plug-in doesn't want to be decoding or encoding. However that doesn't seem to be an option for an importer.
  • I can see that a CEP panel could provide the means to query our external repository and then pull a video into Premiere Pro. This sample code does something a bit similar, querying Flickr then loading a selected image into Photoshop. However that code pulls the whole image down from Flickr to the local file system then pushes an openDocument request into Photoshop. That's not going to be an option for us with such large video files in S3 and when the application may be used in satellite locations with limited bandwidth.

 

Have I missed something in either API which would allow this sort of "data redirection"? Or does anyone have an alternative approach to the problem?

 

Thanks for any help.

Getting a dynamic link id in Premiere Pro

$
0
0

Hi experts, is there a way to get a unique id for a linked asset in Premiere Pro such that it can be identified in After Effects? I've noticed that a parameter 'dynamicLinkGUID' exists in AE but I couldn't find a corresponding value in PPro.

 

For background I'm trying to script some changes to the text of a title and previous answers have said that the best way to do this is by sending ExtendScript to AE over a dynamic link. This works, except I can't seem to find a way to easily identify the exact composition I want to change in AE when I have multiple links.

 

Thanks!

Memory management and premiere

$
0
0

Hi, we've developed a plug-in that calls getPreviewFrameEx. Our plug-in is not leaking memory (checked with bounds checker). We make the getPreviewFrameEx call constantly, and memory usage goes through the roof, eventually we get bad frames from premiere and the program crashes. What can be done about this? Can the media cache be turned off? Do we have to monitor our memory usage and report it to premiere? We don't need super high performance, so turning the media cache off may be viable for us, how would we do this?

 

--John

Problems with plugins .bundle from Premiere Pro SDK for macOS

$
0
0

Hi all,

 

I am using:

SDK - Premiere Pro CC 2017.1

Program - Adobe Premiere Pro CC 2017.1

OS - macOS Sierra

 

After compile Vignette plugin from Premiere Pro SDK, it is not load to Premiere. But Premiere founded this plugin.

In log file: "No loaders recognized this plugin, so the plugin is set to ignore."

 

Pasted File at August 17, 2017 5-40 PM.png

 

Does anyone have a solution to this problem? Please, help me.

TypeScript application and Webpack bundling

$
0
0

I'm looking to build an angular app (my enviroment is VS2017) with some libraries and having some difficulties with the appropriate configuration.

Can someone provide the minimum webpack config file which one should use, considering a TypeScript-based application is built and bundled?

 

I've looked at sberic's Node enabled post and think there're things that I misunderstood and have trouble to adjust to my setup.

I'm not sure how to configure webpack config file based on the above post, and when should it be used in the first place.

 

Thanks


Looking for person who wrote RedStar3D Plug-in!

Duplicate sequence?

$
0
0

I've started to have a look through the SDK documents, but just have a quick question about the SDK functionality that I imagine someone well-versed in it should be able to answer pretty easily:

 

Could the SDK be used to create a button (in a custom panel) that when pressed would duplicate the currently selected or currently open sequence, rename it, and move it to a specific place in the project?

 

It seems like the SDK is not concerned with functionality like this, but it would be great for what I want to achieve if it is!

 

Anyone know about this?

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,

Is there any event gets invoked in Panel when a new Project is Opened?

$
0
0

Hi All,

 

We have used the setExtensionPersistent function to make our panel persistent in windows platforms.

So even when a new project is opened there is no onload events happening for the HTML5 page inside the panel.

Is there any events that can be used to identify that a new project is opened? so that in the event handler

we can do the changes for the panel when loading a new project.

Does any of the sample panel examples use any of these features?

 

Thanks and Regards,

Anoop NR

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?

Is Premiere Pro 2017 support TLS 1.2 protocol and ciphers?

$
0
0

Hello,

 

I have created one plugin which makes a call to the web server by javascript.

 

<html>  <script>    window.location.href = "WEBSITE URL";  </script></html>

 

I have upgraded my server with (ELBSecurityPolicy-TLS-1-2-2017-01) policy. when I tried to run above code using premiere pro plugin.

It gives me an error

 

net::ERR_CONNECTION_CLOSED

 

Above code is 100% working by downgrading SSL security to allow weak ciphers (ELBSecurityPolicy-TLS-1-0-2015-04).

 

Could you please provide me the proper solution for this?

Is Premiere Pro. support the TLS1.2 protocol?

 

I don't want to downgrade my security policy.

 

Version: Premiere Pro 2017

Anyway to script opening a panel?

$
0
0

Is there anyway to script opening an extension panel from js?

 

I'm currently developing a panel acting as a toolbox.

I'd like for the toolbox to be able to open Modal dialogs.

Looking through the Samples project I found the HTML Test Modal dialog which looks like what I want.

I just need a way to trigger the dialog to open.

 

I also would like to script closing the panel as well.

 

Any ideas?

 

 

Thanks,

Brennan


Drag a clip in to a Premier Pro panel

$
0
0

Team

 

I am investigating writing HTML5 panels for Adobe Premiere Pro 2015.

I am educating myself and working my way through the samples using Eclipse and the Adobe Extension Builder 3 plugin.

I am looking for an example of how you drag a clip from Premiere Pro in to a panel and have it register the information regarding the clip.

I have seen examples of dragging from a panel in to the main Premiere Pro interface but not the other way round.

Is it possible in that direction?

 

Does anyone have some sample code?

 

Thanks

 

AFC

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.

Attach Proxies arguments

$
0
0

clip.attachProxy(path, true/false)

What's the true/false?
If it's true, it looks like it's replacing in the bin. The clip gets renamed, shot timing gets altered (we're using metadata), and the path gets replaced.
If false, acts as one would expect - it's attaching to the file, not replacing it.

Getting returned values from evalScript calls

$
0
0

I have a few functions that return bits of information from the JSX context to the panel JS so that they can be further processed there. One such function returns an array of times-in-seconds (Array<number>). I have verified with console.log that I do indeed get the results back. However, while I was expecting an Array<number> in the callback, the type of the value passed to the callback is string!

 

Is it possible to get objects in the callbacks or will everything simply be coerced to a string? If the latter, is there a suggested way to convert and then reconvert the data? (I looked but didn't see a JSON utility object/class in the JSX context to assist with this...)

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?

Viewing all 53010 articles
Browse latest View live


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