Activity › Forums › Adobe After Effects Expressions › Frame rate with a slider
-
Frame rate with a slider
Posted by Alex Dinnin on November 23, 2009 at 4:57 pmI’ve got some red footage shot at 125 fps.
is it possible to set up a slider that controls the frame rate.
I have been trying to add an expression to time remapping.. and I am assuming it’s a sum like duration / slider control.
So I tried the base route
L = thisLayer;
t2 = valueAtTime(key(2).time)t2 / effect(“Slider Control”)(“Slider”);
but this isn’t working at all..
can anyone give me a point in the right direction
cheers
AlexChris Wright replied 16 years, 5 months ago 3 Members · 6 Replies -
6 Replies
-
Bishop Zareh
November 24, 2009 at 3:59 pmwhy not use posterize time. seems like it does exactly what you are trying to do with an expression.
-
Alex Dinnin
November 24, 2009 at 4:22 pmfrom what I can work out it doesn’t really do what I want…
I want to able to control the frame rate with a slider..
do that when I get to a certain point I can animate the slider to change the frame rate !!
lot of speed ups and slow downs..
thanks for replying though
Alex
-
Bishop Zareh
November 24, 2009 at 5:02 pmI still dont think you need an expression.
Controlling framerate with a slider is exactly what posterize time does, but it just doesnt allow you to go above the original rate of the clip.
If you want full speed control, then enable time-remap, go into graph view, use the properties menu at the bottom to change the graph to be a speed graph instead of a value graph.
you should be able to link that to a expression slider, if you prefer a slider interface.
| Jameson Wallace
| Motion Graphics Festival
| New Motion + New Sound + New Code
| https://MGFest.com -
Alex Dinnin
November 24, 2009 at 6:02 pmwell I’m not so sure..
If I apply posterize time on my layer that was shot at 125fps.. and tell it to play at 25fps it plays it at normal speed.
anything above that.. it does nothing…
so that’s why I was thinking of a nice slider.. that would affect time remapping.. when slider was at 25 it played at 25fps.. when it was at 125 it was playing at 125fps..
if it can’t be done.. it’s fine.. I am more than happy doing it by hand..
I just thought I would try to be clever !!
never mind
Alex
-
Bishop Zareh
November 24, 2009 at 9:45 pm> If I apply posterize time on my layer that was shot at 125fps.. and
> tell it to play at 25fps it plays it at normal speed.
>
> anything above that.. it does nothing…kind of, it is changing the framerate when you go above 25, but most humans can not perceive framerates above that point.
this is a common conceptual issue, there are two different kinds of changes you can do to the clip. you can change the framerate, which does not affect the speed, or you can change the speed, which does not change the framerate.
Framerate is how many frames are sent to the viewer every second. Lower framerates look choppy, higher framerates look smoother.
Speed changes add or subtract frames from the source clip to change it’s apparent speed of playback.
The speed-based time-remap graph is the tool used to keyframe controls based on speed of the clip.
In short, it is possible to write an expression that does exactly what you are asking, ie converts timecode into a kind of simulated framerate, but no one has because it is a mis-application of the term “framerate”. It would be nice to have it as percentage like time stretch uses, but that also would take some time to work out the math on.
Best wishes,
| Jameson Wallace
| Motion Graphics Festival
| New Motion + New Sound + New Code
| https://MGFest.com -
Chris Wright
November 25, 2009 at 6:44 amif you own twixtor, it will control fps by percentage, and I think AE’s timewarp is keyframable too.
https://technicolorsoftware.hostzi.com/
Reply to this Discussion! Login or Sign Up