Dropping frames no matter what.

Mr55

New Member
Hey everyone,

Attempting to run a stream within the next couple of hours - however I'm consistently dropping frames no matter what. Getting 16mbps download with 18mbps upload.
1625226768238.png


All I'm doing as well is running a pre-recorded video in VLC - so not too sure what else I could do here.

Please let me know if any other information would be helpful, I know this is very broad but I don't know what could be contributing to this.
➼Intel Core i9-9900K @ 3.60ghz
➼16GB G.SKILL RAM
➼AMD Radeon RX 5700
 

Attachments

  • 1625226765293.png
    1625226765293.png
    13.2 KB · Views: 14

Mr55

New Member
You talk about streaming, dropped frames and bandwidth, but your log contains just a lot of test recordings...
Well yes, because I was just doing test streams to ensure that the actual stream that is live is going to be smooth...................

" Please let me know if any other information would be helpful, I know this is very broad but I don't know what could be contributing to this. "
 

FerretBomb

Active Member
To be clear, we need a logfile of a stream where the problem is happening, if your problem is streaming-specific. Recording is not streaming, so a logfile only containing recordings will not show any information related to streaming-specific problems.

Without a relevant logfile, we can only point you at https://obsproject.com/wiki/Dropped-Frames-and-General-Connection-Issues
Dropped frames are almost always (99.999%+) a network issue.
If you are streaming to Twitch, use R1ch's Twitch Test tool to analyze your connection. You want a Quality score of 100 to your chosen server. Less than that means your connection has problems.
 

Mr55

New Member
To be clear, we need a logfile of a stream where the problem is happening, if your problem is streaming-specific. Recording is not streaming, so a logfile only containing recordings will not show any information related to streaming-specific problems.

Without a relevant logfile, we can only point you at https://obsproject.com/wiki/Dropped-Frames-and-General-Connection-Issues
Dropped frames are almost always (99.999%+) a network issue.
If you are streaming to Twitch, use R1ch's Twitch Test tool to analyze your connection. You want a Quality score of 100 to your chosen server. Less than that means your connection has problems.
Gotcha. It is my first time on this forum and creating logs, I thought doing a bandwidth test may have counted, but supposedly not.


This is from an actual stream last night that I went ahead and did after posting here anyway. I hope this helps, and my apologies to Konsoleritter for the confusion on my end.
 

FerretBomb

Active Member
It may be a 'current log' vs 'last log' issue.
The 'last log' is from the last time OBS was opened, and closed.

To provide a full logfile, you'd make sure OBS was closed, open OBS, start streaming, make sure the issue occurs, stop streaming, close OBS, open OBS, then 'upload last log file'.

I'd guess that you did that without closing and then re-opening OBS, so got the logfile from the prior session (from the timestamps, just after noon). The log provided most recently shows OBS opening at 12:28, sitting idle for around for about 30 minutes, then being closed at 13:07 with no stream, recording, or changes being made.
 

Mr55

New Member
It may be a 'current log' vs 'last log' issue.
The 'last log' is from the last time OBS was opened, and closed.

To provide a full logfile, you'd make sure OBS was closed, open OBS, start streaming, make sure the issue occurs, stop streaming, close OBS, open OBS, then 'upload last log file'.

I'd guess that you did that without closing and then re-opening OBS, so got the logfile from the prior session (from the timestamps, just after noon). The log provided most recently shows OBS opening at 12:28, sitting idle for around for about 30 minutes, then being closed at 13:07 with no stream, recording, or changes being made.
This ones looking much better!


I have actually fixed the problem now by using a dynamic bitrate at 1600x900p - but it would not hurt anyway to possibly get an eye or two on my log. Thanks for the help guys, definitely learnt about OBS logs from this experience and will make future troubleshooting easier.
 

qhobbes

Active Member
1. One of your audio devices has a sample rate that doesn't match the rest. This can result in audio drift over time or sound distortion. Check your audio devices in Windows settings (both Playback and Recording) and ensure the Default Format (under Advanced) is consistent. 48000 Hz is recommended.
OBS Sample Rate: 48000 Hz
Headset Earphone (Astro MixAmp Pro Voice): 48000 Hz
Line (Audient iD4): 44100 Hz
Headset Microphone (Astro MixAmp Pro Voice): 48000 Hz
2. To ensure that OBS Studio has the hardware resources it needs for realtime streaming and recording, we recommend disabling the "Game DVR Background Recording" feature via these instructions.
3. Run OBS as Admin. Right click on the shortcut, properties, advanced, check box, ok, apply, ok.
4. Browser hardware acceleration is currently disabled. Enabling acceleration is highly recommended due to the improvements to performance and significantly lower CPU usage for browser sources. This can be enabled in Settings -> Advanced.
5. Record to FLV or MKV. If you record to MP4 or MOV and the recording is interrupted, the file will be corrupted and unrecoverable.
If you require MP4 files for some other purpose like editing, remux them afterwards by selecting File > Remux Recordings in the main OBS Studio window or enable Auto Remux in the Advanced Settings.
6. Display and Game Capture Sources interfere with each other. Never put them in the same scene (Replay).

And last but not least

7. In many cases, wireless connections can cause issues because of their unstable nature. Streaming really requires a stable connection. Often wireless connections are fine, but if you have problems, the first troubleshooting step would be to switch to wired. We highly recommend streaming on wired connections.
 

Mr55

New Member
1. One of your audio devices has a sample rate that doesn't match the rest. This can result in audio drift over time or sound distortion. Check your audio devices in Windows settings (both Playback and Recording) and ensure the Default Format (under Advanced) is consistent. 48000 Hz is recommended.
OBS Sample Rate: 48000 Hz
Headset Earphone (Astro MixAmp Pro Voice): 48000 Hz
Line (Audient iD4): 44100 Hz
Headset Microphone (Astro MixAmp Pro Voice): 48000 Hz
2. To ensure that OBS Studio has the hardware resources it needs for realtime streaming and recording, we recommend disabling the "Game DVR Background Recording" feature via these instructions.
3. Run OBS as Admin. Right click on the shortcut, properties, advanced, check box, ok, apply, ok.
4. Browser hardware acceleration is currently disabled. Enabling acceleration is highly recommended due to the improvements to performance and significantly lower CPU usage for browser sources. This can be enabled in Settings -> Advanced.
5. Record to FLV or MKV. If you record to MP4 or MOV and the recording is interrupted, the file will be corrupted and unrecoverable.
If you require MP4 files for some other purpose like editing, remux them afterwards by selecting File > Remux Recordings in the main OBS Studio window or enable Auto Remux in the Advanced Settings.
6. Display and Game Capture Sources interfere with each other. Never put them in the same scene (Replay).

And last but not least

7. In many cases, wireless connections can cause issues because of their unstable nature. Streaming really requires a stable connection. Often wireless connections are fine, but if you have problems, the first troubleshooting step would be to switch to wired. We highly recommend streaming on wired connections.
This is a ton of insight, thank you SO much.

Unfortunately for me, I cannot stream on a wired connection - I live in a household with my father who insists on having the modem in a certain location so I suppose this is as good as I'm going to get in terms of the connection.

Changes I made after reading:
Line (Audient iD4) has been switched to 48000 Hz.
Game DVR Background Recording - disabled (assuming this was just the Xbox Game Bar background recording?)
Display Source removed from Replay.
Enabled browser source hardware acceleration.

Last night's VOD
 

FerretBomb

Active Member
Unfortunately for me, I cannot stream on a wired connection - I live in a household with my father who insists on having the modem in a certain location so I suppose this is as good as I'm going to get in terms of the connection.
Run a cable. Along the baseboards if you have to. Wifi is NOT a replacement for a network cable. It's meant for lightweight content consumption. If you absolutely cannot run a cable (spoiler: you absolutely can) look into Powerline adapters. They're not AS good as an actual Cat5e cable, but they're a MASSIVE improvement over the total crapfest that wifi has become thanks to people who think it's a replacement for network cabling.
 

Mr55

New Member
Run a cable. Along the baseboards if you have to. Wifi is NOT a replacement for a network cable. It's meant for lightweight content consumption. If you absolutely cannot run a cable (spoiler: you absolutely can) look into Powerline adapters. They're not AS good as an actual Cat5e cable, but they're a MASSIVE improvement over the total crapfest that wifi has become thanks to people who think it's a replacement for network cabling.
My only concern is I live on the top story and the modem is on the bottom story far out of site. Would I still benefit from a Powerline Adapter? I’ve just discovered these based off your recommendations. My father is a builder so he would be able to figure out running a cable if I go that route anyway — I live in Australia so our internet speeds aren’t the greatest, ranked under some third world countries so I’ll definitely benefit from hard wiring a cable but a Powerline Adapter sounds far more convenient in my case?
 

qhobbes

Active Member
I have not used Powerline Adapters in a streaming/broadcasting environment but I set them up at my dad's house and he's able to get the full 20 Mbps as advertised by the ISP. Works great for Netflix/YouTube/baseball streaming and I have used them in the past to play PS3 games online with no issues. If you're transferring files between computers on the same network using these, you may not get the full advertised speed but should be able to handle 2,500 Kbps. These need to plugged straight into the wall/outlet (no power strips/extension cords/surge protectors), so you may need to get one with electrical pass-through.
 

FerretBomb

Active Member
Powerline adapters are a convenient workaround, with lower speed and more expense attached. Best option is still always running a network cable.
Cat5e has a segment length of 300 feet (so around 100 meters), more than enough for any residential home even if you're running along baseboards, up and over doors, down around stairwells, and doing any number of twists and turns. If the home is owned, it should be pretty easy to just pierce through the floor planes for a more direct path, or follow the electrical wiring.
 

R1CH

Forum Admin
Developer
Powerline adapters usually don't work as great (if at all) across different circuits, but should hopefully be better than wifi through many floors / walls. Your house may have unused conduit for phone / tv / cable you could possibly pull a cable through.
 

konsolenritter

Active Member
With the upcoming era of switching power supplies and frequency inverters for electrical drives and power units in business and workshop the scatter and perturbation on the electrical grid gone worse over the last years.

So powerline will work on detached houses (still, at least) better than in residential area (especially if industrial park or other powerline users nearby).
 

Mr55

New Member
Game plan today is to buy an ethernet cable, roughly 15 metres and connect my router to my PC. Here's hoping all goes well! Thanks for the advice and help guys, lots of insightful information here I've written down for future reference too.
 

Mr55

New Member
Hey all! Finally a week later we managed to get an ethernet cable upstairs into my PC, all hidden and subtle too however not much of a difference in terms of my speeds (Download is a consistent 50-60mbps however) but hey it is better than being on Wi-Fi!

The next issue I face I is consistent pixelation in my gameplay when its moving fast. I've tried many different settings but it's now the next issue I've been facing for some time next. Absolutely no issue with dropping frames last night thankfully.

CPU & GPU
Intel Core i9-9900K @ 3.60ghz
AMD Radeon RX 5700
16GB of RAM.

OBS LOG (Last Night during a 3 hour or so stream)

VOD

1626247144575.png


Please, any advice would be appreciated - and to let me know if I'm just being too picky with the hardware I'm working with. I'm planning on upgrading my parts soon and potentially getting a streaming machine. I'm super serious about content creation & streaming so I'm prepared to make the investments!
 
Top