Question / Help Quality of stream worsens during fast moving scenes.

alterbyme

New Member
I am having a issue where as the quality of my stream does not maintain a certain level of quality in sense that quality drops during fast moving scenes while stationary scenes on the other hand are perfectly crisp in any HD resolution. The specifications of my system will be listed in the log.

http://www.twitch.tv/alterbyme/b/346663512 if you want to take a look.

My internet speed: http://www.speedtest.net/result/2362166178.png. I have a hunch that it may be my internet connection that does not hold up and is causing the issues. I have a number of reasons to believe this. 1: the promised/advertised speeds were supposed to be 100/100 where as im only getting on average 40-90/10-30. 2: When running the speed test, my upload speed drastically decreased to the near 2 Mbps mark mid evaluation and only when it reaches that point that is start to speed up the the 20mbps mark again. 3: While running the bandwidth tester in Xsplit, my upload speed could literally not exceed 6 Mbps.

If there is any other piece of information you would like, i will post it upon request to do so.


720p.60fps stream
Open Broadcaster Software v0.452a - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
CPU Speed: 3502MHz
Physical Memory: 8068MB Total, 6379MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 670
Video Adapter Dedicated Video Memory: 2091581440
Video Adapter Shared System Memory: 2147479552
------------------------------------------
Adapter 2
Video Adapter: Intel(R) HD Graphics 4000
Video Adapter Dedicated Video Memory: 67108864
Video Adapter Shared System Memory: 1711276032
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (5- Corsair Vengeance 1500)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

device: Microsoft® LifeCam Studio(TM), chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, fps: 7.5-30, fourCC: 'YUY2'

------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 3500
buffer size: 1500
quality: 10
------------------------------------------
Total frames rendered: 4477, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (5- Corsair Vengeance 1500)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

device: Microsoft® LifeCam Studio(TM), chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, fps: 7.5-30, fourCC: 'YUY2'

------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 3500
buffer size: 1500
quality: 10
------------------------------------------
Total frames rendered: 1308, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (5- Corsair Vengeance 1500)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

device: Microsoft® LifeCam Studio(TM), chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, fps: 7.5-30, fourCC: 'YUY2'

------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 3500
buffer size: 1500
quality: 10
------------------------------------------
Total frames rendered: 892, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (5- Corsair Vengeance 1500)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

device: Microsoft® LifeCam Studio(TM), chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, fps: 7.5-30, fourCC: 'YUY2'

------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 3500
buffer size: 1500
quality: 10
------------------------------------------
Total frames rendered: 1931, number of frames that lagged: 1 (0.05%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (5- Corsair Vengeance 1500)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
device: Microsoft® LifeCam Studio(TM), chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, fps: 7.5-30, fourCC: 'YUY2'

------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 3500
buffer size: 1500
quality: 10
------------------------------------------
Using Send Buffer Size: 1460
bufferTime: 2768, outputRateWindowTime: 1000, dropThreshold: 3268
device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

Total frames rendered: 254760, number of frames that lagged: 776 (0.30%) (it's okay for some frames to lag)
Number of b-frames dropped: 282 (0.064%), Number of p-frames dropped: 252 (0.057%), Total 534 (0.12%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 3.819 ms] [avg calls per frame: 1] [children: 89.9%] [unaccounted: 10.1%]
| scene->Preprocess - [28%] [avg time: 1.068 ms] [avg calls per frame: 1]
| video encoding and uploading - [62%] [avg time: 2.366 ms] [avg calls per frame: 1] [children: 23.8%] [unaccounted: 38.2%]
| | CopyResource - [1.07%] [avg time: 0.041 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0524%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | call to encoder - [22.3%] [avg time: 0.851 ms] [avg calls per frame: 0]
| | sending stuff out - [0.367%] [avg time: 0.014 ms] [avg calls per frame: 0]
==============================================================

1080p.30fps stream
Open Broadcaster Software v0.452a - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
CPU Speed: 3502MHz
Physical Memory: 8068MB Total, 5984MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 670
Video Adapter Dedicated Video Memory: 2091581440
Video Adapter Shared System Memory: 2147479552
------------------------------------------
Adapter 2
Video Adapter: Intel(R) HD Graphics 4000
Video Adapter Dedicated Video Memory: 67108864
Video Adapter Shared System Memory: 1711276032
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (5- Corsair Vengeance 1500)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1920x1080 - 1920x1080, fps: 15-30, fourCC: 'YV12'

------------------------------------------
Video Encoding: x264
fps: 30
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 4000
quality: 10
------------------------------------------
device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1920x1080 - 1920x1080, fps: 15-30, fourCC: 'YV12'

device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1920x1080 - 1920x1080, fps: 15-30, fourCC: 'YV12'

Total frames rendered: 542, number of frames that lagged: 3 (0.55%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (5- Corsair Vengeance 1500)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
------------------------------------------
Video Encoding: x264
fps: 30
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 4000
quality: 10
------------------------------------------
device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1920x1080 - 1920x1080, fps: 15-30, fourCC: 'YV12'

Total frames rendered: 2747, number of frames that lagged: 2 (0.07%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (5- Corsair Vengeance 1500)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
------------------------------------------
Video Encoding: x264
fps: 30
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 4000
quality: 10
------------------------------------------
Using Send Buffer Size: 1460
bufferTime: 2647, outputRateWindowTime: 1000, dropThreshold: 3147
device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1920x1080 - 1920x1080, fps: 15-30, fourCC: 'YV12'

device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1920x1080 - 1920x1080, fps: 15-30, fourCC: 'YV12'

device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1920x1080 - 1920x1080, fps: 15-30, fourCC: 'YV12'

Total frames rendered: 254963, number of frames that lagged: 8975 (3.52%) (it's okay for some frames to lag)
Number of b-frames dropped: 404 (0.063%), Number of p-frames dropped: 426 (0.066%), Total 830 (0.13%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (5- Corsair Vengeance 1500)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
device: AVerMedia HD Capture C985 Bus 3, chosen type: YV12, usingFourCC: true, res: 1920x1080 - 1920x1080, fps: 15-30, fourCC: 'YV12'

------------------------------------------
Video Encoding: x264
fps: 30
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 4000
quality: 10
------------------------------------------
Using Send Buffer Size: 1460
bufferTime: 2399, outputRateWindowTime: 1000, dropThreshold: 2899
Total frames rendered: 2182, number of frames that lagged: 624 (28.60%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 9.901 ms] [avg calls per frame: 1] [children: 96%] [unaccounted: 3.98%]
| scene->Preprocess - [66.5%] [avg time: 6.589 ms] [avg calls per frame: 1]
| video encoding and uploading - [29.5%] [avg time: 2.918 ms] [avg calls per frame: 1] [children: 20.3%] [unaccounted: 9.14%]
| | CopyResource - [0.505%] [avg time: 0.05 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0808%] [avg time: 0.008 ms] [avg calls per frame: 0]
| | call to encoder - [19.3%] [avg time: 1.91 ms] [avg calls per frame: 0]
| | sending stuff out - [0.454%] [avg time: 0.045 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
The "quality balance" setting as I have renamed it needs to be turned down if you get pixellation in high motion scenes. It seems to depend somewhat on your bitrate and other factors, but generally it does not control the measure of "quality" itself as people think it does. It seems to be more about how it focuses quality rather than the general idea of quality itself.
 

alterbyme

New Member
I don't suppose you could recommend a balance that would maximize quality while at the same time minimize the quality worsening during fast moving scenes?

Also, thank you (both) for the very quick replies.
 

R1CH

Forum Admin
Developer
It really depends entirely on your scene. Just experiment and look at VODs to find what works best for you.
 

alterbyme

New Member
What exactly is the causation for this? Is there any kind of scenario where i would be able to set the quality balance as 10 and not see a deterioration in quality during moving scenes?

Just trying to gain some insight on this.
Thanks again for your reply.
 

Tak0r

Member
You won't see Pixelation i your bitrate is high enough lets say you Stream 1280x720 with a bitrate of 5000, i'm pretty sure you won't see mur or any pixelation at all.

For 2500-3000 8 seems to be a good deal, personally I have experimented with 1920x1200, 30 fps, 3500 Bitrate and had to set it to 6 to get good results.

As the others said experiment with it since you can't get a definite answer to this. It depends on many different factors.

As for Bandwidth: Twitch limit's the speed for not partnered channels and recommends not exceeding 4 mbps for upload speeds to their servers. so it's not that strange you can't get over 6 mbps and I personally wouldn't recommend this since even if you can get this as upload most users don't have it as download speed. Something betweed 2500 and 3500 seems to be a good balance if you're not partnered and your user's cant change the resolution of your stream.
 

alterbyme

New Member
Thank you very much for the information.

I'm not surprised that Twitch would limit the upload speeds for non-partnered channels seeing as it is a free service after all.

Thanks once again for the help you have provided me.
 
Top