Question / Help Streaming with my setup! Need advice!

Soulkeeperx78

New Member
So I want to stream higher quality content with out cutting frames or making it skip on stream.
As the broadcast I linked down by the obs settings, I am streaming Planetside 2, Also stream War Thunder which some times is just horrible frame skips or...choppyness rather which drives me nuts.

Specs:
Intel Core i7 2600K @ 3.40GHz
Sandy Bridge 32nm Technology
8.00 GB Single-Channel DDR3 @ 802MHz
DELL S2409W (1920x1080@59Hz)
1023MB GeForce GTX 550 Ti (Gigabyte)
699GB Seagate ST3750640NS ATA Device (SATA)

Connection: http://www.speedtest.net/my-result/2823689074


OBS settings with recent video.
http://www.twitch.tv/soulkeeperx78/b/427447981
Quality 10, Max Bitrate 3k, Audio encoding 128, 1920x1080 downscaled 1.50 to 1280x720, Fastest filter with fps at 40,

If anyone can provide information to how to increase the quality please tell!
 

alpinlol

Active Member
to be honest.... the recent broadcast looks fine to me i'd leave it there cant really complain about anything wonder what preset you are using ... you might consider even going with 60fps but its not needed looks pretty smooth the way it is.
 

FerretBomb

Active Member
1) Please post a logfile of a live streaming session; it'll let us peek 'under the hood' and see if there are any areas that could be improved. They're located in %appdata%\OBS\logs and are timestamped.
2) Speedtest.net is next to useless for livestreamers. It rates on dead-file transfer speeds, which can run WELL below your 'rated' speed and burst far over it briefly, so long as it averages out over the course of the file. Livestreams rely on constant throughput though. Go run a 6MB test at http://testmy.net/upload to get a better idea of the throughput you have available.

Be aware that PS2 is a very CPU-intensive game. You may need to restrict it to certain CPU cores, and OBS to different ones, if one program is 'choking' the other. Can do this in the Task Manager, Processes tab. Right-click on each and use the 'Set Affinity' option, unchecking half of the cores for each. In my case, I leave cores 4-7 checked for OBS, and 0-3 checked for my game... since each two cores are a single physical core (0&1, 2&3, 4&5, 6&7) on the i7 series, this keeps them almost entirely separated. May help with the War Thunder choppiness as well (though you may have to try different capture modes for that, I've had a LOT of chop with some games in Game Cap mode for some reason, that went away with Window Cap... and vice-versa).
 

Soulkeeperx78

New Member
So connection is 4.2mb instead of the 5.8

01:04:18: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
01:04:18: -------------------------------
01:04:18: CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
01:04:18: CPU Speed: 3411MHz
01:04:18: Physical Memory: 4095MB Total, 4095MB Free
01:04:18: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
01:04:18: monitor 1: pos={0, 0}, size={1920, 1080}
01:04:18: Windows Version: 6.1 Build 7601 S
01:04:18: Aero is Disabled
01:04:18: -------------------------------
01:04:18: OBS Modules:
01:04:18: Base Address Module
01:04:18: 002B0000 OBS.exe
01:04:18: 715A0000 OBSApi.dll
01:04:18: 741E0000 DShowPlugin.dll
01:04:18: 74360000 GraphicsCapture.dll
01:04:18: 744B0000 NoiseGate.dll
01:04:18: ------------------------------------------
01:04:18: Adapter 1
01:04:18: Video Adapter: NVIDIA GeForce GTX 550 Ti
01:04:18: Video Adapter Dedicated Video Memory: 1025179648
01:04:18: Video Adapter Shared System Memory: 3221106688
01:04:18: =====Stream Start: 2013-07-08, 01:04:18===============================================
01:04:18: Multithreaded optimizations: On
01:04:18: Base resolution: 1920x1080
01:04:18: Output resolution: 1280x720
01:04:18: ------------------------------------------
01:04:18: Loading up D3D10...
01:04:20: Playback device {0.0.0.00000000}.{d4ea7a44-0eba-465f-9ba2-da3858faadf6}
01:04:20: ------------------------------------------
01:04:20: Using desktop audio input: Speakers (High Definition Audio Device)
01:04:20: ------------------------------------------
01:04:20: Using auxilary audio input: Microphone (Logitech USB Headset)
01:04:20: ------------------------------------------
01:04:20: Audio Encoding: AAC
01:04:20: bitrate: 128
01:04:20: ------------------------------------------
01:04:20: Video Encoding: x264
01:04:20: fps: 40
01:04:20: width: 1280, height: 720
01:04:20: preset: veryfast
01:04:20: CBR: no
01:04:20: CFR: no
01:04:20: max bitrate: 3000
01:04:20: buffer size: 3000
01:04:20: quality: 10
01:04:20: ------------------------------------------
01:04:20: Total frames rendered: 22, number of frames that lagged: 4 (18.18%) (it's okay for some frames to lag)
01:04:20: Number of times waited to send: 0, Waited for a total of 0 bytes
01:04:20: Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
01:04:21: =====Stream End: 2013-07-08, 01:04:21=================================================
01:04:23: =====Stream Start: 2013-07-08, 01:04:23===============================================
01:04:23: Multithreaded optimizations: On
01:04:23: Base resolution: 1920x1080
01:04:23: Output resolution: 1280x720
01:04:23: ------------------------------------------
01:04:23: Loading up D3D10...
01:04:23: Playback device {0.0.0.00000000}.{d4ea7a44-0eba-465f-9ba2-da3858faadf6}
01:04:23: ------------------------------------------
01:04:23: Using desktop audio input: Speakers (High Definition Audio Device)
01:04:23: ------------------------------------------
01:04:23: Using auxilary audio input: Microphone (Logitech USB Headset)
01:04:23: ------------------------------------------
01:04:23: Audio Encoding: AAC
01:04:23: bitrate: 128
01:04:23: Using text output
01:04:23: Using graphics capture
01:04:23: ------------------------------------------
01:04:23: Video Encoding: x264
01:04:23: fps: 40
01:04:23: width: 1280, height: 720
01:04:23: preset: veryfast
01:04:23: CBR: no
01:04:23: CFR: no
01:04:23: max bitrate: 3000
01:04:23: buffer size: 3000
01:04:23: quality: 10
01:04:23: ------------------------------------------
01:04:24: SharedTexCapture hooked
01:04:25: Using RTMP service: Twitch / Justin.tv
01:04:25: Server selection: rtmp://live-lax-backup.justin.tv/app
01:04:26: SO_SNDBUF was at 8192
01:04:26: SO_SNDBUF is now 65536
01:04:38: GraphicsCaptureSource::NewCapture: eliminating old capture
01:04:38: SharedTexCapture hooked
01:34:21: Capture window 0x002104CE invalid or changing, terminating capture
01:34:26: Total frames rendered: 71894, number of frames that lagged: 1138 (1.58%) (it's okay for some frames to lag)
01:34:26: RTMPPublisher::SocketLoop: Aborting due to bStopping
01:34:26: Number of times waited to send: 0, Waited for a total of 0 bytes
01:34:26: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
01:34:26: =====Stream End: 2013-07-08, 01:34:26=================================================
01:34:31:
01:34:31: Profiler results:
01:34:31:
01:34:31: ==============================================================
01:34:31: frame - [100%] [avg time: 3.356 ms] [avg calls per frame: 1] [children: 97.8%] [unaccounted: 2.21%]
01:34:31: | scene->Preprocess - [0.507%] [avg time: 0.017 ms] [avg calls per frame: 1]
01:34:31: | video encoding and uploading - [97.3%] [avg time: 3.265 ms] [avg calls per frame: 1] [children: 49.5%] [unaccounted: 47.8%]
01:34:31: | | CopyResource - [0.507%] [avg time: 0.017 ms] [avg calls per frame: 0]
01:34:31: | | conversion to 4:2:0 - [0.834%] [avg time: 0.028 ms] [avg calls per frame: 0]
01:34:31: | | call to encoder - [47.2%] [avg time: 1.584 ms] [avg calls per frame: 0]
01:34:31: | | sending stuff out - [0.924%] [avg time: 0.031 ms] [avg calls per frame: 0]
01:34:31: ==============================================================
01:34:31:


And theres the log file for the linked video in the original post.

In all honesty touching the cores in task I never did, ill give that a try at some point. But is there anything odd with the log?
 

FerretBomb

Active Member
Tons of lagged frames... almost all of the time spent in the encode/upload step, in conjunction with the zero dropped frames (which would indicate a network issue) means that OBS is getting CPU choked.

Do try ENabling Aero; it's actually faster than Aero off, because OBS can just grab the window texture from Aero directly. Otherwise, restricting process affinities is your next best bet.
I'd also advise that you drop to an even 30fps for now... the stutter in your stream is NOT due to the framerate you have set, it's due to the lagged frames. With only 30fps, it'll ease up on the CPU demands a bit as well. Can also set OBS' priority to Above Normal (in the OBS settings menu, on the dropdown) which can help as well. (Though this may increase in-game stutter if the game is also getting CPU choked.)

Get it running well first, then look into improving the quality until it breaks/starts misbehaving again. :)
 

Soulkeeperx78

New Member
Well with processors set this is the new way. http://www.twitch.tv/soulkeeperx78/b/428063330

10:18:56: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
10:18:56: -------------------------------
10:18:56: CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
10:18:56: CPU Speed: 3411MHz
10:18:56: Physical Memory: 4095MB Total, 4095MB Free
10:18:56: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
10:18:56: monitor 1: pos={0, 0}, size={1920, 1080}
10:18:56: Windows Version: 6.1 Build 7601 S
10:18:56: Aero is Enabled
10:18:56: -------------------------------
10:18:56: OBS Modules:
10:18:56: Base Address Module
10:18:56: 01380000 OBS.exe
10:18:56: 650E0000 OBSApi.dll
10:18:56: 653B0000 DShowPlugin.dll
10:18:56: 65390000 GraphicsCapture.dll
10:18:56: 65370000 NoiseGate.dll
10:18:56: ------------------------------------------
10:18:56: Adapter 1
10:18:56: Video Adapter: NVIDIA GeForce GTX 550 Ti
10:18:56: Video Adapter Dedicated Video Memory: 1025179648
10:18:56: Video Adapter Shared System Memory: 3221106688
10:18:56: =====Stream Start: 2013-07-09, 10:18:56===============================================
10:18:56: Multithreaded optimizations: On
10:18:56: Base resolution: 1920x1080
10:18:56: Output resolution: 1280x720
10:18:56: ------------------------------------------
10:18:56: Loading up D3D10...
10:18:56: Playback device {0.0.0.00000000}.{d4ea7a44-0eba-465f-9ba2-da3858faadf6}
10:18:56: ------------------------------------------
10:18:56: Using desktop audio input: Speakers (High Definition Audio Device)
10:18:56: ------------------------------------------
10:18:56: Using auxilary audio input: Microphone (Logitech USB Headset)
10:18:56: ------------------------------------------
10:18:56: Audio Encoding: AAC
10:18:56: bitrate: 128
10:18:56: Using text output
10:18:56: Using graphics capture
10:18:56: ------------------------------------------
10:18:56: Video Encoding: x264
10:18:56: fps: 30
10:18:56: width: 1280, height: 720
10:18:56: preset: veryfast
10:18:56: CBR: no
10:18:56: CFR: no
10:18:56: max bitrate: 3000
10:18:56: buffer size: 3000
10:18:56: quality: 10
10:18:56: ------------------------------------------
10:18:56: SharedTexCapture hooked
10:18:58: Using RTMP service: Twitch / Justin.tv
10:18:58: Server selection: rtmp://live-lax-backup.justin.tv/app
10:18:59: SO_SNDBUF was at 8192
10:18:59: SO_SNDBUF is now 65536
10:19:44: GraphicsCaptureSource::NewCapture: eliminating old capture
10:19:44: SharedTexCapture hooked
10:30:13: Total frames rendered: 20307, number of frames that lagged: 3 (0.01%) (it's okay for some frames to lag)
10:30:13: RTMPPublisher::SocketLoop: Aborting due to bStopping
10:30:13: Number of times waited to send: 0, Waited for a total of 0 bytes
10:30:13: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
10:30:13: =====Stream End: 2013-07-09, 10:30:13=================================================
10:30:16:
10:30:16: Profiler results:
10:30:16:
10:30:16: ==============================================================
10:30:16: frame - [100%] [avg time: 1.865 ms] [avg calls per frame: 1] [children: 94.3%] [unaccounted: 5.74%]
10:30:16: | scene->Preprocess - [0.107%] [avg time: 0.002 ms] [avg calls per frame: 1]
10:30:16: | video encoding and uploading - [94.2%] [avg time: 1.756 ms] [avg calls per frame: 1] [children: 90.6%] [unaccounted: 3.59%]
10:30:16: | | CopyResource - [0.858%] [avg time: 0.016 ms] [avg calls per frame: 0]
10:30:16: | | conversion to 4:2:0 - [2.36%] [avg time: 0.044 ms] [avg calls per frame: 0]
10:30:16: | | call to encoder - [85.8%] [avg time: 1.601 ms] [avg calls per frame: 0]
10:30:16: | | sending stuff out - [1.5%] [avg time: 0.028 ms] [avg calls per frame: 0]
10:30:16: ==============================================================
10:30:16:


When I looked at the video I sadly saw no difference after the quick stream.
 

dodgepong

Administrator
Community Helper
Are you not satisfied with the above video? It looks great to me, and I don't see any problems in the log.
 

Soulkeeperx78

New Member
Well I am satisfied by just trying to set up a stream thing with other people and they are saying the quality is lacking.

If theres no skipped frames in the new logs then that makes me happy.

I guess the question is, is there a way to increase the quality now? 4k bit/10 quality so far
 
Top