Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesTrainingCreative Cloud DebateFAQ

Play only frames with markers

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Anna TowPlay only frames with markers
by on May 23, 2012 at 7:11:58 am

Hi,
I copied this expression from Mark Christiansen's AE CS5 Studio Techniques.

I'm working on video footage in CS5.5 and the code doesn't work properly. I have applied several markers to the video layer with Time Remapping added. The expression plays the first marker on the first frame and the last marker on the second frame. Everything else after is frozen on this frame. I cant work this one out. Does anyone else have this problem? Can anyone help me fix this issue?
Thanks in advance!

n = marker.numKeys;
if (n > 0){
f = timeToFrames (time);
idx = Math.min (f +1, n);
marker.key(idx).time
}else{
value
}


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]