video delay/black camera screen when switching between scenes

hp.rooms

New Member
We have been using OBS for our church livestream since March 2020 (COVID) no issues. Since updating OBS to the latest version in November we are experiencing the following issues every Sunday.

We start the stream 10 minutes early with a welcome scene (welcome picture stating the stream will start soon). After the 10 minute mark we move to the camera scene which starts but is delayed 10 minutes back and NOT live. It runs for a few minutes then crashes and we have to stop and restart the stream all over again. At that point we only use the Camera scene and the stream is fine the entire time after that. Not sure what is causing the disconnect/lag when using the welcome screen scene for 10 minutes then moving to the live camera scene. Again this has never been an issue in the past until the latest update of OBS.

Any help/recommendations are greatly appreciated!

Logs from a test stream to replicate the issue:

 

Lawrence_SoCal

Active Member
We have been using OBS for our church livestream since March 2020 (COVID) no issues. Since updating OBS to the latest version in November we are experiencing the following issues every Sunday.

We start the stream 10 minutes early with a welcome scene (welcome picture stating the stream will start soon).

From your 10 minutes prior, I'm assuming a Scheduled Live Facebook stream, right?
If yes, Are you using FB's Live Producer to preview stream, watch stream health, etc?

After the 10 minute mark we move to the camera scene which starts but is delayed 10 minutes back and NOT live.
I'm not following.
For reference, I'm in same position (covid induced livestreaming House of Worship service using OBS). I use Advanced Scene Switcher to automate a lot of this (the switch to specific scene at 10 minutes prior, switch based on time to live scenes, etc.) I also use that plug to automate start of recording, as well as end stream/recording (after Join us at virtual Coffee hour, and copyright slides)
For me, I've stuck with v25.0.8 as I don't need virtual camera and was willing to let others be on bleeding edge.. ;^)

So please clarify your comment, being explicit about switching to a scene, where delay is ? OBS, FB? etc
Unlikely to be related, but when I schedule FB Live Video, I do NOT use a Persistent Key (retrieve/copy morning of stream) and I disable default FB setting to end stream if disconnected

For reference, for a service at 10a, our actual scheduled Livestream start time is 10 minutes prior (to give people time to connect), with a countdown timer, and some pre-recorded videos (Prelude, walk-up video, announcements, etc... including Advent wreath lighting at moment). As such, between 9:30->9:40a, I actually start the stream (visible at FB's Live Producer). FB then goes live on schedule at 9:50a with whatever I have OBS streaming at that point, and typical viewer lag is 15->45 seconds (depending on receiver ISP and device). My OBS setup is over 25 scenes, as we pre-record music and readings, interspersing Live camera feed (just upgraded to PTZ camera) and recorded content, also using simple PowerPoint Windowed Slide for service bulletin... mention all of this just in case interested in some ideas
 

hp.rooms

New Member
looks like the session was closed by Facebook is the Streamkey okay ?

try to start obs as admin

09:37:57.176: Game DVR: On
Disable it

09:37:57.930: fps: 60/1
why you did use 60fps for a church service have you high motion ?
use 30fps and higher settings for better picture at same bitrate!

09:37:57.940: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
install aac encoder for better sound

please update you intel drivers !
09:53:52.171: >>> nv12 tex not active, fall back to old qsv encoder

09:57:47.288: is_hw_decoding: no
can you set hardware encoding ?

cyclemat, Thanks for the advice/direction. I have made notes on each item you recommended to change this upcoming Sunday and test again. Will advise after with logs if needed. Thanks again!
 

hp.rooms

New Member
From your 10 minutes prior, I'm assuming a Scheduled Live Facebook stream, right?
If yes, Are you using FB's Live Producer to preview stream, watch stream health, etc?


I'm not following.
For reference, I'm in same position (covid induced livestreaming House of Worship service using OBS). I use Advanced Scene Switcher to automate a lot of this (the switch to specific scene at 10 minutes prior, switch based on time to live scenes, etc.) I also use that plug to automate start of recording, as well as end stream/recording (after Join us at virtual Coffee hour, and copyright slides)
For me, I've stuck with v25.0.8 as I don't need virtual camera and was willing to let others be on bleeding edge.. ;^)

So please clarify your comment, being explicit about switching to a scene, where delay is ? OBS, FB? etc
Unlikely to be related, but when I schedule FB Live Video, I do NOT use a Persistent Key (retrieve/copy morning of stream) and I disable default FB setting to end stream if disconnected

For reference, for a service at 10a, our actual scheduled Livestream start time is 10 minutes prior (to give people time to connect), with a countdown timer, and some pre-recorded videos (Prelude, walk-up video, announcements, etc... including Advent wreath lighting at moment). As such, between 9:30->9:40a, I actually start the stream (visible at FB's Live Producer). FB then goes live on schedule at 9:50a with whatever I have OBS streaming at that point, and typical viewer lag is 15->45 seconds (depending on receiver ISP and device). My OBS setup is over 25 scenes, as we pre-record music and readings, interspersing Live camera feed (just upgraded to PTZ camera) and recorded content, also using simple PowerPoint Windowed Slide for service bulletin... mention all of this just in case interested in some ideas

Lawrence,

Great information thanks for taking the time to write it! To help clarify a little more, the video feed within OBS is what freezes. (The camera when viewed in the web browser is always current and live. We have two different streams (a public Sunday, and private group Wednesday night) so we do not use a persistent key as well because they are two different groups.

So to recap the workflow, I start the stream in OBS, GO LIVE in FB, 10 minutes before the service, hop back over to OBS and select the welcome scene. At 10AM I select the camera scene and what is displayed is what was on stage at 9:50 instead of LIVE and after a few minutes of trying to "catch up"? it goes to a black screen on OBS. At that point I have to stop and restart the stream directly on the camera scene. Before the upgrade, when we selected to camera scene it was instant LIVE with whatever the camera was showing.

Im going to downgrade as well to a previous version and see how that goes as well.

Thanks again!
 

Lawrence_SoCal

Active Member
I'm guessing your PC is overloaded (learn how to use Window' Task Manager/Resource Monitor)
Dropping from 60 to 30 fps should help
most likely some settings changed with your upgrade, as if stream worked with v25 you should be fine with v26
but don't forget you have OS updates as well (and Microsoft code quality is rightfully criticized) so OBS may not be problem/cause

Feel free to reach out direct to me, and I'm happy to do a Zoom/Teams session and show you our setup and take a look at yours and advise if I see anything obvious

Oh, and as for running OBS as admin - typically a bad suggestion ... unless you have resource contention issue which may be your situation...so maybe...
 

Skov

New Member
I'm guessing your PC is overloaded (learn how to use Window' Task Manager/Resource Monitor)
Dropping from 60 to 30 fps should help
most likely some settings changed with your upgrade, as if stream worked with v25 you should be fine with v26
but don't forget you have OS updates as well (and Microsoft code quality is rightfully criticized) so OBS may not be problem/cause

Feel free to reach out direct to me, and I'm happy to do a Zoom/Teams session and show you our setup and take a look at yours and advise if I see anything obvious

Oh, and as for running OBS as admin - typically a bad suggestion ... unless you have resource contention issue which may be your situation...so maybe...
Thanks for the write up. i will try this right away and i hope it will be of great help
 

hp.rooms

New Member
Just a quick update and thanks again to everyone for their suggestions. I performed the following today and everything is working again as expected.

-updated intel hd4600 drivers
-disabled game/dvr mode within windows
-changed fps from 60 to 30
-enabled coreaudio aac encoder
-downgraded to v25.0.8

pleased to report that switching between scenes works flawlessly again. No lag/latency on the Camera scene once switched over. I truly believe it was an issue with v26. I monitored task manager during a test stream and CPU never went above 24%. GPU never went above 50%. Again, were not doing anything fancy here so I didn't expect it to be a hardware issue. I'm curious to know what in v26 caused the issue, but not thrilled with the idea of breaking it again just to try and resolve it. Thanks again all!

 

Lawrence_SoCal

Active Member
I doubt there is anything wrong with v26. Most likely there are some default settings that changed, features that are now available, etc and that is causing you issue. So you could
- try test stream with v25 and capture logs. Review/document your settings
- Back up the entire PC (such that you can rollback if need be.. I use disk imaging tools),
- then upgrade to OBS v26.. and try test stream again.. check logs

It could be that 60fps was too much, and that changing it (and the other recommendations) was all that was required? or did you try that already?
 

hp.rooms

New Member
I doubt there is anything wrong with v26. Most likely there are some default settings that changed, features that are now available, etc and that is causing you issue. So you could
- try test stream with v25 and capture logs. Review/document your settings
- Back up the entire PC (such that you can rollback if need be.. I use disk imaging tools),
- then upgrade to OBS v26.. and try test stream again.. check logs

It could be that 60fps was too much, and that changing it (and the other recommendations) was all that was required? or did you try that already?

I was able to make a few changes prior to Sundays service (60to30FPS, turned off game mode) and it still had issues on v26. Yesterday I spent some time doing the other recommended tweaks and downgrading to v25 and it worked flawlessly during testing after.

I was pleasantly surprised how smoothing rolling back to v25 was thankfully! I documented (screenshot) all the settings in v26 and compared to v25 after the downgrade and they all remained the same.
 
Top