This is a tutorial on how to setup OBS studio for live streaming/instant replay. You do not need to live stream for this to work.
Step 1
Download OBS Studio, Voice attack, and Audio zone trigger.
Step 2 Setting up OBS Studio:
1. Open the OBS Studio settings, go to output, and check the box "Enable Replay Buffer"
Set the length to your desired time. Note: Longer replay buffers require more memory. For this guide we'll use 5 seconds.
2. In the general settings, check the box to Automatically start replay buffer when streaming.
3. In the Hotkey settings, set a hotkey for saving the replay buffer. For this guide, we'll use Ctrl+Shift+S.
Using this hotkey you can still save replays normally, even with Instant Replays setup.
4. Now, close the settings page and start the replay buffer by clicking on "Start Replay Buffer" towards the bottom right of OBS Studio.
5. Add a new media source to the current scene, we'll call it "Instant Replay" for this guide, and select the Replay buffer file.
By default it will be located in the “Videos” folder and the file name will start with Replay.
6. At the top of OBS Studio, click on tools, then scripts and select “instant-replay.lua”
7. From the Media Source drop down menu, select the media source you just added to the scene. Then hit close.
If the media source is not appearing, click on the refresh icon to the left.
8.Open up the OBS Studio settings again and go to the Hotkeys section. There will be a new hotkey, called "Instant Replay".
For this guide, we'll set the hotkey to Ctrl+Shift+R.
9. Now your Instant Replay feature is ready. Simply press the hotkey combination you just chose, and the last 5 seconds will play in the media source. You can now resize the source and move it around.
10. Add your camera inputs.
Step 3 Setting up Voice Attack
1. Open voice attack
2. Select the option to edit profile
3. Delete all actions.
4. Select new command
5. Setup the command to correspond to the provided screen shot
6. Hit ok then apply.
Step 4 Setup Audio Zone Trigger.
1. Setup According to screen shot, Activate a Key which is f12
Step 5 Arranging the windows
1. I can't really walk you though this part but here you will arrange all the windows to fit on your OBS layout. the boxes are all drag and drop.
2. Change the speed of the "Instant Replay" box to what ever you like. I have mine set at 35.
3. Once you have everything arranged select lock preview.
Now you should be all set to go. Here is my setup. Im using 3 cameras.
Any questions or suggestions I would be glad to help.
Advanced Version using OBS Plugin plugin Replay Source:
Ok I'm going to assume you are somewhat comfortable with Obs, you can add camera inputs, and install plugins.
Step 1 Installing Replay Source OBS
1. Download from https://github.com/exeldro/obs-replay-source/releases
2. Unzip the download in the 64 bit plugins folder for example: C:\Program Files (x86)\obs-studio\obs-plugins\64bit
Step 2 OBS
1. Create a new scene
Step 3 OBS
1. Add one video capture source name it DTL, make sure to adjust the camera and set it to highest fps
2. Add "ReplayInput" source, name it DTL slow, then select your camera and change the following values:
Duration 4
Maximum replays 1
3. Go to the hot keys section. Find the "DTL slow" source, add shift+S as the hotkey to "Load Replay"
Step 4 Audio zone trigger
1. Use the same settings as the previous guide, on trigger press f12
Step 5 Voice attack
1. disable / delete the previous command.
2. Create a command that triggers on f12, pauses for 2 seconds, then presses Shift+S
Step 5
1. Hope it works
Here is a live example if I'm online:
Step 1
Download OBS Studio, Voice attack, and Audio zone trigger.
Step 2 Setting up OBS Studio:
1. Open the OBS Studio settings, go to output, and check the box "Enable Replay Buffer"
Set the length to your desired time. Note: Longer replay buffers require more memory. For this guide we'll use 5 seconds.
2. In the general settings, check the box to Automatically start replay buffer when streaming.
3. In the Hotkey settings, set a hotkey for saving the replay buffer. For this guide, we'll use Ctrl+Shift+S.
Using this hotkey you can still save replays normally, even with Instant Replays setup.
4. Now, close the settings page and start the replay buffer by clicking on "Start Replay Buffer" towards the bottom right of OBS Studio.
5. Add a new media source to the current scene, we'll call it "Instant Replay" for this guide, and select the Replay buffer file.
By default it will be located in the “Videos” folder and the file name will start with Replay.
6. At the top of OBS Studio, click on tools, then scripts and select “instant-replay.lua”
7. From the Media Source drop down menu, select the media source you just added to the scene. Then hit close.
If the media source is not appearing, click on the refresh icon to the left.
8.Open up the OBS Studio settings again and go to the Hotkeys section. There will be a new hotkey, called "Instant Replay".
For this guide, we'll set the hotkey to Ctrl+Shift+R.
9. Now your Instant Replay feature is ready. Simply press the hotkey combination you just chose, and the last 5 seconds will play in the media source. You can now resize the source and move it around.
10. Add your camera inputs.
Step 3 Setting up Voice Attack
1. Open voice attack
2. Select the option to edit profile
3. Delete all actions.
4. Select new command
5. Setup the command to correspond to the provided screen shot
6. Hit ok then apply.
Step 4 Setup Audio Zone Trigger.
1. Setup According to screen shot, Activate a Key which is f12
Step 5 Arranging the windows
1. I can't really walk you though this part but here you will arrange all the windows to fit on your OBS layout. the boxes are all drag and drop.
2. Change the speed of the "Instant Replay" box to what ever you like. I have mine set at 35.
3. Once you have everything arranged select lock preview.
Now you should be all set to go. Here is my setup. Im using 3 cameras.
Any questions or suggestions I would be glad to help.
Advanced Version using OBS Plugin plugin Replay Source:
Ok I'm going to assume you are somewhat comfortable with Obs, you can add camera inputs, and install plugins.
Step 1 Installing Replay Source OBS
1. Download from https://github.com/exeldro/obs-replay-source/releases
2. Unzip the download in the 64 bit plugins folder for example: C:\Program Files (x86)\obs-studio\obs-plugins\64bit
Step 2 OBS
1. Create a new scene
Step 3 OBS
1. Add one video capture source name it DTL, make sure to adjust the camera and set it to highest fps
2. Add "ReplayInput" source, name it DTL slow, then select your camera and change the following values:
Duration 4
Maximum replays 1
3. Go to the hot keys section. Find the "DTL slow" source, add shift+S as the hotkey to "Load Replay"
Step 4 Audio zone trigger
1. Use the same settings as the previous guide, on trigger press f12
Step 5 Voice attack
1. disable / delete the previous command.
2. Create a command that triggers on f12, pauses for 2 seconds, then presses Shift+S
Step 5
1. Hope it works
Here is a live example if I'm online:
Comment