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

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


CS6 Exporter Plugin doesn't open in Premiere Elements 11 (Windows)

$
0
0

I want to make my (Windows) exporter-plugin compatible with Premeire Elements 11.

 

So far, I have been gotten my exporter-plugin to appear in Adobe Premiere Pro CS6 and Media Encoder CS6, and the plugin runs there correctly.

 

I then followed the directions for running Premeire CS6 to create an export a preset file (*.epr).  I copied copied  that exported *.epr file to "OTHERS/MyCompany/MyPreset.epr" in my Premere 11 [App installation folder].  (As well as copying the plugin-binary *.prm to Plug-ins/common

 

In the <Publish:Share> tab, when I use the mouse to highlight 'OTHERS', I receive an error-dialog-box :

 

"Premiere Elements has encountered an error.

[..\..\Src\Exporter_Accessors.cpp-213]"   [Continue]

 

After I click continue, I don't get the dialog-box for my exporter-plugin.  In the <Publish:Share> tab, I now see the warning-triangle and some text next to it: "Export Settings Invalid"

Export frame

$
0
0

Hi all, is it possible to export a frame of the sequence using the SDK, implementing what a used can do using the Export Frame command?

Thank you in advance.

Screen Shot 2014-05-09 at 4.19.33 PM.png

 

Ale

Find the clip name? Premiere SDK

$
0
0

I might be over thinking this or just plain dumb, but can someone tell me how to grab the clip name from a segment? I feel like there would be some code somewhere if the FCP xml exporter has the names of the clips.

Any pointers or help would be appreciated. Thank you.

Scripting for Premiere Pro CC / Premiere Pro CC 2014

$
0
0

Using Extendscript Toolkit I've found that it can possible to scripting for Premiere Pro CC and Premiere Pro CC 2014, but my question is:

 

Why Adobe don't provide any relative scripting guide?? (It's essential to see at least the Object Model)

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

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.

Delete sequence in Premiere Pro using ExtendScript

$
0
0

My work is almost done, but there is one simple question, how to delete the sequence using ExtendScript?

In my script I can clone it, rename, move new footages, pictures, wav's etc., but I can not delete it.

In Data Browser (ExtendScript) there's app.project.deleteSequence(), but what are the arguments for this function? I know about QE and I found just one thread about it (https://forums.adobe.com/thread/1977423?start=0&tstart=0), there's no answer how it works. For many years I'm waiting for the manual for Pr like an After Effects Scripting Guide=(


In my project there is a sequence I need to make a copy, create some footages and titles, then rename cloned sequence, export it as Premiere Pro project and delete from this one. Everything works perfect except the last one.

This is the part of code:

 

app.project.activeSequence.clone(); // create "old_seq copy" from "old_seq"
var nI = app.project.rootItem.children.numItems;
for (var i = 0; i < nI; i++)      {         if (app.project.rootItem.children[i].name == "old_seq copy")            {              var item = app.project.rootItem.children[i]                     item.name = "new_seq";             }       }
--------------------------------------------------------------
/*--*/
for (var i = 0; i < nI; i++)      {       if (app.project.rootItem.children[i].name == "new_seq")           {             app.project.deleteSequence(); //<--- this is just an example of the line, but how to delete "new_seq"?            }       }

 

I found nothing about it in PProPanel. Is it possible at all?

Thank you!


Batch relinking of files via Script

$
0
0

Is this possible in Premiere? I can script After Effects but i'm not sure whether PPro has the same scripting engine (the extend toolkit lists it as a target but i cannot find any docs on it)

 

Basically i have a project via AAF that i want to iterate through and relink the files according to some programatic criteria. It's not a straight like for like, the code will decide what to link to based on metadata.

 

I appreciate this forum is for a SDK plug in side of things but hoping someone might be able to help or put me out of my misery and tell me it's not possible?

 

cheers

Paul

Exporters - Tab question

$
0
0

Hi!

Two questions about tabs in the exporter UI:

 

Is it possible to hide a tab in the exporter UI?

..or to reorder tabs in UI?

 

Cheers

Chris

MXF Exporter

$
0
0

Zac:

 

 

 

Thank you for recommending hooking ExporterQuickTimeHost.prm to make a custom exporter to an alien file system.  That worked great and the client was very happy.

 

Now another client wants an MXF OP-1a exporter for a similar project.  I would navigate the alien file system and then export the MXF there. 

 

For MXF is there a similar Media Exporter hook to ExporterQuickTimeHost.prm to make MXF OP-1a files?

Is it possible to create a custom panel, and dock/embed it into the application?

$
0
0

Hi all,

 

I would like to create a custom panel, and dock/embed it into Premiere Pro CC.

Is this something possible?

 

Basically, the plugin will talk to some web services, retrieve some data, and display them in that panel.

 

Any idea?

export all segments of a sequence as different files in one click

$
0
0

Hello!

 

I need to export all segments of a sequence as different files in one click.

 

Here is what I want to accomplish in more details:

I have a sequence with a single long video file in it. First, the sequence is cut to pieces by an editor. Then, each piece is given a name manually. We can assume that no transitions or any kind of effects are applied to segments.

 

And I would like to run a script( or plug-in) and export all of the segments as separate files to the specified directory with the given names.

 

I checked out the forum and found out that  something similar has already been discussed, but the solution went to private messages:

    - export based on in/out points in the time line using scripting

 

Could anyone provide some references or the steps to solve the problem?

 

Or if one can share an example or sample code it would be really cool!

 

More specifically:

Do I have to use scripting or SDK to accomplish the task?

How to retrieve all segments of a sequence with in and out frames?

Can I sequentially render them?

Can I specify a preset to use for rendering?

Render Quality (w.r.t. Exporter's video src)

$
0
0

Zac,

 

can you explain the backend consequence of the different Render Qualities:

 

/**

** Render qualities

*/

typedef enum

{

kPrRenderQuality_Max = 4,

kPrRenderQuality_High = 3,

kPrRenderQuality_Medium = 2,

kPrRenderQuality_Low = 1,

kPrRenderQuality_Draft = 0,

kPrRenderQuality_ForceEnumSize = kPrForceEnumToIntValue

} PrRenderQuality;

 

And how orthogonal it is to the PixelType requested?

 

For example, one would assume that Draft mode should work as fast as possible by using the YUVA_8u PixelFormat whereas MAX mode would work in YUVA_32f and thus YUVA_32f PixelFormat should be requested in the supported PixelFormat type supported by the Exporter.

Always asking for YUVA_32f is a waste of processing time so that shouldn't be at the top of the supported PixelFormat list unless you really want it at max bit depth.

 

As an example - the shipped "h.264" exporter has a "Render at Max Depth" button. What RenderQuality does it set and what PixelFormat does it put in the list - and in which order - when enabled and disabled?

 

thanks,

 

Rallymax.

Only first character of plugin name is shown

$
0
0

I'm developing a plugin using the Transmit API and for some reason it's only displaying the first character of the display name in the Playback window.

 

Screen Shot 2012-10-08 at 3.26.42 PM.png

The code is as follows:

 

#define PLUGIN_DISPLAY_NAME L"My Plugin"

 

memcpy(&outPluginInfo->outDisplayName, PLUGIN_DISPLAY_NAME, sizeof(PLUGIN_DISPLAY_NAME));

 

I thought it could be because it's expecting a uint16_t array but the L macro produces a wchar_t array, however when I created a uint16_t array it still exhibited the same problem.

 

It's worth noting that the example Transmit API code in the SDK suffers from this issue too.

 

Currently my workaround is to not provide the outDisplayName at all which causes Premiere to populate it with the filename of the plugin bundle, but I would prefer to set the name programmatically.

 

I am running Premiere Pro CS 6.0.2 on OS X 10.7.4.


Looking for person who wrote RedStar3D Plug-in!

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?

Premier Pro Plug In Using the After Effects API

$
0
0

Hello,

According to the SDK you say the After Effects API should be used in order to create Effects type of Plug In's for Adobe Premier.

 

We developed several AE plug in's (Effects) based on the CS6 SDK of AE and yet they don't show up / work on Premier Pro CS6.

Where can we find guidelines on how to create plug in's which work both on AE and Premier?

 

Is there a code sample for such Plug In?

 

Thank You.

Script to enable/disable audio/videotracks

$
0
0

Hi,

 

Trying this:

 

function SwitchOffVideoOutput (vtracks,activeSeq)

    {

       var active_seq = activeSeq;

       var videotracks = active_seq.videoTracks;

  

       alert("numTracks: "+ videotracks.numTracks);

       

       track = vtracks.split("|");

  

       for (i=0; i <= track.length; i++) {

 

      alert("Switching off: "+ track[i]);

 

      // Would like to do something like this:

      // videotracks[track].enabled=false;

      // videotracks[track].output=false;

 

      }

 

      // Renaming sequence from A to B

      tmp = active_seq.name;

      tmp = tmp.replace("_A","_B");

      alert(tmp);

      //active_seq.name = tmp;

           

}

 

SwitchOffVideoOutput ("2|3|4",app.project.activeSequence);

 

// But also would like to do this:

 

var myColl = app.project.selection;

for (i=0; i <= myColl.length; i++) {//loop through the project

     alert(myColl.name)

     SwitchOffVideoOutput ("2|3|4",myColl.name);

}

 

// SwitchOffVideoOutput and rename selection in Premiere Pro

Is it possible to place a imported clip to timeline by script or plug-in?

$
0
0

Is it possible to place a imported clip to timeline by script or plug-in?

I can't find any clue about controlling a clip on timeline.

Viewing all 53010 articles
Browse latest View live


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