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

Premiere Pro is not recognizing my plugin

$
0
0

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


QE: What is this rabbithole?

$
0
0

Soooo as the title asks: What is QE? There's absolutely no documentation on it, and it appears to house most of the information that we want to access, albeit not reliably.

Most importantly out of anything that I'm looking for - why is there no documentation on not just QE, but the rest of everything within Premiere's capabilities of extendscript?

A single piece of code on Github is not sufficient for a documentation substitute.

 

As far as the seeming instability of QE:

Consider the following code for Premiere Pro CC 2015:

 

app.project.activeSequence.exportAsFinalCutProXML("C:\\Users\\user\\Desktop\\XML_Testing.xml")


app.enableQE()
var mySeq = qe.project.getActiveSequence(0)
var myTrack = mySeq.getVideoTrackAt(0)
var myClip = myTrack.getItemAt(0)
myClip.name

 

If I have a project open in Premiere and execute this using ExtendScript Toolkit, I receive back a myTrack object with a name of 'Wildlife.wmv'.
If I then switch to a new project in Premiere(does not contain 'Wildlife.wmv') and re-execute that same code in ExtendScript Toolkit, the myTrack object stays the same, and I don't receive a new object.

 

This seems hazardous at best.

 

Thank you.

My extension fails to install with status = -403 and -156

$
0
0

I'm struggling with getting my extension to install using ExManRoot. It's an extension for Premiere Pro CC 2015, and is meant to be compatible with version 9.0 and upwards.

 

Here is my manifest:

<?xml version="1.0" encoding="UTF-8"?><ExtensionManifest Version="5.0" ExtensionBundleId="com.thedinermusic.thediner" ExtensionBundleVersion="1.0.0"  ExtensionBundleName="The Diner" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">  <ExtensionList>  <Extension Id="com.thedinermusic.thediner" Version="1.0" />  </ExtensionList>  <ExecutionEnvironment>  <HostList>            <Host Name="PPRO" Version="[9.0,10.9]" />  </HostList>  <LocaleList>  <Locale Code="All" />  </LocaleList>  <RequiredRuntimeList>  <RequiredRuntime Name="CSXS" Version="6.0" />  </RequiredRuntimeList>  </ExecutionEnvironment>  <DispatchInfoList>  <Extension Id="com.thedinermusic.thediner">  <DispatchInfo >  <Resources>  <MainPath>./index.html</MainPath>  <ScriptPath>./jsx/import.jsx</ScriptPath>                    <CEFCommandLine>                        <Parameter>--enable-nodejs</Parameter>                    </CEFCommandLine>  </Resources>  <Lifecycle>  <AutoVisible>true</AutoVisible>  </Lifecycle>  <UI>  <Type>Panel</Type>  <Menu>The Diner</Menu>  <Geometry>  <Size>                            <Height>420</Height>  <Width>620</Width>  </Size>  </Geometry>  <Icons>  <Icon Type="Normal">./icons/dinericon.png</Icon>  <Icon Type="RollOver">./icons/dinericon.png</Icon>  <Icon Type="Disabled">./icons/dinericon.png</Icon>  <Icon Type="DarkNormal">./icons/dinericon.png</Icon>  <Icon Type="DarkRollOver">./icons/dinericon.png</Icon>  </Icons>  </UI>  </DispatchInfo>  </Extension>  </DispatchInfoList></ExtensionManifest>

 

I used ZXPSignCmd (following these instructions) to sign and package my extension into a ZXP file. I then attempted to install the package using ExManRoot, but got the error: "Failed to install, status = -403!"

 

Thinking it had to do with the fact that I hadn't set an install location for the ZXP, I tried uploading the ZXP file I just made to my developer portal using the online packager, with the following settings:

 

Screen Shot 2016-07-05 at 12.03.51 PM.png

I then downloaded the ZXP file it generated through the developer portal, and attempted the install again. This time I got the error: "Failed to install, status = -156!"

 

Can someone tell me what these errors mean? No amount of Googling has led me to an explanation as to what status codes 403 and 156 are.

 

My first thought is that, as you can see in my screenshot, the online package automatically downcases the install location. I entered $adobecommon/CEP/extensions in the "custom location" dialogue, but it changes it to @adobecommon/cep/extensions. I believe this is an issue on Mac due to files and folders being case-sensitive (I'm testing on a Mac running Yosemite). Perhaps that's what's going on? If so, how can I force it to use the proper case?

 

I'm at a total loss here. Been trying to package/submit this extension for months now. Anyone who can help me get this damn thing accepted by the review process will officially be my best friend for life.

Create Panel in Premiere Pro that performs the same action as a script

$
0
0

So I've looked at several examples for Premiere Pro panels, but I'm still somewhat confused.  Let's say I have the following HTML file:

 

<!DOCTYPE html>

<html>

    <head>

        <meta charset="utf-8">

        <title>MyTest</title>

    </head>

    <body>

        <button onclick="myFunction()">Replace Media (BCV)</button>

        <div id="result"></div>

    </body>

</html>

 

This creates a button that I can load into a Premiere Pro panel.  I also have the following code that runs in Premiere just fine when I activate it from ExtendScript:

 

var BCV_File_Suffix = ["(PREV).psd", "(BACK).mxf", "(BATT).mxf", "1(NARR)_Fixed.flac", "2(NARR)_Fixed.flac"];

 

for (j = 0; j <= 4; j++)

{

 

for (i = 0; i <= app.project.rootItem.children.numItems; i++)

{

    var BCVchild = app.project.rootItem.children[i];

    if (!BCVchild) continue;

    var mediaPath = BCVchild.getMediaPath();

 

    if (mediaPath && mediaPath.length > 0 && mediaPath.indexOf(BCV_File_Suffix[j]) > -1)

    {

        var BCVpath = (app.project.path).toString().replace(/\\/g, '\\').replace('\\\\?\\','').replace('(PROJ).prproj',BCV_File_Suffix[j])

        app.project.rootItem.children[i].changeMediaPath(BCVpath);

        app.project.rootItem.children[i].name = app.project.name.replace('(PROJ).prproj',BCV_File_Suffix[j])

    }

}

}

 

What do I need to change in the HTML file to get the button to activate the script in Premiere Pro?  I'm confused.

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)?

exmancmd /install panel.zxp getting -411

$
0
0

Hi All,

 

When we try to install panel in a specific environment in all the systems we are getting -411 error, which denotes compatible app not found

We can still open the Premiere pro in the same machine.

We tried to install the panel for 2017.0.1 and 2017.0.2 both are not working in this specific environment with windows os.

 

On further checking we found

that when we try the /list all command its not showing all the products name in the command prompt

exmancmd /list all

0 extension installed for others

status     extension name version

------------------------------------------

 

but in other environments we get

 

0 extension installed for Photoshop cc 2017 64

status     extension name version

------------------------------------------

0 extension installed for Premiere Pro CC 2017

status     extension name version

------------------------------------------

 

 

Can someone give a solution for this

Thanks and Regards,

Anoop NR

Editing clips with ExtendScript

$
0
0

hello, you hardworking, knowledgeable people!

 

I desperately need to automate a big part of the editing process in Premiere.

For the next project we will be recording tons of footage, where the main action on video will be repeating with variations many many times. We then need to split the long recordings into separate chunks. I will be able bring in time markers, for where to make the cuts.

But I've hit a wall when trying to manipulate clips on the timeline with ExtendScript. I can read a bunch of info about the clip, e.g.:

start

end

inPoint

outPoint

(.seconds and .ticks)

But I'm unable to change any of those values. And the only functions I've found deal with selecting a clip i.e. isSelected() and setSelected()

 

Are there any ways to trim/cut/move, whatever, clips on the timeline using ExtedSctipt scripts, or am I badly out of luck?

And to finish off what I'm trying to do I'll need to do something like "Make Subsequence" with all of the cuts, to separate them into their own videos I can then export, again looking to automate this.

 

Many thanks!

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

$
0
0

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?


Problems with plugins .bundle from Premiere Pro SDK for macOS

$
0
0

Hi all,

 

I am using:

SDK - Premiere Pro CC 2017.1

Program - Adobe Premiere Pro CC 2017.1

OS - macOS Sierra

 

After compile Vignette plugin from Premiere Pro SDK, it is not load to Premiere. But Premiere founded this plugin.

In log file: "No loaders recognized this plugin, so the plugin is set to ignore."

 

Pasted File at August 17, 2017 5-40 PM.png

 

Does anyone have a solution to this problem? Please, help me.

Getting a dynamic link id in Premiere Pro

$
0
0

Hi experts, is there a way to get a unique id for a linked asset in Premiere Pro such that it can be identified in After Effects? I've noticed that a parameter 'dynamicLinkGUID' exists in AE but I couldn't find a corresponding value in PPro.

 

For background I'm trying to script some changes to the text of a title and previous answers have said that the best way to do this is by sending ExtendScript to AE over a dynamic link. This works, except I can't seem to find a way to easily identify the exact composition I want to change in AE when I have multiple links.

 

Thanks!

Passing information from jsx to js.

$
0
0

Hello Community,

I have a problem with passing information from jsx to js file.

 

my jsx file:

$.extendScript = {  test : function() {    return "string";  },
}

 

my js file.

(function () {    var cs = new CSInterface();    var variable = "";    cs.evalScript('$.extendScript.test()', function(result) {       variable = result;       alert("variable in evalScript =" + variable);     });    alert("variable in outside = " + variable);    
}());

 

In evalScript function the variable get's the string from jsx function but when I want to use it outside I get empty string again.

Also I get the alert outside evalScript first in order. Why this happens?

 

 

Does anyone know why this happens and how to fix this?

Best Regards

cep_node context

$
0
0

Hi everyone,

I'm trying to get the basic PPRO Panel example work with the following addition:

Download a file and import into premiere's source monitor.

I'll be discussing the Download part of this task, as I'm failing with it.

I've see some discussions here and I've noticed that

require('http')

or

cep_node.require('http')

is being used.

As a new user of this product, I couldn't find a resource or documentation on where is that code can exists?

I've tried to include it in the .js file which is loaded first (ext.js in this example) but chrome debugger complains:

Uncaught ReferenceError: cep_node is not defined

What am I doing wrong?

 

Thanks!

 

EDIT:

Looks like the `<CEFCommandLine>` node in the manifest wasn't at its right place. 

I've just realized that maybe a validation of the manifest structure is something that would help investigate and save some time. 

If someone could direct me, I'll be happy to contribute.

Premiere Pro CC 2018 crashes when creating clip markers using extend script

$
0
0

I am developing an extension which creates clip markers using ExtendScript (the same code which is provided in ProPanel Sample).

Sometime after creating 5 - 20 comment markers Premiere Pro crashes. It reproduced randomly.

I also be able to reproduce the issue with ProPanel Sample, if click "Add clip markers" a few times.

 

Here is crash logs:

Screen Shot 2018-03-01 at 11.54.59.png

 

Process: Adobe Premiere Pro CC 2018 [3262]

Path: /Applications/Adobe Premiere Pro CC 2018/Adobe Premiere Pro CC 2018.app/Contents/MacOS/Adobe Premiere Pro CC 2018

Identifier: com.adobe.PremierePro.CC12

Version: 12.0.1 (12.0.1)

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Adobe Premiere Pro CC 2018 [3262]

User ID: 501

 

Date/Time: 2018-03-01 11:55:09.814 +0200

OS Version: Mac OS X 10.12.5 (16F73)

Report Version: 12

Anonymous UUID: 766A6A7E-F166-889C-6C63-3BAF0A3414EB

 

Sleep/Wake UUID: BE71BEA6-4CDF-41DA-A0E0-D05E3709CED2

 

Time Awake Since Boot: 46000 seconds

Time Since Wake: 1000 seconds

 

System Integrity Protection: enabled

 

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

 

Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY

 

Application Specific Information:

Pure virtual function called!

abort() called

 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

0 libsystem_kernel.dylib 0x00007fffe9656d42 __pthread_kill + 10

1 libsystem_pthread.dylib 0x00007fffe9744457 pthread_kill + 90

2 libsystem_c.dylib 0x00007fffe95bc420 abort + 129

3 com.adobe.Frontend.framework 0x00000001024466c4 FE::ApplicationErrorManager::ThrowError(dvacore::config::ErrorLevel, char const*, unsigned int, int, bool, dvacore::config::ReplacementValue const&, dvacore::config::ReplacementValue const&, dvacore::config::ReplacementValue const&, dvacore::config::ReplacementValue const&) const + 212

4 com.adobe.dvacore.framework 0x00000001001313c2 dvacore::config::ThrowError(dvacore::config::ErrorLevel, char const*, unsigned int, int, bool, dvacore::config::ReplacementValue const&, dvacore::config::ReplacementValue const&, dvacore::config::ReplacementValue const&, dvacore::config::ReplacementValue const&) + 98

5 com.adobe.UIFramework.framework 0x000000010dd5f888 UIF::InlineEditText::SetTextColor(ASL::ParamColor<unsigned char>) + 184

6 com.adobe.HandlerMarkerList.framework 0x00000001143d237a HandlerMarkerList::MarkerListPane::PaintSelf(UIF::DC&) + 3050

7 com.adobe.UIFramework.framework 0x000000010dddeba9 UIF::SubViewImpl::UI_Draw(dvaui::drawbot::Drawbot*) const + 1065

8 com.adobe.dvaui.framework 0x0000000100b778d2 dvaui::ui::UI_Node::UI_DrawSelf(dvaui::drawbot::Drawbot*, bool, dvaui::drawbot::ColorRGBA const*) const + 338

9 com.adobe.dvaui.framework 0x0000000100b77bb8 dvaui::ui::UI_Node::UI_DrawAndCache(dvaui::drawbot::Drawbot*, bool, dvaui::drawbot::ColorRGBA const*) const + 616

10 com.adobe.dvaui.framework 0x0000000100b77f88 dvaui::ui::UI_Node::UI_DispatchDrawToChild(dvaui::ui::UI_Node const*, dvaui::drawbot::Drawbot*) + 392

11 com.adobe.dvaui.framework 0x0000000100b75b8f dvaui::ui::UI_Node::UI_Draw(dvaui::drawbot::Drawbot*) const + 47

12 com.adobe.UIFramework.framework 0x000000010dde687b UIF::TabViewImpl::UI_Draw(dvaui::drawbot::Drawbot*) const + 843

13 com.adobe.dvaui.framework 0x0000000100c05577 void dvaui::drawbot::InvokeDrawbotFromRegionT<dvaui::ui::OS_View, std::__1::const_mem_fun1_ref_t<void, dvaui::ui::OS_View, dvaui::drawbot::Drawbot*>, NSView*>(dvaui::ui::OS_View const&, std::__1::const_mem_fun1_ref_t<void, dvaui::ui::OS_View, dvaui::drawbot::Drawbot*> const&, dvaui::drawbot::SupplierInterface const&, NSView*, __HIShape const*, dvaui::drawbot::SurfaceInterface*, bool) + 327

14 com.adobe.dvaui.framework 0x0000000100bf2c11 void dvaui::drawbot::InvokeDrawbot<dvaui::ui::OS_View, std::__1::const_mem_fun1_ref_t<void, dvaui::ui::OS_View, dvaui::drawbot::Drawbot*>, NSView*>(dvaui::ui::OS_View const&, std::__1::const_mem_fun1_ref_t<void, dvaui::ui::OS_View, dvaui::drawbot::Drawbot*> const&, dvaui::drawbot::SupplierInterface const&, NSView*, __HIShape const*, dvaui::drawbot::SurfaceInterface*, std::__1::vector<dvacore::geom::RectT<int>, std::__1::allocator<dvacore::geom::RectT<int> > >*, bool) + 481

15 com.adobe.dvaui.framework 0x0000000100bf29b9 dvaui::ui::OS_View::UI_HandlePlatformDrawEvent(dvaui::drawbot::SurfaceInterface*) + 377

16 com.adobe.dvacore.framework 0x000000010013150c int dvacore::config::ErrorManager::ExecuteFunction<void>(boost::function0<void>*, void*) + 28

17 com.adobe.Frontend.framework 0x0000000102446529 FE::ApplicationErrorManager::ExecuteFunctionWithTopLevelExceptionHandler(boost::function0 <int>) + 41

18 com.adobe.dvacore.framework 0x00000001001315c3 void dvacore::config::ErrorManager::ExecuteFunctionWithTopLevelExceptionHandler<void>(boost::f unction0<void>, bool*) + 99

19 com.adobe.dvacore.framework 0x0000000100131ef1 void dvacore::config::ExecuteTopLevelFunction<void>(boost::function0<void>, bool*) + 161

20 com.adobe.dvaui.framework 0x0000000100bfe8eb -[DVAMacContainerView drawRect:] + 155

21 com.apple.AppKit 0x00007fffd1a00f99 -[NSView _drawRect:clip:] + 2276

22 com.apple.AppKit 0x00007fffd19ffa93 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topVi ew:] + 4870

23 com.apple.AppKit 0x00007fffd19ff6d1 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topVi ew:] + 3908

24 com.apple.AppKit 0x00007fffd19ff6d1 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topVi ew:] + 3908

25 com.apple.AppKit 0x00007fffd19ff6d1 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topVi ew:] + 3908

26 com.apple.AppKit 0x00007fffd19ff6d1 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topVi ew:] + 3908

27 com.apple.AppKit 0x00007fffd19fe2af -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topVi ew:] + 334

28 com.apple.AppKit 0x00007fffd19fc6d8 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2452

29 com.apple.AppKit 0x00007fffd19f7fca -[NSView displayIfNeeded] + 1748

30 com.apple.AppKit 0x00007fffd19f78db -[NSWindow displayIfNeeded] + 230

31 com.apple.AppKit 0x00007fffd2157cb4 ___NSWindowGetDisplayCycleObserver_block_invoke.6228 + 277

32 com.apple.AppKit 0x00007fffd19f73b9 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke + 454

33 com.apple.QuartzCore 0x00007fffd98dada6 CA::Transaction::run_commit_handlers(CATransactionPhase) + 46

34 com.apple.QuartzCore 0x00007fffd99e48d8 CA::Context::commit_transaction(CA::Transaction*) + 160

35 com.apple.QuartzCore 0x00007fffd98d9881 CA::Transaction::commit() + 475

36 com.apple.AppKit 0x00007fffd1cda8b1 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke.31 + 323

37 com.apple.CoreFoundation 0x00007fffd3dcdd37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23

38 com.apple.CoreFoundation 0x00007fffd3dcdca7 __CFRunLoopDoObservers + 391

39 com.apple.CoreFoundation 0x00007fffd3dae6d9 __CFRunLoopRun + 873

40 com.apple.CoreFoundation 0x00007fffd3dae114 CFRunLoopRunSpecific + 420

41 com.apple.HIToolbox 0x00007fffd330febc RunCurrentEventLoopInMode + 240

42 com.apple.HIToolbox 0x00007fffd330fcf1 ReceiveNextEventCommon + 432

43 com.apple.HIToolbox 0x00007fffd330fb26 _BlockUntilNextEventMatchingListInModeWithFilter + 71

44 com.apple.AppKit 0x00007fffd18a8a54 _DPSNextEvent + 1120

45 com.apple.AppKit 0x00007fffd20247ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796

46 com.apple.AppKit 0x00007fffd1aff0b6 -[NSApplication _doModalLoop:peek:] + 497

47 com.apple.AppKit 0x00007fffd1cdf374 __35-[NSApplication runModalForWindow:]_block_invoke + 64

48 com.apple.AppKit 0x00007fffd1afcb98 -[NSApplication runModalForWindow:] + 137

49 com.apple.AppKit 0x00007fffd1c6d8b5 _NXDoLocalRunAlertPanel + 368

50 com.apple.AppKit 0x00007fffd1c6d636 NSRunAlertPanel + 295

51 com.adobe.UIFramework.framework 0x000000010dd841d6 UIF::SystemMessageBox(std::__1::basic_string<unsigned short, std::__1::char_traits<unsigned short>, dvacore::utility::SmallBlockAllocator::STLAllocator<unsigned short> > const&, std::__1::basic_string<unsigned short, std::__1::char_traits<unsigned short>, dvacore::utility::SmallBlockAllocator::STLAllocator<unsigned short> > const&) + 246

52 com.adobe.Frontend.framework 0x00000001024869ed FE::DisplayPanicSaveDialog(boost::shared_ptr<dvacore::threads::Gate> const&) + 445

53 com.adobe.Frontend.framework 0x0000000102485d3c FE::DocumentManager::AttemptPanicProjectSave() + 140

54 libsystem_platform.dylib 0x00007fffe9737b3a _sigtramp + 26

55 ??? 0x00007ffff2426240 __sF + 304

56 libsystem_c.dylib 0x00007fffe95bc420 abort + 129

57 libc++abi.dylib 0x00007fffe811284a abort_message + 266

58 libc++abi.dylib 0x00007fffe81361b2 __cxa_pure_virtual + 18

59 com.adobe.Backend.framework 0x0000000104d50450 BE::Node::GetIsReadOnly() const + 32

60 com.adobe.Backend.framework 0x0000000104d5051d BE::Node::GetIsReadOnly() const + 237

61 com.adobe.Backend.framework 0x0000000104d5051d BE::Node::GetIsReadOnly() const + 237

62 com.adobe.HandlerMarkerList.framework 0x00000001143bafd2 HandlerMarkerList::IsMarkerEditable(ASL::InterfaceRef<BE::IMarker, BE::IMarker> const&) + 178

63 com.adobe.HandlerMarkerList.framework 0x00000001143bbc31 HandlerMarkerList::MarkerListItem::CreateControls() + 2017

64 com.adobe.HandlerMarkerList.framework 0x00000001143cd21a HandlerMarkerList::MarkerListPane::UpdateMarkerVisibility(bool) + 330

65 com.adobe.HandlerMarkerList.framework 0x00000001143ccbd7 HandlerMarkerList::MarkerListPane::OnGetMarkersOperationComplete() + 1575

66 com.adobe.ASLMessaging.framework 0x0000000102cb07d8 ASL::BroadcastMessageInner(ASL::BroadcastMessageRecord const&) + 40

67 com.adobe.Frontend.framework 0x0000000102446529 FE::ApplicationErrorManager::ExecuteFunctionWithTopLevelExceptionHandler(boost::function0 <int>) + 41

68 com.adobe.ASLMessaging.framework 0x0000000102cb0140 ASL::Broadcaster::BroadcastMessage(ASL::Message const&) + 1296

69 com.adobe.ASLMessaging.framework 0x0000000102cb64fa ASL::StationUtils::BroadcastMessage(dvacore::utility::ImmutableString const&, ASL::Message const&) + 42

70 com.adobe.dvacore.framework 0x0000000100205b10 dvacore::threads::(anonymous namespace)::FunctionQueue::FlushFromExecutorThread(bool) + 128

71 com.adobe.dvacore.framework 0x0000000100206adf boost::detail::function::void_function_obj_invoker0<boost::function<void ()>, void>::invoke(boost::detail::function::function_buffer&) + 31

72 com.adobe.dvacore.framework 0x000000010013150c int dvacore::config::ErrorManager::ExecuteFunction<void>(boost::function0<void>*, void*) + 28

73 com.adobe.Frontend.framework 0x0000000102446529 FE::ApplicationErrorManager::ExecuteFunctionWithTopLevelExceptionHandler(boost::function0 <int>) + 41

74 com.adobe.dvacore.framework 0x00000001001315c3 void dvacore::config::ErrorManager::ExecuteFunctionWithTopLevelExceptionHandler<void>(boost::f unction0<void>, bool*) + 99

75 com.adobe.dvacore.framework 0x0000000100131ef1 void dvacore::config::ExecuteTopLevelFunction<void>(boost::function0<void>, bool*) + 161

76 com.adobe.dvacore.framework 0x0000000100206749 dvacore::threads::ExecuteTopLevelFunction(boost::function<void ()> const&) + 153

77 com.adobe.dvacore.framework 0x0000000100206602 dvacore::threads::(anonymous namespace)::RunLoopAdaptor::Execute(__CFRunLoopTimer*, void*) + 18

78 com.apple.CoreFoundation 0x00007fffd3db7c54 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20

79 com.apple.CoreFoundation 0x00007fffd3db78df __CFRunLoopDoTimer + 1071

80 com.apple.CoreFoundation 0x00007fffd3db743a __CFRunLoopDoTimers + 298

81 com.apple.CoreFoundation 0x00007fffd3daeb81 __CFRunLoopRun + 2065

82 com.apple.CoreFoundation 0x00007fffd3dae114 CFRunLoopRunSpecific + 420

83 com.apple.HIToolbox 0x00007fffd330febc RunCurrentEventLoopInMode + 240

84 com.apple.HIToolbox 0x00007fffd330fcf1 ReceiveNextEventCommon + 432

85 com.apple.HIToolbox 0x00007fffd330fb26 _BlockUntilNextEventMatchingListInModeWithFilter + 71

86 com.apple.AppKit 0x00007fffd18a8a54 _DPSNextEvent + 1120

87 com.apple.AppKit 0x00007fffd20247ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796

88 com.apple.AppKit 0x00007fffd189d3db -[NSApplication run] + 926

89 com.adobe.Frontend.framework 0x00000001024e62ad FE::MacApplication::RunSelf() + 45

90 com.adobe.Frontend.framework 0x000000010240ce9a FE::Application::Run(std::__1::basic_string<unsigned short, std::__1::char_traits<unsigned short>, dvacore::utility::SmallBlockAllocator::STLAllocator<unsigned short> > const&) + 8458

91 com.adobe.Frontend.framework 0x00000001024e87a3 FE::AppMain(boost::shared_ptr<ASL::Module> const&, std::__1::basic_string<unsigned short, std::__1::char_traits<unsigned short>, dvacore::utility::SmallBlockAllocator::STLAllocator<unsigned short> > const&, int, void*) + 403

92 com.adobe.Frontend.framework 0x00000001024e9c40 FE::Run(boost::shared_ptr<ASL::Module> const&, std::__1::basic_string<unsigned short, std::__1::char_traits<unsigned short>, dvacore::utility::SmallBlockAllocator::STLAllocator<unsigned short> > const&, int) + 656

93 com.adobe.PremierePro.CC12 0x0000000100007bb0 main + 896

94 libdyld.dylib 0x00007fffe9528235 start + 1

Premiere Pro 12.1 API improvements

$
0
0

We’ve added many new capabilities for the 12.1 release. All of these are exercised in the PProPanel sample, available on GitHub.

 

Get and set the current Project panel selection

It’s now possible for a panel to know which projectItems are selected, and to select projectItems as appropriate.

Consolidate and Transcode API

All functionality available from Premiere Pro’s Project Manager dialog, is now available to panels.

Improved time resolution for trackItems

We now provide (and accept) time values for track items in ticks, eliminating an opportunity for rounding error.

Import and change Motion Graphics templates (.mogrts)

Panels can now insert .mogrt files into sequences, and change the parameters of those .mogrts as desired.

Forcibly replace footage

It’s now possible to force Premiere Pro to update the path to a given projectItem, even if Premiere Pro doesn’t think such a change is advisable.

Identify sequences

All projectItems now have an isSequence() method; this eliminates the need to compare a list of ‘all project items’ against a list of ‘all sequences’, to determine which projectItems are and are not sequences.

Set the frame rate for projectItems

Use the handy new setOverrideFramerate().

API Documentation

While the sample panel should continue to be your first option for working example code, Premiere Pro’s ExtendScript API is documented here, to enable developer participation.

Some things haven’t changed…

We’re still very interested in helping you create valuable Premiere Pro integrations. Please reach out to us, with any integration questions or problems.

Not able to change the start and end values of track item

$
0
0

I am developing an extension for Premiere Pro.I need to import .mogrt into sequence and am able to do that using the API importMoGRT provided by Premiere Pro.

 

API

var newTrackItem = activeSeq.importMGT( mogrtToImport.fsName, targetTime.ticks, vidTrackOffset, audTrackOffset);

 

In the API i am able to change the targetTime.ticks which sets the starting time of the track item.But where do i set the end time/duration of the trackitem

 

Alternate option

 

I tried to use the attributes of the trackitem namely start, end, inPoint, outPoint (In the API documentation it is given as read/write attribute).But i am not able to change any of these attributes.

 

How do i set the start, end, duration of the trackitem?


Premiere Pro - Script for I/O Cut Memory ?!

$
0
0

Hello !

 

I'm in search of a script for Premiere Pro that once a video file is cut it will memorise it's name and exact in/out cut.

I have a project that uses multiple clips over and over again every day and it's getting boring and hard to re-cut them every time.

I can't keep the cut files on my computer because with time a lot will gather and I will eventually run out of space.

 

This is the reason that I came with the idea that because the name of the files will always be the same I need a small script to memorise the in/out cut, and eventually make a database so when I come across a file that i previously cut, when I drag it into the composition it will automatically do it for me.

 

Can anyone point me in the right direction ?

 

                    Thank you in advance !

Nodejs and google-cloud/speech

$
0
0

First, my apologies for asking a multi-part question.  As relayed in another user's post but not answered, in the manifest.xml file for PPRO 12.x developing panels, the <RequiredRuntime Name="CSXS" Version="x" works for me at Version 7.0 not 8.0 as per the Cookbook example.  Will it change soon and what will be the effects, or is it no big deal?

 

Related, the current nodejs implementation in the PPRO environment is 7.7.4.  Will that change to the V8 nodejs engine? 

The ultimate reason for asking is that I am writing some nodejs on the js side of js/jsx code on a Mac PPRO 12.1, to access google-cloud speech.  I have successfully accessed google-cloud/storage in nodejs - pretty easy actually, but I have encountered errors when accessing speech. After figuring out how to access the 'require' global - cep_node.require('..'); and working through issues in building the google required node_modules - building them with node v8 through the latest v10 (I guess using  NODE_MODULE > 51) results in a grpc sub-dir being created being node-v64-darwin-x64-unknown.  The error I get is that it wants sub-dir node-v51... which can be created (and error eliminated) if you build with node <v7.10 ie 7.7.4. 

However, I am getting an error (and some unexpected behavior) The code (direct-ish) from the google-cloud/speech examples:

After building npm install --save @google-cloud/speech in the correct dir as per examples using node 7.7.4 and --enable-nodejs & --mixed-content in the manifest.xml.

(pretty standard example on google-cloud/speech)

function test(file_name){

     const speech = cep_node.require('absolute/path/to/@google-cloud/speech');

     const fs = cep_node.requre('fs');

     const content = fs.readFileSync(file_name).toString('base64);

     const client = new speech.SpeechClient({ projectId: pId, keyFilename : keyPath,});

     const config  = {config_object}; const audio = {content : content};

     const request = {config: config, audio : audio};

     client

          .recognize (request)

          .then (data => {do something})  // similar and also tried .then (function(data){do something})

          .catch (err => { do some error thing});

}

 

Note: I execute similar code to access google-cloud/storage - no problem.  Also, this is 'esversion:6' type of scripting, but it works.

All the values and variables are what I expect, up until the client.recognize(request) is probably? executed, but then no .then is executed ie no response from the google server. (I know its async)

 

The error/warning comes pre client: 

internal/process/warning.js:21(node:42969) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead

Then upon completion of the function:

Navigated to file:///Library/Application%20Support/Adobe/CEP/extensions/com.iv.PProPanel/index.html

ie. the page/panel is auto - reloaded for some reason.

 

I believe this is somehow related to the async nature of nodejs.  The above warning may trigger the reload of the html page/panel, but I'm not sure. This won't happen if I comment-out the client section, ie acts as expected and the page is not auto-reloaded.  Since the .recognize(request) function is async, and the page is auto reloaded (for a reason unknown to me), I am not able to see if the .then promise is resolved.

My thoughts are that the node v7.7.4 build node_modules are some older nodes than what google-cloud/speech wants. But building with a more recent (or current) node v, results in the first mentioned error. (can't find a needed dir)  Possibly CEP V8 will use Chrome's V8 node engine then I can rebuild google-cloud/speech nodes to a more current state?  Since i have been only dealing with nodejs for about 2 weeks and CEP for 3 weeks, I could be completely wrong in this approach. 

Any insight or an explanation of why a panel would auto-reload, would be greatly appreciated.

Extendscript in Premiere CC 2019 try catch not working

$
0
0

I am having a problem with using a try/catch statement in Extendscript for Premiere CC 2019. The call

app.getProjectViewIDs() 

used to return undefined if there were no open project IDs, but now in CC 2019 it throws an exception, which I can't catch.

 

With the below code, I still get an alert saying unhandled exception. How do I handle this exception? For a reference I have only opened a blank, default project, and haven't loaded anything at this point.

 

try {

     return app.getProjectViewIDs();

} catch (e) {

     return null;

}

 

What's new in the Premiere Pro 13.0 ExtendScript API

Parsing pproTicksIn / pproTicksOut

$
0
0

Hi Premiere SDK folk,

 

I'm curious about the pproTicksIn and pproTicksOut fields that are populated when exporting a Final Cut Pro XML. I see this sort of thing in my fcpxml:

 

<start>17653</start>

<end>18523</end>

<in>-1</in>

<out>-1</out>

<pproTicksIn>8522283369600</pproTicksIn>

<pproTicksOut>12209198601600</pproTicksOut>

 

The "in" and "out" frame counts have been set to -1 because transitions are being used (cross-dissolve in this case), so I can't grab the in/out points there. But I'm wondering if the pproTicksIn/Out numbers can be parsed down to effectively be the in/out frame numbers, or timecode (I'm ultimately looking for timecode values). I can strip off all transitions before exporting to fcpxml, but it'd be cooler if I didn't have to do that. In any case: what do the pproTicksIn/Out numbers correspond to?

 

Cheers,

Raphael

Viewing all 53010 articles
Browse latest View live




Latest Images