I'm having a problem that may have the same causes. OBS studio has been capturing the display and desktop sound reliably; but, it now has the "Stopping Recording" issue, not ever finishing even if left for hours on a 55 minute recording. If I stop it by clicking the button displaying the "Stopping Recording" message, it does stop. I'm using flv format and about 50% of the recording is included in the file captured.
Recently, I'd added the Virtual Cam plugin and setup a new scene for using it to provide a virtual background for various conferencing programs. This continues work properly, and so far, does a good job. I'm not sure if it is involved with the "Stopping Recording" failure or not.
I've tried rebooting; but, not uninstalling either the plugin or OBS. I decided to hold off based on seeing this thread and others where the problem was reported without any reference to the Virtual Cam plug in; and, saw no reports related to the plugin mentioning this problem.
I'm new to OBS. I've attached the log of the most recent attempt. I noticed one issue that appeared to be related to the audio capture:
10:37:53.799: [CoreAudio encoder]: Adding CoreAudio AAC encoder
10:37:53.803: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
10:37:54.072: [AMF] Unable to load 'amfrt64.dll', error code 126.
10:37:54.081: [AMF] AMF Test failed due to one or more errors.
10:37:54.082: Failed to initialize module 'enc-amf.dll'
After stopping the recording using the hotkey, there was apparantly another audio issue indicated
12:53:12.615: Device 'Speakers (3- Logitech USB Headset)' invalidated. Retrying
The portion of the recording that was made had proper sound.
So, not sure if any of htis is related to the "Stopping Recording" failure problem. Thought I'd report it in case it made sense to others more familiar with OBS Studio. Let me know any questions.
Carl