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

error LNK1123: failure during conversion to COFF

$
0
0

hello,

I'm new to the sdk and I'm trying to open the sample projects to understand what's going on here,

the problem is that when i try to build the project(for example the SDK_File_Import project)

i get the error:

 

Error1error LNK1123: failure during conversion to COFF: file invalid or corrupt

 

why is that?

 

please help

 

thank you very much in advance

jony


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

Plug-In not showing up in premiere pro

$
0
0

Hello, I'm from accevolution (www.accevolution.net) and we've got the problem that our plugins are not showing up in premiere pro at about 30% of the customers machines. Our workaround at the moment is to tell the customers to install the most recent graphics card driver, launch premiere pro while holding down the shift key and if this doesn't help, to set the ignore flag in the registry here: 3. HKEY_CURRENT_USER\Software\Adobe\Premiere Pro\11.0\PluginCache.64\en_US3. HKEY_CURRENT_USER\Software\Adobe\Premiere Pro\11.0\PluginCache.64\en_US to "0".

 

Any suggestions why they are working perfectly on 70% and not showing up on 30%? From those 30% that have trouble are 99% windows-user, but we also got a few mac users with that problem.

 

It would be great if somebody could give me a hint.

 

Best regards,

 

Wolfram

Still Images as Image Sequence - XML Import

$
0
0

Hi.

I'm trying to make life a bit easier by generating an XML file to quickly import a number of image sequences into a Premiere Pro project (PPro 2017.0.2 in case it matters).

 

It almost works - but when I import this XML file into premiere, it imports the first file in the sequence as a Still Image rather than an image sequence.

The path to the file is correct, and the first frame does show up just fine.

 

It feels like it's only a small change that's required, but I have not been able to find any information on it anywhere.

 

Xml download 

 

Since the (sample) XML is very short, I also included it here (the real file has a few hundred clips, they all behave the same way).

 

I tried manually importing an image sequence into premiere and exporting the result as FinalCut XML, but if I re-import that file, it also gets imported as a Still Image, so no help there.

 

<?xml version="1.0" encoding="UTF-8"?><xmeml version="4">  <bin>    <name>mpf_07 Images</name>    <children>      <bin>        <name>Preview</name>        <children>          <clip id="mpf_07_01">            <duration>229</duration>            <in>0</in>            <out>229</out>            <name>mpf_07_01</name>            <media>              <video>                <track>                  <clipitem id="clipitem-Preview-mpf_07_01">                    <name>clipitem-Preview-mpf_07_01</name>                    <file id="file-Preview-mpf_07_01">                      <name />                      <pathurl>E:\mpf_07_01.0101.jpg</pathurl>                      <rate>                        <timebase>24</timebase>                        <NTSC>FALSE</NTSC>                      </rate>                      <duration>320</duration>                      <timecode>                        <rate>                          <timebase>24</timebase>                          <ntsc>FALSE</ntsc>                        </rate>                        <string>00:00:00:00</string>                        <frame>0</frame>                        <displayformat>NDF</displayformat>                        <reel>                          <name />                        </reel>                      </timecode>                      <media>                        <video>                          <samplecharacteristics>                            <width>2048</width>                            <height>1126</height>                          </samplecharacteristics>                        </video>                      </media>                    </file>                  </clipitem>                </track>              </video>            </media>            <rate>              <timebase>24</timebase>              <NTSC>FALSE</NTSC>            </rate>          </clip>        </children>      </bin>    </children>  </bin></xmeml>

Why is console undefined in com.adobe.PProPanel?

$
0
0

If I add a console.log statement to the PProPanel > Premiere.jsx file then when running in PP I get "script error: console is undefined" when I'm using Chrome and viewing on the port defined in the .debug file.

 

But if I add console.log to this example

https://github.com/ThomasSzabo/Minimalistic-Adobe-Premiere-Pro-Panel

 

then it works as expected.

 

Sure I can use $.writeln() and view a log in ExtendScript Toolkit, but why doesn't it work in PProPanel?

How to check given path isFile or isDirectory in jsx?

$
0
0

Hello,

 

I want to check that given path is File or Directory in a jsx.

 

The 'isFileExist' function only check that path is exist or not in the file system.

I want to check it is 'folder' or 'file'

 

For example,

          path = 'd:/folder1' then isFile method should return 'false'

          path = 'd:/folder1/1.epr' then isFile method should return 'true'

 

How can I do that? I am using below code.

isFileExist : function(path) {    var file = new File(path);  return file.exists;
}




isFile : function(path) {
         //How can I check that path is 'file' or 'directory'?         
}

 

Premiere Pro version 11.0

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,

Third Party Filter Effect into FCP XML or ExtendScript

$
0
0

Hi,

 

I need to be able to export third party effect metadata from a Premiere Pro sequence. When I do an FCP XML export,

all the metadata about the Lumetri effect is present in the XML, but none about third party effects.

 

How can I get the metadata about my own effect written with the AE and Premiere Pro SDKs into the FCP XML?

 

Alternatively, how can I can get said metadata using ExtendScript in Premiere Pro, and would I also be able to edit that

data and write it back into Premiere?

 

Thanks


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

Editing a Title (.prtl) file

$
0
0

Hello,

 

I'm trying to edit an exported title file from PPro.  The editing is working but when I import the file back into PPro, PPro crashes.

I've tried writing the file as UTF8 and UTF16.  Both crash PPro.  Any ideas?

thanks,

Kelly

 

 

Here's my code:

 

##########################################

var tapeType = "<TRString>TAPE TYPE</TRString>";

var theFile = File("/Users/ops.kanderson/Desktop/OnAir Slate.prtl");

theFile.open ("r");

var theText = theFile.read();

theFile.close();

 

theText = theText.replace (tapeType, "<TRString>GENERIC MASTER</TRString>");

 

var outFileName = 'kellySlateText1' + '.prtl';

var completeOutputPath = "/Users/ops.kanderson/Desktop/" + outFileName;

var outFile = new File(completeOutputPath);

 

if (outFile){

  outFile.encoding = "UTF8";  OR outFile.encoding = "UTF16";

  outFile.open("w", "TEXT", "????");

  outFile.write(theText);

  outFile.close();

}

##########################################

Master List of Functions / Hierarchy

$
0
0

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

Editing/Adding Markers

$
0
0

I’m developing a markers panel for Assistant Editors for labeling footage on the fly (marking good/bad sections of video, adding comments, etc. similar to Prelude's marker functionality)

 

I want to incorporate as much marker control as possible but I’m having a hard time finding reference materials. Below is what I’ve gathered.

 

Located in the PProPanel Sample .JSX

.getFirstMarker

.getNextMarker

.name

.end

.start

.type

.createMarker

.comments

.setTypeAsWebLink

newCommentMarker

newWebMarker

createMarker()

 

These were located under “PrSDKMarkerSuite.h” but I’m not sure how to execute them

GetMarkerCount

GetMarkerNameSize

GetMarkerName

GetMarkerStartTime

GetMarkerDuration

GetFlashCueMarkerID

DisposeFlashCueMarkerID

GetFirstMarker

GetNextMarker

GetMarkerData

 

Am I missing anything? Or could you point me to all of the reference materials pertaining to Markers?

 

Changing a markers' color would be especially handy.

 

 

Thank you

XMP Metadata: Different file path in Mac

$
0
0

Hi All,

 

I am importing same file from two different places in premiere pro (one from Project panel and other from Media Browser panel) in Mac. I have fetched their file path using XMP metadata, but the file paths of both project items are different!!

 

E.g.

File path when import file from Project panel:

/Users/user1/Documents/fil1.txt

 

File path when import file from Media Browser panel:

/Volumes/Macintosh HD/Users/user1/Documents/fil1.txt 

Here extra prefix "/Volumes/Macintosh HD" is added which creates an issue for us as we are comparing file paths with one another.

 

Code snippet to read file path:

var projectMetadata=currentChild.getProjectMetadata();
var xmp=new XMPMeta(projectMetadata);
var kPProPrivateProjectMetadataURI="http://ns.adobe.com/premierePrivateProjectMetaData/1.0/";
var filePath=xmp.getProperty(kPProPrivateProjectMetadataURI, "Column.Intrinsic.FilePath");

 

Premiere Pro Version: 11.1.0

Extension Type: Panel

 


Thanks & Regards
Meet Tank

How to know the extension of an EPR preset

$
0
0

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?

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


Create and manipulate multi-camera sequence using Premiere Pro SDK

$
0
0

I wanted to know if it is possible to create and manipulate a multi-camera sequence by writing some C++/JSX code in the Premiere Pro plugin. I am unable to find any API documentation regarding the same.

It would be great if someone could point me to the right APIs. Thanks in advance.

Memory management and premiere

$
0
0

Hi, we've developed a plug-in that calls getPreviewFrameEx. Our plug-in is not leaking memory (checked with bounds checker). We make the getPreviewFrameEx call constantly, and memory usage goes through the roof, eventually we get bad frames from premiere and the program crashes. What can be done about this? Can the media cache be turned off? Do we have to monitor our memory usage and report it to premiere? We don't need super high performance, so turning the media cache off may be viable for us, how would we do this?

 

--John

Clip Pixel Type

$
0
0

Hi,

 

Is there a way to get Premiere to display the pixel type for a clip?  RGB or YUV, 8u or 32f?

 

Thanks!

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

Plugin with CUDA and OpenCL Support

$
0
0

Hello there,

 

i have a question about implementing a premiere plugin which uses CUDA and OpenCL.

Unfortunately, the SDK only provides an OpenCL Sample Plugin.

My first idea was it to create a plugin which only uses OpenCL for GPU acceleration, but then i realized, that Premiere just provides CUDA rendering on NVidia cards. So now i need to support both, OpenCL and CUDA.

Since i've never implemented a CUDA accelerated program it's not that easy for me to implement such a plugin.

So how to integrate OpenCL and CUDA support into my plugin? Can somebody help me with a sample project or sample code?

 

Or maybe there is a way to force OpenCL rendering for my plugin?

 

 

Regards,

 

Jan

Viewing all 53010 articles
Browse latest View live


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