Question / Help Stream fine - Gameplay choppy

MrrLee

New Member
Just started streaming and streaming in 1080p. I got internet of 100/10 (yay sweden) and I'm able to stream 1080p without any internet problems, the stream looks fine and smooth. My FPS is above 60 constantly (never drops).

But a problem I have is that in the game (Just tried LoL and Limbo) the game skip 2-4 frames during different times, maybe per 10 sec.

I can't play LoL with this and it's annoying, somebody know how? I've tried changing resolution, downscale, what speed I stream and Quality balance.


Thanks!
 

MrrLee

New Member
hilalpro said:
use this estimator http://obsproject.com/estimator to help you with the right settings.
i would also suggest using game capture if you you're not already

if you've done all of that and still no improvement try putting obs on a lower priority from task manager.


post a log if the problem persist.
viewtopic.php?f=5&t=97

Did that, suggested quality 8-10 and 4000kbps buffer/bitrate
Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz
CPU Speed: 2798MHz
Physical Memory:  4091MB Total, 2054MB Free
stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: ATI Radeon HD 5700 Series
  Video Adapter Dedicated Video Memory: 1066237952
  Video Adapter Shared System Memory: 1876684800
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 1000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1975, outputRateWindowTime: 1000, dropThreshold: 2475
Total frames rendered: 9839, number of frames that lagged: 4691 (47.68%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: MP3
    bitrate: 320
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1408, outputRateWindowTime: 1000, dropThreshold: 1908
Total frames rendered: 1105, number of frames that lagged: 676 (61.18%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: MP3
    bitrate: 320
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 2000

That's what happend when i used Game capture (League of Legends - which is set to 1920x1080).
It still persist, I hold on my champion and sometimes it skips 1-2 frame then it happens later again.
 

zolia

Member
you should choise between, 720p 60fps or 1080p 30fps, you cant really do 1080p 60fps, for viewer will cost lot of cpu (if they are able to watch since it really hard), and reduce quality around 7-8 i think, for game like LoL i think should be around 6-7.
 

MrrLee

New Member
zolia said:
you should choise between, 720p 60fps or 1080p 30fps, you cant really do 1080p 60fps, for viewer will cost lot of cpu (if they are able to watch since it really hard), and reduce quality around 7-8 i think, for game like LoL i think should be around 6-7.
Hade it on 1920x1080 and downscaled it to 720p 60fps and 30fps.
Neither helped, still chopyy :(
 

hilalpro

Member
downscale 1280x720
put the fps at 30
put the audio bitrate at aac 128
put the quality at 7.
bitrate should be 4000
use ultrafast preset

and then use game capture the log file says you're not using it.. to use game capture on LOL start a game first not the just client once you see the actual game alt tab back to obs and add the game capture source for LOL.

all of this should spare you some cpu resources for the game. especially game capture
 

R1CH

Forum Admin
Developer
Don't use ultrafast right away, the quality hit is really quite terrible. It should really be a last resort.
 

Bensam123

Member
Yeah, I used to have that CPU. You can't do 1080p@60 with that. You're looking at 720p@30. I believe I was using 25fps when I streamed with that processor.

720p@30 with a bitrate/buffer at 3000/3000 with a quality of 8 should be fine for that. With a Moba you may even be able to do 2000. Audio is pretty high, although that'll just eat more bandwidth. 96/128/160 is a good recommended setting.

As Rich said, the lighter presets gobble a LOT more bandwidth or they simply reduce the quality.
 

hilalpro

Member
a lighter preset will always reduce motion quality regardless of the bitrate.. your stream and game are shoppy at 720p 30fps with veryfast. downscaling from 1080p on a game such as LOL 1280x720 progressive with ultrafast will still look better than a 480p stream. just go for the horsepower rather than efficiency.
 

Bensam123

Member
From what I've seen that's not the case. I've tried streaming ultrafast at 15Mbps and it yields the same quality as veryfast at 3Mbps. It downscales the quality when it doesn't have enough bandwidth available.
 

hilalpro

Member
if the crf is low enough a 15000 bitrate will look even better at any high enough resolution. but on what we're talking about here the bitrate does not make up for the quality loss. examining each 1 to 2 frames separately being totally different at 30 fps the bitrate will not make up for that.

both at an unlimited bitrate veryfast will easily look much better on motion.. there is more to it than just how much bits
 

hilalpro

Member
you should read your own link a couple more times.. maybe you would understand why a naked vbvmaxrate and crf are not the only visual motion quality factors when both are completely ignored/maxedout at the best possible value (lossless aside).
 

MrrLee

New Member
Okay so I did what you guys said, downscaled to 1280x720, use Game capture ( then used it with software capture alone/same time).
It semi-helped because the frame-skipping stopped for me but my stream started lagging.
http://sv.twitch.tv/mrrrrlee/b/364338397 Link to the video with the Game Capture with/without Software Capture
Code:
Open Broadcaster Software v0.47a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz
CPU Speed: 2798MHz
Physical Memory:  4091MB Total, 2095MB Free
stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: ATI Radeon HD 5700 Series
  Video Adapter Dedicated Video Memory: 1066237952
  Video Adapter Shared System Memory: 1876684800
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: MP3
    bitrate: 320
Using Monitor Capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 8
------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Total frames rendered: 1326, number of frames that lagged: 1326 (100.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: MP3
    bitrate: 320
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 6
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 2894, outputRateWindowTime: 1000, dropThreshold: 3394
RTMPPublisher::BufferedSend: Socket buffer is full (424442 / 424960 bytes), waiting to send 1050 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (424442 / 424960 bytes), waiting to send 1050 bytes
RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10054
Total frames rendered: 3539, number of frames that lagged: 2603 (73.55%) (it's okay for some frames to lag)
okay, this is strange
librtmp error: WriteN, RTMP send error 10054 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of b-frames dropped: 198 (2.6%), Number of p-frames dropped: 208 (2.7%), Total 406 (5.3%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------

Full code log, though the latest one is the one where I used Game capture with/without Software capture.


Thanks in advance!
 

Grimio

Member
The logfile is incomplete. From what I can tell, its the opposite of what you intended to do, it looks like you tested monitor capture with/without game capture.
When you use monitor capture and have Aero enabled, you WILL lag, no matter what. It's a windows limitation which is only resolved in windows 8.
Always disable Aero if you use monitor capture.
 

Krazy

Town drunk
Also don't have monitor capture and game capture in the same scene, it will capture stuff twice that way.
 

MrrLee

New Member
I said in my post that I used Game Capture with and without Software capture. In my video the first half I play in just Game Capture yet it still lags. Halfway through I change it to both Game- and Software Capture, still it lags.

6MfyngS.jpg


First started with Mark Of The Ninja checked, then halfway through I checked 123.

edit: Aero was unchecked the whole time, in my post I said stream lagged, not my computer.
 

Grimio

Member
Like I said, your log file say exactly the opposite what you describe.
Completely remove the software capture from the sources and try it.
Do you have any global sources?
 
Top