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

adding support for FFV1 and Matroska

$
0
0

Hi all,

 

I'm working as part of the IETF Working Group, CELLAR, which focuses on lossless audiovisual formats and is standardizing a lossless video encoding, FFV1, and an audiovisual container format, Matroska. The IETF working group charter, timeline, deliverable list and other info can be found the CELLAR working group page. Because of the level of work going into these standards and the small but steadily growing number of users, I wanted to start researching ways about increasing implementations through a mix of either volunteering and/or sponsorship.

 

From an initial look at the Adobe Import SDK, it seems that FFmpeg could bind with the Adobe SDK to allow import of both formats. I'm looking for advice or resources about developing Adobe plugins for the import/export of these video formats. I would also love to discuss this in more detail with anyone who may have familiarity with both the FFmpeg API and the Adobe SDK in order to get a sense of the level of effort involved.


Thanks much,
Dave Rice


how to get started with premiere scripting?

$
0
0

Hi. I'm an experienced web developer who's working on a project which requires some scripting in Premiere Pro.

 

My needs aren't highly complicated, and at first I thought "well this looks fine" seeing the CEP samples on github. Never have I have ever seen such bad bad horrible job of creating an API since trying to work with Microsoft's Outlook. There seems to be no manual or proper documentation for Premiere, furthermore, most (if not all? I didn't check) of the links on the github page are dead. Worse, some of the links are supposed to point at a file within that project - upon finding that file (in a different place) it turns out that even the intended lines the link points to are out of date.The official ESTK install links on Adobe's website are dead too, I only finally got it through the Creative Cloud - after enabling "show older apps" of course, which hasn't been a whole lot of help because it's debugging system is so ridiculously out of date. Oh also, some of the examples on github don't even run *as is*. There's no proper guide or quick-start tool, there's not even something like a REPL system that'll allow you to mess around and learn through that.

 

I need to run some really simple operations. I'm not asking for help with figuring out how to do them - I can do that on my own, provided I have some system that allows me to actually understand and learn without banging my head against the wall. Frankly, this is embarrassing and unprofessional from a company this big, and I don't understand it, but maybe someone on this community can point me in the right direction? I just need a way to start messing with this so I can actually learn how to use it.

New UI font in CC 2018

$
0
0

Which font is being used now? Same or different across macOS and Windows?

Get Source A1/V1 of selected clip

$
0
0

Hi All,

 

I'm trying to find the user assigned A1/V1 source in order to insert new clip/audio file in the preferred track :

Capture.PNG

 

 

Didn't find in any Object reference to those sources, is that possible? will that be possible in later SDK versions ?

 

Thanks,

 

Peleg

Timeline Clip Properties inPoint and outPoint give inaccurate results when clip speed / duration not 100%

$
0
0

To recreate this issue, define a clip using the following extendScript

 

ThisClip=app.project.activeSequence.videoTracks[0].clips[0];
//i.e. the first video clip on the first video track of the active sequence.
Output={  name:ThisClip.name,  start:ThisClip.start.seconds,  end:ThisClip.end.seconds,  inPoint:ThisClip.inPoint.seconds,  outPoint:ThisClip.outPoint.seconds,  duration:ThisClip.duration.seconds
};

 

Then take a clip, called "TestClip", 0:00:00:00 and a TRT of more than 6 seconds.

For clarity's sake make the Active Timeline an even frame rate (24, 25 or 30fps, not 29.97 or 23.976)

Take a 4-second stretch of "TestClip" from source 0:00:02:00 and edit into the Active Sequence starting at 10 seconds, clip speed / duration at 100%

So you'll effectively:

     Source from 0:00:02:00 to 0:00:06:00

     in the timeline from 0:00:10:00 to 0:00:14:00

There is nothing else in this timeline.

 

If you run the above ExtendScript

 

the variable "Output" above will populate as follows, exactly as expected.

namestartendinPointoutPointduration
TestClip1014264

All is well and right with the world

 

 

Now apply a clips speed of 200% to the clip in the timeline and run the same ExtendScript above.

The results will show inaccuracies for inPoint and outPoint

namestartendinPointoutPointduration
TestClip1012

1

3

2

Consider that in the timeline the source content has not changed, only its speed.

The expected result for inPoint and outPoint should be the SAME as the Output for 100%, starting at 2, ending at 6, representing 4 seconds of source even though it accounts for only 2 seconds of TRT in the timeline.  It runs the footage faster, but uses the same source In and Source Out.  But our Output is falsely reporting we're starting source at source sec 1, ending at source sec 3 which is not true. You can verify by looking at your footage, and of course, if you match frame from the first frame of source in the timeline, indeed you pull up second 2 in the source monitor, not second 1.

 

Same issue with the clip slowed down to 50% though in this case the inPoint is at 4, ending at 12, when, again is should show from second 2 to second 6.

namestartendinPointoutPointduration
TestClip1012

4

12

8

Am I missing something or is this a bug in the ExtendScript API?

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.

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?

Is it possible to stop AME render?

$
0
0

Hi All,


Is there any way to stop AME render through Premier Pro API? I couldn't find such method in the encoder object: "app.encoder".

 

 

Premier Pro Version: 11.0.1
Extension Type: Panel

 


Thanks,
Meet


SCRIPTING for Premiere Pro

$
0
0

So there are plenty of tutorials for scripting in Adobe After Effects and lots of documentation.  But, as I understand, this isn't the situation for Adobe Premiere Pro.  I presume scripting is possible considering:

69447b12e961459f9058620ab6164927.png

But I have absolutely no idea how to get started.

 

The end goal is to create a script that will look throughout all of my imported project files (for the current open Premiere Pro project) and then use the "replace footage" command to swap every file that meets a certain file name criteria with other files in a specified directory that meet the same criteria.  So, for example, if I have:

 

DSTCNarration(1.1).flac

DSTCNarration(1.2).flac

DSTCBattle(BLURRED).mxf

SlowYellowMotion(BACK).mxf

DSTC(PREV).psd

 

imported into my project, then, when the script is run, it should prompt the user for a new file directory, which I would then enter manually, and then the script should automatically replace the five files above with five different files in the new specified directory by searching for files names based on certain file name criteria:

 

ARBITRARYNarration(1.1).flac

ARBITRARYNarration(1.2).flac

ARBITRARY(BLURRED).mxf

ARBITRARY(BACK).mxf

ARBITRARY(PREV).psd

 

And then if there are two files that meet the criteria or there isn't a file that meets the criteria, it could just return an error while still carrying out whatever other replacements that it can.

 

A script like this could save me tons of time.  Rather than having to use "replace footage" for every clip individually and constantly navigating back to the same folder, it could all be done in one go for all of the files (as long as my new files are named appropriately).

 

So, is this even possible?  Is scripting in Premiere Pro this advanced even possible?  If so, how should I go about figuring out how to get a script to do this?  Would creating a plugin be more suitable for something like this?  Can any of you write a script that would do this?

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

Retrieve name of Track-local Clip name (not ProjectItem name)?

$
0
0

I'm looking for a way to access the possibly renamed "name" of a clip (TrackItem) in Track. Specifically, I'm not interested in the (clip as TrackItem).projectItem.name.

 

Searching the forums returned some old questions. One used the QE DOM, which does not appear to be accessible anymore. Another suggested exporting the project as FCP XML and parsing the information from the exported XML. This seems exceptionally kludgy and prone to mistakes. The "correct" implementation would probably include using the os.tmpdir API from io.js and passing that to ExtendScript, where you would then export the Project or Sequence and then parse the XML. This seems as though it could get pretty heavy, pretty quickly with complex projects. How performant are the XML export functions?

 

Also, has a better way to do this appeared? This seems like an oft-requested and (theoretically) simple-to-implement feature...

Javascript API to change Premiere Pro Lumetri color

$
0
0

Is there any Javascript API available to change the Premier Pro Lumetri Color programatically.

AWS S3: Download media file get corrupted

$
0
0

Hi All,

 

I am trying to download media file (image or video) from AWS S3 using nodejsaws-sdk module. The file is downloaded but I couldn't open as it looks corrupted. Also noted that file size is not same as source file. Refer below code:

 

 

var AWS = require('aws-sdk');

var options = {
accessKeyId: "XXX",
secretAccessKey: "XXX"
};
var s3 = new AWS.S3(options);

var bucketName = 'test-bucket';
var keyName = 'test.jpg';
var params = {Bucket: bucketName, Key: keyName};

var fsModule = "fs";
var fs = require(fsModule);

// This requires when running this code in panel
AWS.util.stream = require('stream');

var writeStream = fs.createWriteStream('D:/test.jpg');
var readStream = s3.getObject(params).createReadStream();

readStream.pipe(writeStream);

 

I have added aws-sdk node module in my extension folder.

 

Note:
(1) I can download and open txt file without any issue
(2) If I run this code outside panel context (run in local nodejs server) it works for all type of files including text and media!!

 

 


Premiere Pro version: 9.0.0
Extension Type: Panel

 


Thanks & Regards,
Meet Tank

Lock / Unlock audio or video track

$
0
0

I was surprised after searching the forum that this question hasn't already come up.

 

I checked the sample and reflections but could not find any methods that would allow me to lock or unlock specific tracks, much like the setMute() / isMuted() code in the sample.

 

Do we have this capability? Would be a huge help.

Looking to Activate Custom Panels via Keyboard Shortcut + Keyboard Listeners when Panel is Active

$
0
0

This may well a couple of feature requests, but looking forward to getting some feedback...

 

In the interest of building more robust and flexible custom HTML panels, we were looking for ways to achieve the following:

1 - Activate and give focus to a custom panel via keyboard shortcut.

2 - Once activated and in focus that custom panel's key listeners (keystroke, keyup, keydown) can be coded to either take precedent over PPro's keyboard shortcuts or not.

 

The goal is to get the above two to work in concert so as to create workflows that would allow 100% keyboard driven functionalities, along the lines of:

- Call the Custom Panel via PPro shortcut

- Run the Panel's function (or suite of functionalities) via keystrokes

- Release control back to PPro and Return to regular PPro kb by exiting Panel focus

Imagine rapid fire: keystroke to activate, use, and release.

 

So far we've been unable to do this.

Reasons:

A - Haven't found a way or workaround to assign the ability to open & give focus to a custom panel via keyboard shortcut

B - Haven't found a way to make custom panel key listeners reliably detect keystrokes even when they are in focus..

 

So far we've tried by way of the CSInterface binding listed here:

https://forums.adobe.com/thread/2250292

and via standard HTML5/JS bindings

document.body.addEventListener / document.addEventListener.

 

Occasionally they work, but not reliably.

 

We're on Mac OS


How to get source clip times?

$
0
0

How to get source clip times, for sequence markers or player position or clip start and end points?

 

If I make a sub sequence and change start time, I lose original sequence time values.

 

so I need original clip times. Is there a way to get this?

cant download file using nodejs when going to remote site.

$
0
0

Hey,

 

I am trying to download a file using nodejs and I am facing a bit of an odd problem.

I started from the CEP_HTML_Test_Extension

in the nodejs.html I changed isNodeJSEnabled to the following (the code below works):

 

function isNodeJSEnabled() {

     var https = window.cep_node.require('https')

     var fs = window.cep_node.require('fs')

     var url = "https://upload.wikimedia.org/wikipedia/commons/4/4f/Big%26Small_edit_1.jpg"

     var fullPath = "C:\\premiereTest\\6\\abcde.jpg";

     var file = fs.createWriteStream(fullPath);

     var request = https.get(url, function (response) {

          response.pipe(file);

          // ensure file is complete before importing 

          response.on('end', function () {

          });

     });

}

 

and as I said this code works.

but when I take the same code put it in my real website

and changed the index.html in CEP_HTML_Test_Extension to just reload my site i.e(window.location.replace("https://test.MyRealWebsite.io/")).

then the same code doesn't work, it creates the file so the createWriteStream works. but the https.get does nothing, I tried to check error callbacks as well but nothing is been called, nor does the success, just nothing.

any ideas?

thanks.

QE API trackItem.moveToTrack() and trackItem.move()

$
0
0

Hello. What arguments does this functions accept? And if there any way to check arguments for QE functions?

Custom HTML Panels do not necessarily become active when clicked, even while working within them.

$
0
0

Custom HTML Panels do not necessarily become active when clicked, even while working within them.

 

To recreate:

  - Click the Timeline Panel to make active (blue-outlined)

  - Click a Custom HTML panel the same way.  Panel does not blue-outline

 

Consequences:

  - Some keystrokes executed within the custom HTML panel affect the custom panel while others affect the currently-active panel.

 

So imagine a Custom HTML Panel with an HTML <textarea> object.

Click Timeline Panel to activate

Click panel to activate (Doesn't happen.  Timeline remains the active panel)

Click into HTML <textarea>.  The <textarea> does become active, even though the Custom HTML Panel does not.  Timeline Panel is still active.

Type some characters: Characters fill <textarea> as expected.  All is well and right with the world.

Arrow Left and/or Right to navigate through the text in.  Unexpected Results: Cursor in <textarea> does not move.  Instead, timeline playhead moves back and forth (or whatever shortcut is assigned to Left & Right arrows for the Timeline)

⌘-A (Mac) to select all text in the text area: Text does NOT select.  If the Timeline Panel is still active ⌘-A selects all clips in timeline, not the <textarea>

⌘-X to cut all text you selected (or rather failed to select): Results: Timeline clips go to clipboard.  Your sequence is emptied of all edits.  <textarea>'s contents remain intact.

 

 

Note: It is always possible to force a Custom HTML Panel to be active by clicking its title bar or in the narrow horizontal space of the Custom Panel's Name Tab.  But this is not necessarily intuitive to users who are accustomed to clicking the body of a Panel to make active.

 

Questions:

Is there an ExtendScript command that, executed by a Custom HTML Panel, will make force itself to become active?

While we're on the subject, is there an ExtendScript command that can make specific PPro Panels active?

New Sequence from Clip using Premiere Pro SDK

$
0
0

Is there any way to either:

- Create a new sequence using the dimensions of a clip

- Change the frameSizeHorizontal and frameSizeVertical properties of a sequence within Premiere Pro, through the use of Extendscript / Javascript?

 

 

I am unable to directly change the frameSizeHorizontal and frameSizeVertical properties of the sequence since they are read-only I feel like one approach may be to create a temporary custom sequence preset using the desired dimensions of the sequence (is dependent on the clip in question, so cannot be hard-coded or created into a template). However this approach already seems far too involved for what should be a simple task. Any ideas?

Viewing all 53010 articles
Browse latest View live


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