Return-Path: Received: from qmta03.emeryville.ca.mail.comcast.net ([76.96.30.32] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 4942975 for ae-list@media-motion.tv; Sun, 06 Jan 2013 23:43:28 +0100 Received: from omta07.emeryville.ca.mail.comcast.net ([76.96.30.59]) by qmta03.emeryville.ca.mail.comcast.net with comcast id klaw1k0031GXsucA3moQXE; Sun, 06 Jan 2013 22:48:24 +0000 Received: from HPZ200 ([76.20.32.7]) by omta07.emeryville.ca.mail.comcast.net with comcast id kmoP1k00b09DSM08UmoQgi; Sun, 06 Jan 2013 22:48:24 +0000 Message-ID: <73D5846DFF2146E4BA12EC781165D0AA@HPZ200> From: "Dan Ebberts" To: "After Effects Mail List" References: In-Reply-To: Subject: Re: [AE] speed change expression Date: Sun, 6 Jan 2013 14:48:22 -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=1357512504; bh=iI1Y3xwwMXojZMu+Nkl+AySnmlthZRp0eaB0MHlYihE=; h=Received:Received:Message-ID:From:To:Subject:Date:MIME-Version: Content-Type; b=A4Jljj8PW9g9UDpFAk7yBrt6rCagTCFeNjANnBaTuZfP6TLbZoQ3Q3z96gHV0ONhH soltMCHHGqFdbILcmDBkJxkce4brQbUCq17lFotkevXTo4oiwVv1AZTUdBOVNmNOfs 7cX2zaZREUpWadK+s4OoujWniAWFwX/s60j8nfE/Cp4eLZNt2ZHx0vodwo3UC3/9DH 1d/qdR5bd6fCWzl0QhK7tZ6REBQ2awCZ07Dxg2SmBI8RghJ1uZ5aYH3McsVlTn0piz NcUSOpP3bcWrYv2CwVLwdg/0rK9JMMi5BnhiEO3ClMyriE6qpIaJo2X8EX7i+jlVCS 36q8uj41Y7rAQ== Ooops--the last line of that expression should be: accum/100 Dan -----Original Message----- From: Dan Ebberts Sent: Sunday, January 06, 2013 2:38 PM To: After Effects Mail List Subject: Re: [AE] speed change expression 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 +---End of message---+ To unsubscribe send any message to