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

UI for export controller

$
0
0

Hello everyone,

 

 

     I am a new user of the sdk cs6 and I have some work to do with it. But a lot of questions remain after reading the pdf, maybe due to my average english, It is not really clear for me:

 

I would like to do an exporter pluggin which will allow me to send files directly to a web site (to upload them). To do this, i will use the Exporter Controller API.

I started with the exemple provided and I would like to add an UI which allows users to select the format video they want for the export (with buttons and some selections).

Unfortunatly, I don't find how to add buttons with Export Controller's API for my UI (there is the function AddConstrainedValuePair() for exporters, but it take an inExporterPluginID that I don't have with the export controller, i think).

Do I have to make an UI or are there existing UI which allow to select the format video of the exportation? If it is mandatory, how can I add selecting buttons for my UI?

 

Thanks for yours help!


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)

Exporting from Adobe Premiere using extendscript

$
0
0

Hi!

 

I'm trying to figure out how the exportTimeline() function works.  So far, I have managed to import files and add them to a sequence.  Now I want to export the sequence as a Quicktime movie.  Eventually, I want to be able to set start and end points for an export (i.e. export a work area, export a clip from the timeline, etc.).

 

I did try to use the function by passing in a path to a file name:

 

exportTimeline("somepath.mov")

 

I didn't get an error message, which is good.  I got a 'result:7' (not sure what that means).  I did not see any new files exported to the path though.

 

Thanks!

Convert timecodes to seconds

$
0
0

Is there a method to convert timecode(hh:mm:ss:ff) to seconds ?

 

I'm trying to create a marker using markers.CreateMarker() method but for some reasons the supplied value in seconds doesn't match input timecodes.

For e.g. I have a timecode 00:03:00:00 on a 29.97fps(Non-drop frame). In order to convert it into seconds,

 

var a = time.split(':');

var seconds = ((Number(a[0])* 3600) + (Number(a[1]) * 60) + Number(a[2]));

var milliseconds = (Number(a[3])/ fps);   // fps is 29.97

var result = seconds + parseFloat(milliseconds,5); 

 

Result here is 180 seconds. Premiere shows this timecode as :

 

Non-Drop frame

In: 00:02:59:24 , which is 5 frames behind.

 

Drop frames gives me slightly better results

In: 00:02:59:28, which is 2 frames behind.


Please suggest.


Is it possible to get a list of CSEvents for Premiere?

Possible to create multiple sequences from selected clips?

$
0
0

So I've been on a warpath for a while now, but haven't found any suitable answers. So I'll ask.

 

I'd like to create multiple sequences from any number of selected clips. I know I can drag/drop each clip onto the new sequence icon, but if I've got 100+, that becomes ridiculous. Is there a script that can do this, or can someone point me in the right direction to get started on such a thing?

Which suite to use for applying matrix rotation to an object?

$
0
0

Hello,

 

Anyone could indicate me a way of applying matrix rotation to a set of pixels? I saw the transform_world function but seems to be only usable by after effect.

 

Thx in advance

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


run AppleScript from Premiere Pro Panel / ESTK

$
0
0

Hello,

 

is it possible to execute an AppleScript from a panel from an ESTK script? This would be used to send data to an external application, as well as possibly receive return data.

 

Thanks!

 

Rainer

How to invoke JavaScript for Premiere Pro CC?

$
0
0

Hi,

 

I am new to Adobe CC products/scripting and I'm trying to control Adobe Premiere Pro CC from another desktop application. Using ExtendScript Toolkit, from its UI, I can invoke JavaScript commands or files.

 

But I can't find any way for my desktop application to invoke JavaScript commands. I can't seem to find any command line tool for it (no documentation either and JavaScript doesn't seem to be officially supported). Any help regarding this would be greatly appreciated.

 

I tried using the Socket object on a .jsx file to act as a server (to listen for commands from my desktop application) and placing it on the common startup script folder. But the start up script blocks the UI of the Premiere Pro application entirely (even if I use "$.sleep(milliseconds)" function in between  the "poll" function for acquiring a connection). This wouldn't work for my application as I can't block the UI.

 

For After After Effects CC, I can use the "afterfx.exe" on Windows and AppleScript with "DoScript" command on Mac, to execute JavaScript expressions or files. But this doesn't seem to work with Premiere Pro or any Adobe CC products. For Photoshop, I can just open any .jsx file with Photoshop (for e.g. "Open With") and it runs the .jsx file. But this technique doesn't work with all the other Adobe CC products (even the ones which support JavaScript officially).

 

According to Adobe Premiere Pro developer centre, there is no mention of any JavaScript support. But since the functionality does seem to be there (as discovered through ExtendScript Toolkit), I am hoping I can get away just by using JavaScript commands to control Premiere, as opposed to using the native SDK for Plugins. However, I really hope Adobe Premiere Pro folks are seeing this and they officially support JavaScript soon .

 

Thanks for your help.

Premiere Pro Script execution without ExtendScript Toolkit confirmation

$
0
0

Hi everyone,

I'm creating a video browser OSX app, that will import files to opened project, open and play it in the source viewer in Premiere Pro.

The app creates a JSX file with:

 

"#target premierepro";

app.enableQE();

var result=qe.project.importFiles(argv);

var num=qe.project.numItems;

var proje=qe.project.getItemAt(num-1);

proje.openInSource();

qe.source.player.play();

 

It works correctly in ESTK, but if I open it inside my app, calling:

NSWorkspace *workspace = [NSWorkspacesharedWorkspace];

[workspace openFile:jsxFilePath];

//This exactly the same than opening it in Finder via double-clicking it

 

It shows me this confirmation dialog (sorry for the Spanish localization)

Captura de pantalla 2015-02-06 a la(s) 12.22.45.png

If I press 'Si(Yes)', the script is executed correctly inside Adode Premiere, if I press 'No', then ESTK opens in Debug mode. This is the same behavior if I open the jsx file in the Finder.

 

Then, how can I avoid this dialog every time the app runs a script?

 

Thanks a lot,

Regards,

New Premiere Pro CC 2015 Plug-in SDK posted

$
0
0

Hi all,

 

We've just posted a new plug-in SDK to the DevNet site.  The headers are up-to-date with the latest CC 2015 (9.0.1) release, there are new and updated sample projects, and the PDF documentation describes what has changed since the previous SDK release.  The download page has an abbreviated list of these changes.

http://www.adobe.com/devnet/premiere.html

 

Enjoy!

 

Zac

Get clip position in sequence?

$
0
0

Hi everyone,

 

I'm writing a script to export all the individual clips in my sequences as individual videos.

I have the PProPanel example and have ESTK up and running nicely.

I can iterate through all the tracks and clips in a sequence no problem.

I was thinking of simply setting the Sequence In/Out to the beginning of each clip,

and then calling render() (as in the PProPanel) .

The following script works, except clip.start and clip.end are relative to the clip source media, not the sequence.

So how to retrieve the start and end of a clip relative to the sequence?

(p.s. before anyone suggests a manual way of exporting clips individually, note that I have to export around 6000 clips)

Any help appreciated, MM

function ExportClipsInSequence(sequence)

{

  if (!sequence) return;

 

  var videoTracks = sequence.videoTracks;

 

  for (var trackIndex = 0; trackIndex < videoTracks.numTracks; trackIndex++)

  {

      var track = videoTracks[trackIndex];

      var clips = track.clips;

      for (var c = 0; c < clips.numTracks; c++)

  {

  var clip = clips[c];

  sequence.setInPoint(clip.start.seconds);

  sequence.setOutPoint(clip.end.seconds);

  render(sequence);

  }

}

}

Drag a clip in to a Premier Pro panel

$
0
0

Team

 

I am investigating writing HTML5 panels for Adobe Premiere Pro 2015.

I am educating myself and working my way through the samples using Eclipse and the Adobe Extension Builder 3 plugin.

I am looking for an example of how you drag a clip from Premiere Pro in to a panel and have it register the information regarding the clip.

I have seen examples of dragging from a panel in to the main Premiere Pro interface but not the other way round.

Is it possible in that direction?

 

Does anyone have some sample code?

 

Thanks

 

AFC

Scripting in Premiere CS6

$
0
0

I think i know the answer but i've seen some searches that suggest it is possible and i can see PPro as a target in ExtendScript

 

Can i script PPro CS6? Is there a scripting guide like there is for After Effects?

 

If not, are there any known plans to add this?

 

many thanks
Paul


Premiere Pro ExtendScript Events

$
0
0

Hi, I was trying to find somewhere the list of possible events that can be handled within an application but have no luck. Specially the ones that are related with sequences, like active sequence changed, renamed, created or deleted, is this possible?

 

Thanks

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. 

Adding (unsupported) keyboard shortcuts to Premiere Pro?

$
0
0

A few months ago, I created a 30-minute video that goes into great detail about all sorts of missing features in Premiere Pro. Some of these features have been requested by users for over ten years, and still have not made it into Premiere... features like saving a custom transition, a shortcut to delete transitions from the timeline, a shortcut to add a keyframe.... the list goes on.

 

You can watch my video, or you can just read the video description to see a quick list of the 57 missing features that I talk about.

 

Adobe Premiere CC 2014.2 massive feature request video! (1/2) - YouTube

 

I mention in the video that modding Premiere may be the only way to get these features into the program, as long as the developers refuse to add these features for whatever their reasons might be.

I am particularly interested in adding unsupported keyboard shortcuts, as it seems like the easiest thing to do, with the greatest benefit. Here's a list of the features I am hoping to add in by myself:

 

#1. Every transition should have a keyboard shortcut to apply it

#3. Allow keyboard shortcuts to apply all PRESETS, EFFECTS, TRANSITIONS, and (new) TRANSITION PRESETS

#5. A shortcut to delete (only) transitions

#6. A shortcut to reverse a clip -- (This can be done with AutoHotKey)

#7. Shortcuts for the keyframe right click menu items

#8. Shortcuts for all "effect controls" buttons

#9. Shortcuts for layer controls in timeline (mute, lock, etc.)

#11. A shortcut to just PLAY video

#12. A shortcut to ripple delete clip at playhead -- (This can be done with AutoHotKey)

#14. Effects panel search bar shortcut -- (This can be done with a crazy macro script, but still does not work 100% of the time)

#16. A shortcut to close the reference monitor

#17. A shortcut to close the titler

#18. A shortcut for "back" in bin icon view

 

So, I downloaded the plug-in software SDK from here: Premiere Pro Developer Center | Adobe Developer Connection ... but frankly, I have very limited programming experience. (Dammit Jim, I'm an editor, not a programmer!) Reading through the documents, however, I don't see ANYTHING that even mentions the words "keyboard" or "shortcut..."

 

It's looking to me as if the SDK only has support for creating new transitions to be used in Premiere, and creating new effects like the Red Giant denoiser. Am I right? am I wrong?

 

Is it POSSIBLE to use the SDK to add any of these keyboard shortcuts to Premiere? I don't care how difficult it is. (unless it involves having to decompile the whole program into machine code, which I still might be mad enough to at least try.)

 

I am determined to get these long-overdue keyboard shortcuts into Premiere. I just need to know if it's possible. If it is, I'd greatly appreciate any and all guidance you could give me to make this happen.

 

Thank You,

Taran van Hemert

2-year editor at LMG

Is there a way to export EDLs from the Premiere api?

$
0
0

Hello friendly Premiere people,

 

I see options to export FCPXML, AFF, etc, but nothing for EDL. Maybe the exportTimeline() function? If so, how do I use that? I tried these two:

 

app.project.activeSequence.exportTimeline("edl");

app.project.activeSequence.exportTimeline("EXL");

 

If there's nothing available I might create a fcpxml -> edl converter. Any ideas about a better way to go?

 

Cheers,

Raphael

set start time of sequence

$
0
0

Hello,

 

Is there any way to set the start time of a sequence?

 

thanks,

Kelly

Viewing all 53010 articles
Browse latest View live


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