Question / Help Bad stream quality & in-game lag

Mahtte

New Member
Hey, I just tried to stream using OBS and when I watch the stream afterwards it's all pixelated and when I played a game when streaming my ping would get doubled. I have 1,09 Mb in upload.


08:08:16: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
08:08:16: -------------------------------
08:08:16: CPU Name: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
08:08:16: CPU Speed: 3391MHz
08:08:16: Physical Memory: 4095MB Total, 4095MB Free
08:08:16: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
08:08:16: monitor 1: pos={0, 0}, size={1920, 1080}
08:08:16: monitor 2: pos={-1920, 0}, size={1920, 1080}
08:08:16: Windows Version: 6.1 Build 7601 S
08:08:16: Aero is Enabled
08:08:16: -------------------------------
08:08:16: OBS Modules:
08:08:16: Base Address Module
08:08:16: 00210000 OBS.exe
08:08:16: 60660000 OBSApi.dll
08:08:16: 60870000 DShowPlugin.dll
08:08:16: 60960000 GraphicsCapture.dll
08:08:16: 60640000 NoiseGate.dll
08:08:16: ------------------------------------------
08:08:16: Adapter 1
08:08:16: Video Adapter: AMD Radeon HD 6800 Series
08:08:16: Video Adapter Dedicated Video Memory: 1059811328
08:08:16: Video Adapter Shared System Memory: 3235090432
08:08:16: =====Stream Start: 2013-05-10, 08:08:16===============================================
08:08:16: Multithreaded optimizations: On
08:08:16: Base resolution: 1920x1080
08:08:16: Output resolution: 1920x1080
08:08:16: ------------------------------------------
08:08:16: Loading up D3D10...
08:08:16: Playback device Default
08:08:16: ------------------------------------------
08:08:16: Using desktop audio input: Speakers (Realtek High Definition Audio)
08:08:16: Using 7.1 surround speaker setup
08:08:16: ------------------------------------------
08:08:16: Using auxilary audio input: Microphone (Realtek High Definition Audio)
08:08:16: ------------------------------------------
08:08:16: Audio Encoding: AAC
08:08:16: bitrate: 128
08:08:16: Using graphics capture
08:08:16: ------------------------------------------
08:08:16: Video Encoding: x264
08:08:16: fps: 30
08:08:16: width: 1920, height: 1080
08:08:16: preset: veryfast
08:08:16: CBR: yes
08:08:16: CFR: no
08:08:16: max bitrate: 700
08:08:16: ------------------------------------------
08:08:18: Using RTMP service: Twitch / Justin.tv
08:08:18: Server selection: rtmp://live-ams.justin.tv/app
08:08:19: SO_SNDBUF was at 8192
08:08:19: SO_SNDBUF is now 65536
08:08:24: SharedTexCapture hooked
08:13:58: Total frames rendered: 10189, number of frames that lagged: 21 (0.21%) (it's okay for some frames to lag)
08:13:58: RTMPPublisher::SocketLoop: Aborting due to bStopping
08:13:58: Number of times waited to send: 0, Waited for a total of 0 bytes
08:13:58: Number of b-frames dropped: 4 (0.04%), Number of p-frames dropped: 5 (0.05%), Total 9 (0.09%)
08:13:58: =====Stream End: 2013-05-10, 08:13:58=================================================
08:19:43: =====Stream Start: 2013-05-10, 08:19:43===============================================
08:19:43: Multithreaded optimizations: On
08:19:43: Base resolution: 1920x1080
08:19:43: Output resolution: 1920x1080
08:19:43: ------------------------------------------
08:19:43: Loading up D3D10...
08:19:43: Playback device Default
08:19:43: ------------------------------------------
08:19:43: Using desktop audio input: Speakers (Realtek High Definition Audio)
08:19:43: Using 7.1 surround speaker setup
08:19:43: ------------------------------------------
08:19:43: Using auxilary audio input: Microphone (Realtek High Definition Audio)
08:19:43: ------------------------------------------
08:19:43: Audio Encoding: AAC
08:19:43: bitrate: 128
08:19:43: Using graphics capture
08:19:43: ------------------------------------------
08:19:43: Video Encoding: x264
08:19:43: fps: 30
08:19:43: width: 1920, height: 1080
08:19:43: preset: veryfast
08:19:43: CBR: yes
08:19:43: CFR: no
08:19:43: max bitrate: 700
08:19:43: ------------------------------------------
08:19:45: Using RTMP service: Twitch / Justin.tv
08:19:45: Server selection: rtmp://live-ams.justin.tv/app
08:19:46: SO_SNDBUF was at 8192
08:19:46: SO_SNDBUF is now 65536
08:20:04: SharedTexCapture hooked
08:20:27: GraphicsCaptureSource::NewCapture: eliminating old capture
08:20:27: SharedTexCapture hooked
08:26:33: Capture window 0x00370A18 invalid or changing, terminating capture
08:26:35: Total frames rendered: 12295, number of frames that lagged: 29 (0.24%) (it's okay for some frames to lag)
08:26:35: RTMPPublisher::SocketLoop: Aborting due to bStopping
08:26:35: Number of times waited to send: 0, Waited for a total of 0 bytes
08:26:35: Number of b-frames dropped: 1 (0.0082%), Number of p-frames dropped: 0 (0%), Total 1 (0.0082%)
08:26:35: =====Stream End: 2013-05-10, 08:26:35=================================================
08:33:19:
08:33:19: Profiler results:
08:33:19:
08:33:19: ==============================================================
08:33:19: frame - [100%] [avg time: 3.719 ms] [avg calls per frame: 1] [children: 76.4%] [unaccounted: 23.6%]
08:33:19: | scene->Preprocess - [0.0269%] [avg time: 0.001 ms] [avg calls per frame: 1]
08:33:19: | video encoding and uploading - [76.3%] [avg time: 2.839 ms] [avg calls per frame: 1] [children: 75.1%] [unaccounted: 1.21%]
08:33:19: | | CopyResource - [0.86%] [avg time: 0.032 ms] [avg calls per frame: 0]
08:33:19: | | conversion to 4:2:0 - [0.0807%] [avg time: 0.003 ms] [avg calls per frame: 0]
08:33:19: | | call to encoder - [73.7%] [avg time: 2.742 ms] [avg calls per frame: 0]
08:33:19: | | sending stuff out - [0.457%] [avg time: 0.017 ms] [avg calls per frame: 0]
08:33:19: ==============================================================
08:33:19:
 

Krazy

Town drunk
You do not have nearly enough upload for that resolution/FPS. You are going to have to downscale heavily, maybe all the way down to 480p. If you still get ping issues in game, you can try the "Minimize Network Impact" setting in Broadcast Settings.
 

WayZHC

Member
Your upload speed is too low for even 700Kbps CBR. Thats why you get in-game lag. Try VBR with 6 quality balance. Also downscale atleast 2x and 25fps. Since you have i7, use the 36 sample downscale. Also you can try to use Faster preset which is slower than Veryfast so it can give you little better quality stream.

www.speedof.me shows your real upload speed.
 

dodgepong

Administrator
Community Helper
WayZHC said:
Your upload speed is too low for even 700Kbps CBR. Thats why you get in-game lag. Try VBR with 6 quality balance. Also downscale atleast 2x and 25fps. Since you have i7, use the 36 sample downscale. Also you can try to use Faster preset which is slower than Veryfast so it can give you little better quality stream.

http://www.speedof.me shows your real upload speed.
I think CBR is the right decision here, because with VBR his bandwidth would be spiking more wildly and more likely to spike above 1Mbps.

OP, have you tried enabling the Minimize Network Impact setting?
 

Mahtte

New Member
dodgepong said:
WayZHC said:
Your upload speed is too low for even 700Kbps CBR. Thats why you get in-game lag. Try VBR with 6 quality balance. Also downscale atleast 2x and 25fps. Since you have i7, use the 36 sample downscale. Also you can try to use Faster preset which is slower than Veryfast so it can give you little better quality stream.

http://www.speedof.me shows your real upload speed.
I think CBR is the right decision here, because with VBR his bandwidth would be spiking more wildly and more likely to spike above 1Mbps.

OP, have you tried enabling the Minimize Network Impact setting?


Yeah I have tried that and it gets even more laggy:S
 

Mahtte

New Member
WayZHC said:
Your upload speed is too low for even 700Kbps CBR. Thats why you get in-game lag. Try VBR with 6 quality balance. Also downscale atleast 2x and 25fps. Since you have i7, use the 36 sample downscale. Also you can try to use Faster preset which is slower than Veryfast so it can give you little better quality stream.

http://www.speedof.me shows your real upload speed.


So my upload is 73,09 Mb/s???? Shouldnt that be more than enough??
 

WayZHC

Member
Mahtte said:
WayZHC said:
Your upload speed is too low for even 700Kbps CBR. Thats why you get in-game lag. Try VBR with 6 quality balance. Also downscale atleast 2x and 25fps. Since you have i7, use the 36 sample downscale. Also you can try to use Faster preset which is slower than Veryfast so it can give you little better quality stream.

http://www.speedof.me shows your real upload speed.


So my upload is 73,09 Mb/s???? Shouldnt that be more than enough??

In first post you said 1,09 Mb/s. If you have 73,09 Mb/s upload, just stream 720p with 3000-3500Kbps or 1080p 4000-5000Kbps. And audio 192Kbps AAC. Good quality stream.
 

Mahtte

New Member
WayZHC said:
Mahtte said:
WayZHC said:
Your upload speed is too low for even 700Kbps CBR. Thats why you get in-game lag. Try VBR with 6 quality balance. Also downscale atleast 2x and 25fps. Since you have i7, use the 36 sample downscale. Also you can try to use Faster preset which is slower than Veryfast so it can give you little better quality stream.

http://www.speedof.me shows your real upload speed.


So my upload is 73,09 Mb/s???? Shouldnt that be more than enough??

In first post you said 1,09 Mb/s. If you have 73,09 Mb/s upload, just stream 720p with 3000-3500Kbps. Good quality stream

Well, it won't work since I know I have 1,09 Mb/s in upload but that site you linked me showed 73 Mb/s :S
 

WayZHC

Member
Did it really show 73Mb/s? Or something like 730 Kb/s? Just to make sure, re-test with speedofme and post a screenie here.
 

Mahtte

New Member
]
WayZHC said:
Did it really show 73Mb/s? Or something like 730 Kb/s? Just to make sure, re-test with speedofme and post a screenie here.
 

Attachments

  • speedof.me_13-05-16.jpeg
    62.8 KB · Views: 87

Mahtte

New Member
WayZHC said:
Your upload speed is too low for even 700Kbps CBR. Thats why you get in-game lag. Try VBR with 6 quality balance. Also downscale atleast 2x and 25fps. Since you have i7, use the 36 sample downscale. Also you can try to use Faster preset which is slower than Veryfast so it can give you little better quality stream.

http://www.speedof.me shows your real upload speed.

Here is a short vid when I streamed using your settings, works quite fine. I get like 50 ping and without I streaming I have 25 ping.
http://www.twitch.tv/qlonc/b/404229492
 

WayZHC

Member
hmmmmm what http://www.speedtest.net says about your connection? There might be a bug in Speedofme. If speedtest says about the same, you really have 73Mb/s connection. As i understood from your video you are Swedish? In Sweden 73Mb/s upload is pretty common :p I know some people who used to live in Sweden but moved to Finland and they and their friends had 100/100 internet connections in Sweden for pretty cheap. :p

And 50 ping is still pretty low. I wouldn't worry about it. Ping does not cause lag. Ping is delay. Packet loss will cause lag. Have you tried modem/router power cycle?
 

Mahtte

New Member
WayZHC said:
hmmmmm what http://www.speedtest.net says about your connection? There might be a bug in Speedofme. If speedtest says about the same, you really have 73Mb/s connection. As i understood from your video you are Swedish? In Sweden 73Mb/s upload is pretty common :p I know some people who used to live in Sweden but moved to Finland and they and their friends had 100/100 internet connections in Sweden for pretty cheap. :p

And 50 ping is still pretty low. I wouldn't worry about it. Ping does not cause lag. Ping is delay. Packet loss will cause lag. Have you tried modem/router power cycle?

With http://www.speedtest.net I ahve 1,21 Mb/s and yeah I tried power cycling my router.(if it means turn it on/off)
 

WayZHC

Member
Okay there might be a bug in speedofme. And yes thats power cycling.

So after power cycling, does the ping still increase?
 
Top