Mailing List AE-List@media-motion.tv ? Message #49157
From: David Johnson <david@theveggies.com>
Sender: <historyofmotion@gmail.com>
Subject: Re: [AE] digital clock
Date: Fri, 24 May 2013 20:08:43 -0700
To: After Effects Mail List <AE-List@media-motion.tv>
It isn't really all that complicated. The following script works as a clock display on any length video. 98% of what I do are countdowns (the reverse of this). Doing precomps work. Using key frames does too. Adjusting the framerate does too. It is all about what you need and how much time you're willing to wait for it to render. You might want to add an slider with key frames so that the counter doesn't have to be 100% accurate (make it look like clips have put together) 

But. Here's the magic sauce.

elapsedSeconds = Math.floor(time);
min = Math.floor(elapsedSeconds/60);
secondspart = elapsedSeconds  - min*60;
if (secondspart < 10)
     '' + min + ":0" + secondspart;
else
     '' + min + ":" + secondspart;


On Wed, May 22, 2013 at 2:12 AM, Mathias Möhl <mamo181@googlemail.com> wrote:
Thanks for mentioning our iExpressions, David.
Yes, we have several counter expressions in the library in the Source Text Bundle. Here is a tutorial:


The biggest advantage is that they are very flexible but also easy to format - just choose which "ingredients" you need (hours, minutes, seconds, milliseconds, am/pm) and then how to combine them to the final format (what separator symbols to use etc).

Cheers,
Mathias

Am 22.05.2013 um 00:00 schrieb After Effects Mail List <AE-List@media-motion.tv>:

From: David Baud <david.baud@gmail.com>
Subject: Re: [AE] digital clock
Date: Tue, 21 May 2013 11:25:00 -0600
Message-Id: <6CB0CFC4-2443-4670-87C9-0ABEA27ED6B1@gmail.com>


--Apple-Mail=_46191A0B-E842-4C5C-8CD5-A74B4FFD6AA8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=iso-8859-2

Also Mamoworld has an expression for that call Counter part of the =
iExpression script.
<http://aescripts.com/iexpressions/>


 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster