How To Make The REWIND Instant Replay Effect In OBS!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
those are some unnatural movements oh no what is that i thought he could make that this is a brand new instant replay effect i've been working on that i haven't seen done anywhere else on twitch before there are a lot of tutorials on youtube for doing instant replays in obs i think defrag probably has the best tutorial that i've ever seen you guys should check it out i'll link in the description box but but don't click away trust me this one is different you see the way most streamers have instant replay set up they just take a clip of the last 10 seconds and then maybe play it in the corner of their stream well that's old okay that's like 20 20 wait is it still 20 20 this has been a long year whatever my effect is the future because with this effect the stream actually rewinds to 20 seconds ago and it even does this cool vhs distortion effect and does that cool sound it goes you know that sound that goes when you rewind a vhs tape then at any moment i can hit the button again and then it will fast forward my gameplay to catch up with my real-time gameplay it's a super cool effect i'm going to show you how i did that so sit tight because this one's going to be a long one quick shout out to the sponsor of this video nerd or die if you haven't heard about nerd or die already what's wrong with you they have everything you need to upgrade your stream from alerts panels full-blown designs and i worked with nerd or die to give the first 100 of you guys 50 off your next order all you need to do is use my link in the description pick the design that you want and then use the code 9050 at checkout the code is only going to work for the first 100 of you so you got to be fast but if you do miss out don't worry nerd or die is also holding the pick your poison sale for the month of october where they'll be announcing various sales throughout the month or you can use the code spooky25 to get 25 off throughout the whole month and by the way speaking of which i just want to show a picture of what halloween looks like here in australia look how spooky that is so let's talk about what you're gonna need to pull off this effect you're gonna need two obs plug-ins one of them is dynamic delay which i talked about a couple weeks ago in one of my other videos this is what's gonna allow you to do the rewinding the fast forwarding and even add slow-mo to your gameplay if you wanna do that and you're also going to need obs shader filter to do that vhs distortion effect when you're rewinding and fast forwarding your gameplay if you haven't heard about obs shader filter before it basically allows you to apply what's called a shader which essentially just allows you to add effects to any source in obs and the shader that we're going to be using to do that vhs distortion effect is actually something that had to be custom written not by me you think i got the talon to do that i just got xeldro to make it for me the download link for this custom shader will be in my discord you'll find it in the design files channel and it'll just be called vhs shader so just search for that links for everything will be in the yeah sir yes yes the does this work with streamlabs obs no it doesn't how many times i have to tell you steven don't make me come back oh and i forgot you're also going to need some kind of macro software to program a bunch of commands in obs so you can use any of these stream deck alternatives that i've talked about on this channel you can use touch portal lior on board but ironically you can actually use a stream deck for this for reasons that i'll talk about in next week's video alright boring stuff out of the way let's start putting this effect together we're gonna start with what i think is a pretty typical but simple layout for obs it's just a single scene with one source for your desktop and then another source for your webcam now the first thing you're gonna do is you're gonna take whatever your gameplay source is so in this case your desktop and then stuff it into a nested scene and then stuff that scene into another nested scene now if you're like what the hell is a nested scene nutty you can't just be throwing out random terms i've never heard about in here i talked a little bit about what nested scenes are in another video but essentially in obs you're able to add scenes into other scenes and this is gonna be a really good example of why you wanna use nested scenes basically all you need to do is to create two extra scenes we're gonna call one of them gameplay and then the second one gameplay layer one and then what you're gonna do is you're gonna take your gameplay source stuff that into layer one and then get your layer one scene and then stuff that into your gameplay scene and then now in your initial obs scene you're gonna replace the desktop source with your new gameplay scene so basically to summarize you've got your gameplay source in layer one and then layer one is in your gameplay scene and then your gameplay scene is in your initial obs scene which is what your viewers are actually going to be looking at so that's the obs setup now we're going to set up the rewinding and fast forwarding part so to do that you're going to right click on layer 1 go to filters and then add a dynamic delay filter now you're going to see four sliders here that have a percentage next to them and in a little bit you're going to be able to set a different hotkey for each of these sliders and essentially the percentage tells you how fast your gameplay source is going to be moving so essentially if i wanted to set it up so that my gameplay rewinds at ten times speed i would set the fast backward slider to negative one thousand percent and then same thing when i'm fast forwarding my gameplay if i wanted to play at ten times speed then i'd also set that to a thousand percent now the duration is gonna be a time in seconds and it's going to be the target delay for your gameplay now that sounds confusing because it was confusing to me but think of it this way if i wanted to rewind my gameplay to the past how far back do i want to rewind to that amount of time is the duration so if i want to rewind my stream to 20 seconds ago i'd set the duration to 20 seconds and then same thing for slow motion how long would i want to apply slow motion for well however long it takes until my gameplay becomes 20 seconds delayed for my real-time gameplay now for the easing duration just set this to zero i don't want to explain what this does because it's just going to confuse you even more but let's set some hotkeys now so you can actually see the dynamic delay in action so to do that go into your settings and go to hotkeys and then scroll down to where your layer one scene is and you should see some extra hotkeys for fast forward fast backwards slow forward fast backwards etc i'm gonna set up hotkey for fast forward and fast backward which is going to be for the fast forward and rewind effect and then now what you should notice is when i hit my fast backward hotkey my gameplay should rewind until it becomes 20 seconds delayed from my real-time gameplay and then when i hit my fast forward hotkey it should fast forward my gameplay until it catches up to my real-time gameplay so hopefully that made sense to you if it didn't go back and re-watch that part of the video so i make more advice i mean um so you understand it better but i'm gonna assume that you guys are all good with that we're gonna move on to setting up our macro softwares now for that i'm gonna be using touch portal just because i think touch portal works best for what we're gonna be doing if you've never used touch portal before i recommend looking up some tutorials first because i'm gonna be assuming that you know at least the basics of how to use it anyway what we're gonna be doing is we're gonna be setting up a button that when you press the button it's going to rewind the gameplay and then when you press it again it's going to fast forward the gameplay so create a new button and we're going to set up this button to act like a switch that has an on state and an off state and if you're familiar with programming this is really simple you just add an if action and an else action now what we want is when the button is in its off state we want it to rewind and then when it's in it's on state we want it to fast forward so the logic for that is really simple if the button state is off then press your rewind hotkey and if the button state is on press your fast forward hotkey so for me i'm going to add a virtual key press for my rewind hotkey which i set to f14 and then another one for my fast forward hotkey which i set to f15 f14 f15 what the hell is that i don't have my keyboard yeah i know i don't have that on my keyboard either in fact i don't have any f keys on my tiny ass keyboard but fun fact old keyboards actually had a row of f 13 to f 24 keys on them it's just modern keyboards don't have them anymore but luckily obs actually still recognizes those keys anyway now that that's done you can add a label to your button but what i'm gonna do is i'm actually gonna change the label on the button every time that i press it so that i know what the key does all right now comes the fun part which is adding that vhs distortion effect now this part isn't totally necessary but i think this is gonna be the thing that really sells this effect like your viewers minds are gonna be totally blown they're gonna be like whoa vhs what is this the the dinosaur era eventually there's gonna be like one of you guys out there that's gonna be like wait a minute they didn't have vhs in the dinosaur times well how do you explain how they filmed land before time anyway dinosaurs aside we're gonna add our vhs filter by right-clicking on our gameplay scene going to filters and then adding a user-defined shader click on load shader from text file and then select the vhs shader that you downloaded from the discord earlier now the default settings look great this is exactly what we want but i'm actually going to disable that filter for now and then add a second vhs shader and i'm going to call this one vhs light and what we're gonna do is we're gonna turn down some of these settings to create a weaker version of our vhs distortion filter so what you should have is two vhs filters a strong version and a weak version we'll also add one more filter just to make our gameplay black and white so when we're doing the rewind effect we're gonna make our gameplay go black and white as well and you could do that by adding a color correction filter and then turning the saturation slider all the way down to negative one so if you enable the strong vhs filter and the black and white filter this is exactly what we want our gameplay to look like while it's rewinding and to make that work we have to go back into touch portal and do a little bit more work on our macro and this is what our macro is gonna look like we're gonna turn on the vhs filter and the black and white filter at the same time then we're gonna hold it by adding a two second delay and then after that two second delay we're gonna turn off both of those filters now the length of the delay you put in you're gonna have to calculate yourself but for me because i'm rewinding my gameplay by 20 seconds at 10 times speed 20 divided by 10 is how i reach 2 seconds you're also going to want to copy all these commands for the else statement of your macro because you also want all of these filters to turn on when you're fast forwarding your gameplay okay so we're nearly done but i wanted to add a few more details to this effect i wanted to add some text that actually says rewind while it's rewinding and fast forward when it's fast forwarding so i created these two png files that just say rewind and fast forward in some retro text font that i found somewhere online then i imported both of those images into my gameplay scene in obs then i just added a few more lines to my macro to show and hide that image along with the vhs filter and the black and white filter okay a couple more steps i promise we're nearly done i also wanted to add a little overlay to the instant replay that says instant replay with a red blinking dot this is just to let my viewers know that what they're watching is a replay and not my real-time gameplay so i created a webm file in hitfilm express and then i imported that webm file into my gameplay scene then in my touch portal macro after my stream has rewound rewound rewinded whatever the word is after it's rewinded show this webm file and then when i fast forward it again hide this webm file i also at the same time as enabling that webm file i want to enable that vhs light filter so that when my viewers are watching the instant replay you just get this nice little subtle wiggle in the gameplay footage that makes it look like they're watching something from the past okay okay i know this is a lot to take in but final final step is we want to add sound to this effect so when we're doing that rewind and fast forward animation we want to get that sound effect going you know the sound effect that i mean find a sound effect from anywhere that you like this is what my sound effect sounds like [Music] then in your touch portal macro you want to add a play audio action and then point the file to the audio file of your sound effect and that's it i know there was a lot of steps to cover so i'm just going to show you what my final macro looks like so pause this video copy down all of the steps here if you've done all these steps right when you hit the button on your phone it's gonna do this and then when you hit it again it's gonna do this shield here all right so now that your brain is totally fried i want to talk about some of the limitations for this effect so that you know what to expect number one this does not support audio so when you do an instant replay it's not actually gonna rewind your audio as well so be aware of that also be aware that this requires a lot of ram like a lot of ram like you have to understand that in order to pull up 20 seconds of footage at the touch of a button your pc needs to store 20 seconds of footage somewhere in your pc and that happens to store that footage in system memory and by the way that's all uncompressed videos so for my example i'm only storing 20 seconds of 1080p 60 footage and that's using up like anywhere from six to 10 gigs of ram which isn't a huge issue for me because i have 32 gigs of ram on my pc but a lot of you guys out there probably don't have 32 gigs of ram so just make sure that you have enough memory to do this effect or go out and download some more ram if you need to um dedicated wham and finally one thing i've noticed is that randomly my gpu usage when using the dynamic delay plug-in will shoot up all the way to like 90 and i've got a 1080 ti and i can't really nail down why that happens it seems to coincide with any time that i switch scenes but then it doesn't always happen so not really sure what's causing that but i recommend that you guys do some testing your own part and then give us some feedback because i've been trying to talk with xeldra and nailed down why it's using so much gpu but we can't work it out so we'd really like some feedback so we can get this fixed and get this out working for everyone but yeah that is the video guys if you have any questions about this effect or you just want to hang out with a community of really cool streamers make sure to join the discord you guys can also catch me on my twitch streams i stream four nights a week and we're always talking about how to innovate streams make them cool and all all this crazy cool stuff right anyway i'm gonna do like literally anything else that isn't just sitting here and recording like for five hours straight so i'll see you guys next week you
Info
Channel: nutty
Views: 75,519
Rating: undefined out of 5
Keywords:
Id: NuWKrpNCE1k
Channel Id: undefined
Length: 15min 16sec (916 seconds)
Published: Wed Oct 07 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.