OBS stops recoding, but I can't stop recording.

Stonie08

New Member
Hello,

Recently my OBS 26.0.2 started having issues with recording. When using my AMD GPU (x265) as encoder, seemingly randomly the Disk "Disk full in (approx.)" field will change to a big, negative number. When I then press ""Stop Recording" the button changes to "Stopping recording..." and stays like that. Additionally the "REC:" counter keeps incrementing. If I quit OBS by pressing X, I get the dialogue asking I really want to quit because OBS is currently active. Confirming that closes the OBS window, however, it still stays in the taskbar and I have to exit it via the task-manager.
The recording is only good until the "Disk full in" stat changed it's value a negative number. This makes is especially annoying since there's no other indication that recording stopped working. Furthermore, the first time this issue appeared this also crashed a stream that was done with CPU encoding in parallel. It also seems that the first recording works fine for much longer, but stopping and starting a second one will result in this behaviour within a few minutes.

2020-11-28 01_20_34-OBS 26.0.2 (64-bit, windows) - Profile_ Unbenannt - Scenes_ Unbenannt.png

The Logfile for 26.0.2 can be found at: https://obsproject.com/logs/g_O7UX7jSVrwo63N
I'm using Windows 10 (10.0.19041 Build 19041)


More things I tried:
Fully Reinstalled OBS (including deleting user settings)
Downgraded OBS to 25.0.8 (https://obsproject.com/logs/2-7VPOJdIYr5L23v)
Downgraded AMD driver from 20.11.2 to 20.9.2 and also reinstalled 20.11.2
Used a different drive to save the recoding to


I did some tests and this might be an issue with only the GPU encoding, as I couldn't reproduce it with only the CPU encoding acitve. However, it doesn't seem to be connected to e.g. #3767 as I updated to 20.11.2 as a result of having the issue and also rolling back to 20.9.2 didn't fix it. Contrary to the other bug I can also add any bitrate number in the bitrate field.
 

Stonie08

New Member
Thanks for your reply.

I should add: I was usually recording to my HDD, but tried to switch to an SSD (should have clarified that in the things I tried section).
Total sytem RAM usage is relatively low. I'm sitting at around 7-9GB/32GB. Memory usage in OBS is shown as sub 400MB. GPU Encode in Task Manager sits at around 53% during the encoding and then sits at 0% after the counter changed. I still need to observe what happens between working and non-working recording, though

Edit I just checked and "Video Encode" just falls to 0. No, spikes in RAM usage or anything else.

2020-11-30 20_34_07-Task-Manager.png
 
Last edited:

Stonie08

New Member
This issue seems to be related to OBS and the h265/HEVC Encoder of the AMD Advanced Media Framework. I tried changing the settings to h264/AVC and couldn't observe any issues so far. h265/HEVC encoding works perfectly fine with AMD relive so there's probably an issue with OBS in conjunction with the media framework.
If someone knows the "secret password or procedure" for creating an issue on github without getting closed within minutes, let me know.
 

G337

New Member
Yep, almost a year after and I have the same issue, couldn't find a fix.

The only solution is to use h264/AVC
 

NewGrafon

New Member
Yeah, have the same problem
Switching to H.264 helps me

OBS version: 30.1.2
PC Stats:
i7-9700kf
RTX 2060 Super (Use HDMI connection to monitor)
 
Top