OBS crashing when using ffmpeg ALAC
Had a weird issue tonight where OBS kept crashing when trying to stream to YT. I couldn't figure out what was causing it, and then I noticed the log mentioned ffmpeg. I realized that I recently changed my audio encoder from ffmpeg PCM 32-bit float to ffmpeg ALAC. So I changed it back to PCM and that fixed the problem.
Any idea why ALAC would be crashing my OBS?
https://obsproject.com/tools/analyzer?log_url=https%3A%2F%2Fobsproject.com%2Flogs%2F8UtDOiUY8m9xgsDh
Analyzer | OBS
OBS (Open Broadcaster Software) is free and open source software for video recording and live streaming. Stream to Twitch, YouTube and many other providers or record your own videos with high quality H264 / AAC encoding.
4 Replies
Here's the crash log: https://obsproject.com/logs/gcUAvLn2BfbCq58v
hmm. Per this crash log, it seems to be related to vertical canvas plugin starting a replay buffer. It dosent sound related to your theory of the ALAC vs PCM audio, but maybe 😅
Well, switching from ALAC to PCM made OBS stop crashing, so 🤷♂️
The replay buffer uses the recording audio encoder, so it’s still consistent with the theory.
If it’s not related to ALAC vs PCM, I’d be confused why switching back to PCM fixed the crash
good question 😅 I do not have the answer. If you can upload a a few more crashlogs, and they all say its from spawning the encoder via the vetical plugin, then maybe it is specific to it + alac. Sounds a stretch, I know, but if its just alac, then we should see it when spawning the other encoder as well I would imagine (you could just start, rec 5 sec, stop, repeat 50 times or so with the default encoder to confirm perhaps)