Skip to content

med-material/unity-obs-screenrecord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

unity-obs-screenrecord

Script to automatically screen record unity projects for using Open Broadcaster Software (OBS).

This project provides a Unitypackage which can be used to start/stop OBS screen recording without interrupting Unity. It works by starting OBS in the background, using the following commandline:

C:\\Program Files\\obs-studio\\bin\\64bit\\obs64.exe --startrecording --minimize-to-tray

When the application is quit, the OBS process is killed. Make sure your OBS is set up to record in a format which can playback despite such an interruption (for example, use x264).

The advantage of using OBS is that you can also set up recording of e.g. camera feeds, connected to the laptop and more.

Download and installation instructions

  1. Download Open Broadcaster Software and configure it to your needs.
  2. Download the OBS Screenrecord Unity package.
  3. Install the Unity OBS Screenrecord package in Unity (Assets -> Import Package -> Custom Package).
  4. Press the Play button in Unity. You should now see the OBS tray icon appear in the bottom. When you press Stop, the process is killed.

About

Script to automatically screen record unity projects for using Open Broadcaster Software (OBS).

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages