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

My extension fails to install with status = -403 and -156

$
0
0

I'm struggling with getting my extension to install using ExManRoot. It's an extension for Premiere Pro CC 2015, and is meant to be compatible with version 9.0 and upwards.

 

Here is my manifest:

<?xml version="1.0" encoding="UTF-8"?><ExtensionManifest Version="5.0" ExtensionBundleId="com.thedinermusic.thediner" ExtensionBundleVersion="1.0.0"  ExtensionBundleName="The Diner" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">  <ExtensionList>  <Extension Id="com.thedinermusic.thediner" Version="1.0" />  </ExtensionList>  <ExecutionEnvironment>  <HostList>            <Host Name="PPRO" Version="[9.0,10.9]" />  </HostList>  <LocaleList>  <Locale Code="All" />  </LocaleList>  <RequiredRuntimeList>  <RequiredRuntime Name="CSXS" Version="6.0" />  </RequiredRuntimeList>  </ExecutionEnvironment>  <DispatchInfoList>  <Extension Id="com.thedinermusic.thediner">  <DispatchInfo >  <Resources>  <MainPath>./index.html</MainPath>  <ScriptPath>./jsx/import.jsx</ScriptPath>                    <CEFCommandLine>                        <Parameter>--enable-nodejs</Parameter>                    </CEFCommandLine>  </Resources>  <Lifecycle>  <AutoVisible>true</AutoVisible>  </Lifecycle>  <UI>  <Type>Panel</Type>  <Menu>The Diner</Menu>  <Geometry>  <Size>                            <Height>420</Height>  <Width>620</Width>  </Size>  </Geometry>  <Icons>  <Icon Type="Normal">./icons/dinericon.png</Icon>  <Icon Type="RollOver">./icons/dinericon.png</Icon>  <Icon Type="Disabled">./icons/dinericon.png</Icon>  <Icon Type="DarkNormal">./icons/dinericon.png</Icon>  <Icon Type="DarkRollOver">./icons/dinericon.png</Icon>  </Icons>  </UI>  </DispatchInfo>  </Extension>  </DispatchInfoList></ExtensionManifest>

 

I used ZXPSignCmd (following these instructions) to sign and package my extension into a ZXP file. I then attempted to install the package using ExManRoot, but got the error: "Failed to install, status = -403!"

 

Thinking it had to do with the fact that I hadn't set an install location for the ZXP, I tried uploading the ZXP file I just made to my developer portal using the online packager, with the following settings:

 

Screen Shot 2016-07-05 at 12.03.51 PM.png

I then downloaded the ZXP file it generated through the developer portal, and attempted the install again. This time I got the error: "Failed to install, status = -156!"

 

Can someone tell me what these errors mean? No amount of Googling has led me to an explanation as to what status codes 403 and 156 are.

 

My first thought is that, as you can see in my screenshot, the online package automatically downcases the install location. I entered $adobecommon/CEP/extensions in the "custom location" dialogue, but it changes it to @adobecommon/cep/extensions. I believe this is an issue on Mac due to files and folders being case-sensitive (I'm testing on a Mac running Yosemite). Perhaps that's what's going on? If so, how can I force it to use the proper case?

 

I'm at a total loss here. Been trying to package/submit this extension for months now. Anyone who can help me get this damn thing accepted by the review process will officially be my best friend for life.


Is it possible to get the timebase of a project item?

$
0
0

Hey All

Just wondering if it's possible to get the timebase of a project item? I see the startTime method but am not seeing anything that relates to it's timebase.  Is there something in the QE DOM?

Thanks

Andy

Getting duration out of pproTicksIn/pproTicksOut

$
0
0

Hi there

 

I’m trying to get the duration of a clip from an exported finalcut pro xml out of premiere pro cc. Somehow it seems my following calculation is wrong. TICKS_PER_SECOND is 254,016,000,000 (Source Post).

 

TimeInSec = (pproTicksOut / TICKS_PER_SECOND) – (pproTicksIn / TICKS_PER_SECOND)

 

With example data attached that results in TimeInSec = 37.32. Adobe Premiere shows duration for that clip of “00:00:36:20” (920 Frames).

Is someone able to explain, how to calculate the same duration as premiere with the data given from an exported finalcut pro xml?

 

Thanks a lot

JW

 

Example ClipItem Node from exported xml:

<clipitem id="clipitem-13051" frameBlend="FALSE" premiereChannelType="stereo">

                <masterclipid>masterclip-4999</masterclipid>

                <name>Test_audio.wav</name>

                <enabled>TRUE</enabled>

                <duration>3750</duration>

                <rate>

                                <timebase>25</timebase>

                                <ntsc>FALSE</ntsc>

                </rate>

                <start>82</start>

                <end>-1</end>

                <in>0</in>

                <out>933</out>

                <pproTicksIn>0</pproTicksIn>

                <pproTicksOut>9479877120000</pproTicksOut>

                <file id="file-4999"/>

                <sourcetrack>

                                <mediatype>audio</mediatype>

                                <trackindex>1</trackindex>

                </sourcetrack>

                                <filter>

                                                <effect>

                                                                <name>Audio Levels</name>

                                                                <effectid>audiolevels</effectid>

                                                                <effectcategory>audiolevels</effectcategory>

                                                                <effecttype>audiolevels</effecttype>

                                                                <mediatype>audio</mediatype>

                                                                <parameter authoringApp="PremierePro">

                                                                                <parameterid>level</parameterid>

                                                                                <name>Level</name>

                                                                                <valuemin>0</valuemin>

                                                                                <valuemax>3.98109</valuemax>

                                                                                <value>0.530654</value>

                                                                </parameter>

                                                </effect>

                                </filter>

                <link>

                                <linkclipref>clipitem-13051</linkclipref>

                                <mediatype>audio</mediatype>

                                <trackindex>5</trackindex>

                                <clipindex>1</clipindex>

                                <groupindex>1</groupindex>

                </link>

                <link>

                                <linkclipref>clipitem-13063</linkclipref>

                                <mediatype>audio</mediatype>

                                <trackindex>6</trackindex>

                                <clipindex>1</clipindex>

                                <groupindex>1</groupindex>

                </link>

                <logginginfo>

                                <description></description>

                                <scene></scene>

                                <shottake></shottake>

                                <lognote></lognote>

                </logginginfo>

                <labels>

                                <label2>Caribbean</label2>

                </labels>

</clipitem>

<transitionitem>

                <start>990</start>

                <end>1015</end>

                <alignment>center</alignment>

                <cutPointTicks>121927680000</cutPointTicks>

                <rate>

                                <timebase>25</timebase>

                                <ntsc>FALSE</ntsc>

                </rate>

                <effect>

                                <name>Cross Fade (+3dB)</name>

                                <effectid>KGAudioTransCrossFade3dB</effectid>

                                <effecttype>transition</effecttype>

                                <mediatype>audio</mediatype>

                                <wipecode>0</wipecode>

                                <wipeaccuracy>100</wipeaccuracy>

                                <startratio>0</startratio>

                                <endratio>1</endratio>

                                <reverse>FALSE</reverse>

                </effect>

</transitionitem>

 

<!-- Further clipitems -->

PremierePro CC 2014 Set Scratch Disks programmatically

$
0
0

I'm trying to set the scratch disks for CapturedVideo, CapturedAudio, VideoPreviews, AudioPreviews and ProjectAutoSave programmatically to unique paths via extendscript.

 

Using the ExtendScript databrowser (which conveniently closes the entire viewing hierarchy everytime you run your code) I have located the variable setScratchDiskPath. However, this appears to be a single variable and setting it appears to have no effect on the aforementioned five folder paths.

 

The other obvious location for this would be the Project object (ThisProject) but I can find no references to CapturedVideo, Captured Audio, etc.

 

Does anyone know how to retrieve and set these variables?

Programmatically setting scratch disks in Premiere....changed?

$
0
0

Has something changed in the extendscript/premiere sdk regarding setting of scratch disks? We've had code in place for the last few years that has worked well, but broke with Premiere 12.0.0.

 

This worked prior to 12.0.0.....(where <..._FolderPath> is our variable representing the location to this that particular scratch disk will be assigned.)

 

//Assign the variables to the currently open instance of Premiere's preferences and project variables with ExtendScript commands:

app.setScratchDiskPath(FirstVideoCaptureFolder_FolderPath,"BE.Prefs.ScratchDisks.FirstVide oCaptureFolder");

app.setScratchDiskPath(FirstAudioCaptureFolder_FolderPath,"BE::kPrefsScratchDisksFirstAudi oCaptureFolder");

app.setScratchDiskPath(FirstVideoPreviewFolder_FolderPath,"BE::kPrefsScratchDisksFirstVide oPreviewFolder");

app.setScratchDiskPath(FirstAudioPreviewFolder_FolderPath,"BE::kPrefsScratchDisksFirstAudi oPreviewFolder");

app.setScratchDiskPath(FirstAutoSaveFolder_FolderPath,"BE::kPrefsScratchDisksFirstAutoSave Folder");

 

I'm wondering if the names for the disks (for which there appears to be a few more new locations in the Project manager/Scratch disk dialog) have changed or if the setting command has changed?

Timecode from Seconds

$
0
0

I'm able to get Timecode from CTI object seq.CTI.timecode; also seconds.

 

But when converting the seconds back to Time code it gets confusing.

 

How to calculate Timecode value from Seconds,  using Ticks, Timebase and Zero Time?

how to add plugins from premiere pro sdk into adobe premiere pro

$
0
0

I have downloaded premiere pro sdk and want to get familiar with plugin development, so how do i use plugins from premiere pro sdk into premiere pro.

I don't know how to use those plugins in the premiere pro sdk.

I am using macBook pro(16GB RAM, 2.2 Ghz, intel core i7).

How to develop it using Xcode.

They have given a documentation on that but its poorly documented.

[BUG] Premiere Pro CC 2018 Panel Background is White

$
0
0

We just installed Premiere Pro CC 2018 to test our extension in the latest version. One immediately noticeable difference was that the background of the Extension's content is pure-white. After some investigating, we found that the default background-color was transparent (alpha = 0), allowing the panel's backing color to shine through. This worked in previous versions of Premiere Pro. It was nice because the user's color settings in the panel were handled automatically.

 

With CC 2018, all extensions will now need some sort of color handling of their own, akin to what the PProPanel does, including theme change event handling.

 

It would be preferable to have the background color be the same as the actual application's theme color as in previous application versions.


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?

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,

Create a custom plugin for Premiere on windows?

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.

Extendscript Toolkit opens during panel interaction

$
0
0

When I run a script from a panel I have created, if the Toolkit is installed on the machine, it will open and come to front. No code is showing, the program just launches.

 

Is there a way to suppress this? It is not huge, but a bit distracting. Thanks!

Getting Started in Premiere Pro Plugin Development?

$
0
0

Hello! I am a DSLR Video Producer & Photographer out of the PNW working with an employer that has the possibility of an improved workflow. If only I could develop a Premiere Pro Plugin to fit their needs. Alas, I am unable to find any viable beginner information on the matter. I've looked over the SDK documents, I've also looked on YouTube, Forums (including here) and have yet to find anything that will help me get from 0 to something rather than 0 to nothing. I don't even know how to begin to get started. I hope to make some videos myself on this matter due to my struggle, but I need to be helped before I can help others. I hope that I can be given some information to be put in the right direction. I am just clueless, even after everything I've looked at. I've seen everything from You can use any development program to develop with the SDK to You develop with HTML5, Javascript, and CSS or something close to the sort. Yet, no simple information for a beginner myself to just get started. Please, help??

 

What I'm trying to do: Basic automated animation for photos in Premiere (kind-of like a slideshow). I'm trying develop a custom plugin for Premiere Pro that takes out the handy work of setting: position and scale keyframe at position1, animate a basic movement with position and scale to position2 while keeping a person or persons face or faces as the focus. Possible detection of photo width/height for proper scale to cover monitor viewport. Possible anchor point movement/use to allow custom movement to pull/push towards the desired point in photo.

 

I love Adobe products and have been a CC subscriber for years. I am more than willing to clear anything up if needed. I hope to hear from anyone willing to help soon.

 

Thank you.


Transition Items

$
0
0

Hi Bruce Bullis,

 

thanks for adding some more granularity to transition items. And yet... my humble opinion is using the local language for the name is not a good choice. I suggest this be modified to either remain in english, or better, use a UUID, or use the SMPTE code if the transition is also one standardized by SMPTE (which many of the standard ones are) as an ID.

Also, these improvements have not (yet) found their way into the FCP XML export, this one is still exported as a cross dissolve no matter what the actual transition is.

 

Thoughts?

 

Best regards,

Erik

How to avoid PPro reading from importer with 'jumps' ?

$
0
0

Hello,

 

Our importer plugin reads from a remote storage. Usually everything works fine and the playback is smooth.

 

However, sometimes there is a temporary latency (mainly when start playing) so  some frames might be slower to read. In that case, PPro switch to skip-frames: Instead of ask our importer to read in a sequential manner (3,4,5,6...) it tries to read in larger interval (2 frames-interval and bigger intervals, probably depend on the time it took to read the frame ?). Although I can fully see the logic in that behavior, in that particular case it doesn't help: Since the stream is sequential, skipping frames will result in bigger latency to read each frame - so the skip-behavior only make things worse (and indeed, in this case, the interval become bigger and bigger).

 

Is there a way to disable that behavior so PPro can keep on reading frame-by-frame ?

 

Thanks,

Oran Gilad

XTRMX R&D Leader

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

Timecode total frame count

$
0
0

Hey guys,

 

I was wondering if it would be possible to build something that would use or build upon the 'Timecode' Video Effect to show a total Frame Count of a clip. So say you have a title card that's 100 frames long. Currently if you apply the effect it would count up from 1-100 as you play through. I would like it just to show total of 100, then if I reduced the duration of the clip, say to 75 frames it would update and show 75 frames. Is something like this possible? Why I ask is because currently I have a workflow that requires at title card with a frame count on each shot, a single project could have hundreds of shots, so across numerous projects the act of just manually adjusting a title card can be rather time consuming.

 

Cheers,

Matthew

Parsing pproTicksIn / pproTicksOut

$
0
0

Hi Premiere SDK folk,

 

I'm curious about the pproTicksIn and pproTicksOut fields that are populated when exporting a Final Cut Pro XML. I see this sort of thing in my fcpxml:

 

<start>17653</start>

<end>18523</end>

<in>-1</in>

<out>-1</out>

<pproTicksIn>8522283369600</pproTicksIn>

<pproTicksOut>12209198601600</pproTicksOut>

 

The "in" and "out" frame counts have been set to -1 because transitions are being used (cross-dissolve in this case), so I can't grab the in/out points there. But I'm wondering if the pproTicksIn/Out numbers can be parsed down to effectively be the in/out frame numbers, or timecode (I'm ultimately looking for timecode values). I can strip off all transitions before exporting to fcpxml, but it'd be cooler if I didn't have to do that. In any case: what do the pproTicksIn/Out numbers correspond to?

 

Cheers,

Raphael

Viewing all 53010 articles
Browse latest View live


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