partouf / OBSInfoWriter

Multiplatform version of ObsInfoPlugin to write timestamps to a file
Mozilla Public License 2.0
142 stars 23 forks source link

OBSInfoWriter

Multiplatform version of ObsInfoPlugin to write timestamps to a file.

Plugin thread on the OBS forums: https://obsproject.com/forum/resources/infowriter.345/

For the original OBS-classic version, go to https://github.com/partouf/ObsInfoPlugin


Installation

Just use the installer...

Windows

Linux

MacOSX

Configuration

Filename formatting options

You can name a Logfile to be saved with variables that may change every time you start a recording or stream. You can name your logfile for example: "C:\temp\recording %Y%m%d.txt" to tell InfoWriter to name your file "recording 20180204.txt" when it's the 4th of February 2018. More variables can be found at http://www.cplusplus.com/reference/ctime/strftime/

Format options

The format option is very limited in it's use, the variables in the formatting are translated to hours:minutes:seconds from when the recording or stream was started, %02d is only to indicate that there is a preceding 0 for the numbers 0 to 9. It is recommended the default value is not changed.

What is possible that might improve logging is that you can put spaces or a \t tab character in front of the format, so your log times are indented in between the start and stop of the recording or stream.

More hotkeys

Contributed by https://github.com/RetroGamer74 Hotkeys List Sample

NEW CHANGES (TheTawnyFool)

Contributed by https://github.com/TheTawnyFool

Changed the output to log seperate timers for recording and streaming. Allows for indepedent timestamps of streaming and recordings at the same time. 

Updated to fix problems with OBS newer update to allow pausing in recordings.  Now when you pause a recording, the recording timer used by the hotkeys will pause until you resume the recording.  This way the record timer offsets of the hotkey events to be synced correctly with the video. The streaming timer will not pause if you are tracking both.

Checkbox to log streaming events

  Allows turning on and off logging relating to streaming. Recommend to leave off if not streaming, and or not wanting to log timers relating to streaming.

Building

You can quickly start working on this project by building it locally.

First, you need to ensure to have necessary dependencies. OBSInfoWriter is dependent on OBS Studio project that can be found at https://github.com/obsproject/obs-studio You should have OBS Studio available locally. Necessary instruction is available at https://github.com/obsproject/obs-studio/wiki/Building-OBS-Studio but keep in mind that platform specific instructions are available on separate wiki pages. Other dependencies are downloaded automatically when generating the project using CMake.