Question / Help Stream Lags for 2-3s ?

Paulius9

New Member
Hello streamers,

I have problem that my stream lags, and i don't know how to make that people could choose resoliution instead of Source (The best) . I play LoL and people saying stream freezes for 3s. My stream : http://www.twitch.tv/tardas12

My monitor real resoliution : 1366x768

Net speed :
net_speed.jpg


My pc :
Computer_specs.jpg


My Obs Options : http://postimg.org/image/3zjbif72l/

I hope you can help me. If u need additional information ask me !
 

Paulius9

New Member
LOG

Code:
14:52:36: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
14:52:36: -------------------------------
14:52:36: CPU Name: Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz
14:52:36: CPU Speed: 2993MHz
14:52:36: Physical Memory:  4095MB Total, 3136MB Free
14:52:36: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
14:52:36: monitor 1: pos={0, 0}, size={1366, 768}
14:52:36: Windows Version: 6.1 Build 7601 S
14:52:36: Aero is Disabled
14:52:36: -------------------------------
14:52:36: OBS Modules:
14:52:36: Base Address     Module
14:52:36: 00F50000         OBS.exe
14:52:36: 71CE0000         OBSApi.dll
14:52:36: 71FE0000         DShowPlugin.dll
14:52:36: 71CC0000         GraphicsCapture.dll
14:52:36: 73980000         NoiseGate.dll
14:52:36: ------------------------------------------
14:52:36: Adapter 1
14:52:36:   Video Adapter: NVIDIA GeForce GTX 550 Ti
14:52:36:   Video Adapter Dedicated Video Memory: 1025179648
14:52:36:   Video Adapter Shared System Memory: 2943715328
14:52:36: =====Stream Start: 2013-07-06, 14:52:36===============================================
14:52:36:   Multithreaded optimizations: On
14:52:36:   Base resolution: 1366x768
14:52:36:   Output resolution: 908x512
14:52:36: ------------------------------------------
14:52:36: Loading up D3D10...
14:52:36: Playback device {0.0.0.00000000}.{11d75a22-22ef-414a-b6eb-4e5afd5d018e}
14:52:36: ------------------------------------------
14:52:36: Using desktop audio input: Speakers (VIA High Definition Audio)
14:52:36: ------------------------------------------
14:52:36: Using auxilary audio input: Microphone (VIA High Definition Audio)
14:52:36: ------------------------------------------
14:52:36: Audio Encoding: MP3
14:52:36:     bitrate: 320
14:52:36: Using Monitor Capture
14:52:36: ------------------------------------------
14:52:36: Video Encoding: x264
14:52:36:     fps: 45
14:52:36:     width: 908, height: 512
14:52:36:     preset: superfast
14:52:36:     CBR: yes
14:52:36:     CFR: no
14:52:36:     max bitrate: 2500
14:52:36: ------------------------------------------
14:52:38: Using RTMP service: Twitch / Justin.tv
14:52:38:   Server selection: rtmp://live-ams.justin.tv/app
14:52:39: SO_SNDBUF was at 8192
14:52:39: SO_SNDBUF is now 65536
19:57:59: Total frames rendered: 822800, number of frames that lagged: 422 (0.05%) (it's okay for some frames to lag)
19:57:59: RTMPPublisher::SocketLoop: Aborting due to bStopping
19:57:59: Number of times waited to send: 0, Waited for a total of 0 bytes
19:57:59: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
19:57:59: =====Stream End: 2013-07-06, 19:57:59=================================================
20:01:39: 
20:01:39: Profiler results:
20:01:39: 
20:01:39: ==============================================================
20:01:39: frame - [100%] [avg time: 4.114 ms] [avg calls per frame: 1] [children: 97.4%] [unaccounted: 2.65%]
20:01:39: | scene->Preprocess - [79%] [avg time: 3.249 ms] [avg calls per frame: 1]
20:01:39: | video encoding and uploading - [18.4%] [avg time: 0.756 ms] [avg calls per frame: 1] [children: 18.1%] [unaccounted: 0.292%]
20:01:39: | | CopyResource - [0.34%] [avg time: 0.014 ms] [avg calls per frame: 0]
20:01:39: | | conversion to 4:2:0 - [0.389%] [avg time: 0.016 ms] [avg calls per frame: 0]
20:01:39: | | call to encoder - [17%] [avg time: 0.698 ms] [avg calls per frame: 0]
20:01:39: | | sending stuff out - [0.389%] [avg time: 0.016 ms] [avg calls per frame: 0]
20:01:39: ==============================================================
20:01:39:
 

Kharay

Member
Well, as far as the connection goes -- that log is actually pretty good. 0 dropped frames. I had a look at a past broadcast of yours for a few minutes and it seemed perfectly fine. Well, as far as lag is concerned anyhow.

Given the fact you're streaming to AMS, I am going to assume you're European. For the record, Twitch has been having some issues in Europe lately so it could simply be related to that. Again, your VODs are fine, your log is fine. Everything seems to be in working order.
 

Paulius9

New Member
I have problem aswell with game capture, i capture league of legend client, but it doesn;t capture so i stream my monitor while in game. Maybe thats why?
 

Asbe

New Member
Hello i have same problem like here...

I have 2-3 second lags like 15-20 seconds in part...

I have tried different versions of OBS, i have changed the server locations, may other options like kb:s and screen resolutions and nothing helps..

Anyone knows what is the problem..
 

Asbe

New Member
Anyone... i have 0 dropped frames...

Code:
17:20:03: Open Broadcaster Software v0.51.01b (kamehameha test build) - 64bit ( ^ω^)
17:20:03: -------------------------------
17:20:03: CPU Name: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz
17:20:03: CPU Speed: 3644MHz
17:20:03: Physical Memory:  8190MB Total, 3710MB Free
17:20:03: stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
17:20:03: monitor 1: pos={0, 0}, size={1920, 1080}
17:20:03: monitor 2: pos={1920, 0}, size={1920, 1080}
17:20:03: Windows Version: 6.1 Build 7600 
17:20:03: Aero is Disabled
17:20:03: ------------------------------------------
17:20:03: Adapter 1
17:20:03:   Video Adapter: NVIDIA GeForce GTX 560 Ti 
17:20:03:   Video Adapter Dedicated Video Memory: 1293352960
17:20:03:   Video Adapter Shared System Memory: 2952671232
17:20:03: Using fixed low latency mode, factor 20
17:20:03: =====Stream Start: 2013-09-08, 17:20:03===============================================
17:20:03:   Multithreaded optimizations: On
17:20:03:   Base resolution: 1920x1080
17:20:03:   Output resolution: 1096x616
17:20:03: ------------------------------------------
17:20:03: Loading up D3D10...
17:20:03: Playback device {0.0.0.00000000}.{39302bb9-38a2-474e-9e09-87f9ea834d77}
17:20:03: ------------------------------------------
17:20:03: Using desktop audio input: Speakers (ASUS Xonar DG Audio Device)
17:20:03: ------------------------------------------
17:20:03: Using auxilary audio input: Microphone (ASUS Xonar DG Audio Device)
17:20:03: ------------------------------------------
17:20:03: Audio Encoding: AAC
17:20:03:     bitrate: 160
17:20:03: Using bitmap image
17:20:03: ------------------------------------------
17:20:03:     device: Logitech HD Webcam C525,
17:20:03:     device id \\?\usb#vid_046d&pid_0826&mi_02#7&19681929&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:20:03:     chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000, fourCC: 'I420'
17:20:03:     audio device: Disable,
17:20:03:     audio device id Disabled,
17:20:03: 
17:20:03: Using directshow input
17:20:03: Using text output
17:20:03: Using text output
17:20:03: Using Window Capture
17:20:03: Using bitmap image
17:20:04: ------------------------------------------
17:20:04: Video Encoding: x264
17:20:04:     fps: 30
17:20:04:     width: 1096, height: 616
17:20:04:     preset: veryfast
17:20:04:     CBR: yes
17:20:04:     CFR: no
17:20:04:     max bitrate: 4000
17:20:04: ------------------------------------------
17:20:04: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
17:20:04: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:20:04:   New Scene
17:20:04: Using graphics capture
17:20:04: Using text output
17:20:04: Using text output
17:20:04: Using text output
17:20:04: ------------------------------------------
17:20:04:     device: Logitech HD Webcam C525,
17:20:04:     device id \\?\usb#vid_046d&pid_0826&mi_02#7&19681929&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:20:04:     chosen type: I420, usingFourCC: false, res: 1600x896 - 1600x896, frameIntervals: 333333-2000000, fourCC: 'I420'
17:20:04:     audio device: Disable,
17:20:04:     audio device id Disabled,
17:20:04: 
17:20:04: Using directshow input
17:20:05: SharedTexCapture hooked
17:20:06: Using RTMP service: Twitch / Justin.tv
17:20:06:   Server selection: rtmp://live-ams.justin.tv/app
17:20:08: SO_SNDBUF was at 8192
17:20:08: SO_SNDBUF is now 65536
17:20:38: GraphicsCaptureSource::NewCapture:  eliminating old capture
17:20:38: SharedTexCapture hooked
17:23:17: Total frames rendered: 5782, number of frames that lagged: 5 (0.09%) (it's okay for some frames to lag)
17:23:18: RTMPPublisher::SocketLoop: Aborting due to bStopping
17:23:18: Number of times waited to send: 0, Waited for a total of 0 bytes
17:23:18: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
17:23:18: =====Stream End: 2013-09-08, 17:23:18=================================================
17:23:18: 
17:23:18: Profiler results:
17:23:18: 
17:23:18: ==============================================================
17:23:18: frame - [100%] [avg time: 2.997 ms] [avg calls per frame: 1] [children: 71.2%] [unaccounted: 28.8%]
17:23:18: | scene->Preprocess - [24.2%] [avg time: 0.724 ms] [avg calls per frame: 1]
17:23:18: | video encoding and uploading - [47.1%] [avg time: 1.411 ms] [avg calls per frame: 1] [children: 40.9%] [unaccounted: 6.14%]
17:23:18: | | CopyResource - [0.534%] [avg time: 0.016 ms] [avg calls per frame: 0]
17:23:18: | | conversion to 4:2:0 - [0.267%] [avg time: 0.008 ms] [avg calls per frame: 0]
17:23:18: | | call to encoder - [39.2%] [avg time: 1.175 ms] [avg calls per frame: 0]
17:23:18: | | sending stuff out - [0.934%] [avg time: 0.028 ms] [avg calls per frame: 0]
17:23:18: ==============================================================
17:23:18:
 

Asbe

New Member
I know... but i am lagging... i use over 4k bitrate.. so can it be problem? Just tested only window capture and use youtube video... no lag..
 

Xphome

Member
Asbe said:
I know... but i am lagging... i use over 4k bitrate.. so can it be problem? Just tested only window capture and use youtube video... no lag..

Yes, that is too much for the average viewer. Twitch also doesn't like when people use over 3000-3500kbit/s bitrate.
 

Asbe

New Member
i switched it to 2500 kb and still little lag.. 2000kb nothing..

I have VDSL 100/100 so i can give really big bitrate..
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Paulius9, Asbe - I was watching some vods you made and didn't particularly see any problems. If possible you may want to point to a specific vod and time within the vod that demonstrates the problem.

If you're lagging in your game (high ping caused by streaming), turn on "minimize network impact" in broadcast settings. Note that this can increase the likelyhood for frame drops if you're using too much bandwidth, but reduces network impact of the stream upon other things on your computer (such as league).

Now, if your viewers are experiencing lag, that's another story, usually just caused by frame drops or high bitrate.

Asbe - noticed you were streaming at 4000. 4000 is a bit high and can cause some viewers to get lag. Reduce it to 3000 or less, 4000 is probably too high and may cause some viewers to experience lag.
 
Top