Skip to content

Smart Replays is a python OBS script whose main purpose is to save clips with different names and to separate folders depending on the application being recorded (imitating NVIDIA Shadow Play functionality). This script also has additional functionality, such as sound and pop-up notifications, auto-replay buffer restart, etc.

License

AGPL-3.0, AGPL-3.0 licenses found

Licenses found

AGPL-3.0
LICENSE
AGPL-3.0
COPYING
Notifications You must be signed in to change notification settings

qvvonk/smart_replays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Replays

Smart Replays is an OBS script whose main purpose is to save clips with different names and to separate folders depending on the application being recorded (imitating NVIDIA Shadow Play functionality). This script also has additional functionality, such as sound and pop-up notifications, auto-restart of the replay buffer, etc.

overview

⭐ Like this script? ⭐

😎Consider giving the repository a star 😎

Warning

This script is designed for Windows OS only

Table of content

Features

Requirements

OS: Windows 10 or higher Python 3.10 or higher The script does not require any third-party libraries, however, Python must be installed together with Tkinter.

python_installing


More about script

Clip naming and saving

The main purpose of the script is to automatically change clip names depending on the recorded window, as well as to sort clips into folders.

different_folders names

There are 3 modes of clip title naming:

  • by the name of an active app (.exe file name) at the moment of clip saving
  • by the name of an app (.exe file name) that was active most of the time during the clip recording
  • by the name of the current OBS scene

different_modes

Hotkeys

You can register any hotkeys for any of the modes. Pressing the hotkeys will save the clip in the corresponding mode without changing the mode globally.

hotkeys

Clip filename template

You can set a template for the clip file name by using variables with the clip name and save time. You can read more about variables and their values in the template input field hint or at the link.

Custom names

Sometimes the names of the executable files may not match the names of the applications (for example, a clip that recorded the desktop will be saved with the name explorer because the desktop executable is called explorer.exe)

Or you may not be happy with the current name of the executable and want to replace it with your own.

In this case, you can set up custom names for the applications or folders where the applications are located.

To do this, add an entry of the following format to the list

C:\path\to\executable\or\folder > CustomName

For example:

C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe > Browser
C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe > Browser
C:\Program Files (x86)\Steam\steamapps > SteamGames
C:\Program Files (x86)\Steam\steamapps\common\Deadlock > DeadLock

Following on from the example above, if you record Microsoft Edge or Brave Browser, the clip name and save folder will be Browser.

If you record any games that are in the Steam folder, the clip will be saved in the SteamGames folder However, if you record Deadlock game (more precisely, the application located in the C:\Program Files (x86)\Steam\steamapps\common\Deadlock folder), the clip will be saved in the SteamGames folder.

The script provides the ability to import and export a list of custom names.

custom_names_list

Sound notifications

You can set custom .wav sounds on successful and unsuccessful clip saves.

sound_notifications

Pop-up notifications

You can enable pop-up notifications, which are the same as Nvidia Shadow Play (or not ._.)

popup_success

popup_failure

Cyclic buffer restarting

Long running of the replay buffer in OBS may cause unpleasant consequences, such as long clip saving, OBS interface freezing, etc.

If you face similar problems, you can enable cyclic restart of the replay buffer.

Note that this mode “looks” at the time of the last mouse or keyboard input. If no input is made within the time specified in the OBS Replay Buffer settings (Settings -> Output -> Maximum Replay Time), the script will automatically restart the replay buffer. In the opposite case the restart will be delayed for the maximum replay time.

Restarting the replay buffer after saving a clip

OBS doesn't know the time the clip was saved. This means that after saving OBS continues recording without clearing the buffer, which may be inconvenient for some people.

For example, the clip length you have set is 60 seconds. You recorded for 60 seconds and saved the clip: the first clip will be 60 seconds long. After 20 seconds, you save the clip again. Logically, the second clip should be 20 seconds long, but no, it will also be 60 seconds long, capturing the last 40 seconds of the first clip. This script function helps to solve this problem.

⭐ Like this script? ⭐

😎Consider giving the repository a star 😎

About

Smart Replays is a python OBS script whose main purpose is to save clips with different names and to separate folders depending on the application being recorded (imitating NVIDIA Shadow Play functionality). This script also has additional functionality, such as sound and pop-up notifications, auto-replay buffer restart, etc.

Resources

License

AGPL-3.0, AGPL-3.0 licenses found

Licenses found

AGPL-3.0
LICENSE
AGPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages