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

How can I access HTTP services via Extendscript from PPro CC

$
0
0

I attempting to build an HTML5 panel for Premiere Pro that retrieves assets from a third party REST API but there seems to be no support for Socket or XMLHttpRequest objects in this application which there is for others. (I get Error: Socket does not have a constructor)

 

How would I go about making these requests in Extendscript?


Premiere Markers export and import: Roundtrip via FCP XML not working

$
0
0

The objective of my project is to create a sports app that records markers and saves it in different formats of XML / CSV that I can then import in different NLE packages.

I have already succeeded with Vegas Pro but also want to support NLEs for MAC-OS.

 

In order to approach this analytically I have exported a very simple project with 1 sequence including 1 clip and 3 markers (with length zero and length > 0) and exported it
in FCP XML from Adobe Premiere CC and do a round-trip import it via FCP import into Adobe Premiere CC.

 

This round-trip does not work. Any insight why or any support what other mechanism will work?

 

Thanks


Thomas

I want to make my program can Import video files to PPro.

$
0
0

As I told before.

 

I'm trying to import a file from another program, something it already can support if I import it manually.

My final goal is when I press a button1 at another program, then PPro imports "c:\1.mp4" file to already opened project.

               Also when I press a button2 at another program, then PPro imports "c:\2.mp4" file to already opened project.

 

So I tried to make jsx file and to build panel.

 

To use jsx file at After Effect I typed "afterfx -r c:\1.jsx" on command line.

But I can't find any enterence to PPro.

What should I comand when I push the button1 ?

"New Synthetic" Dialog Box

$
0
0

Hello All,

 

We created new Custom Importer. When user clicks on our importer from "File->new" menu, he can see PP's "New Synthetic" Dialog box, where he puts settings for new import. In our code we generate new file in imGetPrefs8 as recomended in SDK, but don't know with what size and aspect ration to create new file. I know the setting available in SDKGetInfo8, but how can we access the setting that user chose in "New Synthetic" Dialog Box in imGetPrefs8?

 

Thank you.

Playmod flag in custom importer

$
0
0

Hi All,

 

I noticed the following note in SDK_Custom_Import.cpp for SDKGetPrefs8 function.

 

"Note: the timelineData handle is new, and allows ONLY custom importers

    access to the timeline (dont' use with a synth or standard importer).

    The timeline handle provide the importer with the ability (and the know-how)

    to parse the timeline, searching for the clip with the playmod flag

    indicating it is the currently selected clip. This flag will be set

    when the user double-clicks the custom imported clip on the timeline and

    Premiere calls the importer to modify the file."

 

Can any one tell me where "playmod flag" is defined?

 

Thanks & Regards,

Chandan

How do you find "App installation path"

$
0
0

 

According to the SDK doc page 117 on presets, you're supposed to install to "App installation path" but I can't find a reliable registry entry that indicates what it is.

 

Premiere Pro presets

...

[App installation path]\MediaIO\systempresets\[exporter subfolder]

 

...

 

I did find...

HKEY_CURRENT_USER\Software\Adobe\Adobe Media Encoder\[version]\AMECodecCache\64\en_US\AppRoot

and..

HKEY_CURRENT_USER\Software\Adobe\Premiere Pro\[version]\AMECodecCache\64\en_US\Default\AppRoot

and...

HKEY_CURRENT_USER\Software\Adobe\CommonFiles\Usage\Agent

 

What is the correct way to detect the installation path?

What if the user has CS5 and CS6 installed?

What if the user doesn't have en_US installed as the language?

 

Is it really a common preset system for CS5 and CS6 as the doc suggests or do you have to put it in both PPro and AME?

 

thx

 

Rallymax

Scripting in Premiere CS6

$
0
0

I think i know the answer but i've seen some searches that suggest it is possible and i can see PPro as a target in ExtendScript

 

Can i script PPro CS6? Is there a scripting guide like there is for After Effects?

 

If not, are there any known plans to add this?

 

many thanks
Paul

UI scripting with applescript: Is it possible?

$
0
0

I'm attempting to use applescript to do some automation with file setup and importing with Premiere Pro CC. The company I'm working for is switching from Final Cut 7, and every button and window can be selected with the system's Accessibility controls.

 

I've attempted to run Xcode's UI element inspector, but it doesn't recognize anything in the interface, except the apple standard buttons like close and minimize.

 

Neither does the Voiceover utility recognize any elements within a program window.

 

Has anyone had any luck accessing anything other than the menu items via UI scripting? How are we supposed to externally intereact with the interface?

 

Sticking with applescript is not a necessity.


custom importer

$
0
0

We have a custom importer plugin for premiere CS6.

 

We dont save a custom file on disk, but we render the frames demanded by Premiere framework on the fly and return the data in imImportImageRec in imImportImage call.

 

1) The sequence when we create a new instance goes like

 

imGetPrefs8   - we show a custom entry dialog here - store the result in a global variable which is accessed in imGetInfo8.

 

imGetInfo8     - with private data pointer (where we store pointer to our custom class which actually renders the data( based on the variable set in imGetPrefs8 )

 

imImportImage - with private data pointer filled in imGetInfo8 - render here based on the frame number received using the private data.

 

 

2) And when we save and load the instance we get a call to imGetInfo8  with the private data( based on which  we create a instance of our custom class to render data)

and subsequent calls to imImportImage with the private data filled in imGetInfo8.

 

 

3) Now the case comes when we modify the existing instance by double clicking it.

We get a call to imGetPrefs8  but not  imGetInfo8.

 

but we are not able to modify the private data as per user changes done in imGetPrefs8 , as we dont get a call to imGetInfo8.

So the subsequent calls to imImportImage work with the old private data, hence the changes dont reflect.

 

How should we go about it?

Guide.

Languages for plugin development (C++, C#, Flex)?

$
0
0

Hi all,

 

Is C++ the only language that I can use for Premiere Pro CC plugin development?

 

Someone told me that Flex is also possible, is that true?

 

And how about C#?

 

Thanks.

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

Adobe Premiere platform dependency limit

$
0
0

Hello,

we have developed a set of Premiere extensions and a plug-in to interact with the application. We are facing a problem to open a project created on Windows in a Mac system, and viceversa. In fact, if the project links any asset from shared folder, Premiere stores inside its XML the platform dependent path of the asset: it would be, for example, something like \\storagename\dir\assetname.mp4 on Windows, and /Volumes/dir/assetname.mp4 on Mac.

Opening the project in the platform different from the one it has been created, it complains about missing assets, asking the user to set them offline rather then relocate them by hand.

The question is if it is possible by code (by extensions or by plug-in) to automatically relocate the asset to be compliant to any platform.

Which is the Adobe position to manage a project that has to be open on different platforms?

Thank you in advance.

about “Append mode” of cs6, cc & cc2014 project file in order to insert xml sequence which is sent from 3rd-party tool

$
0
0

let me ask you all something about  “Append mode” of cs6, cc & cc2014 project file in order to insert multiple xml sequence  which is sent from 3rd-party tool  into specific project file .

Finalcut pro 7 & x  was supported this , but i am not sure will support this on cs6, cc & cc2014 .

is this possible ??

could someone  let me know about this - append mode possible or not ?? 

How to know the extension of an EPR preset

$
0
0

WE have the integrator put only the presets they want the user to user for our Export Controller plug-in. They copy the presets from the Premiere MediaIO/statempresets/ folder.

 

When we get the EPR file it does not tell me what the file extension should be.

 

How do I determine the extension for the file to be saved in my Export Controller from the EPR preset file?

Multithreading in ActionScript

$
0
0

Hello everybody,

  We have to organise our ActionScript based extension in order to execute some time consuming operation in background. We know that we have to move to HTML5 panels, but in the meanwhile we'd like to know if is it possible to call such function in background, avoiding the UI to get freezed fore a long time. We've read about the use of workers in ActionScript 3 (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Worker.htm l), is it supported inside an extension?

Thank you.


Plugin development Issue

$
0
0

Dear Sir/Madam,

 

May I know whether the Premiere Pro SDK supports the following operation on a sequence?:

1. Adding an imported media (video/audio) files on a track, and specify the start time

2. Retrieve the markers information from a clip on the track

3. Assign (Replace) a media (video/audio) file to an existing clip defined on the track

 

If those above operations cannot be implemented by the SDK, is there any alternatives (Extension Script?).

 

Thanks a lot!

 

Regards,

Stephen Lee

How to export by C++

$
0
0

Can you export from adobe premiere sdk project from my application C++

HTML extensions: Getting values out of callbacks

$
0
0

I want to store a value from JSX in JS so I don't have to call evalScript all the time.

Is there a way to get a value out of a callback like this?

 

        var csInterface = new CSInterface();     evalout = "lcl";               csInterface.evalScript("$._ext_PPRO.testOnLoadedVar",     function (result)          {          evalout = result;          console.log("In testcb: evalout:"+evalout);          console.log("In testcb: result:"+result);          }     );     console.log("evalout: "+evalout);

 

The console output happens before the callback runs, so evalout equals "lcl". I've also tried the function as a named function, but the same thing happens. I think there is something basic that I'm missing.

 

Thanks,

Miles

Script for accessing selected clips?

$
0
0

Is there a way to access the currently selected clips in the active sequence through javascript? If not, is there a way (such as a "selected" property or isSelected method) to determine if a given clip (TrackItem) is selected?

calling exportOMF() Method using ExtendScript

$
0
0

Does anyone have any experience calling this method using ExtendScript? I'm trying to incorporate it into a script but so far have not been able to successfully call it. I'm assuming it needs an argument of the sequence you want to export an OMF from, but so far it keeps returning "bad argument list" whenever I try to call it with something like:

 

seq = app.project.activeSequence;

app.project.exportOMF(seq);

 

I've tried using reflect.properties but haven't been able to find anything useful. Can someone point me in the right direction for calling this method, or tell me what arguments it is expecting?

 

Thanks!

Viewing all 53010 articles
Browse latest View live


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