-
time remap expression framesToTime
Hi again. I need some help with time remaping. Basically I’m trying to do a smart time remap. I have a precomp with an image sequence in it. I want to be able to choose an in point on that seq and then have a slide to choose the frame from that in point onwards, So I’m thinking something along these lines. I need to use the values on the slider as frames rather than seconds as if it’s seconds I’m likely to drop frames if I’m not careful. So first I had this
comp("Char_Ctrls_Comp").layer("Null 1").effect("Slider Control")("Slider")*.04In South africa we work on 25 so this remaps the slider correctly but you cant just add 3 to this number as it’s some funky decimal conversion in order to spit out seconds instead of frames. So I’m trying to use framesToTime function but I’m not clever enough to make it work. Can anyone help.
framesToTime(comp("Char_Ctrls_Comp").layer("Null 1").effect("Slider Control"))("Slider"), fps = 25.0 / thisComp.frameDuration)
I’m hopping I can then add a number to this value and have it return seconds for the time remap without me having to try and do the weird math. It’s not hard but it’s going to get more and more inconvenient so I’m trying to deal with this before the numbers get huge.
I’m especially unsure what to do with thisComp.frameDuration whats this even for?
Thanks so much.