Hi, I'm having a problem with OBS Studio. When I add too many "media sources" to my project, OBS crashes, freezing my entire PC, and then I have to restart my PC to get back to it.
It seems that OBS can't load everything when it starts and crashes.
1º attempt to solve this problem:
I converted all the videos to a more acceptable resolution in OBS .webm (VP8), and it still crashes when it starts.
2º attempt to solve this problem:
I also tried separating the videos into several different scenes to avoid overloading them, but that didn't work either; OBS crashes when it starts.
- I'll explain exactly what I'm trying to do in my project. In the "Streamlabs Chatbot" commands, I have several commands that, when the live user types the command in the chat, play a video (meme) on the live screen. The script is in Python.
- When someone types "!1" in the live chat, the OBS "media source" called "1-Meme - Silvio Santos, Ma aoeee kkk" plays on the screen, which is a video (meme) "1-Meme - Silvio Santos, Ma aoeee kkk.webm" for 4 seconds. So far, so good, it's working perfectly, but when I add 30, 50, 80...etc. "media sources," OBS starts to crash, and I can't add all the media from my project to the "Streamlabs Chatbot" commands.
3º attempt to solve this problem;
Since I can't add many "media sources" to OBS, I tried creating one "media source" named "MemeCommands" and creating a script in the "Streamlabs Chatbot" commands that, when triggered, automatically updates the "media source" video from "MemeCommands" to the specific command video.
- Example: in the "Streamlabs Chatbot" command "!1", I placed the code in the "Action / response" field.
The problem is that when I'm live and type the command !1 to trigger this script, the "MemesComandos" source is visible for 4 seconds, but no video plays, and then it becomes invisible. The live chat displays this message: "$OBSSourceSettings("MemeComandos","local_file","D:\Documents\MEMES\Icones tela verde\webm VP8\1-Meme - Silvio Santos, Má aoeee kkk.webm")" The code probably went wrong, right? How can I fix this?
Can anyone with more knowledge in this area tell me what I should do to try to solve this problem?
I didn't post any logs because I reverted to my previous configuration, due to OBS freezing.
It seems that OBS can't load everything when it starts and crashes.
1º attempt to solve this problem:
I converted all the videos to a more acceptable resolution in OBS .webm (VP8), and it still crashes when it starts.
2º attempt to solve this problem:
I also tried separating the videos into several different scenes to avoid overloading them, but that didn't work either; OBS crashes when it starts.
- I'll explain exactly what I'm trying to do in my project. In the "Streamlabs Chatbot" commands, I have several commands that, when the live user types the command in the chat, play a video (meme) on the live screen. The script is in Python.
- When someone types "!1" in the live chat, the OBS "media source" called "1-Meme - Silvio Santos, Ma aoeee kkk" plays on the screen, which is a video (meme) "1-Meme - Silvio Santos, Ma aoeee kkk.webm" for 4 seconds. So far, so good, it's working perfectly, but when I add 30, 50, 80...etc. "media sources," OBS starts to crash, and I can't add all the media from my project to the "Streamlabs Chatbot" commands.
3º attempt to solve this problem;
Since I can't add many "media sources" to OBS, I tried creating one "media source" named "MemeCommands" and creating a script in the "Streamlabs Chatbot" commands that, when triggered, automatically updates the "media source" video from "MemeCommands" to the specific command video.
- Example: in the "Streamlabs Chatbot" command "!1", I placed the code in the "Action / response" field.
$OBSSourceSettings("MemeComandos","local_file","D:\Documents\MEMES\Icones tela verde\webm VP8\1-Meme - Silvio Santos, Má aoeee kkk.webm") $OBStimedSource("MemeComandos", "onoff", "4")
The problem is that when I'm live and type the command !1 to trigger this script, the "MemesComandos" source is visible for 4 seconds, but no video plays, and then it becomes invisible. The live chat displays this message: "$OBSSourceSettings("MemeComandos","local_file","D:\Documents\MEMES\Icones tela verde\webm VP8\1-Meme - Silvio Santos, Má aoeee kkk.webm")" The code probably went wrong, right? How can I fix this?
Can anyone with more knowledge in this area tell me what I should do to try to solve this problem?
I didn't post any logs because I reverted to my previous configuration, due to OBS freezing.