OBS Studio crashing cause of avcodec-58.dll

Hagelslag

New Member
Hey there!
A friend of mine recently has issues with streaming with his PC.
I analyzed the settings and already updated his amd chipset drivers, gpu drivers, ran obs as an administrator, changed sample rates of the audio settings, removed/reinstalled OBS and removed all user settings and then optimalized the scenes using game capture but it's still crashing after 2-3 minutes of streaming or recording. I analyzed the crash logs from OBS and basically every crash has this in the logs:

Unhandled exception: c0000005
Fault address: 7FFB25E86D5A (c:\program files\obs-studio\bin\64bit\avcodec-58.dll) as the main cause.(Every crash log has this main fault address and dll)
Thread 644: audio-io: audio thread (Crashed)

These are the specs:

AMD Ryzen 5 3600
Corsair Vengeance LPX 16GB 3000MHZ
ASRock Steel Legend B450M
500 Watt Psu
Gigabyte Geforce GTX 1660 Super

Could it be a hardware problem? The PC runs fine on the audio/gaming side though. Might also be noteworthy that SLOBS has the same issue on this PC..
Attaching the logs to analyse it as well.
Many thanks in advance if you possibly have some pointers for us to check or a solution :-)

Kind regards,
Hagelslag
 

Attachments

  • Log.txt
    13 KB · Views: 41
  • Crash.txt
    90 KB · Views: 42

TheDirewolf

New Member
On the Discord server I did get a response saying that it looked like my crashes were audio related (as do yours) and they suggested I try the CoreAudio AAC encoder instead of the FFMPEG AAC encoder. They provided this link for details:

http://obsproject.com/forum/resources/220/

and this mega link to the installers so I wouldn't have to unzip them myself:

https://mega.nz/folder/kMMQ0RAJ#yQDCNvnkvFIb0crQd1psxw

I've installed the files, but I won't be streaming again til tomorrow night so I don't know yet if it solved my issue or not. If it fixes it for you let me know!


Another question, since the crash appears audio related, are you running a GoXLR?
 

Hagelslag

New Member
On the Discord server I did get a response saying that it looked like my crashes were audio related (as do yours) and they suggested I try the CoreAudio AAC encoder instead of the FFMPEG AAC encoder. They provided this link for details:

http://obsproject.com/forum/resources/220/

and this mega link to the installers so I wouldn't have to unzip them myself:

https://mega.nz/folder/kMMQ0RAJ#yQDCNvnkvFIb0crQd1psxw

I've installed the files, but I won't be streaming again til tomorrow night so I don't know yet if it solved my issue or not. If it fixes it for you let me know!


Another question, since the crash appears audio related, are you running a GoXLR?

Hey man! Many thanks for your input. I'm going to try this.
Let me know if this worked for you. I saw your logs and it seems you are using a GOXLR. In our case, we don't. But we have the same similar issue though. Hopefully this workaround works out for you.
Will let you know if this worked out for us.
 

Hagelslag

New Member
On the Discord server I did get a response saying that it looked like my crashes were audio related (as do yours) and they suggested I try the CoreAudio AAC encoder instead of the FFMPEG AAC encoder. They provided this link for details:

http://obsproject.com/forum/resources/220/

and this mega link to the installers so I wouldn't have to unzip them myself:

https://mega.nz/folder/kMMQ0RAJ#yQDCNvnkvFIb0crQd1psxw

I've installed the files, but I won't be streaming again til tomorrow night so I don't know yet if it solved my issue or not. If it fixes it for you let me know!


Another question, since the crash appears audio related, are you running a GoXLR?

Tried this! But unfortunately it's still giving me the dreaded audio crashed error with avcodec.

Going to try a clean Windows 10 install now. Did you manage to sort it out? I saw your streams with no problems whatsoever.So I'm guessing you fixed it at your side!
 

TheDirewolf

New Member
It's become more rare... but no unfortunately didn't fix it. Oddly it hasn't happened to me during a stream recently but it has crashed like this when recording some games outside of stream. I actually never had this issue until a recent clean reinstall of Windows lol, but hopefully that does it for you.
 

Hagelslag

New Member
It's become more rare... but no unfortunately didn't fix it. Oddly it hasn't happened to me during a stream recently but it has crashed like this when recording some games outside of stream. I actually never had this issue until a recent clean reinstall of Windows lol, but hopefully that does it for you.

Hey man reporting back as I have fixed the problem.
When I installed the Apple Application 64 bit Support files another problem existed, the simple_aac something couldn't load when opening a stream or recording a session. Even after reinstalling a clean Win10 the problem still existed. After replacing ram / ssd / mobo / psu / and even case it still had the same problems.
So we replaced the CPU and everything is working fine now.
I'm not actually sure if this will fix your problem but for us, it instantly fixed the problem. If you happen to have a spare Ryzen processor maybe you can swap it out temporarily to rule out it's the CPU that's been giving this dreadful error.
Hopefully others will benefit from this information in the future and you can permanently fix it!

Cheers
 

ArslanRuslan

New Member
Ya, I'm in the same boat. Also Ryzen processor.
Ryzen 9 3900X

crash log
obs-studio\config\obs-studio\crashes\avcodec-58.dll!0x7ffc403ad5ff
 
Top