Question / Help Stream not smooth, feedback appreciated

Shifter

New Member
Hello guys,

I've recently gotten into streaming but I'm not satisfied with my quality.

First off my specs:
i5 2500k @ 4.3ghz
8GB Vengeance LP
7950 DC2T @ 1100/1250
P8P67 Pro
100mbit/100mbit Down/Up

Code:
Open Broadcaster Software v0.466a - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3300MHz
Physical Memory:  8159MB Total, 4441MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 7900 Series
  Video Adapter Dedicated Video Memory: 3201495040
  Video Adapter Shared System Memory: 4009304064
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: G35 (Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
DShowPlugin: No audio pin, result = 80004005
------------------------------------------
    device: Dxtory Video 1,
    device id (null),
    chosen type: RGB32, usingFourCC: false, res: 1280x720 - 1280x720, fps: 60.0002-60.0002, fourCC: 00000000

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: ﻀ!
bufferTime: 1899, outputRateWindowTime: 1000, dropThreshold: 2399
RTMPPublisher::BufferedSend: Buffer is full (408206 / 408576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (408206 / 408576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (408108 / 408576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (408108 / 408576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (405586 / 408576 bytes), waiting to send 3417 bytes
RTMPPublisher::BufferedSend: Buffer is full (406652 / 408576 bytes), waiting to send 3741 bytes
RTMPPublisher::BufferedSend: Buffer is full (408511 / 408576 bytes), waiting to send 599 bytes
RTMPPublisher::BufferedSend: Buffer is full (408338 / 408576 bytes), waiting to send 626 bytes
RTMPPublisher::BufferedSend: Buffer is full (405411 / 408576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (408393 / 408576 bytes), waiting to send 526 bytes
Total frames rendered: 13420, number of frames that lagged: 129 (0.96%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 233 (1%), Number of p-frames dropped: 40 (0.17%), Total 273 (1.2%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 4.558 ms] [avg calls per frame: 1] [children: 99.3%] [unaccounted: 0.68%]
| scene->Preprocess - [17%] [avg time: 0.773 ms] [avg calls per frame: 1]
| video encoding and uploading - [82.4%] [avg time: 3.754 ms] [avg calls per frame: 1] [children: 28.8%] [unaccounted: 53.6%]
| | CopyResource - [7.7%] [avg time: 0.351 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0439%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | call to encoder - [20.7%] [avg time: 0.945 ms] [avg calls per frame: 0]
| | sending stuff out - [0.329%] [avg time: 0.015 ms] [avg calls per frame: 0]
==============================================================

If you take a look at my VoD it's hard to make things out when it's going a wee bit fast in NFS.

I'm streaming in 720p @ 60fps with the help from dxtory. I use these settings although I do not record, just use directshow output:
dAQIN.png

This image is taken from this guide.

All the feedback on how I can improve my streaming is appreciated and I will try to test the different suggestions and post a short (~3 min) video of the new settings you suggest.
 

hilalpro

Member
i would recommend using obs game capture rather than dxtory..

about the quality issue. you can use a bitrate of 4000 for more quality but the connection to your current twitch server is not optimal. pick a closer or different server first. see if you get no frame drops.

also it would be a great idea to lower the quality value to 8 since it's a racing game and requires more bitrate to look nice at 10.
 

Shifter

New Member
hilalpro said:
i would recommend using obs game capture rather than dxtory..

about the quality issue. you can use a bitrate of 4000 for more quality but the connection to your current twitch server is not optimal. pick a closer or different server first. see if you get no frame drops.

also it would be a great idea to lower the quality value to 8 since it's a racing game and requires more bitrate to look nice at 10.

I increased the bitrate to 4000 and changed the quality balance to 8. I also used game capture instead of dxtory this time. This is the result.

I also changed servers to frankfurt and got 0 dropped frames according to the below log (if I read it correctly):
Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3300MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 7900 Series
  Video Adapter Dedicated Video Memory: 3201495040
  Video Adapter Shared System Memory: 4009304064
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: G35 (Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1950, outputRateWindowTime: 1000, dropThreshold: 2450
Total frames rendered: 13065, number of frames that lagged: 40 (0.31%) (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=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 4.254 ms] [avg calls per frame: 1] [children: 83.4%] [unaccounted: 16.6%]
| scene->Preprocess - [0.0705%] [avg time: 0.003 ms] [avg calls per frame: 1]
| video encoding and uploading - [83.3%] [avg time: 3.544 ms] [avg calls per frame: 1] [children: 22%] [unaccounted: 61.3%]
| | CopyResource - [0.353%] [avg time: 0.015 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0705%] [avg time: 0.003 ms] [avg calls per frame: 0]
| | call to encoder - [21.2%] [avg time: 0.903 ms] [avg calls per frame: 0]
| | sending stuff out - [0.4%] [avg time: 0.017 ms] [avg calls per frame: 0]
==============================================================

However. It still looks really grainy when going high speed. So I guess my next question is how can I improve the imagequality?

And thank you for your input.
 

dodgepong

Administrator
Community Helper
Personally I think it looks pretty good. But if you absolutely must have better quality, you can choose a slower x264 preset below veryfast (such as faster or even fast). However, this will significantly increase your CPU usage, so use at your own risk.
 

hilalpro

Member
Shifter said:
hilalpro said:
i would recommend using obs game capture rather than dxtory..

about the quality issue. you can use a bitrate of 4000 for more quality but the connection to your current twitch server is not optimal. pick a closer or different server first. see if you get no frame drops.

also it would be a great idea to lower the quality value to 8 since it's a racing game and requires more bitrate to look nice at 10.

I increased the bitrate to 4000 and changed the quality balance to 8. I also used game capture instead of dxtory this time. This is the result.

I also changed servers to frankfurt and got 0 dropped frames according to the below log (if I read it correctly):
Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3300MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 7900 Series
  Video Adapter Dedicated Video Memory: 3201495040
  Video Adapter Shared System Memory: 4009304064
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: G35 (Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1950, outputRateWindowTime: 1000, dropThreshold: 2450
Total frames rendered: 13065, number of frames that lagged: 40 (0.31%) (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=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 4.254 ms] [avg calls per frame: 1] [children: 83.4%] [unaccounted: 16.6%]
| scene->Preprocess - [0.0705%] [avg time: 0.003 ms] [avg calls per frame: 1]
| video encoding and uploading - [83.3%] [avg time: 3.544 ms] [avg calls per frame: 1] [children: 22%] [unaccounted: 61.3%]
| | CopyResource - [0.353%] [avg time: 0.015 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0705%] [avg time: 0.003 ms] [avg calls per frame: 0]
| | call to encoder - [21.2%] [avg time: 0.903 ms] [avg calls per frame: 0]
| | sending stuff out - [0.4%] [avg time: 0.017 ms] [avg calls per frame: 0]
==============================================================

However. It still looks really grainy when going high speed. So I guess my next question is how can I improve the imagequality?

And thank you for your input.

looking at the vod and log i can see that the stream quality has improved and the frames are more on time than before

more bitrate would mean more quality.. but you have to consider your viewers connection also.. lower the quality to 6 that should further help with the high speed quality at the cost of low speed's quality
 

Shifter

New Member
dodgepong said:
Personally I think it looks pretty good. But if you absolutely must have better quality, you can choose a slower x264 preset below veryfast (such as faster or even fast). However, this will significantly increase your CPU usage, so use at your own risk.


hilalpro said:
looking at the vod and log i can see that the stream quality has improved and the frames are more on time than before

more bitrate would mean more quality.. but you have to consider your viewers connection also.. lower the quality to 6 that should further help with the high speed quality at the cost of low speed's quality

I changed the x264 preset to faster which will only work on certain games because I'm between 90-100% cpu usage so might have to use veryfast in some games. The quality balance I lowered to 6 and this is the result



Personally I think it looks better overall. I might increase bitrate slightly but other than that is there anything else I can change or am I closing in on the possible quality I can get with my setup?

As always, thanks to you both for your input. Looks way better than my first video and less framedrops.
 

hilalpro

Member
Shifter said:
dodgepong said:
Personally I think it looks pretty good. But if you absolutely must have better quality, you can choose a slower x264 preset below veryfast (such as faster or even fast). However, this will significantly increase your CPU usage, so use at your own risk.


hilalpro said:
looking at the vod and log i can see that the stream quality has improved and the frames are more on time than before

more bitrate would mean more quality.. but you have to consider your viewers connection also.. lower the quality to 6 that should further help with the high speed quality at the cost of low speed's quality

I changed the x264 preset to faster which will only work on certain games because I'm between 90-100% cpu usage so might have to use veryfast in some games. The quality balance I lowered to 6 and this is the result



Personally I think it looks better overall. I might increase bitrate slightly but other than that is there anything else I can change or am I closing in on the possible quality I can get with my setup?

As always, thanks to you both for your input. Looks way better than my first video and less framedrops.


the thing is you're lagging a bit of frames so changing the preset will make you lag more frames. if you're willing to trade the fps for the "faster" preset that would do (not worth it though)

something like 30fps with "faster" preset forget about fast .. but i would rather just keep the 60 fps with veryfast 6 quality, it looks fine and your settings are optimal.
 

Shifter

New Member
hilalpro said:
the thing is you're lagging a bit of frames so changing the preset will make you lag more frames. if you're willing to trade the fps for a faster preset that would do (not worth it though)

something like 30fps with "faster" preset forget about fast .. but i would rather just keep the 60 fps with veryfast 6 quality, it looks fine and your settings are optimal.

Yeah I see what you mean. I will be running with veryfast for now. I'm getting an i7 as soon as I get some extra cash and that's when I will start using "faster". I was just thinking that I could probably use "faster" in games like League of Legends or some older games that barely use any of the processingpower in the i5.
 
Top