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

Trouble with Exporter Utility Suite

$
0
0

Hello. I have a trouble in my exporter using Exporter Utility Suite. If i place in the sequence a videoclip that is shorter than audioclip, Exporter Utility Suite only render videoclip frames, empty area  was skipped. And if place several videoclips with space between them, only clips frames are rendered, empy area between clips in timeline is skipping. Any suggestion? Use Pull model for exporter?


How to Work in 32 Bit in Premier Pro Plug In

$
0
0

As I understand it, Adobe Premier Pro doesn't support "Smart Render" mode as in After Effects.

Yet I don't understand how does it support 32 Bit Per Channel input.

I look at the SDK sample called SDK Noise, at the following code:

 

PrPixelFormat destinationPixelFormat = PrPixelFormat_BGRA_4444_8u;

 

                if (pixelFormatSuite) {

                        (*pixelFormatSuite->GetPixelFormat)(output, &destinationPixelFormat);

 

                        if (destinationPixelFormat == PrPixelFormat_BGRA_4444_8u){

 

                                ERR(suites.Iterate8Suite1()->iterate(   in_dataP,

                                                                                                                 0,                                                              // progress base

                                                                                                                 linesL,                                                 // progress final

                                                                                                                 &params[NOISE_INPUT]->u.ld,             // src

                                                                                                                 NULL,                                                   // area - null for all pixels

                                                                                                                 (void*)&niP,                                    // refcon - your custom data pointer

                                                                                                                 FilterImageBGRA_8u,                             // pixel function pointer

                                                                                                                 output));     

 

                        } else if (destinationPixelFormat == PrPixelFormat_VUYA_4444_8u){

 

                                ERR(suites.Iterate8Suite1()->iterate(   in_dataP,

                                                                                                                 0,                                                              // progress base

                                                                                                                 linesL,                                                 // progress final

                                                                                                                 &params[NOISE_INPUT]->u.ld,             // src

                                                                                                                 NULL,                                                   // area - null for all pixels

                                                                                                                 (void*)&niP,                                    // refcon - your custom data pointer

                                                                                                                 FilterImageVUYA_8u,                             // pixel function pointer

                                                                                                                 output));

 

                        } else if (destinationPixelFormat == PrPixelFormat_BGRA_4444_32f) {

 

                                // Premiere doesn't support IterateFloatSuite1, so we've rolled our own

                                IterateFloat(   in_dataP,

                                                                0,                                                              // progress base

                                                                linesL,                                                 // progress final

                                                                &params[NOISE_INPUT]->u.ld,             // src

                                                                (void*)&niP,                                    // refcon - your custom data pointer

                                                                FilterImageBGRA_32f,                    // pixel function pointer

                                                                output);      

 

                        } else if (destinationPixelFormat == PrPixelFormat_VUYA_4444_32f) {

 

                                // Premiere doesn't support IterateFloatSuite1, so we've rolled our own

                                IterateFloat(   in_dataP,

                                                                0,                                                              // progress base

                                                                linesL,                                                 // progress final

                                                                &params[NOISE_INPUT]->u.ld,             // src

                                                                (void*)&niP,                                    // refcon - your custom data pointer

                                                                FilterImageVUYA_32f,                    // pixel function pointer

                                                                output);      

 

                        } else {

                                //      Return error, because we don't know how to handle the specified pixel type

                                return PF_Err_UNRECOGNIZED_PARAM_TYPE;

                        }

 

                        err = AEFX_ReleaseSuite (

                                in_dataP,

                                out_data,

                                kPFPixelFormatSuite,

                                kPFPixelFormatSuiteVersion1,

                                NULL);

                }

 

        }

I removed some code related to errors.

Yet even if I set the Render and the Sequence (Preview) to 32 Bit (Max Bit Depth) it still always selects 8 Bit Format.

I don't understand how the pipeline should work in order to enable support for 32 Bit processing.

 

Any assistance?

How exactly does it work?

VideoRecord->part and Speed/Duration

$
0
0

Hi,

 

I have a Video Filter, Premiere Pro SDK, in Premiere Pro CS6-CC2014

 

The VideoRecord->part description in Premiere SDK says:

"How far into the effect you are. part varies from 0 to total, inclusive."

But if the clip speed is changed this is not true. In this case "part" varies from 0 to total*speed and the filter is unable to calculate the correct percentage for a given fsExecute. Is this a bug? The AE filters can use GetClipSpeed() in PF_UtilitySuite2 to handle this, but I not see a suitable equivalent in Premiere SDK. Is there a way to get clip speed in Premiere?

 

Thanks in advance.

ExtendScript in PPro : Clip-names

$
0
0

Using ExtendScript, I am trying to access the clip-names of a track, and I can't figure out how to do this.

Here is what I am trying:

 

app.project.activeSequence.videoTracks[0].clips[0]

Result: [object TrackItem]

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

Result: undefined

app.project.activeSequence.videoTracks[0].clips[0].reflect.properties

Result: duration,start,end,type,mediaType,__proto__

app.project.activeSequence.videoTracks[0].clips[0].__proto__.reflect.properties

Result: __proto__,__count__,__class__,reflect

app.project.activeSequence.videoTracks[0].clips[0].__proto__.__proto__.reflect.properties

app.project.activeSequence.videoTracks[0].clips[0].reflect.methods

Result: bind,unbind,setTimeout

...

 

What am I missing?

 

The context is:

We have a process in the studio, in which we use a track with clips representing the shot-names and their duration on the timeline.

We use this information later to insert the duration of the shots to our pipeline's database, as well as extract audio files for each shot, to be inserted to 3dsmax for lip-sync purposes.

Our current process involves exporting an EDL and then processing it externally.

This has some issues we want to avoid, so I want to have this process happen within a custom-tool inside PPro.

Export FCP XML in Mercury Transmitter

$
0
0

Hi,

 

is it possible to export the current project to a FCP XML from a native plugin? I am trying to implement a plugin that exports the timeline to a different renderer on playback and provides it then with realtime timecode information.

 

Thanks for your help already!

 

Karsten

Not able to get the time stamp certification for zxp

$
0
0

Hi All,

When I am trying to package my zxp with a time stamp, I am getting the following error.

time_stamp_error.png

If I uncheck the Time stamp Certificate option, I am able to create the package successfully.

When I am trying to access the link from browser, I am getting page not found error.

https://timestamp.geotrust.com/tsa

Can someone help me with this one?

 

Thanks in Advance.

Where is the API Documentation for the Premiere Pro Panel SDK?

$
0
0

I see the links to the sample application and the getting started guide, but where is the actual SDK documentation?

 

Where is the documentation that describes the options of manifest.xml?

Where is the documentation for the the PPRO javascript API for the type of functions used in the sample application (ie: "$._ext_PPRO.importFiles()")

How about documentation for this global "__adobe_cep__" object that I see in CSInterface.js in the example?

 

Thank you

UIAutomationSupport.performKeyboardAction() or performPickMenuItemAction()

$
0
0

Hi to all

 

Im trying to create via scripting a new sequence from selected items.. I know there is not direct API to do it but I have seen there are 2 methods in UIAutomationSupport that I could use to achieve my objective.

 

Anyone know how to use those methods??

 

Im trying without any luck something like:

 

      UIAutomationSupport.performKeyboardAction("CTRL+ALT+SHIFT+N");

 

or

 

      UIAutomationSupport.performPickMenuItemAction("File/...");

 

 

Thanks in advance

L


export sequence as media file

$
0
0

HI,

I want to export sequence as media file i have tried something but that did not generate any output file and even not giving any error message

 

   // app.project.activeSequence.exportAsMediaDirect( "D:\\amit.avi","D:\\output_preset.epr",app.encoder.ENCODE_IN_TO_OUT);

   //app.project.activeSequence.exportAsMediaDirect( "D:\\amit.avi","D:\\output_preset.epr",app.encoder.ENCODE_ENTIRE);

//app.project.activeSequence.exportAsMediaDirect( "D:\\amit.avi","D:\\output_preset.epr",app.encoder.ENCODE_WORKAREA);

Is it possible to get the currently selected clipitem?

$
0
0

heya Adobe folk,

 

Is it possible to get the currently selected clipItem in the active sequence, something like this:

 

app.enableQE();

var project = qe.project;

project.init()

curSeq = project.getActiveSequence();

curSeq.getSelected() # this doesn't exist, I'm looking for a way to do this

 

This is high priority for me.

 

Thanks!

Raphael

Iphone 6 video/PP problem

$
0
0

My son and his friends videoed a school project with an Iphone6. I need to upload the footage that I downloaded from google drive (it is on my hd) but PP wont recognize the footage when I try to import. How can I import it?

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

  }

}

}

Conferences or workshops

$
0
0

Hey Bruce,

Do you know of any conferences or workshops where Premiere Pro SDK, After Effects SDK or ExtendScript toolkit would be a topic?

Adobe Summit?

MAX?

Anything like these?

thanks,

Kelly

Potential bug in Export as FCPXML

$
0
0

It appears that there's possibly a bug with calling and handling network paths

 

    exportActiveSequenceAsXML : function(path) {        var seq = app.project.activeSequence        alert(path);        if (seq != null) {            // seq.exportAsFinalCutProXML(path, 1); // 1 == suppress UI            seq.exportAsFinalCutProXML(path);        } else {            alert("No active sequence.");        }    },

 

The alert(path) shows the path is correct before being sent to exportAsFinalCutProXML as shown below:

goodAlertFirst.PNG

 

And then right when it calls the seq.exportAsFinalCutProXML(path) and I turn off the UI suppression, it alerts with this:


badAlertAfter.PNG


Showing that the path is getting oddly interpreted. I can make a temporary fix using external processes, but this isn't the first time I've run into this bug and it seems like an actual bug. Doing the same thing in Extendscript also produces unfavorable results.

 

 

It should be noted that giving it a local path does not produce these results.

API for importing a subtitles file into Premiere

$
0
0

Hi,

We are developing a plug-in for Premiere, that needs to import a srt file and add it to the sequence with the appropriate time codes.

We haven't found any example in the Premiere SDK documentation that shows how to do it.

We noticed that Premiere itself supports importing an Adobe Premiere Title (prtl) file. Is there any way to do it using the Premiere SDK?

We would appreciate any help or code sample on how to achieve this.

 

Thanks.


How can I access HTTP services via Extendscript from PPro CC

$
0
0

I attempting to build an HTML5 panel for Premiere Pro that retrieves assets from a third party REST API but there seems to be no support for Socket or XMLHttpRequest objects in this application which there is for others. (I get Error: Socket does not have a constructor)

 

How would I go about making these requests in Extendscript?

What's difference between mpeg4 and mpeg 2 yuv 4:2:0 pixel formats?

$
0
0

There are "PrPixelFormat_YUV_420_MPEG2_FRAME_PICTURE_PLANAR_8u_601" and "PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_PLANAR_8u_601". They difference only in component ordering or something else?

Programming your own workflow plugins

$
0
0

Hey folks,

 

I've seen people asking "how do I select all clips in the timeline downstream?" and get the answer: Track Selection Tool! Which is quite ok, but for me, the Avid Media Composer way is a bit faster: I hold Alt/Opt and press 2, and all clips on all active tracks will be highlightet (pressing 1 selects upstream). So no need to click the timeline with the cursor and check to see if you got all the clips you need based on where you clicked with this clunky double arraw symbol. Since there's no function like this in Premiere I can't really hook up my beloved Alt/Opt+2-shortcut, so I looked into programming such a plugin myself, but all I've done is script-based plugins (LScript in LightWave, MEL-script in Maya, Action Script, and so on), so sitting down with a cup of coffee and a fresh install of Xcode with the Adobe Premiere CC SDK loaded up didn't yield the quick results I had hoped for. "What the hell's a double pointer? Or tripple, for that matter.. I give up..." There's just too big a gap between C++ and the more functional simple scripting plugin languages like Action Script, After Efects scripts and so on.

 

So the way I see it I'm left with three options: Accepting the Track Selection Tool. Or spend lots of time learning basic C++ and dig around the Premiere SDK for hours to try to understand how to do this the hard way, or ask here if someone with C++ skills thinks this is easily done, how long time it would take to do set up an Xcode project with such workflow functions in mind, maybe one I could edit and add to myself. I'd be willing to pay for such a favor, but for the moment it's more a question of "is it possible, and how difficult is it?"

 

About my system: iMac 2013, Premier Pro CC 2014

 

Also on my wishlist: Being able to select a point on a clip in the timeline where to start or end a fade, instead of having to constantly adjust fade length after adding them. Also havein a pop up proceed a crossfade, asking: "How long do you want the crossfade to be (in frames)?"

 

-Lyder

PPro CC 2015 w/ CEP6/CSXS6 breaks plugin I'm building : ERROR Signature verification failed for extension

$
0
0

Hi,

 

I've been building a plugin in Premiere Pro, up until now using CEP5/CSXS5, using [ Samples/PProPanel at master · Adobe-CEP/Samples · GitHub ] as an example.

 

Upon updating to the latest version of PPro today, it has started using CEP6/CSXS6 by default.

 

I updated the ExecutionEnvironment of my manifest.xml to use Premiere version [9.0,9.9], and setting CSXS 6.0 as the RequiredRuntime. (See image below)

Screen Shot 2015-07-07 at 12.22.36 AM.png

While the plugin appears under Window > Extensions, clicking it generates the error :

 

ERROR Signature verification failed for extension com.myplugin.PProPanel

in ~/Library/Logs/CSXS/csxs6-PPRO.log


menu.jpg

After that didn't work I tried both CEP_HTML_Test_Extension (listed as being CEP6 compatible) and then updating the PProPanel example to CEP6 using [ CEP 6 HTML Extension Cookbook for CC 2015 ] as a guide.

 

Got the same error in both cases.

 

Can anyone point to where I'm going wrong here? Is this a manifest.xml issue? a CEP6 issue? a PPro issue?

 

Any advice on getting plugins to load in CEP6 would be greatly appreciated!!!

 

Thank you,

Neil

Weirdness with stderr

$
0
0

hey friendly Adobe peeps,

 

I’m seeing some weirdness with stderr, maybe you can help. I've repurposed this code from the CEP_HTML_Test_Extension:

 

var createProcessResult = window.cep.process.createProcess(“my_fancy_process”, “arg1”, “arg2");

gPID = createProcessResult.data;

var stderrResult = window.cep.process.stderr(gPID, function(output) {

    document.getElementById("StdErrResult").value = output;

});


 

… and I’m getting stderr output, but it's truncated -- even if the process continues -- when I do certain things in my python scripts. For example, if I use the python json module to load or dump data. Does this ring any bells? It’s almost like Premiere loses track of the PID in certain cases. Maybe there’s another way to get reliable stderr?


I get the same result when directly using CEP HTML Test Extension > Native Functions > Process APIs > Set StdErr Handler.


Cheers,

Raphael

Viewing all 53010 articles
Browse latest View live


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