partouf / OBSInfoWriter

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

Double log files created, one at stream start another for all subsequent logging and stream/record end events #46

Open tedewen opened 3 years ago

tedewen commented 3 years ago

I am getting two files for each session. I both stream and record. Both InfoWriter logs are created on starting the stream. The first contains only the stream start log entry. The second contains all hotkey logs and the stream ending log entries.

Settings

Format: %d.%02d.%02d (Contains 5 leading spaces which are lost when posting here) Logfile: D:/rawvideo/%Y.%m.%d-%H.%M.%S - Video Timestamps.txt Log scene changes = true Log intermediate absolute times = true Log hotkey specifics = true

Output on start stream

2021.07.12-11.20.28 - Video Timestamps.txt

EVENT:START RECORDING @ 2021-07-12 11:20:28 0.00.00 Record Time Marker

Note: no further events are appended to this file. All logged events go to the next file:

Output after pressing hotkey

2021.07.12-11.20.29 - Video Timestamps.txt

2021-07-12 11:20:29 0.00.01 Record Time Marker

HOTKEY:Marker at @ 2021-07-12 11:20:34 0.00.06 Record Time Marker

HOTKEY:Marker at @ 2021-07-12 11:20:38 0.00.10 Record Time Marker

HOTKEY:Marker at @ 2021-07-12 11:20:40 0.00.12 Record Time Marker

EVENT:STOP RECORDING @ 2021-07-12 11:20:42 Record Time Marker Reset to 0 0.00.00 Record Time Marker (not recording)

EVENT:STOP STREAM @ 2021-07-12 11:20:42 Stream Time Marker Reset to 0 0.00.00 Record Time Marker (not recording)

partouf commented 3 years ago

Thanks for the report. I've never really tested these 2 options together.

You can of course work around this by not using seconds in your filename (unless you happen to press record and stream just when the minute switches, but that's less likely).

I could take a look at it in depth next week, but that workaround is your best bet.