I figured there had to be a way to do a timer in Fusion and when I searched it, I scanned the results to see if you had done a video on timers. This channel is my first choice for DaVinci Resolve tutorials.
BTW, instead of dealing with the TextTimer modifier and the 2 expressions there, you can just put an expression on the Text1.StyledText (where you always type "SOME TEXT") with os.date("%M:%S", floor((comp.CurrentTime - comp.RenderStart) / comp:GetPrefs("Comp.FrameFormat.Rate") )) or os.date("%M:%S", floor((comp.RenderEnd - comp.CurrentTime) / comp:GetPrefs("Comp.FrameFormat.Rate") )) 1st one counts up, 2nd one counts down.
There's a much easier way to do this. Instead of using TextTimer, I use Timecode, and then add a TimeSpeed node afterwards, with Speed set to -1 to reverse the timing. No expressions needed, and it also adapts to the length of your clip, along with giving you Hours and Frames as an option for free.
Supppppper helpful Casey! I was able to interpolate what you did with your expressions and then expand that to the hours as well by duplicating the process. You do have to add -(Hrs*60) to the Min expression and -(Hrs*3600) to the seconds behind the -(Min*60). Worked like a charm and I would not have been able to figure this out without your explanation. Thank you!
Thats outrageous! I remember talking to guys in effects houses in London and they swore by Eyeon Fusion's scripting and hated that their bosses pushed After Effects on them. Glad its back!
So helpful.... I was just in the middle of teaching myself to build the timer from scratch and thought "Maybe I should google this really quick" Thanks!
Brilliant! Thanks for this. Now, is there any way to change the colour of the clip so that when there are 'x' seconds left, the font colour changes? There are no modifiers on the colour property of the Text+ node. So, if I set it there, it changes if I change the length of the clip.
In my case using (Mins*60) instead of {Mins*60} helped lol that's what the parentheses really are in the video but youtube compression makes them look a bit misleading ;P
Love it. But, picky guy here... is there a way on short timers like 5 minutes to get rid of the zero in front of the 5? Rather than 05:00, just 5:00 and then on to 0:00 or just 59...9...0
That was awesome, I was looking for a way to do this and this is much better than I thought because you teach how to convert 2D into 3D, I was looking for this too, ty.
Where would I find more info on expressions? I've looked in as many manuals as I have and find nothing. Where did you learn about "time" and "comp...."? That sure would be helpful to know. Great video! I learned a lot. Thanks!
Thanks. I just managed to do a 10 second countdown. For anyone that's interested I just put this expression under the seconds and got rid off the hours and minutes totally. ((comp.RenderEnd-time)/24)-60
Just used this for a 'book now' message. The bit that was tricky was getting the Mins into the formula because the explanation of using the + sign on the Secs and DRAGGING OVER the Mins text was rushed and the video did not capture the very fine line that follows the cursor when you do this. Typing in that bit of the formula (Mins) does not work as there is some hidden code that it actually latches to. Also found it necessary to shut down Resolve and restart it to get the countdown to pick up the right duration after completing the timeline. That is probably down to caching and the need to clear the auto-renders that speed up the programme. But this was a great tutorial and thanks.
Thank you this is amazing. I just have one question. The comp.EndRender-time works correctly on the timeline, but only when I edit it on a timeline. When I edit it on the composition, it starts with 00:05 and after those 5 it works good. Does anybody knows what causes this?
The problem is that you're linked to the comp size. You won't be able to animate your timer to disappear after the countdown ends because you can't stretch your comp. Or is their a solution? The alternative method without using expressions is to right-click on the text box, select 'TimeCode', add a TimeSpeed Node, set it to -1 speed, in the text modifier you can set your fps if need be. This gives you extra control because then you can set your global In/Out in either your 2d text node or 3d renderer and decide where you want your timer to start or finish! :) The only thing is that you can't really have 3d text with this because you have to use a Renderer3D in order to connect to TimeSpeed...
why does it countdown fine in fusion, but as soon it is in Timeline, it stops @0:12 (5min countdown) altough, the clip is 5mins long in Timeline?????? How could DR screw a simple thing like this up so bad?
Hey there, I'm trying to use this as an overlay timer, but it maintains its black background ontop of my video. I'm pretty sure I'm missing a step, but can't figure it out. Any quick suggestions? Thanks!
Hey, love your tutorials, they've been a huge boon. I got a question about this one. I'm trying to make a timer that counts down from 99, but I...can't seem to figure it out, anyone know of a way to get that to happen?
Great video - thank you for making it. Finally got it on the 5th try, after botching the formula each time. There's a lot of room for error with ('s and /'s. Maybe you could add the final expressions formulas in the comments so that we can copy 'n' paste them?
Hallo, I need a timer for a soccer match. The first half-time is no problem. But the second, how can I start from 45 min and I want that the clock is going up to 90 min. But How, can someone help me?
Hi, I have a question. As the expression for the center parameter in the transformation node should be written, I want the y axis to start moving with y = 0,0 in the zero frame and stop at y = 0.5 on frame 30
Everything works great right up until I (create a new timeline using selected clips). When I open the second timeline, there's a fusion comp with nothing in it. Anyone else experiencing this?
Yeah, Hope you make a Small "pack" we can buy on the website, with this & the flippy text you made included, I´m to dumb to make this myself !..........arghhh......
It's great that we have so many possibilities, but for me it's a pain. I'd better use "timecode" in modifier, uncheck seconds and reverse it back from "edit" page (after making a new compound clip or just dragging the entire timeline in a new timeline). But thanks anyway... I hope developers will add an easier way to do it - like a checkbox. You did a great job.
As a Premiere Pro user, I was disappointed to see that there was no way of doing this inside of that program. I might have to switch to Resolve, it seems much more powerful...
Great video - thank you for making it. Finally got it on the 5th try, after botching the formula each time. There's a lot of room for error with ('s and /'s. Maybe you could add the final expressions formulas in the comments so that we can copy 'n' paste them?
Or even zoom in more on the Expressions when working with them. I ended up taking a screenshot of the final expression, but then had to come back and watch again because I was missing part of it. My implementation doesn't seem to update automatically when I change the length of the clip. But, I eventually got a working result.
I figured there had to be a way to do a timer in Fusion and when I searched it, I scanned the results to see if you had done a video on timers. This channel is my first choice for DaVinci Resolve tutorials.
Mr Casey, that was quite possibly the most useful, convoluted video you have done yet. And I have watched most of yours. Thank-you and good job
BTW, instead of dealing with the TextTimer modifier and the 2 expressions there, you can just put an expression on the Text1.StyledText (where you always type "SOME TEXT") with
os.date("%M:%S", floor((comp.CurrentTime - comp.RenderStart) / comp:GetPrefs("Comp.FrameFormat.Rate") ))
or
os.date("%M:%S", floor((comp.RenderEnd - comp.CurrentTime) / comp:GetPrefs("Comp.FrameFormat.Rate") ))
1st one counts up, 2nd one counts down.
Awesome, this is going into my cheat sheet. Thanks!👍
There's a much easier way to do this. Instead of using TextTimer, I use Timecode, and then add a TimeSpeed node afterwards, with Speed set to -1 to reverse the timing. No expressions needed, and it also adapts to the length of your clip, along with giving you Hours and Frames as an option for free.
Can you use this technique for getting hundredths of a second as well, rather than frames?
Yo this is actually easy and works
this was great!
You don't know HOW much time this has saved me! You are a true lifesaver!
You are a true legend
Supppppper helpful Casey! I was able to interpolate what you did with your expressions and then expand that to the hours as well by duplicating the process. You do have to add -(Hrs*60) to the Min expression and -(Hrs*3600) to the seconds behind the -(Min*60). Worked like a charm and I would not have been able to figure this out without your explanation. Thank you!
Thats outrageous! I remember talking to guys in effects houses in London and they swore by Eyeon Fusion's scripting and hated that their bosses pushed After Effects on them. Glad its back!
So helpful.... I was just in the middle of teaching myself to build the timer from scratch and thought "Maybe I should google this really quick" Thanks!
Why would anyone give this a thumbs down? Great work, man.
Your welcome 😁
Min "((comp.RenderEnd-time)/24)/60"
Secs "(comp.RenderEnd-time)/24-(Mins*60)"
much love. thank you
Thank you! It's impossible to see this text in the video - too blurry.
Genius, such a time saver being able to change to change the clip length. Thanks Casey!
This is soooo helpful! Thank you, Casey Faris!
This is an awesome tutorial
How can I modify this to start the timer from a specific value, so not 00:00, but 45:00. I tried (time/24/60)+45, which doesn't work.
Just a pure guess, but perhaps you need to convert 45 mins into a frame value first, then convert back for display. i.e. =time+((45*60)*24)/24/60
Brilliant! Thanks for this. Now, is there any way to change the colour of the clip so that when there are 'x' seconds left, the font colour changes? There are no modifiers on the colour property of the Text+ node. So, if I set it there, it changes if I change the length of the clip.
Perfect. Exactly what I needed. Thank you Casey, much appreciated.
You're a wonder, Casey! Perfectly, simply explained as always. Just made my first livestream intro with a countdown timer, thanks to you.
Thanks so much!! This video was exactly what I needed help with :) Thanks Casey
i'm not sure what i'm missing but when I attribute Mins to the expression in the Secs, the timer stops working and i can't figure out why
In my case using (Mins*60) instead of {Mins*60} helped
lol that's what the parentheses really are in the video but youtube compression makes them look a bit misleading ;P
Love it. But, picky guy here... is there a way on short timers like 5 minutes to get rid of the zero in front of the 5? Rather than 05:00, just 5:00 and then on to 0:00 or just 59...9...0
Can you animate a mask with a time code based expression? *brain explodes*
So awesome, Casey. Just used it! You are the best!!!
That was awesome, I was looking for a way to do this and this is much better than I thought because you teach how to convert 2D into 3D, I was looking for this too, ty.
Thank you, You're a lifesaver. Not just this video but all of them!!!
Hey just wanted to say I really enjoy your tutorials. Thank you and please keep doing it!
Can you please advise how to make timer with decimals of seconds? This is quite handy for video with swimmers or runners to see their result time.
Where would I find more info on expressions? I've looked in as many manuals as I have and find nothing. Where did you learn about "time" and "comp...."? That sure would be helpful to know. Great video! I learned a lot. Thanks!
Thanks for a really useful tutorial, particularly that it will determine the length of the countdown from the length of the clip! :)
Thanks. I just managed to do a 10 second countdown. For anyone that's interested I just put this expression under the seconds and got rid off the hours and minutes totally.
((comp.RenderEnd-time)/24)-60
thank you for the video , beneficial .
Can you please put the time expressions inside your description? Thanks!
Just used this for a 'book now' message. The bit that was tricky was getting the Mins into the formula because the explanation of using the + sign on the Secs and DRAGGING OVER the Mins text was rushed and the video did not capture the very fine line that follows the cursor when you do this. Typing in that bit of the formula (Mins) does not work as there is some hidden code that it actually latches to. Also found it necessary to shut down Resolve and restart it to get the countdown to pick up the right duration after completing the timeline. That is probably down to caching and the need to clear the auto-renders that speed up the programme. But this was a great tutorial and thanks.
Lost my notes so I'm back to relearn how to set this up. Thanks again & again & again... 😁 for this helpful tutorial.
Thank you this is amazing.
I just have one question. The comp.EndRender-time works correctly on the timeline, but only when I edit it on a timeline. When I edit it on the composition, it starts with 00:05 and after those 5 it works good. Does anybody knows what causes this?
Very cool, and great timing (no pun intended)! I am going to use the timer for my current project :)
Helped me, thank you
Really easy to follow tutorial, thank you. How would I save that so I can reuse it in any project?
Create a macro (somehow...)
Is there a way to use this method to add milliseconds after seconds that count in hundredths, much like a stopwatch?
Thank you very much! It's very good and helpful tutorial !
The problem is that you're linked to the comp size. You won't be able to animate your timer to disappear after the countdown ends because you can't stretch your comp. Or is their a solution?
The alternative method without using expressions is to right-click on the text box, select 'TimeCode', add a TimeSpeed Node, set it to -1 speed, in the text modifier you can set your fps if need be. This gives you extra control because then you can set your global In/Out in either your 2d text node or 3d renderer and decide where you want your timer to start or finish! :)
The only thing is that you can't really have 3d text with this because you have to use a Renderer3D in order to connect to TimeSpeed...
You can just plug in the amount of frames you want for your countdown.
Thanks! This is ultra cool. And now saves me loads of time.
Thank you! that really helped!
Hey bud thanks for the video! I was wondering if you could please show me how to make the timer count backwards instead of upwards!
Thanks for this video !
This is good Sir!
Wizardry! =) Huge thanks, Casey.
why does it countdown fine in fusion, but as soon it is in Timeline, it stops @0:12 (5min countdown) altough, the clip is 5mins long in Timeline??????
How could DR screw a simple thing like this up so bad?
ok, it works now.... 25 instead of 24 fps... that fixed it....
Hey there, I'm trying to use this as an overlay timer, but it maintains its black background ontop of my video. I'm pretty sure I'm missing a step, but can't figure it out. Any quick suggestions? Thanks!
Set the background alpha to 0
Hey, love your tutorials, they've been a huge boon. I got a question about this one. I'm trying to make a timer that counts down from 99, but I...can't seem to figure it out, anyone know of a way to get that to happen?
Great video - thank you for making it. Finally got it on the 5th try, after botching the formula each time. There's a lot of room for error with ('s and /'s. Maybe you could add the final expressions formulas in the comments so that we can copy 'n' paste them?
awsome!!
fantastic...thanks a lot
Hi, I have FCPX. Is this something that can be done use my Program? Thanks
Hallo, I need a timer for a soccer match. The first half-time is no problem. But the second, how can I start from 45 min and I want that the clock is going up to 90 min. But How, can someone help me?
Hi, I have a question. As the expression for the center parameter in the transformation node should be written, I want the y axis to start moving with y = 0,0 in the zero frame and stop at y = 0.5 on frame 30
Everything works great right up until I (create a new timeline using selected clips). When I open the second timeline, there's a fusion comp with nothing in it. Anyone else experiencing this?
Every time I go to enter in the last bit of math the Text1, Merge1, and MediaOut1 nodes turn red and nothing works. Any Suggestions?
Expressions course!!!!
Reminds me of Excel cells
Thanks!
Yeah, Hope you make a Small "pack" we can buy on the website, with this & the flippy text you made included, I´m to dumb to make this myself !..........arghhh......
I did a video with the time speed set to -1, as the comment from Avinash Lobo, It's an easier way
It's great that we have so many possibilities, but for me it's a pain. I'd better use "timecode" in modifier, uncheck seconds and reverse it back from "edit" page (after making a new compound clip or just dragging the entire timeline in a new timeline). But thanks anyway... I hope developers will add an easier way to do it - like a checkbox. You did a great job.
That’s what I was thinking. It seems super complicated for no reason. They need to implement something easier
sorry but this is waaaaaaaaay to complicated to just add a simple timer
As a Premiere Pro user, I was disappointed to see that there was no way of doing this inside of that program. I might have to switch to Resolve, it seems much more powerful...
I love you.
I made 1k like. Lol. I feel special.
Jesus loves you! Repent before it is too late!
Great video - thank you for making it. Finally got it on the 5th try, after botching the formula each time. There's a lot of room for error with ('s and /'s. Maybe you could add the final expressions formulas in the comments so that we can copy 'n' paste them?
Or even zoom in more on the Expressions when working with them.
I ended up taking a screenshot of the final expression, but then had to come back and watch again because I was missing part of it.
My implementation doesn't seem to update automatically when I change the length of the clip. But, I eventually got a working result.