Question / Help Crash when using video media source

Wootball

New Member
My MP4 media source (used as a background during a Just Chatting scene of my stream) is, for whatever reason, causing OBS to crash without any alerts. If I remove the MP4 source (simply unshowing it) this issue stops and the program does not crash. On the scene in question it doesn't matter what other sources are present - it's happened on any scene which has the MP4 media source. I know that I can just remove it and use a static image, but it takes away production value. Is there any way to prevent this or any idea as to why it's happening?

Crash log:

https://obsproject.com/logs/j4PFGqZp2EqRZ-Ty

Full OBS log:

https://obsproject.com/logs/Lo2gx84sYHgVFcp2
 

koala

Active Member
That mp4 has damaged audio or video data. Obtain the original undamaged version. Or if you created it by yourself, create it again from its sources. You also may try to recode it with Handbrake (recode, not only remux). This way it is uncompressed and encoded again, possibly the broken parts removed/repaired. Often such broken parts are not visible or audible. But it is also possible that Handbrake chokes on that video as well, since it also uses ffmpeg internally as decoder/encoder, just like vlc or OBS itself.
 

Wootball

New Member
Koala, thanks for your reply. Since the mp4 is only approximately 9 seconds long, wouldn't this issue manifest immediately rather than once the scene containing it has been open for 45 minutes? For context, I have OBS open when I'm setting up or doing other things, and it opens on my stream starting screen which also contains the same mp4. It doesn't crash immediately, it seems to be after 45 minutes to an hour of the mp4 being open.

I'll definitely try to recode the mp4 however and see how we get on.
 

koala

Active Member
Difficult to say. Your mp4 is set to "is_looping", so it is automatically replayed continuousy. In the log, you can also see this error every few seconds, probably at each replay:
19:05:13.170: warning: mjpeg_decode_dc: bad vlc: 0:0 (00000240B21EAA88)
May be the error doesn't lead to an immediate crash, but some kind of memory leak that increases from loop to loop until OBS finally crashes.
 

Wootball

New Member
Many, many thanks for your responses. I've re-encoded the video now using handbrake, so I'll test it tonight and see what happens. Again, thank you.
 

Wootball

New Member
Difficult to say. Your mp4 is set to "is_looping", so it is automatically replayed continuousy. In the log, you can also see this error every few seconds, probably at each replay:
19:05:13.170: warning: mjpeg_decode_dc: bad vlc: 0:0 (00000240B21EAA88)
May be the error doesn't lead to an immediate crash, but some kind of memory leak that increases from loop to loop until OBS finally crashes.

Re encoding and adding the new video appears to have done the trick - there's nothing regarding the video in the logs anymore, no errors, and I left the screen running for over 3 hours tonight with no crashes at all - thank you SO MUCH for the help, I mean that <3
 

CBCC

New Member
We have also been receiving the obs has crashed report. I have looked at the crash report and I don't understand what I am looking for any help would be very much appreciated
 

Attachments

  • Crash 2023-02-01 10-58-24.txt
    150 KB · Views: 22
Top