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

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


Looking for Post-Live-Event using Qumu QCS 2.8 with VCC 7.5

$
0
0

Hello -

 

I am attempting to support a deployment of Qumu Webcasting solution to 120k+ users.  The modalities are Smooth Streaming, HLS an MP4.

 

 

STREAM   Premiere Pro !

======

MP4

- Video

- Audio

Slides

- JPG

- "Slide Change Events"

 

DATAPOINTS

=============== 

@Encoder (QCS)

   - Archive Video  - MP4 and Expressions XJE file

@VCC Storage

   - PPT (images) - JPG files

@VCC DB

   - Slide events - in SQL storage

 

EVENTS NEEDED, BUT NOT SUPPORTED BY VENDOR

=======

1. Replace PPT image file with correction

2. Remove mid location cough

3. Ability to browse via NLE Non-linear editing system - Wikipedia, the free encyclopedia 

4. Ability to mount Qumu Stoage / DB

 

 

MY IDEA: 

========

1. So I found that I can open the QUMU archive output with MSFT Expressions Encoder Pro 4

  - It does not include the slide events

2. I think I could create a custom plugin to MSFT Expressions for slide events via SQL queries

 

 

MY ASK:

=======

Is there anything better from Adobe side to mount MP4 (Audio/Video) and custom API for PPT for slide images to allow for full CRUD actions?

 

Corrections / Comments?

Thank you

[BUG] autofocus on input field doesn't handle key presses

$
0
0

When PP launches, if a panel has focus with blue line around it, and that panel has an input field with "autofocus" applied then the field visually is shown with focus.

 

However if you press a key, you get the system beep because nothing handles the keypress. It is necessary to actually click in the input field for the keypress to be handled correctly which doesn't match with the state shown visually where the field AND the panel both have focus.

 

To replicate:

  1. Take the PProPanel sample and add the following as the first element after <body>:
    <input type="email" name="email" placeholder="Email" required autofocus>
  2. Launch the extension and dock it into same container as source viewer so it is the first panel.
  3. Save the current workspace.
  4. Quit and relaunch PP.
  5. The PProPanel panel should have focus as should the added input field.
  6. Press any key.

 

Actually, this is not specifically an autofocus issue. Even if you set the focus to the input field when the panel loads, it doesn't receive key presses.

Undefined is not an object

$
0
0

Hello,

 

I'm having an issue with an HTML5 panel for Premiere Pro.  I have the panel installed on 15 computers and it works fine on 10 of them.

On the other 5, the panel launches but when a button/script is pressed an alert box comes up and says "Undefined is not an object".

Any ideas?

 

thanks,

Kelly

How to invoke JavaScript/ExtendScript for Premiere Pro CC in Mac OS

$
0
0

Looking for a way to run JavaScript aka ExtendScript in Premiere Pro CC

 

Here's what I've got for other Adobe Apps, using AppleScript:

 

tell application "Adobe After Effects CC 2015"  activate  set SomeExtendScript to "ThisVariable='Runs This Js Code';"  DoScript SomeExtendScript
end tell


tell application "Adobe Photoshop CC 2015.5"
  activate  set SomeExtendScript to "ThisVariable='Runs This Js Code';"  do javascript SomeExtendScript
end tell


tell application "Adobe Illustrator"
  activate  set SomeExtendScript to "ThisVariable='Runs This Js Code';"  do javascript SomeExtendScript
end tell

 

But so far nothing for Premiere.

tell application "Adobe Premiere Pro CC 2015"  activate  set SomeExtendScript to "ThisVariable='Runs This Js Code';"  -- Does not work: DoScript SomeExtendScript  -- Does not work: do javascript SomeExtendScript  -- Does not work: do script SomeExtendScript
end tell

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?

About the Adobe Extension SDK...

$
0
0

I am trying to add extensions to premiere pro.

 

However, I run the sample code ppropanel index.html, and I get the following error. (in CSInterface.js)

 

Uncaught TypeError: Cannot read property 'getHostEnvironment' of undefined at CSInterface.js:480

 

 

This happens when I run it directly in the browser, or when I create and deploy the zxp file.

 

What should I do? I need help.

 

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]

[Moved from generic Suite forum to SDK forum... Mod]

Getting Display Name Of Clip In Sequence?

$
0
0

Does anyone know if there is a way to access the name of a clip in a specific sequence? I'm looking for the name that is displayed, not necessarily the projectItem name.

 

In Premiere you can right click on a clip in a sequence and rename the instance of that clip, but not have that actually rename the source item's name in the project.

I'm looking for a way to view the renamed clip's name (and potentially modify it)

 

I know I can get the source name of a clip with something like this:

app.project.activeSequence.videoTracks[0].clips[0].projectItem.name;

 

But that won't give me the renamed name.

 

Has anyone come across this before? Any help is appreciated!

Thanks!


How to identify the MXF-OP Atom files in a Premiere project

$
0
0

Hi All,

 

Is there any way we can go through a large project and find the MXF-OP Atom files in that project?

Is there any way to get the codec/wrapper details of the files in a Premiere project?

We are trying to achieve this using our HTML5-CEP based panel.

 

Thanks and Regards,

Anoop NR

Event Chaining

$
0
0

Hi community,

 

I need to understand what I'm conceptually doing wrong or what I'm confusing here.

This experiment is to test the chaining of events, so basically Event1 shall trigger Event2, which is split, so Event2 shall trigger Event3 and then finish. Sounds a bit weird when describing it that way, so here's the basic code:

 

index.html:

<html>  <head>    <meta charset="utf-8">    <script src="./lib/CSInterface.js"></script>    <script src="./lib/jquery.js"></script>    <script>    $(document).ready(function() {         $("#EventChain").on("click", function(e){            e.preventDefault();             var cs = new CSInterface();            var message = "Event Listeners created.\nLet's go!\n\n";            cs.addEventListener("Test.Event1", function(evt) {                message += evt.data + "\n\nEvent 2 to occur...\n\n";                $("#textarea").text(message);                // console.log(evt.data);                cs.evalScript('$._ext_ed.e_chain2("This is Event 2.")');            });            cs.addEventListener("Test.Event2", function(evt) {                message += evt.data + "\n\nEvent 3 to occur...\n\n";                $("#textarea").text(message);                // console.log(evt.data);                cs.evalScript('$._ext_ed.e_chain3("This is Event 3.")');            });            cs.addEventListener("Test.Event3", function(evt) {                message += evt.data + "\n\n";                $("#textarea").text(message);                // console.log(evt.data);                cs.removeEventListener("Test.Event1");                cs.removeEventListener("Test.Event2");                cs.removeEventListener("Test.Event3");            });            $("#textarea").text(message);            cs.evalScript('$._ext_ed.e_chain1("This is Event 1.")');        });    });    </script></head><body><header></header><section>  <button id="EventChain">EventChain</button><br/>  <textarea id="textarea" placeholder="Click the EventChain button!"></textarea></section><footer></footer></body></html>

 

JSX:

try {    var xLib = new ExternalObject("lib:\PlugPlugExternalObject");
} catch (e) {    alert(e);
}

$._ext_ed={ 
    dispatchEventCEP : function (_type, _payload) {        if (xLib) {            var eventObj = new CSXSEvent();            eventObj.type = _type;            eventObj.data = _payload;            eventObj.dispatch();        } else {            alert ("PlugPlugExternalObject not loaded.", true);                    }    },        e_chain1 : function (msg) {        alert ("Message \""+msg+"\" received.", false)        var eventType = "Test.Event1";        $._ext_ed.dispatchEventCEP(eventType, msg)    },        e_chain2 : function (msg) {        var eventType = "Test.Event2";        $._ext_ed.dispatchEventCEP(eventType, msg + "part one");        $.sleep(5000);        $._ext_ed.dispatchEventCEP(eventType, msg + "part two");    },        e_chain3 : function (msg) {        var eventType = "Test.Event3";        $._ext_ed.dispatchEventCEP(eventType, msg)    }
}

 

 

expected test result:

Event Listeners created.

Let's go!

 

This is Event 1.

 

Event 2 to occur...

 

This is Event 2.part one

 

Event 3 to occur...

 

This is Event 3.

 

This is Event 2.part two

 

Event 3 to occur...

 

This is Event 3.

 

 

actual test result:

Event Listeners created.

Let's go!

 

This is Event 1.

 

Event 2 to occur...

 

This is Event 2.part one

 

Event 3 to occur...

 

This is Event 2.part two

 

Event 3 to occur...

 

This is Event 3.

 

This is Event 3.

 

 

What's going on? Why is Event 3 not completely dispatched when Event 2 part one is obviously finished?

 

It gets even worse when I click the button once more:

Event Listeners created.

Let's go!

 

This is Event 1.

 

Event 2 to occur...

 

This is Event 2.part one

 

Event 3 to occur...

 

This is Event 2.part two

 

Event 3 to occur...

 

This is Event 2.part one

 

Event 3 to occur...

 

This is Event 2.part two

 

Event 3 to occur...

 

This is Event 3.

 

This is Event 3.

 

This is Event 3.

 

This is Event 3.

 

This is Event 3.

 

This is Event 3.

 

This is Event 3.

 

This is Event 3.

 

I'll try to find some useful reading on this myself but I'd appreciate useful comments!

 

Cheers,

e.d.

Premiere Pro event list?

$
0
0

In the PProPanel sample (github.com/Adobe-CEP/Samples/blob/master/PProPanel/ext.js) there are sample event hooks for "com.adobe.csxs.events.PProPanelRenderEvent" and "com.adobe.csxs.events.WorkspaceChanged" events but these aren't listed in http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/cs-extension-builder/ pdfs/CC_Extension_SDK.pdf  or anywhere else that I've seen.

 

Are there Premiere Pro events for post-export functions, eg. Final Cut Pro XML or EDL export?

 

Where can I find a list of supported event types fired by Premiere Pro? Alternatively is it possible to have a "wildcard" event handler which is called for all application event types?

 

 

export frame from premiere pro

$
0
0

Hey,

I'm trying to export a frame from a sequence, based on a code i found in the examples,

 

app.enableQE();

var activeSequence= qe.project.getActiveSequence(); // note: make sure a sequence is active in PPro UI

 

if (activeSequence) {

var time= activeSequence.CTI.timecode; // CTI = Current Time Indicator.

var outputPath= new File("~/Desktop");

var outputFileName= outputPath.fsName + $._PPP_.getSep() + time + '_' + activeSequence.name;

 

activeSequence.exportFramePNG(time, outputFileName);

} else {

alert("No active sequence.");

}

 

And it doesn't do anything. It doesn't throw any errors either, i played around a bit and it's clear that the function exportFramePNG exists, and that the parameters are ok, but nothing happens.

 

when I do

$.writeln(activeSequence.exportFramePNG(time, outputFileName));

it returns false.

 

What's wrong, what can I do?

 

Thanks

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?

How to create custom transitions in effects panel ?

$
0
0

Hi to all of you !

 

I am looking to make custom transitions in Premiere. I am well aware of the "Save Preset" function but I am looking to create my own transitions in the effects panel.

 

I know it is possible as some companies sell packages like these (see in my picture)

Capture d’écran 2017-12-08 à 17.40.35.png

If any of you has the solution, you will make my searching efforts irrelevant but I will be so glad.

 

Cheers.

Premiere Pro Events

$
0
0

Hi,

 

In Premiere Pro, I would like to 'capture' some Premiere Pro events from an HTML extension. For instance, when a user creates a new document, add something to the timeline, etc.

Is this possible?

 

Thank you


"onProjectChanged" event

$
0
0

Hello guys,

 

I've noticed in the last commit of GitHub - Adobe-CEP/Samples: Code samples for CEP extensions new event called "onProjectChanged" with a commented out line at Samples/Premiere.jsx at master · Adobe-CEP/Samples · GitHub . I've decided to test this new (?) functionality (I'm using Adobe Premiere Pro CC Version 12.1.1) and removed the slashes. I've expected, that this event will be triggered by any kind of project manipulation, however it wasn't triggered at all: I've tried changing sequences, adding another video to the project, renaming sequences etc. Is there anything I'm doing or understanding wrong?

 

Regards

 

Ilya

SDK_ProcAmp.cl.h not found

$
0
0

Hello Premiere community

 

I am totally new to Premiere plugin development and i try to developpe a plugin that will makes cut when se sound is very low. To do that, I download the SDK, and try to test the video filters which I think is the closest kind of project for my needs. But I currently have issues to makes the samples works. I can’t find the files :  SDK_CrossDissolve.cl.h, or SDK_ProcAmp.cl.h in fact I can’t find them in the SDK but they are included in the code

Do you have any idea of where those file can be? (the cmd.exe exit with code 1 hit me after use debug button)

 

ps : i also have another error from the code from

But i believe that from the missing crosseDIssolve.cl.h

 

I also have another question, there is two files for the filters : {filter_name}_CPU.cpp and {filter_name}_GPU.cpp, are both used ? is there a way to use only CPU for this kind of plugin ? since I think my goal plugin doesn’t consume too much resources (just read the sound, and call for a cut at right time) or do you think that I should force myself to use CUDA & GPU processing ?

 

Thanks !

How to enable NodeJs for HTML5 Panels

$
0
0

Hi All,

We are trying to implement downloading assets from url, in our Premiere pro Panel.

From the premiere pro sdk forum we came to know that by using NodeJs we can implement this feature(Downloading file with NodeJS in CEP extension )

Also we have gone through the github sample Nodejs.html (Samples/Nodejs.html at db6086245ee6b64466710056f60ca324fce12880 · Adobe-CEP/Samples · GitHub )

 

Here is the code and Panel screenshots:

function isNodeJSEnabled() {

  if (typeof(require) !== 'undefined') {

  $('#result').val("Node.js is enabled");

  } else {

  $('#result').val("Node.js is disabled");

  }

  }

Nodejs.PNG

 

But when we run the code from our panel, we are getting the message  "Node.js is disabled".

We have added the following values in manifest file

<CEFCommandLine>

  <Parameter>--enable-nodejs</Parameter>

  </CEFCommandLine>

Downloading file with NodeJS in CEP extensionBut still we get the same result. "Node.js is disabled"

We are testing the panel in Windows 7,Adobe Premiere pro CC 2015.2 (9.2.0(41))

 

What are the steps we need to take care in-order to enable NodeJs in our panel?

 

Thanks and Regards,

Anoop NR

Premiere Pro Programming language

$
0
0

Hello!

 

What is the programming language Adobe used to develop Premiere Pro and where can I find information about how they developed it?

HDR video export from Media Encoder

$
0
0

OK, we've identified the problem.  It's something in Media Encoder (not Premiere).  So, if you:

 

1) make a media encoder job, and convert exr files to our format, then HDR export works fine.

2) if you do the exact same thing with an HDR video in media encoder, you do NOT get HDR export.

3) HOWEVER, if I take the same HDR video file, drop it into a Premiere project and then put it on the timeline, and then export THAT file, then we do get HDR pixels properly.

 

So, this appears to be a bug in Media Encoder and how it detects whether the input file is an HDR input or not.  Where do I file bugs?

 

This wasted a ton of time, btw - you need more information in the export record stuff, so we can see what ME/PPro *thinks* it's dumping out...

Viewing all 53010 articles
Browse latest View live


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