Question / Help Another Choppy Stream thread

ThePatchelist

New Member
Hello.

So, i saw that there are lots of people having problems with their streams but the answers in these threads did not really help me.

That's why i thought i'd create a own thread about my issue.

First of all, here is my latest log that should provide you with all the PC spec informations and settings i am using.

Code:
Open Broadcaster Software v0.47a - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD Phenom(tm) II X4 955 Processor
CPU Speed: 3206MHz
Physical Memory:  4095MB Total, 1740MB Free
stepping id: 3, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 460
  Video Adapter Dedicated Video Memory: 1025966080
  Video Adapter Shared System Memory: 1878648832
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{3ca06ca8-f7a3-4f8a-8ac1-ba0bec3ac501}
------------------------------------------
Using desktop audio input: Lautsprecher (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: faster
    CBR: no
    CFR: no
    max bitrate: 1800
    buffer size: 2000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1994, outputRateWindowTime: 1000, dropThreshold: 2494
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
Using text output
Using Window Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
Using text output
Using Window Capture
Total frames rendered: 2477, number of frames that lagged: 192 (7.75%) (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: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{3ca06ca8-f7a3-4f8a-8ac1-ba0bec3ac501}
------------------------------------------
Using desktop audio input: Lautsprecher (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using text output
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: faster
    CBR: no
    CFR: no
    max bitrate: 1800
    buffer size: 2000
    quality: 10
------------------------------------------
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using text output
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
SharedTexCapture hooked
Total frames rendered: 45765, number of frames that lagged: 258 (0.56%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{3ca06ca8-f7a3-4f8a-8ac1-ba0bec3ac501}
------------------------------------------
Using desktop audio input: Lautsprecher (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: faster
    CBR: no
    CFR: no
    max bitrate: 1800
    buffer size: 2000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1602, outputRateWindowTime: 1000, dropThreshold: 2102
SharedTexCapture hooked
SharedTexCapture hooked
RTMPPublisher::BufferedSend: Socket buffer is full (262395 / 263168 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (262395 / 263168 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (263055 / 263168 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (263055 / 263168 bytes), waiting to send 4097 bytes
Total frames rendered: 4514, number of frames that lagged: 1783 (39.50%) (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: 7.439 ms] [avg calls per frame: 1] [children: 79.2%] [unaccounted: 20.8%]
| scene->Preprocess - [3.91%] [avg time: 0.291 ms] [avg calls per frame: 1]
| video encoding and uploading - [75.3%] [avg time: 5.6 ms] [avg calls per frame: 1] [children: 52.3%] [unaccounted: 23%]
| | CopyResource - [3.35%] [avg time: 0.249 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.591%] [avg time: 0.044 ms] [avg calls per frame: 0]
| | call to encoder - [48.2%] [avg time: 3.582 ms] [avg calls per frame: 0]
| | sending stuff out - [0.161%] [avg time: 0.012 ms] [avg calls per frame: 0]
==============================================================

That was just a small testing of streaming the game Fifa13.

So, i know that my PC isn't that good and that i am probably not able to have a really high quality while streaming, but what i experienced was a little bit odd due to the fact that i already streamed like Fifa12 a while back but back then i used the "Livestream.com" broadcaster and their website - also i streamed World of Warcraft some time ago, even with a worst PC then i own now, and that worked aswell, so there should be some way to stream with this setup - right?

I tried setting the stream up for games like CS 1.6, Path of Exile, Fifa13 and ArmA2 (Wasteland/DayZ)

While ArmA2 will be a tough one the other games shouldnt be that much of a problem, but while trying around it was always a bad and choppy result. In some cases the game was unplayable aswell, in others it was perfectly fine.

Is there anyone able to help me find the right settings to have a decent stream? Would be awesome.

My upload capactiy btw. is about 2.5mbit if that helps - but i think that is actually not the issue here.

Thanks.
 

R1CH

Forum Admin
Developer
You're getting lagged frames because you changed the preset to something your CPU can't support - put it back to veryfast. If you continue to get lag, reduce the FPS to 30. AMD CPUs are not very capable when it comes to gaming and streaming.
 

ThePatchelist

New Member
Okay, well thanks, i changed that value back to veryfast and also changed it to 30fps.

That helped a little bit, at least ingame is playable now - but did not really fix the output on the stream.
Tried it on Fifa13 and Path of Exile now. Also changed the Quality and Bitrate Settings throughout the streaming (yes, i restarted the stream, also aero is disabled), but still there are freezes every couple of seconds.

Had the quality on 1 and 500 kbit bitrate in the end, but got exactly the same result wiht higher settings.

any ideas what it could be now?

While i don't want to advertise my channel here because i am pretty sure it is not allowed, i could post the recordings on my twitch profile to show you these stutterings i am talking about. if that is okay for the purpose of helping.
 

R1CH

Forum Admin
Developer
You can post links to VODs, that's fine. Make sure you don't have any global capture sources. Your log also shows you using both monitor and window capture, one of them will perform badly when Aero is on or off. For ideal testing, make sure there are no other active sources (global or otherwise), and use either game capture or window capture with Aero enabled.
 

ThePatchelist

New Member
okay well i already removed every source before my latest testing.

Here is another new log (or 2 logs) from some additional testing with aero disabled and enabled:

Code:
Open Broadcaster Software v0.47a - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD Phenom(tm) II X4 955 Processor
CPU Speed: 3206MHz
Physical Memory:  4095MB Total, 1566MB Free
stepping id: 3, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 460
  Video Adapter Dedicated Video Memory: 1025966080
  Video Adapter Shared System Memory: 1878648832
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{3ca06ca8-f7a3-4f8a-8ac1-ba0bec3ac501}
------------------------------------------
Using desktop audio input: Lautsprecher (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2500
    buffer size: 3000
    quality: 5
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 166, number of frames that lagged: 1 (0.60%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{3ca06ca8-f7a3-4f8a-8ac1-ba0bec3ac501}
------------------------------------------
Using desktop audio input: Lautsprecher (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2500
    buffer size: 3000
    quality: 5
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1808, outputRateWindowTime: 1000, dropThreshold: 2308
RTMPPublisher::BufferedSend: Socket buffer is full (340395 / 344064 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (340395 / 344064 bytes), waiting to send 4097 bytes
Total frames rendered: 4631, number of frames that lagged: 11 (0.24%) (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: 6.055 ms] [avg calls per frame: 1] [children: 84.5%] [unaccounted: 15.5%]
| scene->Preprocess - [0.0826%] [avg time: 0.005 ms] [avg calls per frame: 1]
| video encoding and uploading - [84.4%] [avg time: 5.113 ms] [avg calls per frame: 1] [children: 37.2%] [unaccounted: 47.3%]
| | CopyResource - [0.512%] [avg time: 0.031 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [3.42%] [avg time: 0.207 ms] [avg calls per frame: 0]
| | call to encoder - [32.9%] [avg time: 1.993 ms] [avg calls per frame: 0]
| | sending stuff out - [0.33%] [avg time: 0.02 ms] [avg calls per frame: 0]
==============================================================

Code:
Open Broadcaster Software v0.47a - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD Phenom(tm) II X4 955 Processor
CPU Speed: 3206MHz
Physical Memory:  4095MB Total, 938MB Free
stepping id: 3, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 460
  Video Adapter Dedicated Video Memory: 1025966080
  Video Adapter Shared System Memory: 1878648832
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{3ca06ca8-f7a3-4f8a-8ac1-ba0bec3ac501}
------------------------------------------
Using desktop audio input: Lautsprecher (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2500
    buffer size: 3000
    quality: 5
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1977, outputRateWindowTime: 1000, dropThreshold: 2477
RTMPPublisher::BufferedSend: Socket buffer is full (341511 / 344064 bytes), waiting to send 3040 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (341511 / 344064 bytes), waiting to send 3040 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (341133 / 344064 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
RTMPPublisher::BufferedSend: Socket buffer is full (341133 / 344064 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (340097 / 344064 bytes), waiting to send 4097 bytes
Total frames rendered: 6570, number of frames that lagged: 0 (0.00%) (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: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{3ca06ca8-f7a3-4f8a-8ac1-ba0bec3ac501}
------------------------------------------
Using desktop audio input: Lautsprecher (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1500
    buffer size: 2500
    quality: 5
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1819, outputRateWindowTime: 1000, dropThreshold: 2319
Total frames rendered: 2801, number of frames that lagged: 1 (0.04%) (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: 5.546 ms] [avg calls per frame: 1] [children: 89.1%] [unaccounted: 10.9%]
| scene->Preprocess - [0.0902%] [avg time: 0.005 ms] [avg calls per frame: 1]
| video encoding and uploading - [89.1%] [avg time: 4.939 ms] [avg calls per frame: 1] [children: 39.7%] [unaccounted: 49.4%]
| | CopyResource - [0.541%] [avg time: 0.03 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [1.86%] [avg time: 0.103 ms] [avg calls per frame: 0]
| | call to encoder - [36.8%] [avg time: 2.042 ms] [avg calls per frame: 0]
| | sending stuff out - [0.451%] [avg time: 0.025 ms] [avg calls per frame: 0]
==============================================================

But still these weird freezes...
hmm.. is it possible that i am experiencing them because i am watching my stream on the machine i am streaming from?

i mean, probably this is a rookie mistake.. but i wonder if these streams i see on the live stream even exist for other viewers or happen because i am watching that stream simultaniously...

edit: oh god i am an idiot :D
because exactly that seemed to be the issue. i just saw it choppy due to me streaming it and my pc not being able to watch the stream at the same time.

also checked the VOD´s and their problem was they were not loaded fast enough and stuttered then - if i let them buffer a while they seem fine, so i guess the stream is fine aswell.

thank you nevertheless for your assistance, and if i might encoutner some problems that actually exist, i will post it in this thread again.
 

R1CH

Forum Admin
Developer
Yeah you should never watch your own stream (or any stream) while you're trying to stream, it takes quite a bit of CPU and GPU power to decode flash streams!
 
Top