After Effects: Countdown/Countup Timer Tutorial ⏱ Hours, Minutes and Seconds

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024
  • Adobe After Effects tutorial on how to create this hour countdown/countup number counter. Creating this simple hour timer in Adobe After Effects without any plugins but only the built in effects in Adobe After Effects to create this countdown and or countup hour timer. After Effects is the perfect editing software for creating a number counter as a timer.
    🔔 Stay Updated ➤ bit.ly/1Lr3EXM
    🖥️ My Setup 🖱️ ▸ www.amazon.co....
    〓 GET ADOBE APPS ▾
    --- --- --- ---
    ✅ Photoshop ➧ prf.hn/l/20Bd3Lj
    ✅ After Effects ➧ prf.hn/l/OVxMyzj
    ✅ Premiere Pro ➧ prf.hn/l/DRPwkEZ
    🔵 All Adobe Apps ➧ prf.hn/l/LbkejMN
    --- --- --- ---
    〓 PLAYLISTS ▾
    ---
    Uploads ▸ bit.ly/1O7YbLQ
    Photoshop ➥ bit.ly/1Hd8CfQ
    Sony Vegas ➥ bit.ly/1OWjDoc
    After Effects ➥ bit.ly/1MZkLkq
    ---
    〓 LINKS ▾
    ---
    🐦 Twitter ▸ / verticdesigns
    📷 Instagram ▸ / verticdesigns
    🌄 Free Stock Photos ▸ pexels.com/@ge...
    ---
    #tutorial

Комментарии • 53

  • @VerticDesigns
    @VerticDesigns  Год назад +26

    ✅ Photoshop ➧ prf.hn/l/20Bd3Lj
    ----------------------------------------------------
    ⌚ *Expression* ▼
    ----------------------------------------------------
    slider = Math.round(effect("Slider Control")("Slider"))
    sec = slider%60
    x = Math.floor(slider/60)
    min= x%60
    hour = Math.floor(slider/3600)
    function addZero(n){ if (n

    • @SabinaMotasem
      @SabinaMotasem 11 месяцев назад +2

      Thank you! this works great, but I really want to add DAY at the beginning. How do I do that? what would the expression look like? i've spent days trying to figure this out. there are no tutorials to show you how to do it. Please can anyone help?

    • @rafaelorniablanco8727
      @rafaelorniablanco8727 8 месяцев назад +1

      @@SabinaMotasem Same question here lol, did you happen to find the solution by any chance? Thanks 😊

  • @liamtain
    @liamtain 7 дней назад

    This was the first expression I found that could handle HOURS, thank you.

  • @steveneville4021
    @steveneville4021 10 дней назад

    Hi, great tutorial and thank you for the generous share of the expression. When I use this on a 10sec timeline and put a 10 second difference between keyframes, I expected the seconds to change every second but it's not happening that way, it seems to be every 15 frames.

  • @JayPurcellOnline
    @JayPurcellOnline Год назад +5

    Thanks, this was really useful!. However one question... how could I update the code/expression so that I can have a timer that is minutes, seconds and "frames". Pretty much like an old-school video timecode?

  • @cristiancamilomonroyibanez4072
    @cristiancamilomonroyibanez4072 Месяц назад +2

    Expresión en Español:
    slider = Math.round(effect("Control del deslizador")("Deslizador"));
    segundos = slider%60
    x = Math.floor(slider/60)
    minutos = x%60
    horas = Math.floor(slider/3600)
    function agregarCero(n) {
    if (n < 10)
    return "0" + n;
    else
    return n;
    }
    agregarCero(horas) + ":" +agregarCero(minutos) + ":" + agregarCero(segundos);

  • @MaramBakry
    @MaramBakry 9 дней назад

    how can I update this to make it days, hours, minutes instead? I guess the %60 and /60 and /3600 would change but cant really do the math, can you help?

  • @paolaglzi
    @paolaglzi Год назад +12

    How can I add Milliseconds to this same expression? Anybody???? been trying for hours and I cant figure it out

    • @luchiya_darkness
      @luchiya_darkness 4 месяца назад +1

      Try this:
      slider = Math.floor(effect("Slider Control")("Slider") * 1000)
      msec = slider % 1000
      sec = Math.floor(slider / 1000) % 60
      minute = Math.floor(slider / (1000 * 60)) % 60
      hour = Math.floor(slider / (1000 * 60 * 60))
      function addZero(n){ if (n < 10) return "0" + n else return n }
      addZero(hour) + ":" + addZero(minute) + ":" + addZero(sec) + ":" + addZero(msec)
      But always remember, that mlsec counts from 0 to 1000. This code first converts the slider to milliseconds and then calculates the number of hours, minutes, seconds, and milliseconds

    • @OREO_324
      @OREO_324 Месяц назад +1

      @@luchiya_darkness thank you😭😭😭😭😭

  • @memyself3149
    @memyself3149 26 дней назад

    What is the correct slider, keyframe & composition setup if you need the clock to start at 1hour 30minutes and then countup 7minutes and come to a stop at 1hour 37minutes? I hope somebody can give me some advice because I cannot make such a countup animation work correctly.

  • @f1xzor
    @f1xzor 2 месяца назад

    Very useful and helpful! I made a whatsapp mockup of a voice message, needed a countup timer. Cheers!

  • @lowhp_comic
    @lowhp_comic 9 месяцев назад +1

    Is there a way of keeping the characters in place? Like having each number value remain stationary in position instead of moving left and right a bit when the other numbers change too?

    • @VerticDesigns
      @VerticDesigns  9 месяцев назад +1

      It's awkward because the different numbers makes it move so if you don't align it, the timer will just move to the right slightly for more space. I guess one way would be to just give them plenty of space with spacing option or use a simple font like DS-Digital where they should stay fixed

    • @VerticDesigns
      @VerticDesigns  9 месяцев назад +1

      Or just manually set the position

    • @kyle-js2gz
      @kyle-js2gz Месяц назад

      @@VerticDesigns how do you do that

    • @VerticDesigns
      @VerticDesigns  Месяц назад

      @@kyle-js2gz manual or auto positioning?

  • @user-is7bj3ok2w
    @user-is7bj3ok2w 11 месяцев назад +2

    I have a question.
    Is there a way to make it count in minutes, seconds, and 24fps??

  • @greenery0614
    @greenery0614 2 месяца назад

    Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @jorgefpujadas
    @jorgefpujadas 3 месяца назад

    sorry to bother but theres any way to chanche the size of the las 2 digits, sort like eva count down

  • @sanya__black_blog
    @sanya__black_blog 3 месяца назад +1

    tq

  • @utlaxis
    @utlaxis 7 месяцев назад +1

    Thanks a lot Vertic! One question, Do you have an idea of what to do if I have After Effect in Spanish? it seems it has some issues linking with the same functions since the effect I have use is called "Control del deslizador" in the Spanish version... I tried to change names unsuccessfully so far, it says the "Slider Control" does not exist or it might have another name, any ideas? Thanks a Lot!

    • @arnxlz
      @arnxlz Месяц назад

      rename it to Slider Control by right clicking

    • @cristiancamilomonroyibanez4072
      @cristiancamilomonroyibanez4072 Месяц назад

      slider = Math.round(effect("Control del deslizador")("Deslizador"));
      segundos = slider%60
      x = Math.floor(slider/60)
      minutos = x%60
      horas = Math.floor(slider/3600)
      function agregarCero(n) {
      if (n < 10)
      return "0" + n;
      else
      return n;
      }
      agregarCero(horas) + ":" +agregarCero(minutos) + ":" + agregarCero(segundos);

  • @quickathletes
    @quickathletes 3 месяца назад

    for those with errors: pay attention to the language of your after effects program, its only "Slider" in englisch

  • @stevekongliew8305
    @stevekongliew8305 Год назад

    Thanks mate. Greatly appreciated for this tutorial. However, there seems to be some sort of an error as it reads. - Sec = Slider Error message. Please help!

  • @aisluglander
    @aisluglander 7 месяцев назад

    Thanks man

  • @FinestMax
    @FinestMax Год назад

    Thanks

  • @idontknowmorenames
    @idontknowmorenames 5 месяцев назад

    Dear Vertic. I do not see the expression. Kind regards Anton

  • @user-bb4rd4fr1j
    @user-bb4rd4fr1j 10 месяцев назад

    After reviewing the expression in After Effects, it appears that the slider value is being rounded to calculate the time. The phenomenon where it displays 1 when it's only been 1 second might be influenced by the behavior of the Math.round function.
    The Math.round function rounds a given number to the nearest integer. For instance, Math.round(0.5) results in 1. Due to this behavior, when the slider value is at 0.5 seconds, it might be rounded up to 1 second, causing the display to advance by 1 second prematurely.
    To address this issue more appropriately, it might be beneficial to consider methods that either avoid rounding and retrieve the value as its integer part or use truncation to obtain the time.
    slider = Math.floor(effect("Slider Control")("Slider"))
    sec = slider % 60
    x = Math.floor(slider / 60)
    min = x % 60
    hour = Math.floor(slider / 3600)
    function addZero(n){ if (n < 10) return "0" + n else return n }
    addZero(hour) + ":" + addZero(min) + ":" + addZero(sec)

    • @marthjel
      @marthjel 2 месяца назад +1

      Got an error with something about "Else" but fixed it with proper places curly brackets!
      slider = Math.floor(effect("Slider Control")("Slider"))
      sec = slider % 60
      x = Math.floor(slider / 60)
      min = x % 60
      hour = Math.floor(slider / 3600)
      function addZero(n) {if (n < 10) {return "0" + n}
      else {return n}};
      addZero(hour) + ":" + addZero(min) + ":" + addZero(sec)

    • @user-bb4rd4fr1j
      @user-bb4rd4fr1j Месяц назад +1

      @@marthjel Thank you so much for pointing that out and providing the solution! I really appreciate your help in fixing the issue with the rounding in the slider value. Your explanation and the corrected code were very clear and helpful. Thanks again for your support!

  • @user-qy9nz2ml1f
    @user-qy9nz2ml1f 11 месяцев назад +2

    Getting an error on line 1. Error: invalid numerical result (divide by zero?)

    • @VerticDesigns
      @VerticDesigns  11 месяцев назад

      Did you switch the expression engine?

    • @nao745ksuha
      @nao745ksuha 11 месяцев назад +3

      Try this:
      slider = effect("Slider Control")("Slider");
      sec = Math.floor(slider%60);
      x = Math.floor(slider/60);
      min = x%60;
      hour = Math.floor(slider/3600);
      function addZero(n) {
      return (n < 10) ? "0" + n : n;
      }
      addZero(hour) + ":" + addZero(min) + ":" + addZero(sec)

    • @judithdoppler2202
      @judithdoppler2202 11 месяцев назад

      Thx for the suggestions - still have the error divide by zero ... @@nao745ksuha

  • @joseazuela7545
    @joseazuela7545 4 месяца назад

    I can't see the Expression for this tutorial?

  • @collins_channel8643
    @collins_channel8643 7 месяцев назад +1

    Still gives me the error message about divide by 0 when changing to legacy. No luck here...anyone else?

    • @collins_channel8643
      @collins_channel8643 7 месяцев назад +3

      It was because I was OPTION Clicking the SLIDER stopwatch and not the TEXT SOURCE stopwatch. Hope this helps someone else

    • @joshuasoga6061
      @joshuasoga6061 3 месяца назад

      @@collins_channel8643 This just helped me...thanks mate!

    • @nathferatero5086
      @nathferatero5086 3 месяца назад

      @@collins_channel8643 THANKYOU FOR THIS. I'VE BEEN FIGURING THIS OUT FOR HOURS. ALSO THANKYOU VERDIC DESIGNS

    • @unoqueen_
      @unoqueen_ Месяц назад

      @@collins_channel8643 THANK YOU this was my exact problem

  • @sarahbeewell
    @sarahbeewell 9 месяцев назад

    what are these alt and home things. say its for pc in the title

  • @silentoceean
    @silentoceean Год назад +1

    bro where is the expression?

    • @VerticDesigns
      @VerticDesigns  Год назад +9

      Here you go I can't add it in the description
      slider = Math.round(effect("Slider Control")("Slider"))
      sec = slider%60
      x = Math.floor(slider/60)
      min= x%60
      hour = Math.floor(slider/3600)
      function addZero(n){ if (n

    • @stevekongliew8305
      @stevekongliew8305 Год назад +2

      ​@@VerticDesigns​There seems to be an error showing on the expressions tab. Please help.

    • @taddelykuroyuna
      @taddelykuroyuna Год назад

      slider = Math.round(effect("Slider Control")("Slider"))
      sec = slider%60
      x = Math.floor(slider/60)
      min= x%60
      hour = Math.floor(slider/3600)
      function addZero(n){ if (n

  • @MusicWorld73638
    @MusicWorld73638 9 месяцев назад

    How to do in Mobile