For updates, you should follow me on


Action replays


STEP 1

Set up the Replay Buffer - I'm recording 10 second clips.

OBS -> Settings -> Output -> Replay Buffer

 

 

 

 

STEP 2

Take a note of the Recording Path setting in the Recording tab for step 4.

OBS -> Settings -> Output -> Recording

 

 

 

 

STEP 3

Set the replay buffer filename prefix to Replay

OBS -> Settings -> Advanced

 

 

 

 

STEP 4

Set up the Replay Folder in the Lua script : the Recording Path setting from step 2.

OBS -> Tools -> Scripts -> UPDeck.....

 

 

 

 

 

STEP 5

Start the Replay Buffer. There's a new button in the streaming / recording panel to start and stop the replay buffer.

 

 

 

 

 

STEP 6

Use the Replay Save Panel to save action replays (button with a soccer ball icon). While playing a game, you won't get distracted looking for a small button to press - press anywhere on screen to take an action replay.

 

 

 

 

 

STEP 7

Create a media source called UP DECK REPLAY in the scene where you want to show your replays.  You can then use the Action Replay Panel to view the saved replays. 

 

 

  1. Show / Hide the action replay panel.
  2. Select action replay speed (unfortunately, does not change the replay speed while playing).
  3. Current prefix : files are selected that begin with the prefix.
  4. Search for files : changes the prefix used to select a group of files.
  5. Refresh the file list.
  6. Take an action replay now! (The replay buffer must be active).
  7. List of available replays to select.
  8. Wipe replays - all replay files are deleted.
  9. Delete selected replay file.
  10. Custom button : an extra deck button for custom actions in the replay panel.
  11. Stop replay. (You can configure commands to run before the replay stops with a long press).
  12. Play the selected action replay. (You can configure commands to run before the replay starts with a long press).

 

I would love it if the speed control worked real time while a replay is playing, but it just sets the speed for future replays.

 

 

Buttons 11 & 12 - run commands before playing / stopping - why??

When testing the action replays, each time a clip was played, you could see the previous clip for a fraction of a second before the new replay was loaded. This didn't look great (looked glitchy), but I couldn't find a way to avoid it.  Adding the configurable deck buttons provided the solution.....

 

I added two commands to run before playing a replay...

  1. Hide the replay object (UP DECK REPLAY).
  2. Show the replay object after a 500ms delay.

This solved the problem of the previous clip appearing for a short time.

 

 

Here are my custom actions to run before a replay starts;

 

Long press (press and hold) the green play button (button 12 in the screenshot above).  This will take you to the button set up for custom actions before a replay starts.  You can see I have two actions - one to hide the replay object, then one to show it again after a pause.

 

Hide the replay source

show

val=0

scene=_current

UP DECK REPLAY

 

Show replay source after delay

show

delay=500

val=1

scene=_current

UP DECK REPLAY

 

 



Prev: Using hotkeys to trigger deck buttons  
Next: Actions replays : command reference



Privacy
© 2024 8up.uk