I made a plugin which contains 8 entries in FILE menu. I want to put them into a single sub menu and also assign a keyboard shortcut to them.....can anybody tell me how to do that..on both mac and windows...???
plugin shortcut and menu
Import effects-layers of a psd-file
Hi
We want to rebuild/integrate the comp import functionality to fit our environment. We succeeded in creating the corresponding FootageItems and compositions (for groups) but we are stuck with effect or fill layers.
If you manually do an comp-import of a psd-file, effect-layers get importet as effects in the composition.
Does anybody know of a way to reproduce this over the sdk?
Regards,
thomas
Is there a way to access effect sequence data from AEGP?
Hi All,
I'm storing some sequence data in my custom effect. I known that sequence data can be accessed through AEGP_EffectCallGeneric(). But is there a direct way of accessing sequence data from AEGP without calling custom effect like AEGP_GetStreamValue()?
Thanks,
Dheeraj
A newly added layer is not visible in composition
Hello,
My effect processes the whole composition at once and adds a new visible(!) layer with results to the top of the composition. The source layer is situated under the new one. New layer is added as:
ERR(suites.LayerSuite7()->AEGP_AddLayer(res_item, cResCompH, &res_layer));
(res_item is a video sequnce with same parameters as default sequence)
And I faced a problem with a correct displaying of the top layer with results. Every frame except the frame that was at "Current time indicator" displays frames from resulting layer and that is ok. But the frame that was active in composition during the rendering process shows me the source layer. Moreover if I turn off my effect or effect's layer, I will see the frame from the result. Nothing will happen even if I close the composition and open it once.
Have anyone had such a problem before?
What should I do to avoid such a strange behaviour? Maybe, I should add this layer with some other preferences?
How can I get the name of an applied effect instance?
We have an after effects plug-in (written using the SDK) and we'd like to get the name of an instance of an applied effect.For example, if my installed effect name is "FoofooBerry", and the customer applied two FoofooBerry effects, there would be one named "FoofooBerry" and one named "FoofooBerry 2".
In the documentation, it says:
"To get an effect’s instance name (as renamed by the user), get the AEGP_StreamRef for the effect itself and call AEGP_GetStreamName."
That seems like what I want to do, but how one would "get the AEGP_StreamRef for the effect itself" eludes me.
I've tried iterating over all streams on the effect and inspecting them, but I don't see anything useful. Anyone know how to get the stream ref for an effect (not a stream on that effect)?
I've also asked the same question at StackOverflow, but unsurprisingly haven't had any luck (not a whole lot of AE experts over there).
Thanks.
Develop a simple After Effects plugin in C# ?
Hello,
I would like to create a simple After Effects Plugin using C#. The plugin will have a small screen with a couple simple controls . This plugin will run in After Effects on a Windows machine.
I am new to Adobe After Effects .
Can you point me to a SDK , tutorials etc ?
Thanks a ton,
Peter
Does Adobe Pixel Bender work with AE CS6/Premiere Pro CS6
Hello All,
I want to create a GPU accelerated video processing plugin for After Effects/Premiere.
I just came across Adobe "Pixel Bender" here:
http://www.adobe.com/devnet/pixelbender.html
It seems to Pixel Bender allows you to code for the GPU in a GLSL-like programming language.
Can I use Pixel Bender in an After Effects/Premiere Pro CS6 plugin?
If not, how do I go about using the GPU in an AE/Premiere plugin?
Thank you very much for any Help,
Sumo B.
Compiling to the MediaCore does not work any more (osx 10.8)
Yesterday I installed some CC trial versions and today I can't compile into the mediacore folder anymore. My XCode says: "error: unable to create '/Library/Application Support/Adobe/Common/Plug-ins/CS6/MediaCore/Buildall-dykcicnqpwwyrdat zcqumbwhadtx/Build/Intermediates' (Permission denied)"
Is somebody expiriencing the same issue?
Cheers
Fabian
How to use GetProjectPath (and other A_UTF16Char) properly?
Hi there,
I'm trying to get the current project path and store it to wstring variable, and later convert it to A_Char to show it on reportinfo.
Following code works correctly on Windows 7 64bit and project path is displayed with ReportInfo dialog box, but on macosx 10.6.8, projectPathW.length() is always nonzero even when no project is opened. And ReportInfo always shows empty string.
AEGP_ProjectH project;
AEGP_MemHandle pathH;
suites.ProjSuite5()->AEGP_GetProjectByIndex(0, &project);
if (project) {
err = suites.ProjSuite5()->AEGP_GetProjectPath(project, &pathH);
if (!err)
{
A_UTF16Char *pathText;
err = suites.MemorySuite1()->AEGP_LockMemHandle(pathH, (void**)&pathText);
if (!err)
{
wstring projectPathW((wchar_t*)pathText);
if (projectPathW.length() == 0)
{
suites.UtilitySuite3()->AEGP_ReportInfo(S_my_id,"empty string");
}
else
{
char *fileName = (char *)malloc( AEGP_MAX_PATH_SIZE );
wcstombs( fileName, projectPathW.c_str(), AEGP_MAX_PATH_SIZE );
suites.UtilitySuite3()->AEGP_ReportInfo(S_my_id,fileName);
free(fileName);
}
}
suites.MemorySuite1()->AEGP_UnlockMemHandle(pathH);
ERR(suites.MemorySuite1()->AEGP_FreeMemHandle(pathH));
}
}
Non-Custom UI Drawing
Hi all.
My plugin requires certain things drawing to the comp, including circles, lines and (hopefully) text. However they are *not* part of a custom UI - in other words they can stay on-screen during a RAM preview, for example.
I've been looking into using Drawbot, but I'm not sure I can use it for this purpose, the reason being how do I get a drawing ref using suites.EffectCustomUISuite1()->PF_GetDrawingReference() without having a context (looks like the context is passed as part of a UI event, which I won't have)?
I've already written a bunch of code to draw pixels directly to the screen, which is working great so far, and I can go ahead and write functions for drawing shapes using this method; I was just wondering if I'm supposed to use Drawbot for non UI drawing, or if "rolling your own" is the way to go here.
Thanks,
Christian
help, i need a phone number or support email regarding the SDK, where can i find it?
my company is looking to build a plugin set for after effects but we cannot find any way of contacting someone for tech questions befor getting started.
any idas?
Workflow (Slick Debugging Tricks)
I'm trying to get into plugin dev. But I don't understand the workflow yet. And there really are no resources out there at all about this. I want to know how to make a change in Xcode 4.5.2, compile the plugin, have AE reload the changed plugin, see the change, without re-starting AE. The Slick Debugging Tricks section in the guide doesn't seem to work for me. It suggests clicking Edit > Purge > All to reload the plugin after rebuilding, but nothing happens. I can see the change I'm making when I restart AE. I'm testing this with the Checkout example and CS6.
I've also tried attaching to the process in Xcode and changing code on the fly. That was suggested here: http://forums.adobe.com/message/3117259#3117259. This is not working for me, nothing changes.
I'm trying to avoid restarting AE, opening the last file, applying the changed plugin, after every change I make to the plugin. But this is the only thing that works for me so far. This can't be how you're developing plugins. Right?
Please steer me in the right direction here. Thanks.
VS2005 PiPL problem
Suddenly I am unable to change the AE_Effect_version in my pipl.r file. In the past I deleted the pipl.rc file after changing the pipl.r file and VS2005 built correctly.
Now, I get the error "Error result 1 returned from "c:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\rc.exe". I can't find the actual custom build event to see what may be wrong.
I must have accidentally changed something. Any ideas?
Premiere + OpenGL
Hello.
I created a plugin in After Effects SDK CS6 (Adobe Forum members wrote that my plugin should work both in AE and Premiere).
In AE my plugin works perfectly. In Premiere, when I don't use OpenGL and for example colorize footage everything is ok. When I use OpenGL my plugin crashes Premiere on the first line of OpenGL code...
I don't know why. I read that Premier has multi-threading render but when I enable multi-threading render option in AE everything renders ok.
How I use OpenGL:
I create hidden OpenGL context, grab all the pixels and add them to the input pixels.
Thanks in advance for answer.
Dave
Video overlay using C#
Hi all,
I am new to the After Effects and want to overlay a video on another video, I am using C# as language and have a urgent requirement.
I want to provide a POC on this and then if required we will buy the software's full version.
If anybody has any idea, please share.
Thanks in Advance.
Intercept command
Hi!
I've written a plugin (effect) to control MaskShapes instead of AE.
I already have a button in my plugin, to switch between 2 options: 1_Mask controls effect, 2_Effect controls mask.
Now I'm trying to intercept the following command: Free Transform (ctrl + t).
If I get the call, switch to option 1, when Free Transform is over, switch back to option 2.
So, here are the issues:
First, how to get the call? (I tried to handle PF_Event, but no result for the moment...)
More tricky, how to know when user stops Free Transform, as effect isn't selected anymore?
If anyone has the beginning of a clue, I'm highly interested!
Thanx,
François
Note: I found a work around by script and executeScript, but I was wondering if there is a more reliable way through SDK.
Ce message a été modifié par: françois leroy
Custom Output Device
Hello,
Is it possible to create a custom "Output Device" in addition of the "Blackmagic" and "Firewire" ones ?
If possible, how ? Does it exist some project sample ?
Thank you.
Boxed Text Layer Position
I am using the ProjDumper sample code as a base to dump the detail on a project. I need to know the location of the left hand of the baseline of a text layer. My code works fine for point text layers, but not for Boxed Text layers.
It seems that boxed text layers have an additional offset from some point to the baseline left point that depends on how the original box is drawn by the user.
I can determine when a text item is boxed and what the box size is. This is easy in JavaScript but it does not give me the offset I need.
So my question is can anyone tell me how to determine what the offset is?
Color Range in 16bit
Why16 bit the color range is form 0 to 32768 in Adobe After Effects. Shouldn't it be from 0 to 32767? Such is in 8 bit 0-255 (256 colors).
Is there an After Effects Plugin project template/skeleton for Qt Creator?
Is there an After Effects Plugin project template/skeleton for Qt Creator?
I mean, Qt is considered to be cross platform and it would be handy if you provided a sample plugin project since Adobe targets multiple platforms.
(I don't like Qt Creator either, but in order to make a cross-platform plugin I guess I have to go down this path...)