Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a question regarding Layer Markers in AE.

What I'm trying to do is have a layer start off normal then in the time line I'll place a marker and have it change its color using Effect > Color correction > Change color to. The hue will change from 0% to 50% for 10 frames then turn back to normal. How would I go about doing this?

share|improve this question
add comment

1 Answer

Changes to layer properties are based on the concept of keyframes, which are individual time markers. What you are doing to create a layer change is setting keyframes at different points in time, and setting the change values at each given point. AfterEffects will then interpolate the change values in between the keyframes.

So, using your example for hue, let's use 10 seconds instead of 10 frames. let's say that you want the layer's hue value to change from 100% to 50% back to 100% over a 10 second period, beginning at the 1 minute mark of your video.

At the 1 minute point on the layer's timeline, you'll set a keyframe. Set another at the 1:10 point. Set the hue value for the layer at these keyframes to 100%. Then, somewhere between thes 2 100% hue value keyframes, set another keyframe. Set the hue value for this keyframe to 50%.

When you preview your movie, AE will interpolate the hue values automatically between the keyframes, fro 1005 to 50% to 100%, over the amount of time between the keyframes. You can space the keyframes as far or close as you want, and set whatever values you want for the parameters that you are changing.

share|improve this answer
    
I was thinking more or less on the lines of something like this: n = 0; if (marker.numKeys > 0){ n = marker.nearestKey(time).index; if (marker.key(n).time > time){ n--;}} linear(n%2, 0, 1, 100, 50) –  GuruAbyss Mar 9 '10 at 2:37
    
Ah, okay, you're looking for help with expressions. Unfortunately, I can't answer your question directly. However, you might want to check out the forums & tutorials on Creative Cow: creativecow.net. They have 2 AE forums, including one just for expressions. –  Joe Internet Mar 9 '10 at 14:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.