Long delay from when i press to save a replay and when it actually saves it (even tho the clip is correct, it just saves it after a while)

ThatRonin8

New Member
Hi everyone, so my issue here is that when i do press the hotkey to save a reply buffer, it takes a while (we're talking 30-50 seconds) before it actually saves it (and it's not even consistent, maybe one day i do have this issue, and the next one everything works just fine).

Now let's add a bit of background, maybe it's useful:
  1. To save my replay buffers i use a macro key on my keyboard (Corsair K55 RGB PRO XT) to press both "alt" and "f6", which are the two keys i've assigned in the OBS Hotkey's setting to save a replay buffer. This one has always worked, so i don't think it's the issue here (i hope)
  2. i've installed the sequent scripts: Smart Replays, Advanced Filename Formatter, Sound notification when i record/start a replay + the audio monitor plugin
Hope everything it's clear, i am here in case something is not 100% clear or you guys need a bit more context/specific info.
Thanks in advance
 

Attachments

  • 2024-12-17 01-23-30.txt
    34.7 KB · Views: 6

Suslik V

Active Member
Please, add the same hotkey to the "Show Source Toolbar" and "Hide source Toolbar" in OBS, so it will be logged and can be used as indicator that there is some delay between hotkey press and buffer wrote. The mentioned actions are not destructive and thus shouldn't change the result.
 

ThatRonin8

New Member
Please, add the same hotkey to the "Show Source Toolbar" and "Hide source Toolbar" in OBS, so it will be logged and can be used as indicator that there is some delay between hotkey press and buffer wrote. The mentioned actions are not destructive and thus shouldn't change the result.
Done.
I'll upload the log when i'll record again, thanks (probably in 12h)
 

ThatRonin8

New Member
Ok, i've done as you said.
1734655213706.png

i've used the same hotkey that i use for saving the replays and added it for showing the source toolbar as well.
Here's the link to the log file (that i'll also add on this post); in this log i've had the delay issue i was talking about (log "2024-12-20 00-56-02").
I've also attached another log file, because in the second one that i've attached (log "2024-12-19 21-59-40") not only i had the delay when saving clips, but those clips were laggy (the issue here might be simply me not properly adjusting the settings for recording in 2k, but idk).

thanks in advance
 

Attachments

  • 2024-12-20 00-56-02.txt
    52 KB · Views: 5
  • 2024-12-19 21-59-40.txt
    83 KB · Views: 1

Suslik V

Active Member
Code:
00:56:11.352: Hiding Context Bar due to hotkey
00:56:11.745: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...

00:59:22.957: Showing Context Bar due to hotkey
00:59:42.780: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...

01:21:37.353: Hiding Context Bar due to hotkey
01:21:51.879: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...

01:35:25.184: Showing Context Bar due to hotkey
01:37:32.782: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...
This is:
~0.393s
~19.823s
~14.525s
~2min 7.597s
of delay between key press and replay buffer wrote. The last 3 is a huge delay for 180sec clip. I never seen it being reported before.

I only know that significant changes of the replay buffer code were between v30.1.2 and v30.2.3 (you are using). Can you try to test it with the older (v30.1.2) OBS? You may use OBS portable mode in different folder and export/import profiles and scene collections ( for portable, please, read only after "if it was not clear" words: https://obsproject.com/forum/thread...»-when-opening-app-settings.82157/post-346499 )
 

ThatRonin8

New Member
Code:
00:56:11.352: Hiding Context Bar due to hotkey
00:56:11.745: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...

00:59:22.957: Showing Context Bar due to hotkey
00:59:42.780: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...

01:21:37.353: Hiding Context Bar due to hotkey
01:21:51.879: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...

01:35:25.184: Showing Context Bar due to hotkey
01:37:32.782: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...
This is:
~0.393s
~19.823s
~14.525s
~2min 7.597s
of delay between key press and replay buffer wrote. The last 3 is a huge delay for 180sec clip. I never seen it being reported before.

I only know that significant changes of the replay buffer code were between v30.1.2 and v30.2.3 (you are using). Can you try to test it with the older (v30.1.2) OBS? You may use OBS portable mode in different folder and export/import profiles and scene collections ( for portable, please, read only after "if it was not clear" words: https://obsproject.com/forum/threads/crash-with-«could-not-find-locale-ini-path»-when-opening-app-settings.82157/post-346499 )
just to be sure i got that right, i have to follow these steps you linked me, but on the step 1 (where i have to download the .zip file from github), i have to download the 30.1.2 version, right?

Sorry if this was obvious, i just wanted to be sure
 

ThatRonin8

New Member
Code:
00:56:11.352: Hiding Context Bar due to hotkey
00:56:11.745: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...

00:59:22.957: Showing Context Bar due to hotkey
00:59:42.780: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...

01:21:37.353: Hiding Context Bar due to hotkey
01:21:51.879: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...

01:35:25.184: Showing Context Bar due to hotkey
01:37:32.782: [ffmpeg muxer: 'Replay Buffer'] Wrote replay buffer to...
This is:
~0.393s
~19.823s
~14.525s
~2min 7.597s
of delay between key press and replay buffer wrote. The last 3 is a huge delay for 180sec clip. I never seen it being reported before.

I only know that significant changes of the replay buffer code were between v30.1.2 and v30.2.3 (you are using). Can you try to test it with the older (v30.1.2) OBS? You may use OBS portable mode in different folder and export/import profiles and scene collections ( for portable, please, read only after "if it was not clear" words: https://obsproject.com/forum/threads/crash-with-«could-not-find-locale-ini-path»-when-opening-app-settings.82157/post-346499 )
Ok, i've followed the instructions, and did this with Obs Portable 30.1.2. I've attached the log
 

Attachments

  • 2024-12-21 00-39-46.txt
    27.3 KB · Views: 6

Suslik V

Active Member
In this session you forgot to assign the "Show Source Toolbar" and "Hide source Toolbar" hotkeys. So, it is impossible to say if there was any delay.

Anyway, what may cause the issue, my opinion:
  1. OBS internal logic failure (it is strange that it wasn't reported before).
  2. Interfere of the external application that prevents some operations with the memory (can be security software, but I hope you have your OBS folder whitelisted).
If nothing helps, then some developers can be found in Discord (link in the upper right corner of the forum) - give it a try.
 

ThatRonin8

New Member
In this session you forgot to assign the "Show Source Toolbar" and "Hide source Toolbar" hotkeys. So, it is impossible to say if there was any delay.

Anyway, what may cause the issue, my opinion:
  1. OBS internal logic failure (it is strange that it wasn't reported before).
  2. Interfere of the external application that prevents some operations with the memory (can be security software, but I hope you have your OBS folder whitelisted).
If nothing helps, then some developers can be found in Discord (link in the upper right corner of the forum) - give it a try.
oh yeah, mb i forgot. I thought the profile that i've imported already had that, i forgot i've added the hotkeys in a second moment
 
Top