Question / Help [HELP] 720p without breaks

migueli15

New Member
Hello,

I'm trying to stream to Twitch.tv at 720p quality, but my viewers saying the stream is always breaking, and when i go to OBS program always 30% of my frames are dropped, can u get me a good config options for OBS for stop droping frames?

My specs:
Processor: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
Video Card: EVGA GTX 560Ti SC @ 1GB
Motherboard: ASUS P8H77-M
RAM: G.Skill Ripjaws 8192MB @ 1600Mhz

Internet:
2911037099.png


Thanks,
http://www.twitch.tv/migueli15
 

Kharay

Member
Could you post an OBS log of a session that had these problems? http://obsproject.com/forum/viewtopic.php?f=5&t=97

And could you run an upload test here -- http://testmy.net/upload -- making sure to test to a server near the one you have been streaming to. So we can determine what your actual speed to that server is like. The thing about SpeedTest.net -- its method of testing is not accurate for streaming, Testmy.net's method is closer to what an actual stream is like.
 

Kharay

Member
If you stream to London, it's not a problem. Testmy.net has a location in Amsterdam, which is quite close to London.
 

Krazy

Town drunk
Lower your bitrate, you don't need 4000 to stream 720p30fps. 2000 is sufficient, 2500 for excellent quality.
 

MannerRev

Member
Krazy said:
Lower your bitrate, you don't need 4000 to stream 720p30fps. 2000 is sufficient, 2500 for excellent quality.

I must be missing something, because for some reason, I can't manage to get rid of pixelization during high motion scenes at 800p30 with 3500 kbps. Is there some sort of secret?
 

Kharay

Member
A couple of secrets, one of which is that there is a very hard limit on the level of quality that can be attained in livestreaming. Regardless, which title are you streaming in that example you mentioned? Do you have a recent OBS log? Would tell us what's going on as far as OBS is concerned.
 

MannerRev

Member
I'm streaming a few games which are high action games, namely Firefall and Vindictus as the egregious offenders. I have issues where a bunch of explosions are going on and the text just becomes nearly illegible. I'm doing some testing right now, and can upload some logs in about 15 minutes to give you a better idea of what I'm working with.
 

Krazy

Town drunk
Games like that are just going to be impossible to eliminate artifacting at any reasonable bitrate. Too much happening on screen + constantly moving screen. It stresses the encoder quite heavily, and it's just something you have to accept when livestreaming.
 

MannerRev

Member
Hmm.. maybe my expectations are just set too high, then? Here are some logs/vods to show what I'm currently working with (sorry for the flood of details!):

Both tests are 800p30 with Lanczos Filter downscale using Window Capture w/ Aero Enabled

I just feel like I've seen high-motion streams with nothing near this sort of blockiness, and it makes me feel like I'm doing something wrong or missing out on an important detail!

First test: 2500 kbps, Medium Preset, no custom settings:
VOD: http://www.twitch.tv/mannerrev/c/2786380
Code:
14:51:08: =====Stream Start: 2013-08-20, 14:51:08===============================================
14:51:08:   Multithreaded optimizations: On
14:51:08:   Base resolution: 1920x1200
14:51:08:   Output resolution: 1280x800
14:51:08: ------------------------------------------
14:51:08: Loading up D3D10 on NVIDIA GeForce GTX 680...
14:51:09: Playback device Default
14:51:09: ------------------------------------------
14:51:09: Using desktop audio input: Razer HP-1 (Razer Barracuda AC-1 Gaming Audio Card)
14:51:09: ------------------------------------------
14:51:09: Using auxilary audio input: Microphone (Razer Barracuda AC-1 Gaming Audio Card)
14:51:09: ------------------------------------------
14:51:09: Audio Encoding: AAC
14:51:09:     bitrate: 128
14:51:09: Using graphics capture
14:51:09: ------------------------------------------
14:51:09: Video Encoding: x264
14:51:09:     fps: 30
14:51:09:     width: 1280, height: 800
14:51:09:     preset: medium
14:51:09:     CBR: yes
14:51:09:     CFR: no
14:51:09:     max bitrate: 2500
14:51:09: ------------------------------------------
14:51:09: MMDeviceAudioSource: Frequency for device 'Razer HP-1 (Razer Barracuda AC-1 Gaming Audio Card)' is 384000, samples per sec is 48000
14:51:09: MMDeviceAudioSource: Frequency for device 'Microphone (Razer Barracuda AC-1 Gaming Audio Card)' is 768000, samples per sec is 96000
14:51:09: Using Window Capture
14:51:11: Using RTMP service: Twitch / Justin.tv
14:51:11:   Server selection: rtmp://live-lax.justin.tv/app
14:51:11:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 1000 mbps)
14:51:13: SO_SNDBUF was at 81920
14:51:13: SO_SNDBUF is now 65536
14:51:14: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 50908 / 335872)
14:51:30: Using Window Capture
14:51:47: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 0 / 335872)
14:55:26: Total frames rendered: 7722, number of late frames: 7 (0.09%) (it's okay for some frames to be late)
14:55:27: RTMPPublisher::SocketLoop: Graceful loop exit
14:55:27: Number of times waited to send: 0, Waited for a total of 0 bytes
14:55:27: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
14:55:27: 
14:55:27: Profiler results:
14:55:27: 
14:55:27: ==============================================================
14:55:27: frame - [100%] [avg time: 1.701 ms (cpu time: avg 1.323 ms, total 10218.8 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.235%]
14:55:27: | frame preprocessing and rendering - [42.9%] [avg time: 0.73 ms (cpu time: avg 0.388 ms, total 3000 ms)] [avg calls per frame: 1] [children: 25%] [unaccounted: 17.9%]
14:55:27: | | scene->Preprocess - [25%] [avg time: 0.426 ms (cpu time: avg 0.089 ms, total 687.5 ms)] [avg calls per frame: 1]
14:55:27: | video encoding and uploading - [56.8%] [avg time: 0.967 ms (cpu time: avg 0.932 ms, total 7203.13 ms)] [avg calls per frame: 1] [children: 56.1%] [unaccounted: 0.764%]
14:55:27: | | flush - [2.82%] [avg time: 0.048 ms (cpu time: avg 0.052 ms, total 406.25 ms)] [avg calls per frame: 1]
14:55:27: | | CopyResource - [0.764%] [avg time: 0.013 ms (cpu time: avg 0.01 ms, total 78.125 ms)] [avg calls per frame: 0]
14:55:27: | | conversion to 4:2:0 - [0.176%] [avg time: 0.003 ms (cpu time: avg 0.008 ms, total 62.5 ms)] [avg calls per frame: 0]
14:55:27: | | call to encoder - [51%] [avg time: 0.867 ms (cpu time: avg 0.831 ms, total 6421.88 ms)] [avg calls per frame: 0]
14:55:27: | | sending stuff out - [1.35%] [avg time: 0.023 ms (cpu time: avg 0.026 ms, total 203.125 ms)] [avg calls per frame: 0]
14:55:27: | Convert444Threads - [3.91e+003%] [avg time: 66.536 ms (cpu time: avg 0.625 ms, total 4828.13 ms)] [avg calls per frame: 1]
14:55:27: ==============================================================
14:55:27: 
14:55:27: =====Stream End: 2013-08-20, 14:55:27=================================================

Second test: 3500kbps, Very Fast, custom encoder settings in place.
VOD: http://www.twitch.tv/mannerrev/c/2786429
Code:
15:02:14: =====Stream Start: 2013-08-20, 15:02:14===============================================
15:02:14:   Multithreaded optimizations: On
15:02:14:   Base resolution: 1920x1200
15:02:14:   Output resolution: 1280x800
15:02:14: ------------------------------------------
15:02:14: Loading up D3D10 on NVIDIA GeForce GTX 680...
15:02:15: Playback device Default
15:02:15: ------------------------------------------
15:02:15: Using desktop audio input: Razer HP-1 (Razer Barracuda AC-1 Gaming Audio Card)
15:02:15: ------------------------------------------
15:02:15: Using auxilary audio input: Microphone (Razer Barracuda AC-1 Gaming Audio Card)
15:02:15: ------------------------------------------
15:02:15: Audio Encoding: AAC
15:02:15:     bitrate: 128
15:02:15: Using Window Capture
15:02:15: Using custom x264 settings: "b-adapt=1 bframes=16 rc-lookahead=60 subme=7 ref=3 weightp=2 trellis=1 deblock=0:0"
15:02:15: ------------------------------------------
15:02:15: Video Encoding: x264
15:02:15:     fps: 30
15:02:15:     width: 1280, height: 800
15:02:15:     preset: veryfast
15:02:15:     CBR: yes
15:02:15:     CFR: no
15:02:15:     max bitrate: 3500
15:02:15: ------------------------------------------
15:02:15: MMDeviceAudioSource: Frequency for device 'Razer HP-1 (Razer Barracuda AC-1 Gaming Audio Card)' is 384000, samples per sec is 48000
15:02:15: MMDeviceAudioSource: Frequency for device 'Microphone (Razer Barracuda AC-1 Gaming Audio Card)' is 768000, samples per sec is 96000
15:02:19: Using RTMP service: Twitch / Justin.tv
15:02:19:   Server selection: rtmp://live-lax.justin.tv/app
15:02:19:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 1000 mbps)
15:02:20: SO_SNDBUF was at 81920
15:02:20: SO_SNDBUF is now 65536
15:02:21: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 82648 / 463872)
15:02:21: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 3105 / 463872)
15:05:20: RTMPPublisher::Socketloop: Increasing send buffer to ISB 524288 (buffer: 0 / 463872)
15:07:15: Total frames rendered: 9001, number of late frames: 10 (0.11%) (it's okay for some frames to be late)
15:07:15: RTMPPublisher::SocketLoop: Graceful loop exit
15:07:16: Number of times waited to send: 0, Waited for a total of 0 bytes
15:07:16: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
15:07:16: 
15:07:16: Profiler results:
15:07:16: 
15:07:16: ==============================================================
15:07:16: frame - [100%] [avg time: 1.823 ms (cpu time: avg 1.296 ms, total 11671.9 ms)] [avg calls per frame: 1] [children: 99.7%] [unaccounted: 0.274%]
15:07:16: | frame preprocessing and rendering - [42.6%] [avg time: 0.777 ms (cpu time: avg 0.305 ms, total 2750 ms)] [avg calls per frame: 1] [children: 26%] [unaccounted: 16.6%]
15:07:16: | | scene->Preprocess - [26%] [avg time: 0.474 ms (cpu time: avg 0.059 ms, total 531.25 ms)] [avg calls per frame: 1]
15:07:16: | video encoding and uploading - [57.1%] [avg time: 1.041 ms (cpu time: avg 0.991 ms, total 8921.88 ms)] [avg calls per frame: 1] [children: 56.4%] [unaccounted: 0.713%]
15:07:16: | | flush - [2.74%] [avg time: 0.05 ms (cpu time: avg 0.059 ms, total 531.25 ms)] [avg calls per frame: 1]
15:07:16: | | CopyResource - [0.713%] [avg time: 0.013 ms (cpu time: avg 0.01 ms, total 93.75 ms)] [avg calls per frame: 0]
15:07:16: | | conversion to 4:2:0 - [0.165%] [avg time: 0.003 ms (cpu time: avg 0.001 ms, total 15.625 ms)] [avg calls per frame: 0]
15:07:16: | | call to encoder - [51.2%] [avg time: 0.933 ms (cpu time: avg 0.878 ms, total 7906.25 ms)] [avg calls per frame: 0]
15:07:16: | | sending stuff out - [1.59%] [avg time: 0.029 ms (cpu time: avg 0.032 ms, total 296.875 ms)] [avg calls per frame: 0]
15:07:16: | Convert444Threads - [3.65e+003%] [avg time: 66.612 ms (cpu time: avg 0.972 ms, total 8750 ms)] [avg calls per frame: 1]
15:07:16: ==============================================================
15:07:16: 
15:07:16: =====Stream End: 2013-08-20, 15:07:16=================================================
 

Krazy

Town drunk
Considering all the high motion, constantly moving viewpoint, overabundance of spell/particle effects, that's about as good as you can hope for without unrealistic bitrates.
 

MannerRev

Member
Krazy said:
Considering all the high motion, constantly moving viewpoint, overabundance of spell/particle effects, that's about as good as you can hope for without unrealistic bitrates.

I tried upping subme to 10 just to check things out, but it really wasn't that drastic of a difference in quality while nearly maxing my CPU as a tradeoff.

Is there anything you could suggest to increase the compression a bit more? I seem to have a bit of CPU left over even with the higher, custom settings. I was just wondering if there was anything you knew of (custom encoder settings) that would specifically help in high motion scenes other than bitrate.
 

Krazy

Town drunk
Not really, considering the kind of game it is, all that you can really do is up the bitrate if you want to further reduce macroblocks. It's just really busy on screen
 

MannerRev

Member
Aww, that's a shame. I really thought I could squeeze out some more. Anyway, thanks for your help. Appreciate it as always.
 
Top