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

Video Filter Crash on Mac

$
0
0

Hello All,

 

I am running into some odd behavior porting a video filter over from Windows to Mac. As far as I know, the filter is running properly on Windows.

 

The portion of the video filter I am working on that is not necessarily custom is pretty much a cut and paste of the Simple_Video_Filter example project in the SDK. Specifically, the code run at the following selectors in the video filter I am working on is the same as in the example project: fsInitSpec, fshasSetupDialog, fsSetup (except for differing init of custom controls for my filter), fsCanHandlePAR, fsGetPixelFormatsSupported (except for additional formats my filter can handle). Also, the signature of the entry function for my filter - xFilter - is the same as that of the sample project.

 

The crash is occuring soon after entry into the code for the fsExecute selector. The crash is occurring in a part of this section which is also a cut and paste from the sample project:

 

     case fsExecute:
     result = fsNoErr;

          // Get the data from specsHandle
            paramsH = (filterParamsH)(*theData)->specsHandle;

 

            if (paramsH)
            {
                // Get the frame dimensions
                ((*theData)->piSuites->ppixFuncs->ppixGetBounds)((*theData)->destination, &box);

 

In a seemingly non deterministic fashion, the code will crash on the call to '((*theData)->piSuites->ppixFuncs->ppixGetBounds)((*theData)->destination, &box);' due to a EXC_BAD_ACCESS signal being received. A look at the memory reveals that 'theData' seems ok, however the 'piSuites' member of 'theData' is NULL, and hence the crash. In the sample it doesn't seem that one would have to specifically check for a non null 'piSuites', 'ppixFuncs' ect so long as we have 'theData' (and also 'paramsH')

 

As it seems that everything else leading up to the calling of the line of code that is crashing is pretty much cut and paste, I am somewhat at a loss.

 

Has anyone seen similar behavior and knows the remedy?

 

Thanks in advance,

Josh Bodinet


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

Default duration on the timeline of Roll title.

$
0
0

We are developing a title importer plugin for Premiere Pro CC.

 

I want to set a default duration value when I put materials on the timeline.

However, selector imGetInfo8 is called, if imFileInfoRec8->vidInfo.isRollCrawl=1 is returned, the value of General Setting will be effective.

 

It is supplementary as follows:
1.materials is a roll/crawl title.
2.The roll/crawl title made by our software.
3.roll/crawl title has duration.
4.The roll/crawl title in the timeline already, I want to change the duration freely.
5.It is not reflected although imFileInfoRec8->vidDuration was tried.


Is it possible in Premiere Pro SDK ?

 

Best Regards.

GPU-version of Gaussian Blur sometimes produces visible ringing artifacts on high contrast images

$
0
0

Hi,

 

I noticed some annoying ringing artifacts in my footage after applying the GaussianBlur() from the PrSDKGPUImageProcessingSuite.

 

I assume the blur implementation is the same as in the 'Gaussian Blur' Video Effect. So I tested with that effect standalone and was able reproduce the problem.

The ringing artifacts appear in high contrasted footage (see screenshots) and only with the GPU-version of the blur.

Switching to software-only renderer and therefore enforcing the CPU-version of the effect removes the artifacts.

 

Has anybody already noticed this issue?

 

Regards,

Philipp

 

 

Gaussian Blur (CPU) without artifacts:

Adobe_Gaussian_Artifacts_CPU.PNG

 

Gaussian Blur (GPU) with artifacts:

Adobe_Gaussian_Artifacts_GPU.PNG

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 ?

Premiere Pro ExtendScript Events

$
0
0

Hi, I was trying to find somewhere the list of possible events that can be handled within an application but have no luck. Specially the ones that are related with sequences, like active sequence changed, renamed, created or deleted, is this possible?

 

Thanks

create sequence from clip in extended script

$
0
0

I want to create new sequence from a movie clip using script.how can i access sequence start and end point in script

How to use get keyframe information in Premiere

$
0
0

Hello,

 

I am looking for an example in the sample projects that i can't find on how to get information about keyframes.

 

Is it possible to use "PF_PARAMUTILSSUITE3" and functions PF_CheckoutKeyframe etc. to retrieve these informations?

 

If anyone could give me some advices on how to achieve that.

 

thx in advance


Looking for Post-Live-Event using Qumu QCS 2.8 with VCC 7.5

$
0
0

Hello -

 

I am attempting to support a deployment of Qumu Webcasting solution to 120k+ users.  The modalities are Smooth Streaming, HLS an MP4.

 

 

STREAM   Premiere Pro !

======

MP4

- Video

- Audio

Slides

- JPG

- "Slide Change Events"

 

DATAPOINTS

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

@Encoder (QCS)

   - Archive Video  - MP4 and Expressions XJE file

@VCC Storage

   - PPT (images) - JPG files

@VCC DB

   - Slide events - in SQL storage

 

EVENTS NEEDED, BUT NOT SUPPORTED BY VENDOR

=======

1. Replace PPT image file with correction

2. Remove mid location cough

3. Ability to browse via NLE Non-linear editing system - Wikipedia, the free encyclopedia 

4. Ability to mount Qumu Stoage / DB

 

 

MY IDEA: 

========

1. So I found that I can open the QUMU archive output with MSFT Expressions Encoder Pro 4

  - It does not include the slide events

2. I think I could create a custom plugin to MSFT Expressions for slide events via SQL queries

 

 

MY ASK:

=======

Is there anything better from Adobe side to mount MP4 (Audio/Video) and custom API for PPT for slide images to allow for full CRUD actions?

 

Corrections / Comments?

Thank you

Is it possible to access preset objects via extendscript?

$
0
0

Using Extendscript, I am able to access video/audio effects and transitions and apply them to specified clips. However, I cannot do the same with Lumetri Presets.

Is there are any way to access and apply "Lumetri Presets" and "Presets" to selected clips? Any help or tips will be greatly appreciated.

AudioUnit/VST plug-in crashing in Audition CS6

$
0
0

Hello,

 

I am currently developing an audio effect plug-in on Mac, which supports both VST/AudioUnit formats. I am trying to get the plug-in to work correctly in Audition CS6, but I am witnessing some very strange behaviour which is causing crash scenarios.

 

The problem occurs when I make a call to boost library functions timed_wait() or sleep(). which are called from within a thread I create when the plug-in is first loaded into memory. As soon as one of these methods is called, a crash occurs inside the pthreads library function pthread_getspecific(), due to memory access at address 0x0.

 

This behaviour is not exhibited in any other host I've tested in. Can you think of any reason why this might be happening?

 

Thanks in advance,

 

Luke

How to invoke JavaScript for Premiere Pro CC?

$
0
0

Hi,

 

I am new to Adobe CC products/scripting and I'm trying to control Adobe Premiere Pro CC from another desktop application. Using ExtendScript Toolkit, from its UI, I can invoke JavaScript commands or files.

 

But I can't find any way for my desktop application to invoke JavaScript commands. I can't seem to find any command line tool for it (no documentation either and JavaScript doesn't seem to be officially supported). Any help regarding this would be greatly appreciated.

 

I tried using the Socket object on a .jsx file to act as a server (to listen for commands from my desktop application) and placing it on the common startup script folder. But the start up script blocks the UI of the Premiere Pro application entirely (even if I use "$.sleep(milliseconds)" function in between  the "poll" function for acquiring a connection). This wouldn't work for my application as I can't block the UI.

 

For After After Effects CC, I can use the "afterfx.exe" on Windows and AppleScript with "DoScript" command on Mac, to execute JavaScript expressions or files. But this doesn't seem to work with Premiere Pro or any Adobe CC products. For Photoshop, I can just open any .jsx file with Photoshop (for e.g. "Open With") and it runs the .jsx file. But this technique doesn't work with all the other Adobe CC products (even the ones which support JavaScript officially).

 

According to Adobe Premiere Pro developer centre, there is no mention of any JavaScript support. But since the functionality does seem to be there (as discovered through ExtendScript Toolkit), I am hoping I can get away just by using JavaScript commands to control Premiere, as opposed to using the native SDK for Plugins. However, I really hope Adobe Premiere Pro folks are seeing this and they officially support JavaScript soon .

 

Thanks for your help.

Undefined is not an object

$
0
0

Hello,

 

I'm having an issue with an HTML5 panel for Premiere Pro.  I have the panel installed on 15 computers and it works fine on 10 of them.

On the other 5, the panel launches but when a button/script is pressed an alert box comes up and says "Undefined is not an object".

Any ideas?

 

thanks,

Kelly

I want to get the language mode of the host.

$
0
0

Hi,

 

I want to change the language mode of a my plug-in dependent  on host's language mode.

Please let me know the method of getting host's language mode.

 

Regards,

Kengo Mikoshiba.

Plugin Loading Problems During Debug

$
0
0

Hi Zac,

 

I am going in the opposite direction this time. I have our new MOV importer for CS5 working on the Mac and am now porting it over to Windows - but am running into a seemingly impenetrable situation. I have everything in the Windows project compiling and linking properly in Visual Studio 2008 (and set to target x64). I have the project setup to use Premiere as the executable for a debug session. I have a break point set on the first line of xImportEntry that has meaninful code. When I go to launch a debug session, Premiere loads and when it gets to the point in the load process where the MOV importer I am debugging should be loaded, the icon of the breakpoint I set in the project blinks twice from the 'unreachable' state to the 'reachable' state and then finally switches back off to the 'unreachable' state. At first I thought there might be a dependency issue so I checked it with Depends.exe. Sure enough, there was an issue with a runtime library, which I rectified - however it still did not resolve this load issue. After there was no longer an issue as reported in Depends, there was still an issue reported in the output console of Visual Studio regarding libmmdd.dll. The output in the console of Visual Studio, pertaining to the loading of the MOV importer, is as follows:

 

'Adobe Premiere Pro.exe': Loaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
'Adobe Premiere Pro.exe': Loaded 'C:\Windows\System32\libmmdd.dll'
First-chance exception at 0x77a476fd in Adobe Premiere Pro.exe: Microsoft C++ exception: ML::ImporterPluginFailure at memory location 0x0012d858..
'Adobe Premiere Pro.exe': Unloaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
'Adobe Premiere Pro.exe': Unloaded 'C:\Windows\System32\libmmdd.dll'
'Adobe Premiere Pro.exe': Loaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
'Adobe Premiere Pro.exe': Loaded 'C:\Windows\System32\libmmdd.dll'
First-chance exception at 0x77a476fd in Adobe Premiere Pro.exe: Microsoft C++ exception: ML::ImporterPluginFailure at memory location 0x0012d858..
'Adobe Premiere Pro.exe': Unloaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
'Adobe Premiere Pro.exe': Unloaded 'C:\Windows\System32\libmmdd.dll'

 

So I set the project to ignore libmmdd.lib and the output I now get in the console is:

 

'Adobe Premiere Pro.exe': Loaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
First-chance exception at 0x77a476fd in Adobe Premiere Pro.exe: Microsoft C++ exception: ML::ImporterPluginFailure at memory location 0x0012d858..
'Adobe Premiere Pro.exe': Unloaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
'Adobe Premiere Pro.exe': Loaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
First-chance exception at 0x77a476fd in Adobe Premiere Pro.exe: Microsoft C++ exception: ML::ImporterPluginFailure at memory location 0x0012d858..
'Adobe Premiere Pro.exe': Unloaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'

 

It seems obvious that something is wonky in the MOV importer plugin that is making it so that Premiere won't load it, but I can't figure out what it is. In the MOV importer project I have attempted to mimic the settings of the project of our AVI importer, which does load properly. In that the MOV and AVI projects have almost identical settings, and as the MOV project compiles and links properly and checks out with Depends, I am starting to run out of ideas. Any thoughts as to what might be causing this?

 

Thanks as always,
Josh


VST Audio for CS5 SDK question

$
0
0

I have a couple of old audio plug-ins that ran on CS4.  I just recompiled my old VST library for 64 bit and built my plug-ins.  Everything went okay, but CS5 does not see them.  Is there a new VST library for CS5 or should I be doing something else?

 

Thanks,

Gee

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?

When will the CS6 SDK become available?

$
0
0

...and will CS5.0 and CS5.5 SDKs work on CS6 PPro and AME?

Is the Memory Suite thread safe?

$
0
0

Hi all,

 

Is the memory suite thread safe (at least when used from the Exporter context)?

 

I ask because I have many threads getting and freeing memory and I've found that I get back null sometimes. This, I suspect, is the problem that's all the talk in the user forum with CS6 crashing with CUDA enabled. I'm starting to suspect that there is a memory management problem when there is also a lot of memory allocation and freeing going on by the CUDA driver. It seems that the faster the nVidia card the more likely it is to crash. That would suggest the CUDA driver (ie the code that manages the scheduling of the CUDA kernels) is in some way coupled to the memory use by Adobe or by Windows alloc|free too.

 

I replaced the memory functions with _aligned_malloc|free and it seems far more reliable. Maybe it's because the OS malloc|free are thread safe or maybe it's because it's pulling from a different pool of memory (vs the Memory Suite's pool or the CUDA pool)

 

comments?

 

Edward

class x could not found error while using native extension (.ane)

$
0
0

Hi,

 

I created a native extension. I can debug this application as an desktop application. Working well, there is no problem while using native extension classes. But When I debug for Premiere Pro, I get "Class com.extenison.samples.ANESample::myClass could not found" error.

Do you have any idea what I'm missing while debugging for Premiere Pro extension ?

- I added .ane file on Native Extensions tab of Properties

- Also added .swc file on Library Path tab

- checked Package in Flex Build Packaging tab

- I can see .ane file on Package Contents section of Flex Build Packaging

 

Thanks

Viewing all 53010 articles
Browse latest View live


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