[0:01] hey everyone today i wanted to show you [0:02] a pretty cool tool i found that uses ai [0:05] to generate frames between your frames [0:06] essentially making it so that you can [0:08] feed in a 30 fps video and get a 60fps [0:11] version out of it and arguably best of [0:13] all it's free and it's called flow [0:14] frames [0:15] when it comes to interpolating frames [0:17] which is just the act of having a frame [0:18] a and b and then creating a new frame in [0:20] between those two there's already a [0:22] couple ways we can go about doing that [0:23] without flow frames but in my opinion [0:25] they're just not as good after effects [0:26] is a built-in feature called optical [0:28] flow that you might have used before and [0:29] there's also one that you've likely [0:30] heard especially if you're hitting up [0:32] some sick call of duty montages back in [0:34] the day and that one's called twixtor [0:35] which is a paid plugin so real quick [0:37] i'll set up a comparison between optical [0:39] flow twixtor and flow frames where i [0:41] take this clip from into the spider [0:43] verse and slow it down to 50 speed in [0:45] each case these tools are going to be [0:46] interpolating the frames to make the [0:48] slow motion look smoother to use optical [0:50] flow to slow down our clip all we need [0:52] to do is drag it into a comp make sure [0:53] the composition is at least two times [0:55] longer than the clip itself then right [0:57] click the clip go to time time stretch [0:59] and then stretch it to 200 percent now [1:01] doing that alone is going to stretch the [1:03] clip to twice as long but if i step [1:04] through frame by frame you can see that [1:06] it isn't interpolating frames we get a [1:08] real frame then a paused frame that a [1:09] real frame that a pause frame and so on [1:11] to actually use optical flow to [1:13] interpolate the frames creating a new [1:14] frame in between the real ones we just [1:16] need to hit this frame blend switch [1:17] twice once changes it to standard frame [1:20] blending which is just essentially [1:21] putting the next frame over the current [1:23] frame and setting the opacity to 50 but [1:25] hitting the frame blend switch that [1:26] second time switches it to the optical [1:28] flow frame blending where after effects [1:29] is actually trying to interpolate [1:31] between your frames to create a new [1:32] frame now with that all rendered out you [1:34] can see that optical flow is mostly [1:36] garbage but if things are already moving [1:38] very slow it does a pretty good job like [1:40] in these two shots [1:41] and here's a comparison between no [1:42] interpolating at all on top and using [1:44] optical flow below so there definitely [1:47] is a time and place where using it can [1:48] work for you just most of the time it's [1:50] not going to be a good option next let's [1:52] take a look at twixtor again here we're [1:54] going to import our clip into our comp [1:55] making sure the comp size is at least [1:57] two times longer than the footage but [1:59] instead of time stretching the clip [2:00] we're gonna have to nest our comp so [2:02] dragging the composition into the new [2:03] comp button we've got that sorted now on [2:05] this new nested comp i'll apply the [2:07] twixtor effect i'll enable gpu and i'll [2:09] set the speed to 50 [2:10] now rendering this out you can see that [2:12] twixtor definitely does a better job [2:14] than optical flow when it comes to the [2:15] faster moving parts if i put optical [2:17] flow up top and two extra on the bottom [2:19] you can see that it's pretty clear who [2:20] the winner is now let me show you the [2:22] main event the show stopper the one the [2:25] okay enough i'm simply gonna drag the [2:26] clip onto flow frames making sure it's [2:28] set to two times interpolation and hit [2:30] interpolate it does its thing and then [2:32] we've got our video with double the [2:33] frames now just to be clear what we get [2:35] out of flow frames isn't slow motion [2:37] this clip is the same speed as it was [2:39] going in but it has double the frames [2:40] because flow frames interpolated a frame [2:42] in between every real frame making it [2:44] look a lot smoother that was a lot of [2:45] frames in the same sentence so when we [2:47] import this into after effects and we [2:48] make a new comp we need to go into the [2:50] comp settings and make sure the frame [2:51] rate is set to the same frame rate as [2:53] the original clip in other words half of [2:55] what our new interpolated clips frame [2:57] rate is then again making sure the [2:58] comp's length is at least twice as long [3:00] as our clips we hit ok then we'll just [3:03] right click our clip go to time time [3:04] stretch and stretch it to 200 and we're [3:07] done this is our flow frames [3:08] interpolated slow motion i'll show you a [3:10] comparison with twixtor in a second but [3:12] flow frames is handling the [3:13] interpolation of faster movement so much [3:15] better here we've got twixtor up top and [3:17] flow frames on the bottom if i step [3:18] through frame by frame to show you how [3:20] they both deal with faster movement here [3:21] we can see we're on our real frame and [3:23] then next we've got an interpolated [3:24] frame with twixtor we've got some heavy [3:26] ghosting and even some of the frame [3:27] being pulled down up top here and none [3:29] of that with the flow frames version if [3:30] i go forward a little bit more oh boy [3:32] lots of ghosting and the edges of the [3:34] screen being warped inwards on both the [3:35] top and bottom of the twixtor version so [3:38] you get the point now i'm sure optical [3:39] flow is decent if your footage is moving [3:41] very slow already twixtor is much better [3:43] at handling the faster moving [3:45] interpolations but flow frames takes the [3:47] cake in both fast and slow moving [3:48] scenarios it's also just a really great [3:50] way to quickly and easily take any media [3:52] you have and double its frame rate so [3:54] that it looks a lot smoother you can do [3:56] it with anime video games movies renders [3:58] it won't work flawlessly with every [4:00] render but you could save yourself a lot [4:01] of time if you just export your stuff at [4:03] half the frame rate and then use flow [4:05] frames to double it back up to where it [4:06] needs to be because sometimes you're [4:08] looking at like 10 minutes of frame on [4:09] more complicated scenes so if you've got [4:11] a render where things aren't moving [4:12] super fast flow frames might be a good [4:14] option for you in terms of saving a [4:16] bunch of time as a bit of a trickier [4:18] example here i've got a render for a new [4:20] version of my intro that i'm working on [4:21] i rendered it at 30fps because that's [4:23] what all my videos are rendered at [4:25] except for this one but if i re-render [4:27] the intro at 15 fps here's what we've [4:29] got there's a lot of fast movement at [4:30] the beginning especially so i feel like [4:32] flow frames won't absolutely nail it but [4:34] if we chuck it in there and ask it to [4:36] double the frames back up to 30 fps [4:38] here's what it spits out now like i said [4:40] at the beginning there seems to be a bit [4:41] of artifacting but other than that it [4:43] pretty much nails it a good workflow i [4:44] can imagine doing is rendering my stuff [4:46] out at 15 fps running it through flow [4:48] frames to bring it up to 30 and then any [4:50] area where i see flow frames having [4:52] trouble i can just re-render that [4:53] section in blender at 30fps and comp it [4:56] back over top to cover up any issues [4:58] that way i'm pretty much getting away [4:59] with rendering at 15fps and only having [5:01] to re-render at a full 30fps for the [5:03] sections that flow frames can't [5:05] interpolate smoothly which in the end [5:06] will save me a ton of time now as far as [5:08] where to get it i'll leave a link in the [5:09] description it's absolutely free to [5:11] download and you can choose to support [5:12] the creator on patreon in order to get [5:14] access to early updates after you [5:16] download and install it you pretty much [5:17] just need to drag a video file onto the [5:19] program and it'll sort out most of the [5:21] settings for you all you really need to [5:22] worry about is how much to interpolate [5:24] by the output mode and two settings [5:25] called detuplication and scene changes [5:28] setting the interpolation amount is [5:29] pretty self-explanatory it shows you the [5:31] fps of the video on the left and on the [5:33] right it shows you what the output fps [5:34] will be then you just choose the [5:36] multiplier the output mode is also [5:38] pretty obvious if you can work after [5:39] effects i have confidence in your [5:41] ability to sherlock homes what this [5:42] could possibly mean and the last two [5:44] settings of note are deduplication and [5:46] scene changes deduplication is for if [5:49] you have footage that's 60fps for [5:50] example but if you step through it frame [5:52] by frame you actually see that every [5:54] other frame is a paused frame that would [5:56] mean your footage is actually 30fps but [5:58] it's just been rendered out at 60fps for [6:00] no reason deduplication basically just [6:02] tries to remove those paused frames [6:04] before interpolating which will lead to [6:05] a much smoother output lastly the [6:07] setting for scene changes just exists to [6:09] try and detect [6:10] scene changes that way it won't try and [6:13] interpolate a frame in between two [6:14] scenes if i turn the setting off and [6:16] then run the spider-verse clip through [6:17] again you can see that between these two [6:19] scenes we get a mushy morphed frame [6:21] which you probably don't want so i'd [6:23] leave that setting on and that's pretty [6:24] much all i had to say about flow frames [6:26] if you're into programs like this that [6:28] you can toy around with and help with [6:29] your editing i made a similar one on a [6:31] program called ebsynth that i recommend [6:33] you check out it's one of the most [6:34] viewed videos on the channel so i guess [6:36] people like it now that we're done with [6:38] the tutorial let's get to the part [6:39] you've all been waiting for the no [6:41] contacts poll you know the part where i [6:43] do whatever you guys tell me to do on a [6:44] twitter poll even though you have no [6:45] context for what i'm asking well this [6:47] video's poll i asked miles toby andrew [6:49] tum or [6:51] miles tom toby andrew and 66.7 percent [6:54] of you which is like six people in this [6:56] case chose the second option so now get [6:59] ready buckle down for a little [7:00] spider-man edit that goes through them [7:02] in the order from the pole with scenes [7:04] interpolated to double the frame rate [7:06] for more fluid fluidity [7:17] ugh [7:35] ugh [7:57] pizza time wow [7:59] amazing there are there are no words [8:01] there are no words if you want to [8:03] participate in the next videos no [8:04] context poll make sure to follow me over [8:06] on twitter and turn on notifications for [8:08] my tweets because i don't tweet super [8:10] often and the poll might get buried in [8:11] the rest of your feed if you don't now [8:13] let me take a second to thank this video [8:15] sponsor skillshare if you weren't aware [8:17] skillshare is an online learning [8:18] community with thousands of classes for [8:20] creators they've got a ton of topics you [8:22] can explore but the ones that i'm [8:23] personally drawn to were film and video [8:25] of course productivity and creative [8:27] writing a class that i watched recently [8:28] that i think you might enjoy is intro to [8:30] virtual filmmaking in unreal engine by [8:32] cinematic captures he goes over how to [8:34] set up a virtual camera rig in unreal [8:36] finding assets lighting rendering and [8:38] more virtual filmmaking has always been [8:40] super interesting to me so i'm glad i [8:42] got to learn a little bit more about it [8:43] if any of that sounds good to you then [8:45] give his course on skillshare a go [8:46] skillshare is curated specifically for [8:48] learning so you don't have to worry [8:49] about ads and they're constantly [8:51] launching a new premium classes for [8:52] members so you can stay focused and [8:54] follow where your creativity takes you [8:56] if you're interested in joining the [8:57] first thousand of my subscribers to [8:58] click the link in the description we'll [9:00] get a one month free trial of skillshare [9:01] so you can start exploring your [9:03] creativity today thanks skillshare