Facebook Live begins echoing half way through live stream, then fixing itself.

JSBray

New Member
Hello. I am running OBS Studio 26.1.1 (64 bit) on a Windows10 OS HP Pavillion Laptop. I am using it to run a Facebook Live stream. The issue I am having is that the audio runs great at the beginning of the live stream, then in the middle of streaming, it begins to echo and goes at least two or three seconds off track. Nothing I do fixes it, but after a while it will go back into sync by itself. I have run it for the last nine months with no issues, it just started within the last month or so. No computer updates in that time frame. Any one experience this? Any suggestions?
 

Lawrence_SoCal

Active Member
per pinned post in this forum
Win 10 not updating itself? if yes, then there have been updates

I recommend monitoring hardware resource (CPU, GPU, RAM, etc) utilization to see if your system is being maxed out with your settings [Task manager’s Performance tab and/or Resource Monitor]

Have you checked that all of your audio is using the same sampling rate? check your log and make sure you don't have a mix of 44100 & 48000 hz audio sampling refresh rates
 

JSBray

New Member
Thank you for your reply, Lawrence. Yes, I have checked that. It just jumps off track in the middle of the stream. Here is a link to what I am talking about. You will the 'echo' or double feed straight away when you push play. It lasts until the 2:50 mark then just disappears. It is a Facebook link to the post I am talking about. It is a sermon our pastor preached. Can you please take a listen to and give me feedback? It began earlier, but I don't have the other portion because I deleted the other portion which began during singing.
https://fb.watch/4ASIfsGGCk/

per pinned post in this forum
Win 10 not updating itself? if yes, then there have been updates

I recommend monitoring hardware resource (CPU, GPU, RAM, etc) utilization to see if your system is being maxed out with your settings [Task manager’s Performance tab and/or Resource Monitor]

Have you checked that all of your audio is using the same sampling rate? check your log and make sure you don't have a mix of 44100 & 48000 hz audio sampling refresh rates
 
Last edited:

Lawrence_SoCal

Active Member
Listening won't tell me anything (other than confirming what you are already describing)
Please post OBS log as mentioned above, ideally the one associated with the stream video you are referring to

I had echo issues when I started a year ago with our House of Worship stream. I took simple, blunt force approach, and DISABLED all of OBS' Default/Global Audio, (especially desktop audio). Within Scenes, I add only the desired Audio Input (as we alternate from live video to lots of pre-recorded content of music and readings).. no more echo
 

JSBray

New Member
Here is the log report, I think I have done it right. I hope it will reveal what you are looking for. If you find it let me know. There were a few logs after this one where I was playing with it, so I deleted those. So I think I have the correct file. https://obsproject.com/logs/NvhdWfytG0xwxOD1 I will look into the other solutions you mentioned. Thank you for your help.
 

Lawrence_SoCal

Active Member
09:12:00.500: CPU Name: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz

That is a 3 generation old mid-range-ish CPU, optimized for battery life, not the computationally demanding task of real-time video encoding.
As I mentioned already, you are VERY likely with that laptop and wanting to successfully stream, you are going to have to monitor hardware resource (CPU, GPU, RAM, etc) utilization to make sure you aren't maxing out your laptop out with your settings [Task manager’s Performance tab and/or Resource Monitor]

Drop to 30fps, and get your stream stable. And unless yours is the evangelical, band, high movement and you want folks to be able to watch slow motion in replay, no need for 60fps (that I'm aware of)

Why the lower output resolution?
09:12:01.447: video settings reset:​
09:12:01.447: base resolution: 1280x720​
09:12:01.447: output resolution: 960x540​
side note - 6000 bitrate is overkill for that resolution and 30fps

oh... there it is... you are using WiFi... stop that... use a wired connection unless you want to have problems and not know why (get a USB ethernet adapter if need be)
Can you use WiFi... yes, with a bunch of caveats. Can you get lucky? yes... but you aren't... so, lets remove this very problematic situation... With advanced networking knowledge/expertise along with ability and willingness to remove ALL other WiFi devices from network, and move to a WiFi channel without lots of interference, very doable ... if you don't know what all that means... don't try... just go wired

I have a new PC, and record at 1080p but stream to FB at 720p/30fps at 5000 bitrate (and even that is overkill). Recording at 1 resolution and streaming at another means extra work, but my system can handle it. For you, having base resolution and output/stream resolution all be the same will reduce rendering workload
 

JSBray

New Member
09:12:00.500: CPU Name: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz

That is a 3 generation old mid-range-ish CPU, optimized for battery life, not the computationally demanding task of real-time video encoding.
As I mentioned already, you are VERY likely with that laptop and wanting to successfully stream, you are going to have to monitor hardware resource (CPU, GPU, RAM, etc) utilization to make sure you aren't maxing out your laptop out with your settings [Task manager’s Performance tab and/or Resource Monitor]

Drop to 30fps, and get your stream stable. And unless yours is the evangelical, band, high movement and you want folks to be able to watch slow motion in replay, no need for 60fps (that I'm aware of)

Why the lower output resolution?
09:12:01.447: video settings reset:​
09:12:01.447: base resolution: 1280x720​
09:12:01.447: output resolution: 960x540​
side note - 6000 bitrate is overkill for that resolution and 30fps

oh... there it is... you are using WiFi... stop that... use a wired connection unless you want to have problems and not know why (get a USB ethernet adapter if need be)
Can you use WiFi... yes, with a bunch of caveats. Can you get lucky? yes... but you aren't... so, lets remove this very problematic situation... With advanced networking knowledge/expertise along with ability and willingness to remove ALL other WiFi devices from network, and move to a WiFi channel without lots of interference, very doable ... if you don't know what all that means... don't try... just go wired

I have a new PC, and record at 1080p but stream to FB at 720p/30fps at 5000 bitrate (and even that is overkill). Recording at 1 resolution and streaming at another means extra work, but my system can handle it. For you, having base resolution and output/stream resolution all be the same will reduce rendering workload

Thank you for all of your assistance. I appreciate it a lot. I will take a look at everything. I think I am near a router I can connect to. I will connect to it this week and see how it goes. I just don't understand why we have been doing this for so long and just now having this issue. And if it were a connection issue then why is the video not affected as well? It is just the audio and just for that brief moment. It just started recently, never happened before.

Let me ask you one final thing as it came to mind as I was watching a movie last night and it happened on my computer. It occurred to me that I have Cortana enabled on my Laptop. I think during the stream Cortana may have been triggered. You know, that little pop-up bubble came up. Could Cortana activation cause problems with OBS?

Thanks again.

Jeff
 

Lawrence_SoCal

Active Member
Basic rule of thumb is to DISABLE any and everything that doesn't need to be running.
Assuming CPU overloaded, inconsistent oddities is to be expected.
Cortana being activated, if you PC is near limit, could easily push it briefly to or beyond the limit (then causing issues).. but only a guess, without a lot more info which you won't have, about specific OS conditions and utilization rates at the time the issue happened.

Why now - LOTS of OS changes... with monthly updates and M$ quality not being all that good in recent years (free WIn10 and let users be BETA testers... I'll stop rant there... anyway]
And for WiFi, all it takes is one [new] person or device on the network to cause havoc... most users are oblivious... and even having other WiFi devices around that are trying to connect but not allowed to can still cause problems. Hence... knowing WiFI networking well enough or having all those others devices with WiFi disabled (or Airplane mode if that is too complex).. All but the most recent WiFi is like a walkie-talkie (and you older laptop is of the type) ... talk or listen, not both at same time. it is very easy, especially with default configured consumer WiFi devices to make a mess of throughput

Though you may get away with WiFi (until more people around) if you drop to 720p 30fps and 4000 bitrate...maybe... wired always more reliable... you'll most likely never knw when/why WiFi causing the problem hence recommendation to simply avoid WiFi
 

JSBray

New Member
Basic rule of thumb is to DISABLE any and everything that doesn't need to be running.
Assuming CPU overloaded, inconsistent oddities is to be expected.
Cortana being activated, if you PC is near limit, could easily push it briefly to or beyond the limit (then causing issues).. but only a guess, without a lot more info which you won't have, about specific OS conditions and utilization rates at the time the issue happened.

Why now - LOTS of OS changes... with monthly updates and M$ quality not being all that good in recent years (free WIn10 and let users be BETA testers... I'll stop rant there... anyway]
And for WiFi, all it takes is one [new] person or device on the network to cause havoc... most users are oblivious... and even having other WiFi devices around that are trying to connect but not allowed to can still cause problems. Hence... knowing WiFI networking well enough or having all those others devices with WiFi disabled (or Airplane mode if that is too complex).. All but the most recent WiFi is like a walkie-talkie (and you older laptop is of the type) ... talk or listen, not both at same time. it is very easy, especially with default configured consumer WiFi devices to make a mess of throughput

Though you may get away with WiFi (until more people around) if you drop to 720p 30fps and 4000 bitrate...maybe... wired always more reliable... you'll most likely never knw when/why WiFi causing the problem hence recommendation to simply avoid WiFi

Gotcha. I am going to get wired this week. I just wanted to ask about the Cortana thing. I will lower to the suggested 4000 bitrate and go wired. Better than losing my noodle and trying to figure out the answer to an issue I may never figure out the answer to. Thanks again for all your help and patience with me. I am still trying to figure this whole thing out.
 

JSBray

New Member
Hey Lawrence. Well, we had our service today and we had no issues. Let me explain what I did. I was going to hook up directly to the router. But when I got to it, I did not have the correct connections. I thought I did, but the church did not. So what I did was disable Cortana and all unnecessary programs that upload to the cloud capability. This solved the problem. Oh, I also lowered the bitrate from 6000 to 4500. So, it was like you said, the system was overloading. I guess that through auto-updating in the background, my skin and bones laptop finally hit its max capacity. Either that or Cortana was tweaking the stream when it was activated. Either way, my issue is fixed. Thank you for all your help. And in any case, I am shopping for the proper connections and still plan to go with a direct connection. My laptop does not have an Ethernet port, so I need the converter. Have a blessed weekend.
 

Lawrence_SoCal

Active Member
A USB to Ethernet adapter is relatively cheap, though would put load on the USB Root Hub. With a single camera shouldn't be an issue (hopefully) but worth testing
 

JSBray

New Member
With that warning, I decided to try my status quo again. I was able to get through another service with no issues. I really think it was Cortana that was the problem. But I am still pausing, snoozing, and signing out of all unneeded programs (Dropbox, OneDrive, Skype, Cortana) So there is no background syncing that would interfere with OBS. Like you said, overload. That has fixed the issue. I know you are still recommending I get connected, and if I run across another issue that will be my FIRST fix. But with no issues, I would rather stick with what I have that's working than run another wire across the wires we already have back where we are and introduce another issue like what you said could happen.

Again, thank you for all your help. It is much appreciated. I thank you, our pastor thanks you, and our congregation thanks you.
 

Lawrence_SoCal

Active Member
Totally understand about minimizing changes and going with what is working
And you are welcome (you aren't the only parish I've helped out recently)

Just realize that the likelihood of a WiFi issue cropping up unexpectedly at some point is REALLY high (I don't gamble, but I'd bet on that). So get settled, but I strongly recommend that switching to a wired connection be on someone's To Do list (and clean up the rats nest of wires that always accumulate for all but the most OCD)
 
Last edited:

JSBray

New Member
Hey Lawrence.

Just a quick update. We have been going on for a year now. And with all your help we have had zero issues. Thanks again. I had to hop over here to check my settings because OBS did an update and defaulted all of my settings. I had to find what you and I agreed upon was the best for our system. I didn't realize it had defaulted until I went to download from FB and the file wouldn't download--too large and for some reason, it would download like a snail across my fiber internet. Odd.

Well, I pray all is well with you, and again thanks for all your help.
 

Lawrence_SoCal

Active Member
Thanks for the update

As our use of OBS isn't for play/entertainment, I'm of the safer (and K.I.S.S.) is better approach. So I'm waiting for OBS to settle down before updating. What I have is working fine, and none of the new features are relevant to me.

Oh, and side note: Facebook changed during last year (at least for me/us) and we can now stream at 1080p vs being restricted to 720p like 2 years ago [not sure when change took place]. So I've updated to 1080p and streaming at a bitrate of 7200 (or Internet connection has been reliable around 10mb/s, so 7.2mb/s seems safe (leaving plenty of buffer, and a higher bitrate not really going to do much anyway)

As for downloading file from FB. I'm guessing you are referring to downloading the video file? If yes, be aware for that Facebook (and YouTube, and almost all other CDNs) will _heavily_ compress and re-encode your uploads. So downloading for archiving is ..ok.... BUT... if you system can handle it, I'd recommend recording locally at same time as streaming. If same laptop, then select option to Record/Stream using same settings. I do NOT use the same Record and Stream settings, choosing to Record at a higher quality level, but my desktop PC has horsepower to do that ... ymmv
 
Top