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

Scripting - Dive into nested sequences

$
0
0

Hi guys, i have a problem with scripting.

 

I want to check some property of the clips in my active sequence and the relative nested sequences.

I know how i can loop trought the clips and property in the active sequence, but i don't know how to enter in the nested sequence and make some check and operations.

I don't know the right syntax, can you help me?

 

Thank you


Is there a call available for capture?

$
0
0

Dipping my toes back into PP scripting...

 

I want to leave PP capturing a timelapse from the SDI input - so 1 frame every minute.

 

I also work in tight turnaround and would like to be able to speed up how I capture clips via baseband.

 

Questions arising:

 

a. Is there a way to bind a script to a keyboard shortcut?

 

b. Is there a call to the capture interface?

 

Thanks for any help

Is it possible to delete or enable/disable a clips using extendscript ?

$
0
0

I would like to know if javascript API has potential for delete/ripple delete clips. Please suggest, I haven't found any proper documentation for  javascript API. Basically, I'm looking for an object model diagram. 

Open additional window when opening multiple projects from extendScript.

$
0
0

I'm running app.openDocument(premiere_project_path) to open a project. That is working well. But if I already have project open it will close that and open the new project in it's place. Is there a way to open projects in a new window if another premiere instance is already running?

[Q] Execute menu command from Script (CEP, ExtendScript)?

$
0
0

Hi all,

 

Is there any API for executing menu command from CEP plugin (or ExtendScript)?

 

Illustrator has app.executeMenuCommand().

InDesign has app.menuActions.

 

I'm looking for similar API for Premiere Pro.

 

Thank you very much,

Naoki

Create premiere pro plugin automation

$
0
0

Hello,

 

I'm trying to create a new plugin which will do a few of the following things:

- create a new project

- add a video file in that project

- add an effect over that video

- export the new video to a predefined path

The plugin will have to do this without any human interaction. The plug-in will receive an event from somewhere and start this flow.

I have read the premiere pro sdk documentation and it's not that straight forward.

 

Do you have any idea on how to do this or even if it's possible?

Is this possible only in a plug-in written in c++ or it can be done with panels which are written in some form of javascript?

 

Thanks in advance!

ExManCmd install a zxp file without specify the Premiere Pro CC's directory, any tips about primere's registry

$
0
0

As mentioned above, I'd like to find the directory of installation of primere. I'm not sure what's the registry entries that Premiere Pro cc will create.

Any Ideas?

Including Multiple JSX Scripts

$
0
0

I've encountered three methods:

  1. //@include path/to/file-to-include.jsx
  2. #include path/to/file-to-include.jsx
  3. $.evalFile("path/to/file-to-include.jsx");

 

Some questions:

  1. Is having multiple <ScriptPath> elements in the manifest file supported?
  2. What is the recommended way to include multiple JSX scripts?
  3. Where can I learn more about the ExtendScript environment - features beyond the standard ECMAScript implementation (e.g. this include stuff)?

Plug-In not showing up in premiere pro

$
0
0

Hello, I'm from accevolution (www.accevolution.net) and we've got the problem that our plugins are not showing up in premiere pro at about 30% of the customers machines. Our workaround at the moment is to tell the customers to install the most recent graphics card driver, launch premiere pro while holding down the shift key and if this doesn't help, to set the ignore flag in the registry here: 3. HKEY_CURRENT_USER\Software\Adobe\Premiere Pro\11.0\PluginCache.64\en_US3. HKEY_CURRENT_USER\Software\Adobe\Premiere Pro\11.0\PluginCache.64\en_US to "0".

 

Any suggestions why they are working perfectly on 70% and not showing up on 30%? From those 30% that have trouble are 99% windows-user, but we also got a few mac users with that problem.

 

It would be great if somebody could give me a hint.

 

Best regards,

 

Wolfram

Common location for a plug in installer / Media Encoder Plugin Loading.log ?

$
0
0

Hi there,

I have a problem loading a plugin from After Effects and Media Encoder with Premiere not installed:

1. From the After Effects SDK guideline I read that "Installing your plug-ins in the common location will allow them to be loaded by Premiere Pro, if installed."

I am creating a Premiere Import plugin, which if I understood correctly should work on After Effects too. Now here is my question: will After Effects and Media Encoder look in the "/Library/Application Support/Adobe/Common/Plug-ins/7.0/MediaCore/" folder even if Premiere is not installed? If not, when writing an installer, should I put a copy of the plugin in both After Effects and Media Encoder plugin folders too?

2. is there a plugin loading log for Media Encoder? I can locate the ones for After Effects and Premiere, but not the one from Media Encoder.

Thank you for any help,

S.

Adobe Premiere Scripting Guide

$
0
0

Hello, I have to write some scripts for Premiere. It will import, cut and set rendering. I can do it in after effects, because there is Adobe After Effects Scripting Guide for CS6.pdf , but I cant find anything similar for Premiere But scripting in premiere is possible. I can find some commands in Data Browser in ExtendScript Toolkit editor, but I dont know how can I use it. (Import, edit etc.) Is for Premiere any scripting manual ? If not, why? Scripting in Premiere is not official supported? Thanks.

Change Speed of Clip with Scripting

$
0
0

Is it possible to use an Extendscript script in Premiere Pro to change the speed of a clip?  If so, can you provide an example on how this would be done?  I suspected that it would be somewhere in clips.components, but that only seems to contain opacity and motion values.

Scripting - Dive into nested sequences

$
0
0

Hi guys, i have a problem with scripting.

 

I want to check some property of the clips in my active sequence and the relative nested sequences.

I know how i can loop trought the clips and property in the active sequence, but i don't know how to enter in the nested sequence and make some check and operations.

I don't know the right syntax, can you help me?

 

Thank you

Copy files on hard drive throught script code

$
0
0

Hi guys,

 

i have an array populated with media that i would like to copy in another folders on hard drive. Is possible throught scripting to copy files on disk?

 

Thank you

myFile.Copy() has any size limitation?

$
0
0

Hi,

i'm using this function to copy some file(on hard drive), but i noticed files that are big (6GB+) are not fully copied but truncated. Other files that are about 4,5 GB are copied without issue. The drive is NTFS formatted.

 

Thanks!


Feature Request - create multicam source sequence from clips

$
0
0

I know it has been asked in 2017 I think, but is a function for creating a multicam source sequence (and the different methods) on imported clips on the roadmap somehow? Would like to mark this as a feature request.

isSequence() vs IsSequence()

$
0
0

Just something I have noticed and not sure if it is documented: The premiere pro scripting guide lists the function to check if a project item is a sequence (returns true if sequence) is "IsSequence()." However, my code kept throwing errors but changing "IsSequence()" to "isSequence()" appears to resolve the issue. Wanted to share in case anyone was having similar issues with this function.

Discontinuation of Creative SDK does not impact Premiere Pro

$
0
0

As you may have seen elsewhere, Adobe is ending support for some Creative SDK components.

 

This change has zero impact on the APIs or SDKs associated with Premiere Pro, After Effects, or any of our other video and audio products.

Loop through opened projects

$
0
0

projects

 

app.projects

Description

An Array referencing all open projects.

Type

Array (of Project objects); read-only.

  • I open 2 projects
  • I execute in my code
    app.projects.length;>>> undefined
    typeof app.projects;>>> [object ProjectCollection]
    Array.IsArray(app.projects);>>> false

 

I had to stringify the object to find out that there was a numProjects property I could use.

 

Is there anywhere a reliable documentation ?

 

(please don't tell me to look at all examples, you are professionnals)

 

Message was edited by: paul charmoille format

Premiere Pro Scripting: Set In and Out Points of Clip

$
0
0

Suppose I have a 2-minute long media file and an empty timeline for the currently active sequence.  Now, suppose I want to write a Premiere Pro script that will put that media file at the beginning of the timeline, but it should start playing 45 seconds into the clip and end exactly 10 seconds later (at 55 seconds into the clip).  It would be the equivalent of this:

 

D0NFMRQ.png

(In this image, we see that the footage is 2 minutes long, the first 45 seconds of the footage are trimmed off, and it only plays for 10 seconds).

 

I would like to achieve this through scripting, but I'm not sure.  I tried something of this order, but it did nothing more than simply put all 2 minutes of the clip into the sequence timeline:

 

var file1 = "C:\\Path\\test.mxf"
var backsBin = app.project.rootItem.createBin("Backs")
app.project.importFiles([file1], false, backsBin);
var thisTrack = app.project.activeSequence.videoTracks[0];
var projItem = backsBin.children[0];
thisTrack.insertClip(projItem, 0); // second arg is time in seconds to insert at
thisTrack.clips[0].inPoint.seconds = 45
thisTrack.clips[0].outPoint.seconds = 55

 

What is wrong with my code, and what can be done to fix it?  It seems like there's no way to set in and out points, as those last two lines don't seem to do anything.  I am on Windows 10, PPro CC 2017.1.2 for reference.

Viewing all 53010 articles
Browse latest View live


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