Question / Help Local recording is fine, streaming to Twitch is not

thetones

New Member
As many of you have probably experienced in the past couple of months Twitch has become congested and unstable. My local recordings are flawless but when I stream to twitch it appears to be dropping 50% of all frames. OBS is reporting 0 dropped frames and no trouble with bandwidth. I've tried various bitrates and Twitch locations to stream to and they all result in a choppy stream. I'm actually pretty certain it's not even relative to OBS at all but Twitch and my ISP.

Using newest OBS
CPU: i5 2500k @ 4.5ghz
Preset: Very fast
FPS 60
Resolution: 1080p base (downscaled to 720p with Lanczos filter)
Bitrate: I've tried 1500-5000.

ShaperProbe reports 52mbps down, 10mbps up no shaping. And If I use Xsplits bandwidth tester it gives a greenlight confirming no issues.
 

Kharay

Member
thetones said:
I'm actually pretty certain it's not even relative to OBS at all but Twitch and my ISP.
So, what do you expect to find here? There is a good chance it is in fact Twitch. All I can offer about that one -- reset your streamkey, try a different server ( viewtopic.php?f=11&t=3226 ) or try a different service (Twitch is indeed becoming increasingly unstable).

Just to get confirmation your actual bandwidth, try an upload test to a server near you over at testmy.net. And, in closing... 5000 Kbps is always a bad idea. The Twitch.tv staff frowns upon anyone going over 3500 and actually recommends limiting it to CBR @ 2000 Kbps for a lag-free experience for your viewers. And I actually agree with that recommendation.
 

thetones

New Member
Kharay said:
thetones said:
I'm actually pretty certain it's not even relative to OBS at all but Twitch and my ISP.
So, what do you expect to find here? There is a good chance it is in fact Twitch. All I can offer about that one -- reset your streamkey, try a different server ( https://obsproject.com/forum/viewtopic.php?f=11&t=3226 ) or try a different service (Twitch is indeed becoming increasingly unstable).

Just to get confirmation your actual bandwidth, try an upload test to a server near you over at testmy.net. And, in closing... 5000 Kbps is always a bad idea. The Twitch.tv staff frowns upon anyone going over 3500 and actually recommends limiting it to CBR @ 2000 Kbps for a lag-free experience for your viewers. And I actually agree with that recommendation.
Not sure, I figured it wouldn't hurt anyone to try asking here if anyone had any advice.

Testmy.net reports 10.5 Mbps 1.3 MB/s. I know they frown upon it, I usually just use 3500kbps CBR. And I really can't switch services because I'm partnered with Twitch and other alternatives wouldn't really be preferable. I've reset my stream key multiple times and tried various servers as I stated in the original post.
 

Kharay

Member
3500 CBR is already pushing it. 2000 CBR looks almost every bit as fine, I have found over extensive testing and comparative analysis.

If you know Twitch is offering you a weak service, for whatever reason (could be the lack of a solid Twitch.tv server in your proximity, or any number of reasons) just ease up on the service a little. Better to have a smooth stream than to have a laggy one that looks better. I can show you numerous SUBSCRIBER channels that have an awful quality but still draw 20,000 - 30,000 viewers without breaking a sweat.
 

thetones

New Member
Kharay said:
3500 CBR is already pushing it. 2000 CBR looks almost every bit as fine, I have found over extensive testing and comparative analysis.

If you know Twitch is offering you a weak service, for whatever reason (could be the lack of a solid Twitch.tv server in your proximity, or any number of reasons) just ease up on the service a little. Better to have a smooth stream than to have a laggy one that looks better. I can show you numerous SUBSCRIBER channels that have an awful quality but still draw 20,000 - 30,000 viewers without breaking a sweat.
Could you post your recommended 720p/60fps settings in depth? I'll try it on a few Twitch servers around the world and report back.
 

Kharay

Member
Earlier today I got a really decent quality out of WoW at 720p@60 FPS at 2000 Kbps CBR, actually. Very decent quality. Was experimenting a bit for another user. I don't play WoW myself but he had issues optimizing OBS.

So, 2000 Kbps CBR, audio: AAC 128 Kbps (which is default). x264 profile: veryfast. Multihreaded optmizations: On, Priority: Above Normal. Custom x264: opencl=true

I played the title in 1600x900, windowed. And used the Lanczos filter to downscale it to 720p. If you feel the quality is sub-par, you could try increasing it to 2500 Kbps but I wouldn't recommend going over that if you have a weak connection to Twitch. And, try and find the server (using that plugin I linked earlier) that not only has the lowest ping but actually has the least jitter as well.

Where are you located, by the way? If you're in Europe... stick with Amsterdam. It's basically right on top of the Amsterdam Internet Exchange.

Edit: Priority was 'Above Normal'. Corrected (listed it as 'Normal').
 

thetones

New Member
Kharay said:
So, 2000 Kbps CBR, audio: AAC 128 Kbps (which is default). x264 profile: veryfast. Multihreaded optmizations: On, Priority: Above Normal. Custom x264: opencl=true
Meh, still dropping frames, doesn't look fluid at all.

Kharay said:
Where are you located, by the way? If you're in Europe... stick with Amsterdam. It's basically right on top of the Amsterdam Internet Exchange.
East coast USA, I've used various servers and no luck anywhere.
 

Boildown

Active Member
In the past I've noticed it get choppy when OBS wasn't showing problems when I used a preset that was too CPU-heavy.

Some things to try, experiment and see if some/all/none of these help:

Try using a faster present (you said very fast, so use the one that's one step faster than that, I forget).

Lower your FPS to 40, 45, or 48. Twitch has been said to choke on 60 fps at times (on these forums I've read that, haven't experienced it myself).

Use the advanced command threads= to lower the number of threads OBS is opening. You have an i5, not a hyperthreaded i7, so I'm dubious that this will help. But on my i7, when I let x264 use 12 threads on my "8" (really 4) cores, performance is worse than when I manually set threads=8, threads=9, or threads=10. For your 4 core, no hyperthreading CPU, x264 will default to 6 threads. Try lowering it to 5 or 4 and see if performance gets worse or better.

Can you repost your testmy bitrate for both up and down? What you posted as your results was ambiguous.

Assuming your connection can handle it, I see no reason to go below 3500 bitrate. You're partnered, you don't have to worry about your viewers not being able to watch that speed. Lowering your bitrate below the maximum Twitch accepts is just lowering your quality for no gain.
 

FerretBomb

Active Member
Please post a complete log file for review. They are located in %appdata%\OBS\logs and are simple text files; just paste the text here between 'code' or 'spoiler' tags to allow a more thorough review.
If it's not dropping frames, it may be lagging frames (no idea why it would be doing this but record locally just fine, unless you have some nasty packet loss or network congestion issues, which should show up as dropped frames). Really the next best step to look at before simply blaming Twitch (even if that IS a pretty common root cause lately).
 

thetones

New Member
Code:
00:29:23: Browser Source plugin strings not found, dynamically loading 22 strings
00:29:24: Open Broadcaster Software v0.552b - 32bit (´・ω・`)
00:29:24: -------------------------------
00:29:24: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
00:29:24: CPU Speed: 3300MHz
00:29:24: Physical Memory:  4095MB Total, 4095MB Free
00:29:24: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
00:29:24: monitor 1: pos={1920, 0}, size={1920, 1080}
00:29:24: monitor 2: pos={0, 0}, size={1920, 1080}
00:29:24: Windows Version: 6.1 Build 7600 
00:29:24: Aero is Disabled
00:29:24: -------------------------------
00:29:24: OBS Modules:
00:29:24: Base Address     Module
00:29:24: 00080000         OBS.exe
00:29:24: 695C0000         OBSApi.dll
00:29:24: 73A80000         BrowserSourcePluginWrapper.dll
00:29:24: 72A40000         DShowPlugin.dll
00:29:24: 6CDF0000         GraphicsCapture.dll
00:29:24: 6CDD0000         NoiseGate.dll
00:29:24: 6C800000         PSVPlugin.dll
00:29:24: ------------------------------------------
00:29:24: Adapter 1
00:29:24:   Video Adapter: NVIDIA GeForce GTX 570 
00:29:24:   Video Adapter Dedicated Video Memory: 1293352960
00:29:24:   Video Adapter Shared System Memory: 2952671232
00:29:24: =====Stream Start: 2013-08-26, 00:29:24===============================================
00:29:24:   Multithreaded optimizations: On
00:29:24:   Base resolution: 1920x1080
00:29:24:   Output resolution: 1280x720
00:29:24: ------------------------------------------
00:29:24: Loading up D3D10 on NVIDIA GeForce GTX 570...
00:29:24: Playback device {0.0.0.00000000}.{f82bf582-091a-4d89-81ed-6fdf096fd8ae}
00:29:24: ------------------------------------------
00:29:24: Using desktop audio input: Speakers (Realtek High Definition Audio)
00:29:24: ------------------------------------------
00:29:24: Using auxilary audio input: Microphone (Blue Snowball )
00:29:24: ------------------------------------------
00:29:24: Audio Encoding: AAC
00:29:24:     bitrate: 128
00:29:24: Using Browser Source
00:29:24: Using Monitor Capture
00:29:24: Using custom x264 settings: "opencl=true"
00:29:25: ------------------------------------------
00:29:25: Video Encoding: x264
00:29:25:     fps: 60
00:29:25:     width: 1280, height: 720
00:29:25:     preset: veryfast
00:29:25:     CBR: yes
00:29:25:     CFR: no
00:29:25:     max bitrate: 3500
00:29:25: ------------------------------------------
00:29:25: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
00:29:25: MMDeviceAudioSource: Frequency for device 'Microphone (Blue Snowball )' is 176400, samples per sec is 44100
00:29:25: Bad timestamp detected, syncing audio to video time
00:29:28: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
00:29:28:   New Scene
00:29:28: Using text output
00:29:28: Using text output
00:29:28: ------------------------------------------
00:29:28:     device: Logitech HD Webcam C270,
00:29:28:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&25e23937&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
00:29:28:     chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000, fourCC: 'I420'
00:29:28:     audio device: Disable,
00:29:28:     audio device id Disabled,
00:29:28: 
00:29:28: Using directshow input
00:29:28: Using bitmap image
00:29:28: ------------------------------------------
00:29:28:     device: Logitech HD Webcam C510,
00:29:28:     device id \\?\usb#vid_046d&pid_081d&mi_02#7&1e038a9d&2&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
00:29:28:     chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000, fourCC: 'I420'
00:29:28:     audio device: Disable,
00:29:28:     audio device id Disabled,
00:29:28: 
00:29:28: Using directshow input
00:29:29: Using graphics capture
00:29:29: Using Window Capture
00:29:29: Using bitmap image
00:29:29: ------------------------------------------
00:29:29:     device: AVerMedia BDA Analog Capture Secondary,
00:29:29:     device id \\?\pci#ven_1a0a&dev_6202&subsys_62021461&rev_01#4&1d7623a1&0&00e2#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{ede957b0-eaa5-4bf4-acf3-6e10cb4836c3},
00:29:29:     chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 166833-166833, fourCC: 'YUY2'
00:29:29: 
00:29:29: Using directshow input
00:29:29: Using Window Capture
00:29:29: PERFORMANCE WARNING: Scene change took 1386 ms, maybe some sources should be global sources?
00:38:14: Total frames rendered: 31678, number of late frames: 58 (0.18%) (it's okay for some frames to be late)
00:38:15: 
00:38:15: Profiler results:
00:38:15: 
00:38:15: ==============================================================
00:38:15: frame - [100%] [avg time: 4.923 ms (cpu time: avg 4.297 ms, total 136142 ms)] [avg calls per frame: 1] [children: 99.9%] [unaccounted: 0.122%]
00:38:15: | frame preprocessing and rendering - [68.9%] [avg time: 3.392 ms (cpu time: avg 2.907 ms, total 92118.6 ms)] [avg calls per frame: 1] [children: 58.5%] [unaccounted: 10.4%]
00:38:15: | | scene->Preprocess - [58.5%] [avg time: 2.879 ms (cpu time: avg 2.455 ms, total 77797.7 ms)] [avg calls per frame: 1]
00:38:15: | video encoding and uploading - [31%] [avg time: 1.525 ms (cpu time: avg 1.387 ms, total 43961.1 ms)] [avg calls per frame: 1] [children: 30.6%] [unaccounted: 0.366%]
00:38:15: | | flush - [2.13%] [avg time: 0.105 ms (cpu time: avg 0.077 ms, total 2464.82 ms)] [avg calls per frame: 1]
00:38:15: | | CopyResource - [0.284%] [avg time: 0.014 ms (cpu time: avg 0.012 ms, total 390.006 ms)] [avg calls per frame: 0]
00:38:15: | | conversion to 4:2:0 - [0.467%] [avg time: 0.023 ms (cpu time: avg 0.003 ms, total 124.8 ms)] [avg calls per frame: 0]
00:38:15: | | call to encoder - [27.7%] [avg time: 1.364 ms (cpu time: avg 1.286 ms, total 40747.5 ms)] [avg calls per frame: 0]
00:38:15: | | sending stuff out - [0.0203%] [avg time: 0.001 ms (cpu time: avg 0 ms, total 31.201 ms)] [avg calls per frame: 0]
00:38:15: | Convert444Threads - [678%] [avg time: 33.373 ms (cpu time: avg 1.493 ms, total 47315.1 ms)] [avg calls per frame: 1]
00:38:15: ==============================================================
00:38:15: 
00:38:15: =====Stream End: 2013-08-26, 00:38:15=================================================
00:38:16: =====Stream Start: 2013-08-26, 00:38:16===============================================
00:38:16:   Multithreaded optimizations: On
00:38:16:   Base resolution: 1920x1080
00:38:16:   Output resolution: 1280x720
00:38:16: ------------------------------------------
00:38:16: Loading up D3D10 on NVIDIA GeForce GTX 570...
00:38:16: Playback device {0.0.0.00000000}.{f82bf582-091a-4d89-81ed-6fdf096fd8ae}
00:38:16: ------------------------------------------
00:38:16: Using desktop audio input: Speakers (Realtek High Definition Audio)
00:38:16: ------------------------------------------
00:38:16: Using auxilary audio input: Microphone (Blue Snowball )
00:38:16: ------------------------------------------
00:38:16: Audio Encoding: AAC
00:38:16:     bitrate: 128
00:38:16: Using text output
00:38:16: Using text output
00:38:16: ------------------------------------------
00:38:16:     device: Logitech HD Webcam C270,
00:38:16:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&25e23937&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
00:38:16:     chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000, fourCC: 'I420'
00:38:16:     audio device: Disable,
00:38:16:     audio device id Disabled,
00:38:16: 
00:38:16: Using directshow input
00:38:17: Using bitmap image
00:38:17: ------------------------------------------
00:38:17:     device: Logitech HD Webcam C510,
00:38:17:     device id \\?\usb#vid_046d&pid_081d&mi_02#7&1e038a9d&2&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
00:38:17:     chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000, fourCC: 'I420'
00:38:17:     audio device: Disable,
00:38:17:     audio device id Disabled,
00:38:17: 
00:38:17: Using directshow input
00:38:17: Using graphics capture
00:38:17: Using Window Capture
00:38:17: Using bitmap image
00:38:17: Using custom x264 settings: "opencl=true"
00:38:17: ------------------------------------------
00:38:17: Video Encoding: x264
00:38:17:     fps: 60
00:38:17:     width: 1280, height: 720
00:38:17:     preset: veryfast
00:38:17:     CBR: yes
00:38:17:     CFR: no
00:38:17:     max bitrate: 3500
00:38:17: ------------------------------------------
00:38:17: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
00:38:17: MMDeviceAudioSource: Frequency for device 'Microphone (Blue Snowball )' is 176400, samples per sec is 44100
00:38:17: Bad timestamp detected, syncing audio to video time
00:38:19: Using RTMP service: Twitch / Justin.tv
00:38:19:   Server selection: rtmp://live-iad-backup.justin.tv/app
00:38:19:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
00:38:20: SO_SNDBUF was at 8192
00:38:20: SO_SNDBUF is now 65536
00:38:21: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 10395 / 463872)
00:38:23: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 16023 / 463872)
00:43:29: Using text output
00:44:58: SharedTexCapture hooked
00:46:17: RTMPPublisher::Socketloop: Increasing send buffer to ISB 524288 (buffer: 0 / 463872)
01:09:09: Exit signal received, terminating capture
01:15:50: SharedTexCapture hooked
01:59:43: Exit signal received, terminating capture
02:04:30: SharedTexCapture hooked
02:34:24: Exit signal received, terminating capture
02:37:58: Using Window Capture
02:40:20: SharedTexCapture hooked
02:42:01: Exit signal received, terminating capture
02:42:14: SharedTexCapture hooked
03:25:18: Exit signal received, terminating capture
03:25:35: Total frames rendered: 601030, number of late frames: 2782 (0.46%) (it's okay for some frames to be late)
03:25:36: RTMPPublisher::SocketLoop: Graceful loop exit
03:25:36: Number of times waited to send: 0, Waited for a total of 0 bytes
03:25:36: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
03:25:36: 
03:25:36: Profiler results:
03:25:36: 
03:25:36: ==============================================================
03:25:36: frame - [100%] [avg time: 4.279 ms (cpu time: avg 2.884 ms, total 1.73384e+006 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.234%]
03:25:36: | frame preprocessing and rendering - [52.3%] [avg time: 2.237 ms (cpu time: avg 1.535 ms, total 922918 ms)] [avg calls per frame: 1] [children: 40.4%] [unaccounted: 11.8%]
03:25:36: | | scene->Preprocess - [40.4%] [avg time: 1.73 ms (cpu time: avg 1.213 ms, total 729461 ms)] [avg calls per frame: 1]
03:25:36: | video encoding and uploading - [47.5%] [avg time: 2.032 ms (cpu time: avg 1.346 ms, total 809240 ms)] [avg calls per frame: 1] [children: 46.5%] [unaccounted: 0.982%]
03:25:36: | | flush - [6.54%] [avg time: 0.28 ms (cpu time: avg 0.102 ms, total 61558 ms)] [avg calls per frame: 1]
03:25:36: | | CopyResource - [0.701%] [avg time: 0.03 ms (cpu time: avg 0.014 ms, total 8642.45 ms)] [avg calls per frame: 0]
03:25:36: | | conversion to 4:2:0 - [3.55%] [avg time: 0.152 ms (cpu time: avg 0.006 ms, total 4165.23 ms)] [avg calls per frame: 0]
03:25:36: | | call to encoder - [35%] [avg time: 1.499 ms (cpu time: avg 1.195 ms, total 718494 ms)] [avg calls per frame: 0]
03:25:36: | | sending stuff out - [0.678%] [avg time: 0.029 ms (cpu time: avg 0.014 ms, total 8923.26 ms)] [avg calls per frame: 0]
03:25:36: | Convert444Threads - [780%] [avg time: 33.396 ms (cpu time: avg 1.133 ms, total 681412 ms)] [avg calls per frame: 1]
03:25:36: ==============================================================
03:25:36: 
03:25:36: =====Stream End: 2013-08-26, 03:25:36=================================================
03:25:36: Browser Source plugin instance deleted; removing dynamically loaded localization strings


Last game capture log:
2013-08-26, 02:42:11: we're booting up: 
02:42:11: D3D9 Present
02:42:11: DXGI Present
02:42:12: NV Capture available
02:42:12: FBO available
02:42:12: GL Present
02:42:12: (half life scientist) everything..  seems to be in order
02:42:14: D3D9EndScene called
02:42:14: D3DPRESENT_PARAMETERS {
02:42:14: 	BackBufferWidth: 1920
02:42:14: 	BackBufferHeight: 1080
02:42:14: 	BackBufferFormat: D3DFMT_X8R8G8B8
02:42:14: 	BackBufferCount: 1
02:42:14: 	MultiSampleType: D3DMULTISAMPLE_NONE
02:42:14: 	MultiSampleQuality: 0
02:42:14: 	SwapEffect: D3DSWAPEFFECT_DISCARD
02:42:14: 	hDeviceWindow: 8848080
02:42:14: 	Windowed: true
02:42:14: 	EnableAutoDepthStencil: true
02:42:14: 	AutoDepthStencilFormat: D3DFMT_D24X8
02:42:14: 	Flags: D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 
02:42:14: 	FullScreen_RefreshRateInHz: 0
02:42:14: 	PresentationInterval: 2147483648
02:42:14: };
02:42:14: successfully set up d3d9 hooks
02:42:14: D3D9Present called
02:42:14: DoD3D9GPUHook: success
02:42:18: D3DSURFACE_DESC {
02:42:18: 	Format: D3DFMT_X8R8G8B8
02:42:18: 	Type: D3DRTYPE_SURFACE
02:42:18: 	Usage: D3DUSAGE_RENDERTARGET 
02:42:18: 	Pool: D3DPOOL_DEFAULT
02:42:18: 	MultiSampleType: D3DMULTISAMPLE_NONE
02:42:18: 	MultiSampleQuality: 0
02:42:18: 	Width: 1920
02:42:18: 	Height: 1080
02:42:18: };
02:42:18: successfully capturing d3d9 frames via GPU
That's the log from the earlier recording I posted.

Ran 3 more testmy.net tests:
10.6 Mbps 1.3 MB/s
9.3 Mbps 1.2 MB/s
10.6 Mbps 1.3 MB/s
 

thetones

New Member
Turning on CFR and turning off CBR seems to have helped a bit but it's still no where near true 60fps that my local recordings are capable of.
 

thetones

New Member
Bumping this instead of making a new thread.

Using the same exact settings:
Local recording flawless 60 fps. Streaming ~39ish fps? very uneven framerate.
 

Boildown

Active Member
thetones said:
Bumping this instead of making a new thread.

Using the same exact settings:
Local recording flawless 60 fps. Streaming ~39ish fps? very uneven framerate.

Did you take any of the advice you received and make changes to your settings?

If so, what changes did you make and what results did they have? Post log files from before and after.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
"PERFORMANCE WARNING: Scene change took 1386 ms, maybe some sources should be global sources?" -- If you see this in your log it's very important to remove your webcam/devices directly from your scenes, readd them in the global source section, and then readd them as global sources to your scene. This could be causing some certain issues with streaming. Either do that or at least turn on CFR in advanced, or better, both. (The fact that this even happens is a design fault on the application/my part)
 

thetones

New Member
Jim said:
"PERFORMANCE WARNING: Scene change took 1386 ms, maybe some sources should be global sources?" -- If you see this in your log it's very important to remove your webcam/devices directly from your scenes, readd them in the global source section, and then readd them as global sources to your scene. This could be causing some certain issues with streaming. Either do that or at least turn on CFR in advanced, or better, both. (The fact that this even happens is a design fault on the application/my part)
Changing to global sources just quickened the transition between scenes. Didn't fix any framerate issues.

Boildown said:
thetones said:
Bumping this instead of making a new thread.

Using the same exact settings:
Local recording flawless 60 fps. Streaming ~39ish fps? very uneven framerate.

Did you take any of the advice you received and make changes to your settings?

If so, what changes did you make and what results did they have? Post log files from before and after.
Yes, I've tried everything and have basically just given up on it. Nothing has worked. Why would changing any settings allow for a 60fps stream when a local recording with the same exact settings is perfect? It has to deal with packets, bandwidth, or something relative to network issues.
 

Boildown

Active Member
thetones said:
Why would changing any settings allow for a 60fps stream when a local recording with the same exact settings is perfect? It has to deal with packets, bandwidth, or something relative to network issues.

You're probably right, without a log file however there's no chance anyone can help you further.
 

thetones

New Member
Boildown said:
thetones said:
Why would changing any settings allow for a 60fps stream when a local recording with the same exact settings is perfect? It has to deal with packets, bandwidth, or something relative to network issues.

You're probably right, without a log file however there's no chance anyone can help you further.
Posted one earlier. here's one from last night:

Code:
20:04:20: Browser Source plugin strings not found, dynamically loading 22 strings
20:04:20: CLR host plugin strings not found, dynamically loading 4 strings
20:04:20: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
20:04:20: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
20:04:20: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
20:04:20: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
20:04:20: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
20:04:20: CLRHost::LoadPlugins() attempting to load the plugin assembly CLRBrowserSourcePlugin
20:04:20: CLRHost:: Could not find/load browser settings at location C:\Users\Tony\AppData\Roaming\OBS\pluginData\browser.json
20:04:20: CLRHost::LoadPlugins() successfully added CLR plugin [Type: CLRBrowserSourcePlugin.CLRBrowserSourcePlugin, Name: CLR Browser Source Plugin]
20:04:29: Open Broadcaster Software v0.554b - 32bit (´・ω・`)
20:04:29: -------------------------------
20:04:29: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
20:04:29: CPU Speed: 3300MHz
20:04:29: Physical Memory:  4095MB Total, 4095MB Free
20:04:29: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
20:04:29: monitor 1: pos={1920, 0}, size={1920, 1080}
20:04:29: monitor 2: pos={0, 0}, size={1920, 1080}
20:04:29: Windows Version: 6.1 Build 7600 
20:04:29: Aero is Enabled
20:04:29: -------------------------------
20:04:29: OBS Modules:
20:04:29: Base Address     Module
20:04:29: 001F0000         OBS.exe
20:04:29: 68EF0000         OBSApi.dll
20:04:29: 74540000         BrowserSourcePluginWrapper.dll
20:04:29: 70190000         CLRHostPlugin.dll
20:04:29: 6B6F0000         DShowPlugin.dll
20:04:29: 6BFA0000         GraphicsCapture.dll
20:04:29: 734D0000         NoiseGate.dll
20:04:29: 6BE40000         PSVPlugin.dll
20:04:29: 6BBE0000         scenesw.dll
20:04:29: ------------------------------------------
20:04:29: Adapter 1
20:04:29:   Video Adapter: NVIDIA GeForce GTX 570 
20:04:29:   Video Adapter Dedicated Video Memory: 1293352960
20:04:29:   Video Adapter Shared System Memory: 2952671232
20:04:29: =====Stream Start: 2013-09-24, 20:04:29===============================================
20:04:29:   Multithreaded optimizations: On
20:04:29:   Base resolution: 1920x1080
20:04:29:   Output resolution: 1280x720
20:04:29: ------------------------------------------
20:04:29: Loading up D3D10 on NVIDIA GeForce GTX 570...
20:04:29: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
20:04:29: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
20:04:29: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/DownscaleLanczos6tapYUV.pShader.blob
20:04:29: Playback device {0.0.0.00000000}.{f82bf582-091a-4d89-81ed-6fdf096fd8ae}
20:04:29: ------------------------------------------
20:04:29: Using desktop audio input: Speakers (Realtek High Definition Audio)
20:04:29: ------------------------------------------
20:04:29: Using auxilary audio input: 7 (Blue Snowball )
20:04:29: ------------------------------------------
20:04:29: Audio Encoding: AAC
20:04:29:     bitrate: 128
20:04:29: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:04:29: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:04:29: Using Window Capture
20:04:29: Using text output
20:04:29: ------------------------------------------
20:04:29:     device: Logitech HD Webcam C270,
20:04:29:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&25e23937&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
20:04:29:     chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000, fourCC: 'I420'
20:04:29:     audio device: Disable,
20:04:29:     audio device id Disabled,
20:04:29: 
20:04:29: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/YUVToRGB.pShader.blob
20:04:29: Using directshow input
20:04:29: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
20:04:30: ------------------------------------------
20:04:30:     device: Logitech HD Webcam C510,
20:04:30:     device id \\?\usb#vid_046d&pid_081d&mi_02#7&1e038a9d&2&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
20:04:30:     chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000, fourCC: 'I420'
20:04:30:     audio device: Disable,
20:04:30:     audio device id Disabled,
20:04:30: 
20:04:30: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/YUVToRGB.pShader.blob
20:04:30: Using directshow input
20:04:30: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
20:04:30: Using text output
20:04:30: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:04:30: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:04:30: Using bitmap image
20:04:30: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:04:30: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:04:30: Using bitmap image
20:04:30: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:04:30: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:04:30: Using bitmap image
20:04:30: ------------------------------------------
20:04:30: Video Encoding: x264
20:04:30:     fps: 60
20:04:30:     width: 1280, height: 720
20:04:30:     preset: veryfast
20:04:30:     CBR: yes
20:04:30:     CFR: yes
20:04:30:     max bitrate: 4500
20:04:30:     buffer size: 4500
20:04:30: ------------------------------------------
20:04:30: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
20:04:30: MMDeviceAudioSource: Frequency for device '7 (Blue Snowball )' is 176400, samples per sec is 44100
20:04:30: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:04:30:   New Scene
20:04:30: Using graphics capture
20:04:30: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
20:04:30: Using graphics capture
20:04:30: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
20:04:30: SharedTexCapture hooked
20:04:31: Using RTMP service: Twitch / Justin.tv
20:04:31:   Server selection: rtmp://live-iad-backup.justin.tv/app
20:04:31:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
20:04:32: SO_SNDBUF was at 8192
20:04:32: SO_SNDBUF is now 65536
20:04:34: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 35158 / 591872)
20:04:35: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 120340 / 591872)
20:12:41: RTMPPublisher::Socketloop: Increasing send buffer to ISB 524288 (buffer: 0 / 591872)
20:44:21: Exit signal received, terminating capture
20:45:20: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:45:20:   New Scene
20:45:20: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:45:20: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:45:20: Using bitmap image
20:46:13: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:46:13:   New Scene
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:46:13: Using bitmap image
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:46:13: Using Window Capture
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:46:13: Using Window Capture
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:46:13: Using Window Capture
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:46:13: Using Window Capture
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:46:13: Using Window Capture
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:46:13: Using Window Capture
20:46:13: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:46:14: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:46:14: Using bitmap image
20:50:31: SharedTexCapture hooked
20:50:38: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:50:38:   New Scene
20:50:38: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:50:38: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:50:38: Using bitmap image
20:50:38: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:50:38: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:50:38: Using bitmap image
20:50:38: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
20:50:38: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
20:50:38: Using bitmap image
20:53:20: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:53:20:   New Scene
21:20:18: Exit signal received, terminating capture
21:20:33: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:20:33:   New Scene
21:20:33: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:20:33: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:20:33: Using bitmap image
21:22:34: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:22:34:   New Scene
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:22:34: Using bitmap image
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:22:34: Using Window Capture
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:22:34: Using Window Capture
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:22:34: Using Window Capture
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:22:34: Using Window Capture
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:22:34: Using Window Capture
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:22:34: Using Window Capture
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:22:34: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:22:34: Using bitmap image
21:27:00: SharedTexCapture hooked
21:27:01: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:27:01:   New Scene
21:27:01: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:27:01: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:27:01: Using bitmap image
21:27:01: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:27:01: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:27:01: Using bitmap image
21:27:01: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
21:27:01: C:/Users/Tony/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
21:27:01: Using bitmap image
21:29:29: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:29:29:   New Scene
22:08:29: Exit signal received, terminating capture
22:08:47: Total frames rendered: 447302, number of late frames: 212 (0.05%) (it's okay for some frames to be late)
22:08:47: Total duplicated frames to ensure constant framerate: 10275 (2.30%)
22:08:47: RTMPPublisher::SocketLoop: Graceful loop exit
22:08:47: Number of times waited to send: 0, Waited for a total of 0 bytes
22:08:47: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
22:08:47: 
22:08:47: Profiler results:
22:08:47: 
22:08:47: ==============================================================
22:08:47: frame - [100%] [avg time: 3.737 ms (cpu time: avg 2.537 ms, total 1.13513e+006 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.241%]
22:08:47: | frame preprocessing and rendering - [48.7%] [avg time: 1.821 ms (cpu time: avg 1.266 ms, total 566330 ms)] [avg calls per frame: 1] [children: 30.8%] [unaccounted: 17.9%]
22:08:47: | | scene->Preprocess - [30.8%] [avg time: 1.151 ms (cpu time: avg 0.886 ms, total 396383 ms)] [avg calls per frame: 1]
22:08:47: | video encoding and uploading - [51%] [avg time: 1.907 ms (cpu time: avg 1.268 ms, total 567578 ms)] [avg calls per frame: 1] [children: 49.7%] [unaccounted: 1.28%]
22:08:47: | | flush - [10.1%] [avg time: 0.376 ms (cpu time: avg 0.038 ms, total 17425.3 ms)] [avg calls per frame: 1]
22:08:47: | | CopyResource - [2.19%] [avg time: 0.082 ms (cpu time: avg 0.014 ms, total 6614.45 ms)] [avg calls per frame: 0]
22:08:47: | | conversion to 4:2:0 - [0.776%] [avg time: 0.029 ms (cpu time: avg 0.006 ms, total 2761.22 ms)] [avg calls per frame: 0]
22:08:47: | | call to encoder - [35.9%] [avg time: 1.342 ms (cpu time: avg 1.175 ms, total 525630 ms)] [avg calls per frame: 1]
22:08:47: | | sending stuff out - [0.803%] [avg time: 0.03 ms (cpu time: avg 0.014 ms, total 6661.24 ms)] [avg calls per frame: 1]
22:08:47: | Convert444Threads - [892%] [avg time: 33.334 ms (cpu time: avg 1.218 ms, total 545130 ms)] [avg calls per frame: 1]
22:08:47: ==============================================================
22:08:47: 
22:08:47: =====Stream End: 2013-09-24, 22:08:47=================================================
22:08:50: Browser Source plugin instance deleted; removing dynamically loaded localization strings
22:08:51: CLR host plugin instance deleted; removing dynamically loaded localization strings


Last game capture log:
2013-09-24, 21:26:56: we're booting up: 
21:26:56: D3D9 Present
21:26:56: DXGI Present
21:26:56: NV Capture available
21:26:56: FBO available
21:26:56: GL Present
21:26:56: (half life scientist) everything..  seems to be in order
21:27:00: D3D9EndScene called
21:27:00: D3DPRESENT_PARAMETERS {
21:27:00: 	BackBufferWidth: 1920
21:27:00: 	BackBufferHeight: 1080
21:27:00: 	BackBufferFormat: D3DFMT_X8R8G8B8
21:27:00: 	BackBufferCount: 1
21:27:00: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:27:00: 	MultiSampleQuality: 0
21:27:00: 	SwapEffect: D3DSWAPEFFECT_DISCARD
21:27:00: 	hDeviceWindow: 17500838
21:27:00: 	Windowed: true
21:27:00: 	EnableAutoDepthStencil: true
21:27:00: 	AutoDepthStencilFormat: D3DFMT_D24S8
21:27:00: 	Flags: D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 
21:27:00: 	FullScreen_RefreshRateInHz: 0
21:27:00: 	PresentationInterval: 2147483648
21:27:00: };
21:27:00: successfully set up d3d9 hooks
21:27:00: D3D9Present called
21:27:00: DoD3D9GPUHook: success
21:27:04: D3DSURFACE_DESC {
21:27:04: 	Format: D3DFMT_X8R8G8B8
21:27:04: 	Type: D3DRTYPE_SURFACE
21:27:04: 	Usage: D3DUSAGE_RENDERTARGET 
21:27:04: 	Pool: D3DPOOL_DEFAULT
21:27:04: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:27:04: 	MultiSampleQuality: 0
21:27:04: 	Width: 1920
21:27:04: 	Height: 1080
21:27:04: };
21:27:04: successfully capturing d3d9 frames via GPU
 
Top