Configurable Timers - After Effects Tutorial

  Рет қаралды 41,677

Holmes Motion

Holmes Motion

Күн бұрын

Пікірлер: 83
@HolmesMotion
@HolmesMotion 3 жыл бұрын
BASIC STANDALONE Timer Script (no essential graphics required) (add this to your SourceText property) // set the start time startTime = 50 // calculate the current time currentTime = startTime - time; // stop current time going below 0 if(currentTime < 0) { currentTime = 0; } // format the time formattedTime = timeToTimecode(currentTime); start = 0 end = 10 newTime = formattedTime.substring(start,end); ADVANCED Timer script (you will need to change the links to target your own layers, not a simple copy and paste unlike the above) // set the start time startTime = thisComp.layer("timer controls").effect("startTime")("Slider"); // calculate the current time currentTime = startTime - time; // stop current time going below 0 if(currentTime < 0) { currentTime = 0; } // format the time formattedTime = timeToTimecode(currentTime); start = thisComp.layer("timer controls").effect("startDigit")("Slider"); end = thisComp.layer("timer controls").effect("endDigit")("Slider"); newTime = formattedTime.substring(start,end);
@annamaltseva6589
@annamaltseva6589 Жыл бұрын
If anyone needs the time to go forwards, here is a modified version of the script // set the start time startTime = 0 // calculate the current time currentTime = startTime + time; // stop current time going above 0 if(currentTime > 30) { currentTime = 0; } // format the time formattedTime = timeToTimecode(currentTime); start = 0 end = 30 newTime = formattedTime.substring(start,end);
@Skillet45
@Skillet45 2 жыл бұрын
Wow. Fantastic tutorial, and loved the "bonus" instructions on how to make it configurable and user friendly. Excellent information, no fluff, straight to the point, outstanding. Thanks!
@jherem
@jherem 2 жыл бұрын
this expression not works for me, my timer always is in Zero, I try set the slider but my timer is zero.
@akashbajay
@akashbajay 2 жыл бұрын
Same issue here
@rastapo
@rastapo Жыл бұрын
same here too
@KLIP-studio
@KLIP-studio Жыл бұрын
Same here
@ocbb-s8f
@ocbb-s8f Жыл бұрын
it's because in newer versions of after effects "startTime" is no variable, just change it to whatever you want (for example: timeStart) in the script and it will work
@ДанилГапонов-ц3ш
@ДанилГапонов-ц3ш 8 ай бұрын
@@ocbb-s8f you saved my live
@sam_0w0.r4
@sam_0w0.r4 3 жыл бұрын
Hello! thank you for the tutorial. How can I make the miniseconds scroll completely? Because it is only a route from 10 to 20 and then it would only be numbers like: 29:23, 10:20, etc... I don't know if you understand me :( I want my timer to have numbers like: 20:97, 15:86, 24:55 so when I pause the timer i will show the mini seconds right! English is not my native language :(
2 жыл бұрын
اي وانا عم دور على نفس الشغلة
2 жыл бұрын
kzbin.info/www/bejne/nWOrfYSDpK2WnMU
@adrianrey8270
@adrianrey8270 2 ай бұрын
kzbin.info/www/bejne/qIC6gqd6j7Wkl6ssi=VcRgivETdMFF6C49
@stardust1668
@stardust1668 2 жыл бұрын
this is the best countdown tutorial I've ever seen!! really appreciate it👍👍👍
@sturdyboneswoodworking
@sturdyboneswoodworking Жыл бұрын
Thanks for this tutorial! Your explanation was super helpful. Its been ages since I've worked in AE and you made this project look simple.
@itsmusic2046
@itsmusic2046 Жыл бұрын
hey thanks for tutorial but i want my timer to start with 3:29 and end at 0 how what tweaks i do in your provided file ? i am new to after effect so please dont mind that
@DeepFriedOreoOffline
@DeepFriedOreoOffline 2 жыл бұрын
Thank you so much for making this video! I have been browsing Motion Array for like an hour trying to find a simple timer , that I can change the font, that allows for customizing the time, and it's impossible to find! The closest I got, which I do have to say looked really cool, came with a help file that simply said "This is easy to customize :)" and then links to images they used in their promotional video... You know things are getting bad when you can save time over spending money by watching a video... But I digress. Life saver! To give a little back for anyone who sees this, you can make it a little easier to customize the timer in Premiere by multiplying the startTime variable by 60. So when you go to customize your start time, you can just set the minutes :)
@HolmesMotion
@HolmesMotion 2 жыл бұрын
Good stuff!
@126productions8
@126productions8 3 жыл бұрын
@holmes Motion, is there anyway to make the milliseconds go to 99 instead of 29? Thanks a lot, Nick
@chtdkmn
@chtdkmn 3 жыл бұрын
Hi! What should i do for export 45:00 min? Because when i setup everything on timer its counting down 45:00 but when i export it's only show 2 min countdown on video. Do you know why?
@riffbaama
@riffbaama Жыл бұрын
Your composition must be 45 : 00 mins too
@MadGenious
@MadGenious Жыл бұрын
What if i want to have different Font for Numbers and Colons?
@henrikappel6096
@henrikappel6096 11 ай бұрын
I want to use the Hundredths as well for a sport thing, but the numbers only goes to 30 and then one sek. Can I add any script to fixt this for the last Digit? and thanks for a great video!!
@tobiasmoes6342
@tobiasmoes6342 3 жыл бұрын
This is awesome, thanks! The problem I have is that my miliseconds start at 29. Do you know how to solve this? It also runs twice as fast as it should.
@HolmesMotion
@HolmesMotion 3 жыл бұрын
Hard to diagnose on here, but if you reply to this comment with the script for your timer I'll try and take a look !
@tobiasmoes6342
@tobiasmoes6342 3 жыл бұрын
​@@HolmesMotion Thanks for helping. Maybe it has something to do with the framerate, which is 50. This is the script: startTime = thisComp.layer("Timer controls").effect("startTime")("Slider"); currentTime = startTime - time; if(currentTime < 0) { currentTime = 0 } formattedTime = timeToTimecode(currentTime) start = thisComp.layer("Timer controls").effect("startDigit")("Slider"); end = thisComp.layer("Timer controls").effect("endDigit")("Slider"); newTime = formattedTime.substring(start, end);
@mehere8565
@mehere8565 2 жыл бұрын
@@tobiasmoes6342 those are frames not milliseconds -- 30 FPS I would love to know how to display milliseconds
@brokenbulb971
@brokenbulb971 5 ай бұрын
The milliseconds going from 0 to 30. How do I make them go from 0 to 100 or 99?
@baptistelebrun2909
@baptistelebrun2909 5 ай бұрын
do you have an answer for this question please ?
@Ilovepapayas
@Ilovepapayas 2 жыл бұрын
Thank you for this very useful and good tutorial! Exactly what I needed, perfect on point, all informations very useful. Thumbs up!
@riffbaama
@riffbaama Жыл бұрын
how to configure hours and minutes? PLEASE!!
@xanderneal
@xanderneal Жыл бұрын
Hey! This is great! However I'm struggling with a couple parts, when I add the pickwhip to the slider, nothing changes when I adjust the slider? Any ideas what I did wrong?
@avmprod
@avmprod Жыл бұрын
Awesome! But how to edit the script to get 90 minutes countdown, showing minutes only? With this code I can get 59 min. max.
@joshcashman8554
@joshcashman8554 3 жыл бұрын
Thank you so much! Any reason why tbe clock doesn't seem to want to go over 17 hours? I have the range set correctly, but when I place it above 17 hours, I get a bunch of zeros and negative numbers
@andreykochergin
@andreykochergin Жыл бұрын
same sht
@andreykochergin
@andreykochergin Жыл бұрын
Did you solve this problem? I need a timer that starts from 23:59:59
@samhnns6372
@samhnns6372 2 жыл бұрын
I'm not able to drag the settings to the essential graphics... it just won't
@Benjamin-nn5qy
@Benjamin-nn5qy Жыл бұрын
What if I am not using a mono spaced font? is there a way to prevent it from jumping around??? appreciate any help
@HolmesMotion
@HolmesMotion Жыл бұрын
Not that I know of im afraid ! Unless you somehow seperated each digit to its own layer and wrote an expression to make that work. But even then the spacing would look weird
@adrianrey8270
@adrianrey8270 2 ай бұрын
@@HolmesMotion The answer would be to use the paragraph "Left align text"
@HolmesMotion
@HolmesMotion 2 ай бұрын
@@adrianrey8270 it would still jump around. It would just be fixed to the left and the jumping would occur on the right hand side. The only real answer is mono spaced font afaik
@adrianrey8270
@adrianrey8270 2 ай бұрын
I did it today and it wasn’t jumping around, ( with minutes seconds and frames) and the font isn’t mono space
@HolmesMotion
@HolmesMotion 2 ай бұрын
@@adrianrey8270 are you sure? I mean the font must be mono spaced even if not labelled as such. The jumping around must happen if different numbers take up different widths in the font file. Maybe try a few different fonts to test
@noraramirez1263
@noraramirez1263 3 жыл бұрын
what do I set my start time if I want it to countdown for 1 hour
@alynhorton
@alynhorton Жыл бұрын
There's no clear explanation on how to configure the timer or adjust the start/end digits. The numbers being entered on the screen do not correspond to the numbers in the countdown clock. Please show an example i.e. this is how you show a countdown from 10 minutes in minutes, seconds and miliseconds? Thanks
@chuyenlatvat1468
@chuyenlatvat1468 Жыл бұрын
This is such a good tutorial video. But I got a problem when setting millisecond countdown. It just starts from 29 instead of 59. I have checked my expression and nothing unusual. I also took a look at your proj file and the problem happened too.
@HolmesMotion
@HolmesMotion Жыл бұрын
Try setting the framerate of your composition to 60 frames per second instead !
@chuyenlatvat1468
@chuyenlatvat1468 Жыл бұрын
@@HolmesMotion i tried but nothing happened xD. maybe something wrong with my After Effects version
@mashby100
@mashby100 3 жыл бұрын
THIS IS SO USEFUL!
@malcolmking4082
@malcolmking4082 3 жыл бұрын
you the man holmes!
@HolmesMotion
@HolmesMotion 3 жыл бұрын
No YOU the man
@beauxnouveaux
@beauxnouveaux Жыл бұрын
How do you increase the speed of the timer?
@rotk
@rotk Жыл бұрын
Practically, you shouldn't need to because time only goes one speed. However, if you're animating it to give the illusion time is going by faster then you could probably add a slider control next to the 'time' in the expression so that you can animate the speed of the time. Just a thought. Maybe someone could correct me if there's an easier or more practical way to increase the speed of time.
@8tdesign
@8tdesign 2 жыл бұрын
Thank you. worked great for my sports content
@jorrge
@jorrge Жыл бұрын
Hey! thanks for the tut! I have a question if you don't mind: I want my timer to end at a certain time (for example, when finishing a race in a karting track). I managed to create the timer as you did and tweaked so that it goes from 0 to infinity, but can't figure out how to stop it at certain time.
@HolmesMotion
@HolmesMotion Жыл бұрын
Just edit the if statement to be something like if(currentTime >= targetTime) { currentTime = targetTime } and then define targetTime as whatever number you want it to stop at
@ELECTROMIST
@ELECTROMIST 3 жыл бұрын
needed this thanks ❤️
@HolmesMotion
@HolmesMotion 3 жыл бұрын
You are welcome my friend!
@codeit6418
@codeit6418 2 жыл бұрын
Bro, Thank you so much. good to understand.
@tenden2566
@tenden2566 3 жыл бұрын
How do I make it work the other way around? thanks
@HolmesMotion
@HolmesMotion 3 жыл бұрын
You mean so it's counts up instead of down ?
@tenden2566
@tenden2566 3 жыл бұрын
@@HolmesMotion Yes)
@HolmesMotion
@HolmesMotion 3 жыл бұрын
@@tenden2566 I think set startTime to 0, then instead of 'startTime - time' do 'startTime + time'
@mauroubel
@mauroubel 3 жыл бұрын
Really great stuff!
@HolmesMotion
@HolmesMotion 3 жыл бұрын
glad you found it useful!
@Pav_mak
@Pav_mak 5 ай бұрын
огромное спасибо чел, лучший просто, остальные просто хер че бъяснили ты лучший
@aviban69
@aviban69 11 ай бұрын
this the expretion for time up and i find some Mastak you do start time need to be 0 end time need to be the how mach frame in sec startTime = 0; currenttime =startTime + time; formattedTime = timeToTimecode(currenttime); start = 0; end = 29.97; newTime = formattedTime.substring(start, end);
@roguescorner9042
@roguescorner9042 Жыл бұрын
On my end, milliseconds seem to only go up to 30 when they should be going up to 99.
@galacticdrum311
@galacticdrum311 Жыл бұрын
Your timer starts to count down from 50 and is positive. My timer defaults to counting upward starting from zero and is also negative. Do you know why? This is also effecting my formattedTime.substring code because the negative is counting as a start/end position.
@unrealengineruseng9583
@unrealengineruseng9583 2 жыл бұрын
Thank you very very much !
@motifixer
@motifixer 3 жыл бұрын
Cool! Thank you))
@Brandonbraun
@Brandonbraun 2 жыл бұрын
THANK YOU
@Precinoto
@Precinoto 3 жыл бұрын
man, thank you, THANK YOU, you saved me
@HolmesMotion
@HolmesMotion 3 жыл бұрын
Glad it helped !
@Precinoto
@Precinoto 3 жыл бұрын
@@HolmesMotion my client ended up deciding not to use the result, but you helped me putting a timer in a 9+ multicam racing timer... thank you so much bro, for real
@HolmesMotion
@HolmesMotion 3 жыл бұрын
@@Precinoto awesome!
@samehamer.
@samehamer. 3 жыл бұрын
شكرا جزيلا
@MaxHackCrack
@MaxHackCrack 2 жыл бұрын
Gracias, buen tutorial, lo leí subtitulado
@KLIP-studio
@KLIP-studio Жыл бұрын
Thanks for nothing
@NosferatuG59
@NosferatuG59 8 ай бұрын
Why is this so overly complex jesus christ
@HolmesMotion
@HolmesMotion 8 ай бұрын
It's complex to create a fully configurable timer. If you want something simple you can use the Numbers effect on a solid I think
@ActionPlanet
@ActionPlanet Жыл бұрын
Thank you very much!!
Motion 4 (plug-in) After Effects Tutorial - Complete Guide
11:09
Holmes Motion
Рет қаралды 151 М.
Top 20 Actually Useful Effects in After Effects
7:38
Ben Marriott
Рет қаралды 519 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Tip 48 - How To Create a Custom Clock in After Effects
6:33
ukramedia
Рет қаралды 423 М.
CRAZY Pattern Techniques in After Effects
10:54
Motion by Nick (Nick Greenawalt)
Рет қаралды 118 М.
Expressions Basics - After Effects Tutorial
22:08
Holmes Motion
Рет қаралды 45 М.
Creatively Using Text Animators in After Effects
31:09
School of Motion
Рет қаралды 1 МЛН
5 Best Ways to Use Noise Creatively in After Effects
13:24
Ben Marriott
Рет қаралды 464 М.
10 Quick After Effects Techniques I LOVE
8:01
Ben Marriott
Рет қаралды 778 М.
After Effects Shatter broken Easy Tutorial
6:54
Tutorials View+
Рет қаралды 1 МЛН
Depth of Field (DOF) in After Effects in 5 MINS
5:20
Holmes Motion
Рет қаралды 29 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН