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

How to continue transition rendering with custom dialog open

$
0
0

Hi,

 

I'm working on a plugin for some custom transitions (currently for CS6/CC on Windows).

I'm using a custom dialog (hasCustomDialog in PiPL) during esSetup to set the transition parameters. While the dialog is open the execution of Premiere is halted until the dialog gets closed.

The problem is, while I'm fiddling with the parameters I can't see changes in the program monitor and I don't get any feedback from Premiere.

I tried to make the dialog non-blocking but then Premiere didn't rerender the frames when I changed something in the dialog.

 

Does anybody know if it is possible to keep the dialog open and still have Premiere actively updating the rendered view?

 

 

Regards,

Philipp Stelzer


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

Custom overlays and modifying Safe Margins?

$
0
0

Hi folks,


I had a quick question and haven't been able to find proper information when researching... but would creating custom overlays and modifying the safe margin be theoretically possible within the SDK? If so what approach would be taken to do so?

 

If there is documentation on creating things such as this, and I've missed it, I apologize for wasting your time - however pointing me in the right direction would be much appreciated!

 

Thanks in advance.

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

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.

Selected clip in timeline?

$
0
0

Is there anyway to get the selected clip in a timeline using ExtendScript? And also get that clips in/out point (and other metadata).

 

If not, any plans to implement it? I'm currently looking to do a "Publish" tool in Premiere for a vfx pipeline and I need to be able to "do stuff" on the selected clip.

 

/Simon

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 Toolkit and Premiere Pro?

$
0
0

I'm just starting to dive into Premiere Pro extension development and I'm finding it difficult to get a firm grasp on the environment. I get that there are two DOMs to deal with Application/ExtendScript (jsx) and HTML (js). Cool. However, I'm having a tough time figuring out how to really examine the environment. I've configured my environment to debug HTML DOM stuff that I try but I'm not quite sure how to debug the Application/ExtendScript stuff.

 

Any pointers?


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...)

How to tell if a File is Being Rendered/Written to

$
0
0

I've been trying to prevent my panel from importing files that are currently being rendered to avoid Premiere Pro throwing an "Cannot Import" error.

 

I've tried:

  • Comparing the modified date of the file (File.modified) to the current date, and half the time this works, but the other half the modified date won't update enough to be a reliable indicator.
  • Getting the file size with File.length and then getting the size again after a 1 second .setTimeOut, but that also yielded inconsistent results.
  • I attempted BridgeTalk() to get the names of rendering files in After Effects or AME, but I can't return values from AE until the render is finished, which defeats the purpose.
  • I've also tried filtering files by attributes of readOnly, open, write access, rename access, path change access, and others, but nothing seems to consistently differentiate a file that is currently rendering from one that is complete.

Does anyone have a method to use that can distinguish a file that is currently being rendered/written to from a completed file? All thoughts are appreciated.

 

Thanks,

 

Justin

Status Window while ExtendScript is running?

$
0
0

Hi there,

is there any chance of letting the user know what my scripts are doing at the moment?

I'm writing a custom importer and in some cases it my take some seconds until you see the result. A "please wait"-Window or something would help... but I can't figure out how to open and close a new panel.

 

Thanks,

Mathias

Usage of CEFCommandLine parameters

$
0
0

Hi All,

 

Can someone explain use of below two CEF command line parameters in manifest.xml?


(1) --allow-file-access

(2) --allow-file-access-from-files

 

Premiere Pro version: 11.1.0

Extension Type: Panel

 

 

Thanks & Regards,
Meet Tank

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?

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.

Looking to Activate Custom Panels via Keyboard Shortcut + Keyboard Listeners when Panel is Active

$
0
0

This may well a couple of feature requests, but looking forward to getting some feedback...

 

In the interest of building more robust and flexible custom HTML panels, we were looking for ways to achieve the following:

1 - Activate and give focus to a custom panel via keyboard shortcut.

2 - Once activated and in focus that custom panel's key listeners (keystroke, keyup, keydown) can be coded to either take precedent over PPro's keyboard shortcuts or not.

 

The goal is to get the above two to work in concert so as to create workflows that would allow 100% keyboard driven functionalities, along the lines of:

- Call the Custom Panel via PPro shortcut

- Run the Panel's function (or suite of functionalities) via keystrokes

- Release control back to PPro and Return to regular PPro kb by exiting Panel focus

Imagine rapid fire: keystroke to activate, use, and release.

 

So far we've been unable to do this.

Reasons:

A - Haven't found a way or workaround to assign the ability to open & give focus to a custom panel via keyboard shortcut

B - Haven't found a way to make custom panel key listeners reliably detect keystrokes even when they are in focus..

 

So far we've tried by way of the CSInterface binding listed here:

https://forums.adobe.com/thread/2250292

and via standard HTML5/JS bindings

document.body.addEventListener / document.addEventListener.

 

Occasionally they work, but not reliably.

 

We're on Mac OS


Examples of applying speed / duration to a sequence

$
0
0

Hello developers,

 

Is there a good examples of applying speed / duration with the frame blending option to a sequence in Premiere Pro? I want to test this via a plugin but the examples that come with the Pr SDK as well as the Ae SDK do not show how to do this. I know in Ae I would be working on a composition rather than a sequence, but I want to initially do this in Pr. Any help would be deeply appreciated. Also are there any good books on creating plugins for Pr? Have a great one.

Workspace Directory for Windows and Mac OS

$
0
0

So I have saved a custom workspace and have been wondering where does the software save them on your machine?

 

So far lots of the adobe applications stick with a type of standard location but some of them tend to drift away from those standards.

 

I would like to know where these files are saved on Windows and on Mac if you know.

 

Many Thanks,

 

Daniel

 

PS: For bonus points could you also tell me where it saves them for AfterEffects?

[Q] Is there any property to know if player is playing in ExtendScript?

$
0
0

Hi all,

 

I'd like to implement simple function that play/pause as same as Space key in ExtendScript.

I have already play and stop video function.

#activeSequence.player.play() and stop()

 

But I could not find any info that if player is running (playing) or paused.

Is there any property or way to know if player is playing?

Or this info is limitation that we cannot get from script?

 

Thank you,

Naoki

How to export m2t or m2ts with smart rendering technology using CS4 SDK?

$
0
0

   Hi, I'd like to export my m2t/m2ts files without re-encoding, how should I do? Could you give some demo samples?

   Thanks.

Plug-in similar to Premier Title

$
0
0

Hi All,

I would like to develop a plug-in that shows a non modal dialog similar to Premiere 'Title' dialog. I would like to update the preview in 'Program Sequence' window
when user updates the canvas in my window.

Is Synthetic Importer a right choice for this kind of plug-in?
Whether 'Title' is implemented as a plug-in or is it part of Adobe Premier itself?
I noticed that Synthetic Importers are called by two processes - Premier itself and 'ImporterProcessServer.exe'. How to mange my window between these two processes?

Thanks & Regards
Chandan

Viewing all 53010 articles
Browse latest View live


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