Skip to main content
Participant
October 15, 2007
Question

Trouble getting compiled samples to run

  • October 15, 2007
  • 7 replies
  • 3201 views
Hello,

I'm new to the after effects sdk but not to programming or sdk usage in general, but I'm having trouble getting the samples to work.

- I've got Creative Suite 3 production premium
- I've got After Effects cs3 sdk
- compiled using visual studio 2005

Seems to compile ok, but when running nothing seems to happen in most cases. In some cases I do get an error message (such as in easycheese) it returns the following error: "After Effects error: AEGP magic error (5017::10)"

I looked up magic number in the docs and the only reference I could find to it simply said something to the effect of "don't change it".

I've got a working script and an idea for a second project, both of which I'd like to implement using the sdk, but I can't seem to get past this first obstacle. Any help, that anyone could provide would be greatly appreciated.
This topic has been closed for replies.

7 replies

Participant
January 4, 2008
I'm getting a "Unexpected Match Name Searched For in Group (29:0)" error when running the ProjDump Sample from the sdk. Configuration is the same as above. The AEGP_GetStreamName function seems to cause this error - only with some input values though (I can't seem to figure out a pattern).

[snip from "PrintAndDisposeStream"]
ERR(suites.StreamSuite2()->AEGP_GetStreamName(streamH, FALSE, stream_nameZ));
[/snip]

Any help regarding this would be appreciated, thanks.
Inspiring
December 19, 2007
I'm seeing a problem in the MessWithMarkers function, where it calls AEGP_DisposeStreamValue. This problem doesn't happen in AE 7.0, but does in CS3.

For some reason, the behavior of AEGP_GetNewKeyframeValue has changed between 7.0 and CS3 so that it doesn't return the streamH in the AEGP_StreamValue struct. And when the sample calls DisposeStreamValue, it wants a valid streamH. So you can update the sample for the new behavior by putting a check before the DisposeStreamValue call:

if (value.streamH){
ERR2(suites.StreamSuite2()->AEGP_DisposeStreamValue(&value));
}

Other than that, the sample seems to run normally. You'll need to put some keyframes on the first layer in your comp, and the Easy Cheese effect will modify those keyframes and generate markers.
Participant
December 19, 2007
Does anybody have any suggestions on what I can try. I followed the suggestion above to contact tech support, to which I got a reply that said I had to join as a partner to get an answer... with a small clue that the problem might be in the plugin. I kind of guessed the problem might be in the plugin, but it is the unaltered plugin(s) from the sdk download.

With regards to the partner program, it was something I was considering, but I kind of thought that the for pay support would be appropriate for tricky issues you might run across in development more so than helping get the code that adobe wrote to work.
Known Participant
October 26, 2007
Bruce Bullis used to answer AE SDK questions in here. I assumed his successor Zac Lam was going to continue the tradition, but perhaps not?
Participant
October 25, 2007
Thanks Todd I appreciate you looking into this as you get a spare moment or two.

I was under the impression that for sdk questions I couldn't use technical support unless I had signed up for one of the partner programs (which I'm considering, but want to get a little more proof of concept done first).

Since that assumption must not have been correct, I'll go ahead and log my question with Technical support as well.

Thanks again.
Todd_Kopriva
Inspiring
October 25, 2007
This is a user-to-user forum, so you can't really count on Adobe people reading it; that's just not the point of the forum. If you need to talk with an Adobe person for support, then you need to contact Technical Support.

Some Adobe folks---like me---do check in on the forum now and then as a courtesy, but you shouldn't count on it.

(Yes, as a background task I'm looking into an answer for you, but I bet you'd get one a _lot_ faster going through Technical Support.)
Participant
October 25, 2007
I'm hoping that someone from Adobe might take a look at this forum once in a while. I think if I can get past this first hurdle, I'll be off and running since the sdk docs are pretty clear. But until then, I'm quite stuck. If anyone in Adobe land is listening....Help Please!