Question / Help My desktop audio won't record even though the green bar lights up as if it's being recognized

joseph42762

New Member
This started happening randomly out of nowhere. Everything works okay until I play my recording and realize it's missing any desktop audio. I've tried using default, speakers, and both at once to no avail. The sound mixer shows me that it's recording when there is audio, but it doesn't anything at all. Everyone once in a while it picks up all the desktop audio in a recording which confuses the everlasting crud out of me.
I connect my mic and my headphones through Focusrite Scarlett 2i4 (2nd Gen). Could that be a problem?
 
Last edited:

Creaturiste

New Member
Same issues for me right now: random dropping of the Desktop Audio, while all indicators are showing it normally.
My temporary fix: restarting Obs when it happens, IF I notice (or viewer tells me I'm bopping to inaudible music). But the problem comes back on its own in minutes or hours. I'm sure now that it's not my audio interface's problem.
My Obs Studio says there are no updates available.
Does someone from OBS check posts in here? Yours has no replies, 13 days later.
Asking, cause I'm new here, and worried.
 

Narcogen

Active Member
Just so this doesn't go without any replies:

People supplying support here are volunteers, and generally just other users of the software. OBS only has a single full-time developer right now, at least as far as I know. (I am just a user and not a developer of any sort.)

I generally reply when I know I have experience relevant to the problem, and/or when I have same/similar equipment so that I can try and replicate a problem before suggesting a solution. I don't have a Scarlett audio interface, for instance.

Audio problems are not uncommon but often both the problem and the solution are upstream of OBS.

Neither post above includes a logfile as per the stickied request at the top of each support forum. It's generally not possible to offer helpful advice without a full logfile from a streaming or recording session, preferably one in which the particular problem was observed.
 

Narcogen

Active Member
19:15:51.103: ==== Recording Start ===============================================
19:15:51.103: [ffmpeg muxer: 'adv_file_output'] Writing file 'D:/CAP/Captured Video/2019-09-04 19-15-50.mp4'...
19:15:59.286: [ffmpeg muxer: 'adv_file_output'] Output of file 'D:/CAP/Captured Video/2019-09-04 19-15-50.mp4' stopped
19:15:59.286: Output 'adv_file_output': stopping
19:15:59.286: Output 'adv_file_output': Total frames output: 182
19:15:59.286: Output 'adv_file_output': Total drawn frames: 196
19:15:59.286: ==== Recording Stop ================================================
19:15:59.348: warning: 2 frames left in the queue on closing
19:16:12.969: Max audio buffering reached!
19:16:12.969: adding 998 milliseconds of audio buffering, total audio buffering is now 1044 milliseconds (source: Desktop Audio)
19:16:12.969:
19:21:42.223: [jim-nvenc: 'streaming_h264'] init_encoder: nvEncGetEncodePresetConfig failed: 15 (NV_ENC_ERR_INVALID_VERSION)



The above looks like a test session, as it's only ten seconds long, but during it, your desktop audio source hits max audio buffering (generally a sign of system overload) and then an NVENC encoder error occurs. I've seen that last one crop up either when there are too many NVENC sessions (simultaneous streaming/recording, using VR apps, running ShadowPlay as well as OBS, or sometimes just a corrupted media source that causes the encoder to error out, which can result in black screen, stuttering, or audio dropouts.
 

Creaturiste

New Member
Mmh, that's strange, as I uploaded the log file during a stream, which had been going on for a while. Maybe I should have stopped the stream before uploading. The problems you describe are not clear to me. I only stream with OBS, nothing else runs audio except for the music from online sources, though Desktop Audio. When the problem occurs, it seems random, as I'm not changing anything. People eventually just tell me music is gone.

I do use the recording function as I stream, only once it's been revealed that the issue is back again, to test the audio problem, as I've noticed that if the recording uses desktop audio, then the problem is gone for that time being.
 

Narcogen

Active Member
Yes, you need to stop an output session before uploading the log or the session data is not written to the log.
 
Top