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

Plug-ins that use the internet

$
0
0

Hello Community,

 

I am interested in writing a Premiere plug-in that can upload/download files to a URL from Adobe Premiere. Is there API functionality that lets me do this? More generally, is it possible to write this into a plug-in?

 

Thanks much.

 

Best,

James


Plugin development for premiere, adobe example error LNK1104: cannot open file 'C:\Program Files\Ad

$
0
0

Hello,

I downloaded the Premiere Pro CS 5.5 Win SDK, i open the project SDK_Exporter in Visual Studio 2008, when i hit debug i get the following error

 

Error1fatal error LNK1104: cannot open file 'C:\Program Files\Adobe\Common\Plug-ins\CS6\MediaCore\ExporterSDK.prm'

 

How can i resolve ?

May I control menu when I launch the 'ExportController' plug-in?

$
0
0

Hi everybody,

 

I have write a 'ExportController' plug-in based on the sample SDK(Mac) provided.

It works correctly as expected workflow, a new sub-menu under 'Export' added, and it can render timeline, export it, and do other post-process.

But it does not support 'copy', 'paste', 'cut' operation for NSTextField in my custom UI.

 

I found all menu items' status didn't change, and the items(Copy, Paste,...)  under 'Edit' are disable.

I think the copy function missing is because menu item disable, but I don't know it is support to change or edit those status?

(I am using the Premiere Pro CC Mac SDK, plug-in type is 'ExportController'.)

 

 

Thanks,

Iris

I wonder how can I put imported clip to the second video track of the active sequence.

$
0
0

any function or API?

 

I want to make a button that can when I set a file(mp4 or jpg), start time and duration, the clip overwrite the second video track of the active sequence.

(It's so easy with mouse!!)

 

importFiles : function()  of PProPanel\jsx\Premiere.jsx couldn't help me.

that was just importing.

 

Could you help me or give some hint?

How to start, hot to get .prm or .dll or working plugin file from a VS 2008 generated .exp .lib .pdb

$
0
0

Hi,

I download the SDK, load some sample project (e.g. SDK Exporter) in visual studio 2008 from a Windows 7 64bit workstation. No conversion ask. Build > Build Solution creates several files but none with the .dll or .prm extension. Resulting files are SDK_EXporter.XXX with extensions; .obj, .exp, .lib, .pdb, and 2 files named vc90.idb and vc90.pdb

 

Im lost, I read several pages of the manual but none explains how to get a valid .prm or .dll file to test on the plugins dir so on premiere

 

How can advance ¿??

 

 

 

results from visual studio

===========================================================================

1>------ Operación Generar iniciada: proyecto: SDK_Exporter, configuración: Debug x64 ------

1>Compilando...

1>SDK_Exporter_Params.cpp

1>SDK_Exporter.cpp

1>SDK_Segment_Utils.cpp

1>SDK_File.cpp

1>Generando código...

1>Compilando recursos...

1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1

1>Copyright (C) Microsoft Corporation.  All rights reserved.

1>Compilando manifiesto en los recursos...

1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1

1>Copyright (C) Microsoft Corporation.  All rights reserved.

1>Vinculando...

1>   Creando biblioteca .\Debug/SDK_File_Compiler.lib y objeto .\Debug/SDK_File_Compiler.exp

1>Incrustando manifiesto...

1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1

1>Copyright (C) Microsoft Corporation.  All rights reserved.

1>Creando archivo de información de examen...

1>Utilidad de mantenimiento de información de examen de Microsoft Version 9.00.21022

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>El registro de compilación se guardó en el "file://c:\premiere_pro_cs5.5_r1_sdk_win\premiere_pro_cs5.5_r1_sdk_win\Premiere Pro CS5.5 Win SDK\Examples\Projects\SDK_Exporter\x64\Debug\BuildLog.htm"

1>SDK_Exporter - 0 errores, 0 advertencias

========== Generar: 1 correctos, 0 incorrectos, 0 actualizados, 0 omitidos ==========

Unable to load staticaly linked library.

$
0
0

Hi,

 

I am new to plugin development for Adobe Premiere and I am trying to include staticaly linked libraries of ffmpeg.

Compilation goes through but Importer loading phase is failing with:

 

Loading C:\Program Files\Adobe\Adobe Premiere Pro CS6\Plug-ins\en_US\ImporterSDK.prm

The modification date has changed so the plugin will be loaded from disk.

Loading from disk...

The library could not be loaded.

 

Plugin fails on av_register_all() call.

 

Are there any other logs where I can investigate this problem? Or anything that somes to your mind that I might have

forget?

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

Exported Interlaced Video by SDK Exporter plugin for premiere pro cs6

$
0
0

Adobe Premiere Pro CS6 for Project Setting Sequence is XDCAM HD422 1080i25(50i)

 

I tested the Plugin AVI(Uncompress) ,output interlaced video OK no problem.

 

I use Premiere Pro CS6 r2 SDK

I am trying to build a plugin for interlaced video.

 

Problem occured when I modified by the program below:-

 

SDK_Exporter.cpp at subroutine RenderVideoFrame

 

for interlaced video with PrPixelFormat_BGRA_4444_8u or PrPixelFormat_VUYA_4444_8u

and set

renderParms.inRenderQuality = kPrRenderQuality_High;

fieldType.value.intValue = prFieldsUpperFirst;

mySettings->exportParamSuite->ChangeParam(exID, 0, ADBEVideoFieldType, &fieldType);

renderParms.inDeinterlace = kPrFalse;

renderParms.inDeinterlaceQuality =kPrRenderQuality_High;

 

SequenceRender_GetFrameReturnRec renderResult;

 

    resultS = mySettings->sequenceRenderSuite->RenderVideoFrame(mySettings->videoRenderID,

                                                                videoTime,

                                                                &renderParms,

                                                                kRenderCacheType_None,

                                                                &renderResult);

    mySettings->ppixSuite->GetPixels( renderResult.outFrame, PrPPixBufferAccess_ReadOnly, &frameBufferP);

 

In frameBufferP is only progressive frame not intelaced frame

 

 

Please advise  what should I do in order to get interlaced frame.

 

Regards,

Putaporn


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.

Displaying DialogBox

$
0
0

Hello,

 

I have a problem with displaying DialogBox in SDK_Custom_Import example project.

I am using Visual Studio 2013 Professional.

 

What have I done:

  1. Opened example project from Premiere Pro CS5.5 Win SDK.
  2. Opened .rc file and added new resource (Dialog)
  3. In SDK_Custom_Import.cpp In SDKGetPrefs8() function changed MessageBox(...) to DialogBox(NULL, MAKEINTRESOURCE(IDD_DIALOG1), (HWND)stdParms->piSuites->windFuncs->getMainWnd(), (DLGPROC)func);
  4. Implemented func function:

BOOL CALLBACK func(HWND hwndDlg,

  UINT message,

  WPARAM wParam,

  LPARAM lParam)

{

  switch (message)

  {

       case WM_COMMAND:

       switch (LOWORD(wParam))

       {

            case IDOK:

                 return TRUE;

            case IDCANCEL:

                 return TRUE;

       }

  }

  return FALSE;

}

     5. Built it.

    6. When I open my plugin in Adobe Premiere Pro (File->New->SDK Custom Import), I cannot see my DialogBox.

    7. I tried putting GetLastError() right after DialogBox() function, it returns 1813 error (The specified resource type cannot be found in the image file.)


I guess that something is wrong with project settings where should I search?


MessageBox displays normaly.


Thank you in advance.


Premiere Markers export and import: Roundtrip via FCP XML not working

$
0
0

The objective of my project is to create a sports app that records markers and saves it in different formats of XML / CSV that I can then import in different NLE packages.

I have already succeeded with Vegas Pro but also want to support NLEs for MAC-OS.

 

In order to approach this analytically I have exported a very simple project with 1 sequence including 1 clip and 3 markers (with length zero and length > 0) and exported it
in FCP XML from Adobe Premiere CC and do a round-trip import it via FCP import into Adobe Premiere CC.

 

This round-trip does not work. Any insight why or any support what other mechanism will work?

 

Thanks


Thomas

ExportController - Plugin loading.log & argument from Flex

$
0
0

Hello guys

 

I'm having a problem porting my ExportController to cross platform and it recently refuses to get loaded.

 

Here is Plugin loading.log:

Loading C:\Program Files\Adobe\Common\Plug-ins\CS6\MediaCore\ExportControllerSDK.prm

Loading from disk...

No loaders recognized this plugin, so the plugin is set to Ignore.

I found CS6_ServiceManager.log but I'm not sure if it's related (altho I changed some IO precisely before it broke)

2013-02-12 01:13:50 : ERROR vcfoundation::system::VCSysError: WriteFile() failed <232: The pipe is being closed.>

race:    1 0X0049199F

   2 0X0048E7A3

   3 0X0048E91E

   4 0X00488C16

   5 0X00491CF8

   6 0X00490C6F

   7 0X0048ED72

   8 0X004884BB

   9 0X0049BAF5

  10 0X0049BB7F

  11 0X759F8543

  12 0X7791AC69

  13 0X7791AC3C

Where else can I find more information on my problem or can I enable debug launch logs? It compile and builds fine and the code has been tested externally of PPro so I'm having an hard time figuring it out.. Any help or advice appreciated.

 

Also is it possible to pass an argument from a flex plugin to the ExportController, i.e ExportTimeline in the snippet below:

DllExport PREMPLUGENTRY xExportControllerEntry (

          int                                        selector, ecStdParms                    *stdParms, void                              *param1)

{

          prMALError result = exportReturn_Unsupported;

            switch (selector)

          {

...

                    }

          case exportController_ExportTimeline:

                              result = ecExportTimeline(stdParms, reinterpret_cast<ExportControllerTimelineInfoRec*>(param1));

                              break;

...

Call is currently made from JSX function (invoked by the flex) but if I could propagate an argument it would solve all my problem!!!

 

Thanks in advance,

Loading media into timeline

$
0
0

Hi all,

 

I would like to do the following in my plugin:

* Create an empty project

* Load a media into the project (lets say I got the UNC path from somewhere)

* Put the media onto the timeline

 

Is this possible? Is there any sample code?

 

The media can be any video format, assumping that it is supported by Premiere.

Do I need to extract the video info from the media and change configurations of the project?

 

Thanks.

 

Best regards,

 

lgw3000

If I want to make a single-frame importer, e.g. - for WebP image format, do I need to implement an SDK importer plugin? Are there any examples?

$
0
0

The title says it all really. Was wondering if there's a simpler interface to implement which does not contain video or audio, but just a still frame image.

I don't care about exporting this format from Premiere, just being able to read a single frame or a sequence of frames to be used as footage.

Import multiple files

$
0
0

I have made plugin based on custom importer, now I can import media files using my custom GUI.

But now I'm little bit confused, is it possible to import multiple  files using SDK ?

I mean:

1. Chose several clips in my GUI.

2. Click ok and files will be added to project.

Thanks.


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)

Is it possible to place a imported clip to timeline by script or plug-in?

$
0
0

Is it possible to place a imported clip to timeline by script or plug-in?

I can't find any clue about controlling a clip on timeline.

CS5 SDK + AME CS4 = Crash from bad memorySuite

$
0
0

Hi all,

I compiled the CS5 SDK_Exporter example and only changed one thing:

     1:     the build from x64 to x86     (because I'm on Win7 32bit with CS4 Production Premium)

 

     BTW the enviroment variable $(PREMSDKBUILDPATH) is set to points to

          C:\Program Files\Adobe\Adobe Premiere Pro CS4\Plug-ins\Common\SDK

 

Then I started to debug the debug|x86 build and invoked it by running AME by setting the Debugging->Command argument to

 

          C:\Program Files\Adobe\Adobe Media Encoder CS4\Adobe Media Encoder.exe

 

When I run it, add a video and then change the exporter to "SDK File" it then calls the exSDKBeginInstance( )

 

prMALError exSDKBeginInstance (

exportStdParms *stdParmsP,

exExporterInstanceRec *instanceRecP)

{

prMALError result = malNoError;

SPErr spError = kSPNoError;

ExportSettings *mySettings;

PrSDKMemoryManagerSuite *memorySuite;

 

int exportSettingsSize = sizeof(ExportSettings);

SPBasicSuite *spBasic = stdParmsP->getSPBasicSuite();

if (spBasic != NULL)

{

spError = spBasic->AcquireSuite(

kPrSDKMemoryManagerSuite,

kPrSDKMemoryManagerSuiteVersion,

const_cast<const void**>(reinterpret_cast<void**>(&memorySuite)));         <<<<<<------ THIS memoryStuite isn't set

 

>>>>> THUS THE NEXT LINE CRASHES BECAUSE memorySuite==0

 

mySettings = reinterpret_cast<ExportSettings *>(memorySuite->NewPtrClear(exportSettingsSize));

 

Why is using the CS5 headers breaking the CS4 applications?

Why SDK always generates non-drop-frame clips?

$
0
0

I've created a sequence in Premiere: NTSC DV, Codec: DV NTSC, 29.97fps, 720x480, Drop-Frame Timecode.

When I try to render a clip with MXF OP1a preset file (DV25 NTSC) by SDK, it always generates non-drop-frame clip.

If I use 'File->Export->Media...' with same preset file, it's drop-frame exactely.

 

'Drop-frame' seems to be an option from sequence and there is no place to config it in preset settings dialog.

How can I generate drop-frame clip by SDK (exporter controller)?

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!

Viewing all 53010 articles
Browse latest View live