Return-Path: Received: from qmta06.emeryville.ca.mail.comcast.net ([76.96.30.56] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 4942971 for ae-list@media-motion.tv; Sun, 06 Jan 2013 23:33:25 +0100 Received: from omta02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by qmta06.emeryville.ca.mail.comcast.net with comcast id kmYw1k0040QkzPwA6meMpl; Sun, 06 Jan 2013 22:38:21 +0000 Received: from HPZ200 ([76.20.32.7]) by omta02.emeryville.ca.mail.comcast.net with comcast id kmeL1k00a09DSM08NmeL8K; Sun, 06 Jan 2013 22:38:21 +0000 Message-ID: From: "Dan Ebberts" To: "After Effects Mail List" References: In-Reply-To: Subject: Re: [AE] speed change expression Date: Sun, 6 Jan 2013 14:38:19 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1357511901; bh=30Qc2Uyv4nPeyH4Crhv071NVkNUwlfZP16IUAd0DizM=; h=Received:Received:Message-ID:From:To:Subject:Date:MIME-Version: Content-Type; b=H4OzUpp0tjUX9N9AznHbm4rxU4qjRTJYuwRSTG1tOXpL1qec7sVQTHQ+bgrdyE4Xp HFT5zdR49QJgttCCJH6t47/dMWx/QjSFe45F/uUl58qwsX8q+xtWGvGRGgObRpwP5s XKnW4oF8rbvE0ylkROQ4/PxtG5EeQ7bIxEFzVSd+KbiUEmCpapouMqmy5yKsPczuuq dn2g3o26tA+hFx73ixxZMXjYXSurKN+5BnO5u19SWeIz98Iy71AX9iAuVKH+2WWgG3 c4ThkUBbqm7sfNW+rxxDZ3xEPVcSJDflP4yLW0TIPZU6n4vdvtpR8ORUGqfY09FRFy d+C2dkLIgxtpg== If you add a slider to the clip and use linear keyframes (important) to set the speeds (in percent), this time remapping expression should work: spd = effect("Slider Control")("Slider"); n = spd.numKeys; if (n > 0 && spd.key(1).time < time){ accum = spd.key(1).value*(spd.key(1).time - inPoint); for (i = 2; i <= n; i++){ if (spd.key(i).time > time) break; k1 = spd.key(i-1); k2 = spd.key(i); accum += (k1.value + k2.value)*(k2.time - k1.time)/2; } accum += (spd.value + spd.key(i-1).value)*(time - spd.key(i-1).time)/2; }else{ accum = spd.value*(time - inPoint); } value + accum/100 If you can't use linear keyframes, you're probably stuck with something like the slower method described here: http://www.motionscript.com/articles/speed-control.html#frame-by-frame Dan -----Original Message----- From: henry birdseye Sent: Sunday, January 06, 2013 2:27 PM To: After Effects Mail List Subject: Re: [AE] speed change expression Thanks, Jack, but that's the thing... I don't want to have to cut up the clips, just keyframe their varying speeds. On 1/6/2013 5:07 PM, Jack Tunnicliffe wrote: > Not sure I'm understanding you completely, you can choose to just open > time stretch and enter any percentage speed change. If this happens > several times on the clip just cut it up and apply your new percentage to > each clip. > > Jack Tunnicliffe > Java Post Production > www.javapost.ca > > > > On Jan 6, 2013, at 4:03 PM, henry birdseye > wrote: > >> I'm looking for an expression that would let me change the playback speed >> of a clip with a percentage instead of keyframed values of Time Remap. >> Has anyone done this before? >> >> Tx in advance. >> >> HB >> >> >> +---End of message---+ >> To unsubscribe send any message to > > +---End of message---+ > To unsubscribe send any message to +---End of message---+ To unsubscribe send any message to