Quantcast
Viewing all 53010 articles
Browse latest View live

Storing data in Premiere Project

Sony Vegas allows plugin developers to store arbitrary data in a project, so it can be retrieved afterwards for the same or another plugin.

 

Is that possible at all in premiere?


PremierePro Panel custom shortcut for function

Hello,

 

Does the Premiere Pro Panel SDK allow to create a custom keyboard shortcut for a functionality? If not, is the Plugin SDK let you do that?

 

Thanks

export sequence from extend script

Hi,

I want to export sequence which include video and title from extend script for adobe premiere pro

Adding (unsupported) keyboard shortcuts to Premiere Pro?

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

Regex on getMediaPath issues

Hi all,

 

I'm trying to write a script to automatically attach proxies looking in the Proxies subfolder, with the added "_proxy" suffix and the new file extension (.mp4).

 

Please forgive how ugly this code is but I'm trying to get it working before I refactor it:

 

function attachProxy(file){    if (file.hasProxy() === false){        var mediaPath = file.getMediaPath();        //escape backslash        var mediaPathFix = mediaPath.replace(/\\/g, "\\\\");        // regex to split path into 3: folder + filename + .extension        const splitRegex = /(\w?\:?\\?[\w\-_ \\]*\\+)?([\w-_ ]+)?(\.[\w-_ ]+)?/gi;        var splitNameArray = splitRegex.exec(mediaPathFix); // this is where code goes wrong in the extension, even though it's fine in browser console        var proxyPath = splitNameArray[1] + "Proxies\\\\" + splitNameArray[2] + "_Proxy" + ".mp4";        file.attachProxy(proxyPath, 0);        alert("proxy has been attached");    } else {        alert("proxy attached already");    }
}

 

My issue is that I've managed to make this work in the Chrome console, by giving the mediaPath variable a value manually:

 

mediaPath = "D:\\Al Sahel\\CLIPS\\Drone\\Mountain Bikes\\DJI_0033.MOV"

 

this returns a proxy path of:

 

proxyPath = "D:\\Al Sahel\\CLIPS\\Drone\\Mountain Bikes\\Proxies\\DJI_0033_Proxy.mp4"

 

But once I test it in the JSX file (through JSX Launcher), the splitName array doesn't look correct, just returning "D".

 

I'm guessing this is to do with escaping backslashes, but I'm not sure where my issue is. I also didn't write the Regex myself so this makes it harder to troubleshoot.

 

Thanks for your help!

How do you find "App installation path"

 

According to the SDK doc page 117 on presets, you're supposed to install to "App installation path" but I can't find a reliable registry entry that indicates what it is.

 

Premiere Pro presets

...

[App installation path]\MediaIO\systempresets\[exporter subfolder]

 

...

 

I did find...

HKEY_CURRENT_USER\Software\Adobe\Adobe Media Encoder\[version]\AMECodecCache\64\en_US\AppRoot

and..

HKEY_CURRENT_USER\Software\Adobe\Premiere Pro\[version]\AMECodecCache\64\en_US\Default\AppRoot

and...

HKEY_CURRENT_USER\Software\Adobe\CommonFiles\Usage\Agent

 

What is the correct way to detect the installation path?

What if the user has CS5 and CS6 installed?

What if the user doesn't have en_US installed as the language?

 

Is it really a common preset system for CS5 and CS6 as the doc suggests or do you have to put it in both PPro and AME?

 

thx

 

Rallymax

How to know the extension of an EPR preset

WE have the integrator put only the presets they want the user to user for our Export Controller plug-in. They copy the presets from the Premiere MediaIO/statempresets/ folder.

 

When we get the EPR file it does not tell me what the file extension should be.

 

How do I determine the extension for the file to be saved in my Export Controller from the EPR preset file?

Premiere Pro is not recognizing my plugin

Hi,

 

  I am developing One Adobe Premiere Pro Exporter Plugin. Working version: Adobe Premiere Pro 2014.

 

As per the Premiere Pro SDK document, I installed MSVC & Adobe Premiere Pro 2014 in One machine. I set all the environment variables and started my Exporter plugin development.

 

My Final output has,

Exporteri265.prm, + 2 x DLL files. In the PC where I developed the exporter, I copied Exporteri265.prm to C:\Program Files\Adobe\Adobe Premiere Pro CC 2014\Plug-ins\Common

and 2 x DLL files to C:\Program Files\Adobe\Adobe Premiere Pro CC 2014\

In My development PC(where it has MSVC + Premiere Pro 2014), all works fine. Premiere Pro is able to load the plugin.

 

Recently we purchased one more license and installed in a Test PC (Only Premiere Pro, No MSVC). In this machine I copied the executable in the same way. But Premiere Pro is not loading my plugin.

It gives one loading error (Log File).


Loading C:\Program Files\Adobe\Adobe Premiere Pro CC 2014\Plug-ins\Common\Exporteri265.prm

Invalid registry entry found so the plugin will be loaded from disk.

Loading from disk...

The library could not be loaded.

 

The same technique works fine in my development PC. But not in Test PC.

 

I checked all the registry settings. HKEY_LOCAL_MACHINE. I also moved my .prm to C:\Program Files\Adobe\Common\Plug-ins\7.0\MediaCore. Not working.

 

Can somebody help me?? What is missing in my approach??

 

Regards,

Subash


Premiere Pro Programming language

Hello!

 

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

Can you build premiere pro plugins using the After Effects SDK?

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?

Convert timecodes to seconds

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.


AWS S3: Download media file get corrupted

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

Importer - basic question

Hello All,

 

Referring to the Premiere Pro SDK documentation covering Importers, the first line of the chapter reads:

 

"Importers provide video and/or audio from the media source. This source can be a single file, a

set of files, a communication link between another application, etc"

 

Then the imOpenFile8 selector says:

 

"Importers that don’t open their own files, or importers that only open a single file should

not use this suite."

 

I'm probably mistaken, but the two statements appear to be conflicting, creating some confusion for me.  We intend to build a standard Importer plugin that creates a communication link between another application and as such will not be explicitly opening files.  The example provided is great start, but I need more help.

 

Here's my question:

Assuming our plugin sets imImportInfoRec.canOpen to false as I think it should when it creates a communication link with another application, can someone please explain how a standard importer is interfaced with when importing? If possible, I would also like to know the sequence of calls.

 

Thank you,

MirandaTech

AE fails to load PRM plugin

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?

Scripting for Premiere Pro CC / Premiere Pro CC 2014

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)


Premier Pro Plug In Using the After Effects API

Hello,

According to the SDK you say the After Effects API should be used in order to create Effects type of Plug In's for Adobe Premier.

 

We developed several AE plug in's (Effects) based on the CS6 SDK of AE and yet they don't show up / work on Premier Pro CS6.

Where can we find guidelines on how to create plug in's which work both on AE and Premier?

 

Is there a code sample for such Plug In?

 

Thank You.

Premiere Pro panel Getting Started Guide links to 404 page

Durations via XML

Hi Bruce,

 

I've been working on a script that will pull the duration from sequences.  I have successfully done this but there may be a bug.

When I place a clip on V2 that  extends the timeline, the duration in the XML only reflects the duration of V1.

 

Here's what my timeline looks like with the in and out set to V1.  You can see in the upper right the total number of frames shows 4023.

Image may be NSFW.
Clik here to view.
Screen Shot 2016-09-12 at 5.14.55 PM.png

And the XML shows 4023 frames

Image may be NSFW.
Clik here to view.
Screen Shot 2016-09-12 at 5.13.28 PM.png

 

However, the total duration should be 5240 frames:

Image may be NSFW.
Clik here to view.
Screen Shot 2016-09-12 at 5.15.12 PM.png

Any ideas??

 

thanks,

Kelly

Access/modify dynamic link parameters w/ scripting/Extendscript

Hello, I want to start with saying I have 0 experience scripting in Premiere but I am very curious. Before I go down that rabbit hole, i was wondering if anyone could tell me if the following is possible:

 

I've created a graphic toolkit for my video team that utilizes dynamic link with After Effects. Depending on what they enter in certain text fields, the graphics change their positioning, layouts, and color via expressions in the after effects file. For some projects, we need to create multiple versions of a video that changes a parameter across all the graphics in the video. For example, let's say we need to change a text field parameter from "red" to "blue" across the whole video. If there are, say 50 unique instances of a dynamic link graphic in a sequence, it can be tedious to go through every single one to change that one parameter.

 

Is there a way this could be automated via Extendscript or any other method? Thanks all for your time

Master List of Functions / Hierarchy

I've done some coding in the past, but I'm new to Premiere Pro panels. Wondering if there is some sort of master document or XSD that lists all the functions and hierarchies so I know where to find objects and operations.  Extend script doesn't seem to suggest very much.

 

Thanks,

 

Justin

Viewing all 53010 articles
Browse latest View live


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