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

Plugin loading issue

$
0
0

Zac,

 

I'm running into plugin loading issue. My exporter plugin is not loaded by premiere if I start premiere on my system. The log says:

 

Loading from disk...

               The library could not be loaded.

 

However, when I d-click on .prm file itself, it launches adobe premiere pro and my exporter plugin. Here's a log for successful load:

 

Loading from disk...
                                                                                     This plugin was recognized by loader d3092dcf-904a-4a97-b4ca-66aed7540d57.

 

 

 

It says that Premiere Pro doesn't cache expoter plugins, so I think caching is not an issue, but I  tried holding shift key while launching Premiere Pro to d-check that. That didn't fix it. Just an FYI - i'm building my exporter in debug mode if that matters.


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)

export sequence as media file

$
0
0

HI,

I want to export sequence as media file i have tried something but that did not generate any output file and even not giving any error message

 

   // app.project.activeSequence.exportAsMediaDirect( "D:\\amit.avi","D:\\output_preset.epr",app.encoder.ENCODE_IN_TO_OUT);

   //app.project.activeSequence.exportAsMediaDirect( "D:\\amit.avi","D:\\output_preset.epr",app.encoder.ENCODE_ENTIRE);

//app.project.activeSequence.exportAsMediaDirect( "D:\\amit.avi","D:\\output_preset.epr",app.encoder.ENCODE_WORKAREA);

Log Premiere startup info re: extensions

$
0
0

I have an extension bundle that loads when Premiere starts up and it stopped loading today and can't figure out why.
I'm on CC 2015.2, Windows 7.
I'm hoping there's a way I can get Premiere to print out running information to the console when calling the .exe. I already tried looking in the .log files generated in ~/AppData/Local/Temp but nothing useful is output there.

 

My hope is there's a command-line arg that I can pass the Premiere.exe to print out information. I see it can be done on OSX and was curious about the same capability on Windows.

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

Is there a panel SDK method to load a sequence item into the source monitor?

$
0
0

Hey All

 

I have a panel that displays sequence items as a tabled index ... at present I can select an item in the list and have the playhead move to display that item in the sequence, I can also select the sequence item. My question is, as per the title, is there any method by which I can load a referenced sequence item into the source monitor?

 

Thanks in advance

Andy

Editing/Adding Markers

$
0
0

I’m developing a markers panel for Assistant Editors for labeling footage on the fly (marking good/bad sections of video, adding comments, etc. similar to Prelude's marker functionality)

 

I want to incorporate as much marker control as possible but I’m having a hard time finding reference materials. Below is what I’ve gathered.

 

Located in the PProPanel Sample .JSX

.getFirstMarker

.getNextMarker

.name

.end

.start

.type

.createMarker

.comments

.setTypeAsWebLink

newCommentMarker

newWebMarker

createMarker()

 

These were located under “PrSDKMarkerSuite.h” but I’m not sure how to execute them

GetMarkerCount

GetMarkerNameSize

GetMarkerName

GetMarkerStartTime

GetMarkerDuration

GetFlashCueMarkerID

DisposeFlashCueMarkerID

GetFirstMarker

GetNextMarker

GetMarkerData

 

Am I missing anything? Or could you point me to all of the reference materials pertaining to Markers?

 

Changing a markers' color would be especially handy.

 

 

Thank you

How to access showSaveDialogEx()?

$
0
0

Hi,

 

I guess this question is a bit silly, but I'm a silly person (some say ;-)).

I've been trying for some hours to make use of the showSaveDialogEx() function, but without success... can someone please point me in the right direction?

For me somtething like CSInterface.showSaveDialog(params) is not working, and var x = window.cep.fs.showSaveDialog(params) also doesn't lead anywhere.

I'm (hopefully) using the CSInterface.js shipped with the latest PPro panel, but this doesn't seem to be the breaking point...

 

Cheers.


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

Where to put #include/script src statement

$
0
0

This will probably be a confusing question, but I'm going to give it a shot.

 

In my panel development, I use the PProPanel as a base to start developing. 

In that 'package', I have:

ext.js

index.html

PProPanel.jsx

Premiere.jsx

plus other files and folders.

 

In my development, I have created a library of custom functions that I use across multiple panels.

(example: myPProFunctions.js, myAEFunctions.js, myCommonFunctions.js)

I add this to individual panels by using an #include line, usually in the Premiere.jsx or the AE.jsx.

However, I've created some library functions that I can utilize in the ext.js and index.html.

My question is, where do I add the #include or the script src line so the libraries can be utilized across all files?

I've found that when I add the #include line to the Premiere.jsx file the ext.js file can't see the functions.

 

thanks for any input,

Kelly

AE fails to load PRM plugin

$
0
0

I build an Exporter plugin for Premiere as a dot PRM file.  Zal Lam says I need to put it into C:\Program Files\Adobe\Common\Plug-ins\CS5.5\MediaCore folder so the render will be seen in the queue and access MediaCore libraries. 

 

After Effects is trying to load my Premiere Exporter plug-in and giving a failed to load warning. 

 

How do I make my Premiere plug-in only be seen by Premiere and not also by After Effects?

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

Still Images as Image Sequence - XML Import

$
0
0

Hi.

I'm trying to make life a bit easier by generating an XML file to quickly import a number of image sequences into a Premiere Pro project (PPro 2017.0.2 in case it matters).

 

It almost works - but when I import this XML file into premiere, it imports the first file in the sequence as a Still Image rather than an image sequence.

The path to the file is correct, and the first frame does show up just fine.

 

It feels like it's only a small change that's required, but I have not been able to find any information on it anywhere.

 

Xml download 

 

Since the (sample) XML is very short, I also included it here (the real file has a few hundred clips, they all behave the same way).

 

I tried manually importing an image sequence into premiere and exporting the result as FinalCut XML, but if I re-import that file, it also gets imported as a Still Image, so no help there.

 

<?xml version="1.0" encoding="UTF-8"?><xmeml version="4">  <bin>    <name>mpf_07 Images</name>    <children>      <bin>        <name>Preview</name>        <children>          <clip id="mpf_07_01">            <duration>229</duration>            <in>0</in>            <out>229</out>            <name>mpf_07_01</name>            <media>              <video>                <track>                  <clipitem id="clipitem-Preview-mpf_07_01">                    <name>clipitem-Preview-mpf_07_01</name>                    <file id="file-Preview-mpf_07_01">                      <name />                      <pathurl>E:\mpf_07_01.0101.jpg</pathurl>                      <rate>                        <timebase>24</timebase>                        <NTSC>FALSE</NTSC>                      </rate>                      <duration>320</duration>                      <timecode>                        <rate>                          <timebase>24</timebase>                          <ntsc>FALSE</ntsc>                        </rate>                        <string>00:00:00:00</string>                        <frame>0</frame>                        <displayformat>NDF</displayformat>                        <reel>                          <name />                        </reel>                      </timecode>                      <media>                        <video>                          <samplecharacteristics>                            <width>2048</width>                            <height>1126</height>                          </samplecharacteristics>                        </video>                      </media>                    </file>                  </clipitem>                </track>              </video>            </media>            <rate>              <timebase>24</timebase>              <NTSC>FALSE</NTSC>            </rate>          </clip>        </children>      </bin>    </children>  </bin></xmeml>

Panel window height & width: Getting and setting the dimensions

$
0
0

Setting

In custom panels for Photoshop, Illustrator, and InDesign it's possible to dynamically set the panel window size with the following command:

window.__adobe_cep__.resizeContent(YourCustomWidth,YourCustomHeight);

Not so, it seems, for Premiere Pro, After Effects, and Audition.

 

 

Getting

window.innerWidth and window.innerHeight seem to work reliably in JS context for

After Effects, Audition, Photoshop, Illustrator, and InDesign, but not reliably for Premiere.  The innerHeight seems to get jammed at 800.

Clip Marker: Different start/end time in seconds

$
0
0

Hi All,

 

I am adding a marker in clip using below code:

 

var markers = app.project.rootItem.children[0].getMarkers();
var new_marker = markers.createMarker(2.075469);
new_marker.name = "Test marker";
new_marker.comments = "Test comment";
new_marker.end = 2.075469;

 

Now I need to check that the marker already exists or not at "2.075469". I am using below code to compare the start and end seconds.

 

var markers = app.project.rootItem.children[0].getMarkers();
var start = markers.getFirstMarker().start.seconds;
var end = markers.getFirstMarker().end.seconds;
var secondsToCompare = 2.075469;
if (secondsToCompare == start && secondsToCompare == end) {     // Marker is already exists so do nothing
}
else {     // Add new marker
}

 

 

However value of both "start" and "end" is "2.08" which is not same as "2.075469".
Why premiere pro doesn't return exact value? Can anyone suggest how to achieve this?

 

Premiere Pro Version: 9.0.0
Extension Type: Panel

 


Thanks & Regards,
Meet Tank


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!

Plugin development for premiere, adobe example error LNK1104: cannot open file 'C:\Program Files\Ad

$
0
0

Hello,

I downloaded the Premiere Pro CS 5.5 Win SDK, i open the project SDK_Exporter in Visual Studio 2008, when i hit debug i get the following error

 

Error1fatal error LNK1104: cannot open file 'C:\Program Files\Adobe\Common\Plug-ins\CS6\MediaCore\ExporterSDK.prm'

 

How can i resolve ?

app.project.path Prefix with \\?\

$
0
0

Hello,

 

I want to get current project path of adobe premiere pro.

 

I am using below code to get that path

getProjectPath : function() {                          projectPath = app.project.path      return projectPath 
}

 

but the value contains with prefix '\\?\' in windows

the value is like below

 

\\?\D:\test\import\test.prproj

 

Is this premiere pro issue?

Do we have any specific fix?

Is there any prefix for MAC os?

 

I have tested in Premiere Pro version 2015 & 2017

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.

Is it possible to load a bin item in the Source or Program Panel?

$
0
0

Is it possible -- I know it wasn't years passed -- to load a bin item in the source monitor by means other than file path?  I'd love to be able to load multicam source sequence into the source monitor.  Or a sequence into the record monitor.  Possible yet?

Viewing all 53010 articles
Browse latest View live


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