Question / Help Scene with Video Source Plugin Loads Very Slowly

speedy

New Member
Logs

Link


Problem
I have three scenes: 'Starting Soon', 'Be Right Back' and 'Games'. They should be pretty self explanatory. I start off with Starting Soon, and everything is fine. As soon as I want to switch to the Games scene, OBS seems to freeze until my intro slate is done. The intro slate should play for around 5 seconds and then should be gone. The audio from the intro plays, however there is no video. The intro is added as a global source, even though it is only 4MB; the other global source I have is my webcam.
Other sources I have in the 'Games' scene:

  • Intro Slate (Video Source Plugin) (Global Source)
  • Webcam Border (Image)
  • Webcam (Global Source)
  • Twitch Alerts (CLR Browser Plugin)
  • Donations (CLR Browser Plugin)
  • Now Playing (Song Names) (Local Text File)
  • Overlay (Image)
  • Game (Game)
  • Background (Image)

Everything besides the Intro Slate seems to load fine. If I load up the Intro Slate on a different source by itself, it works fine.
I also moved the intro slate file to a different hard drive to see if the hard drive is the issue - it is not.

Thanks!
 

FerretBomb

Active Member
Video sources take a while to load, as OBS doesn't pre-load them. Videos set as Global sources will play once, and then stop and not play again. Global sources are only loaded the first time they are used, so setting it Global will not pre-load it. Videos set as Global sources will also continue to play audio in the background, even if they aren't in the current scene.

Most I know who use an intro video also have a copy of their title slate on their 'greeting' scene. Video as non-global. Switch from countdown-scene to greeting scene, let the intro video load and play. While it's playing over the top of everything, disable the title slate layer (behind the video) so when the video ends it just clears to the greeting scene. Also disable the video layer after it's done running, so it doesn't play again when you switch back to it (if you use a single scene for audience interaction, intros and outros). Also lets you enable a video layer for your cast-end and transition that way.

Really though, this falls under working out workarounds for OBS' lack of custom transitions. Hopefully OBS-MP will get them added soon(ish), along with the rest of the Classic feature-parity, and a UI rework from the pretty terrible one it has now, so workarounds like these aren't needed.
 

speedy

New Member
Video sources take a while to load, as OBS doesn't pre-load them. Videos set as Global sources will play once, and then stop and not play again. Global sources are only loaded the first time they are used, so setting it Global will not pre-load it. Videos set as Global sources will also continue to play audio in the background, even if they aren't in the current scene.

Most I know who use an intro video also have a copy of their title slate on their 'greeting' scene. Video as non-global. Switch from countdown-scene to greeting scene, let the intro video load and play. While it's playing over the top of everything, disable the title slate layer (behind the video) so when the video ends it just clears to the greeting scene. Also disable the video layer after it's done running, so it doesn't play again when you switch back to it (if you use a single scene for audience interaction, intros and outros). Also lets you enable a video layer for your cast-end and transition that way.

Really though, this falls under working out workarounds for OBS' lack of custom transitions. Hopefully OBS-MP will get them added soon(ish), along with the rest of the Classic feature-parity, and a UI rework from the pretty terrible one it has now, so workarounds like these aren't needed.

Hey,

After playing around more with it today I noticed it was my camera that was causing the problem - after turning that source off the scene loaded fine.

What I've done to solve this problem was I added my webcam (Global Source) to my "Starting Soon" scene under everything that way it is not seen but still loads.

That way when I switch to my main scene, it doesn't have to load & cause lag.

Thanks!
 
Top