Question / Help Jumpy Stream, 60 FPS

MrZuru

New Member
I have 75d\75u, when I stream and I am getting jumpy video playback as seen in this http://www.twitch.tv/mrzuru/b/588007292 . I get 60+ FPS when playing and bitrate is 3500. Aero disabled, hardware is more than competent. So I'm not sure what else it could be. CBR and CFR enabled.


10:24:33: Open Broadcaster Software v0.637b - 32bit (´・ω・`)
10:24:33: -------------------------------
10:24:33: CPU Name: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
10:24:33: CPU Speed: 3392MHz
10:24:33: Physical Memory: 4095MB Total, 4095MB Free
10:24:33: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
10:24:33: monitor 1: pos={0, 0}, size={1680, 1050}
10:24:33: Windows Version: 6.1 Build 7601 S
10:24:33: Aero is Disabled
10:24:33: -------------------------------
10:24:33: OBS Modules:
10:24:33: Base Address Module
10:24:33: 00BB0000 OBS.exe
10:24:33: 556B0000 OBSApi.dll
10:24:33: 65E90000 DShowPlugin.dll
10:24:33: 55680000 GraphicsCapture.dll
10:24:33: 55650000 NoiseGate.dll
10:24:33: 55630000 PSVPlugin.dll
10:24:33: ------------------------------------------
10:24:33: Adapter 1
10:24:33: Video Adapter: NVIDIA GeForce GTX 760
10:24:33: Video Adapter Dedicated Video Memory: 2087387136
10:24:33: Video Adapter Shared System Memory: 2147807232
10:24:33: Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
10:24:33: ------------------------------------------
10:24:33: Adapter 2
10:24:33: Video Adapter: Intel(R) HD Graphics 4600
10:24:33: Video Adapter Dedicated Video Memory: 67108864
10:24:33: Video Adapter Shared System Memory: 1711276032
10:24:33: =====Stream Start: 2014-11-12, 10:24:33===============================================
10:24:33: Multithreaded optimizations: On
10:24:33: Base resolution: 1680x1050
10:24:33: Output resolution: 1680x1050
10:24:33: ------------------------------------------
10:24:33: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...
10:24:33: ------------------------------------------
10:24:33: Audio Format: 48000 Hz
10:24:33: ------------------------------------------
10:24:33: Audio Channels: 2 Ch
10:24:33: Playback device Default
10:24:33: ------------------------------------------
10:24:33: Using desktop audio input: Speakers (Sound Blaster Recon3Di)
10:24:33: Global Audio time adjust: 0
10:24:33: Using 5.1 speaker setup
10:24:33: ------------------------------------------
10:24:33: Using auxilary audio input: Microphone (Sound Blaster Recon3Di)
10:24:33: Mic time offset: 0
10:24:33: ------------------------------------------
10:24:33: Audio Encoding: AAC
10:24:33: bitrate: 128
10:24:33: Using graphics capture
10:24:33: Using graphics capture
10:24:33: Trying to hook process: ffxiv.exe
10:24:33: Scene buffering time set to 700
10:24:33: x264: MB rate (415800) > level limit (245760)
10:24:34: ------------------------------------------
10:24:34: Video Encoding: x264
10:24:34: fps: 60
10:24:34: width: 1680, height: 1050
10:24:34: preset: veryfast
10:24:34: profile: main
10:24:34: keyint: 120
10:24:34: CBR: yes
10:24:34: CFR: yes
10:24:34: max bitrate: 3500
10:24:34: buffer size: 3500
10:24:34: ------------------------------------------
10:24:34: SharedTexCapture hooked
10:24:34: Audio timestamp for device 'Microphone (Sound Blaster Recon3Di)' was behind target timestamp by 4638930
10:24:35: Using RTMP service: Twitch
10:24:35: Server selection: rtmp://live.twitch.tv/app
10:24:35: Interface: Killer e2200 PCI-E Gigabit Ethernet Controller (NDIS 6.20) (ethernet, 1000 mbps)
10:24:35: Completed handshake with rtmp://live.twitch.tv/app in 100 ms.
10:24:36: SO_SNDBUF was at 8192
10:24:36: SO_SNDBUF is now 65536
10:24:37: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 26079 / 463872)
10:24:39: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 6811 / 463872)
10:24:41: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 0 / 463872)
10:30:14: CUDA loaded successfully
10:30:14: 1 CUDA capable devices found
10:30:14: [ GPU #0 - < GeForce GTX 760 > has Compute SM 3.0, NVENC Available ]
10:31:13: FlushBufferedVideo: Flushing 29 packets over 467 ms
10:31:14: Total frames encoded: 23955, total frames duplicated: 687 (2.87%)
10:31:14: Number of frames skipped due to encoder lag: 228 (0.95%)
10:31:14: Total frames rendered: 23716, number of late frames: 48 (0.20%) (it's okay for some frames to be late)
10:31:14: ~RTMPPublisher: Packet flush completed in 89 ms
10:31:14: ~RTMPPublisher: Send thread terminated in 2 ms
10:31:14: RTMPPublisher::SocketLoop: Graceful loop exit
10:31:14: ~RTMPPublisher: Socket thread terminated in 2 ms
10:31:14:
10:31:14: Profiler time results:
10:31:14:
10:31:14: ==============================================================
10:31:14: video thread frame - [100%] [avg time: 1.073 ms] [children: 75.6%] [unaccounted: 24.4%]
10:31:14: | scene->Preprocess - [0.186%] [avg time: 0.002 ms]
10:31:14: | GPU download and conversion - [75.4%] [avg time: 0.809 ms] [children: 61%] [unaccounted: 14.4%]
10:31:14: | | flush - [38%] [avg time: 0.408 ms]
10:31:14: | | CopyResource - [22.6%] [avg time: 0.243 ms]
10:31:14: | | conversion to 4:2:0 - [0.28%] [avg time: 0.003 ms]
10:31:14: Convert444Threads - [100%] [avg time: 2.129 ms] [children: 99.5%] [unaccounted: 0.47%]
10:31:14: | Convert444toNV12 - [99.5%] [avg time: 2.119 ms]
10:31:14: encoder thread frame - [100%] [avg time: 3.206 ms] [children: 1.47%] [unaccounted: 98.5%]
10:31:14: | sending stuff out - [1.47%] [avg time: 0.047 ms]
10:31:14: ==============================================================
10:31:14:
10:31:14:
10:31:14: Profiler CPU results:
10:31:14:
10:31:14: ==============================================================
10:31:14: video thread frame - [cpu time: avg 0.119 ms, total 2823.62 ms] [avg calls per frame: 1]
10:31:14: | scene->Preprocess - [cpu time: avg 0 ms, total 15.601 ms] [avg calls per frame: 1]
10:31:14: | GPU download and conversion - [cpu time: avg 0.074 ms, total 1778.41 ms] [avg calls per frame: 1]
10:31:14: | | flush - [cpu time: avg 0.066 ms, total 1575.61 ms] [avg calls per frame: 1]
10:31:14: | | CopyResource - [cpu time: avg 0.002 ms, total 62.4 ms] [avg calls per frame: 1]
10:31:14: | | conversion to 4:2:0 - [cpu time: avg 0.001 ms, total 46.801 ms] [avg calls per frame: 1]
10:31:14: Convert444Threads - [cpu time: avg 1.825 ms, total 86424.6 ms] [avg calls per frame: 2]
10:31:14: | Convert444toNV12 - [cpu time: avg 1.822 ms, total 86268.6 ms] [avg calls per frame: 2]
10:31:14: encoder thread frame - [cpu time: avg 2.144 ms, total 51308.7 ms] [avg calls per frame: 1]
10:31:14: | sending stuff out - [cpu time: avg 0.036 ms, total 873.604 ms] [avg calls per frame: 1]
10:31:14: ==============================================================
10:31:14:
10:31:14: =====Stream End: 2014-11-12, 10:31:14=================================================
10:31:14: ~RTMPPublisher: Final socket shutdown completed in 50 ms
10:31:14: Average send payload: 6904 bytes, average send interval: 15 ms
10:31:14: Number of times waited to send: 0, Waited for a total of 0 bytes
10:31:14: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
10:31:14: Number of bytes sent: 180733250
10:49:15: Terminating 0x514
10:49:15: Terminating 0x18d0


Last game capture log:
2014-11-12, 10:24:33: we're booting up:
10:24:33: CaptureThread: attached to process ffxiv.exe
10:24:34: D3D9 Present
10:24:34: DXGI Present
10:24:34: (half life scientist) everything.. seems to be in order
10:24:34: D3D9EndScene called
10:24:34: D3DPRESENT_PARAMETERS {
10:24:34: BackBufferWidth: 1
10:24:34: BackBufferHeight: 1
10:24:34: BackBufferFormat: D3DFMT_X8R8G8B8
10:24:34: BackBufferCount: 1
10:24:34: MultiSampleType: D3DMULTISAMPLE_NONE
10:24:34: MultiSampleQuality: 0
10:24:34: SwapEffect: D3DSWAPEFFECT_DISCARD
10:24:34: hDeviceWindow: 329492
10:24:34: Windowed: true
10:24:34: EnableAutoDepthStencil: false
10:24:34: AutoDepthStencilFormat: D3DFMT_UNKNOWN
10:24:34: Flags: None
10:24:34: FullScreen_RefreshRateInHz: 0
10:24:34: PresentationInterval: 2147483648
10:24:34: };
10:24:34: successfully set up d3d9 hooks
10:24:34: D3D9SwapPresent called
10:24:34: DoD3D9GPUHook: success
10:24:34: D3DSURFACE_DESC {
10:24:34: Format: D3DFMT_X8R8G8B8
10:24:34: Type: D3DRTYPE_SURFACE
10:24:34: Usage: D3DUSAGE_RENDERTARGET
10:24:34: Pool: D3DPOOL_DEFAULT
10:24:34: MultiSampleType: D3DMULTISAMPLE_NONE
10:24:34: MultiSampleQuality: 0
10:24:34: Width: 1618
10:24:34: Height: 1028
10:24:34: };
10:24:34: successfully capturing d3d9 frames via GPU
10:25:14: DirectDraw Present
10:31:14: ---------------------- Cleared D3D9 Capture ----------------------
10:31:14: D3D9EndScene called
10:31:14: D3D9SwapPresent called
 

MrZuru

New Member
Looks Like I found out what the issue was, my other computer was using alot of Upload sapping the stream frames. To hijack my own thread, how can I get rid of black borders in twitch. I have my resolution set to my monitors size. When I tried the 16:9 I still got black borders.
 

Boildown

Active Member
Your monitor is 16:10, not 16:9. So you get black borders. You could try cropping some of the vertical to make that 10 into a 9 and stream at 1680x945 and that should appear as you wish. In reality, the black borders aren't a big deal, the steps you take to eliminate them are usually worse than having them.

10:31:14: Total frames encoded: 23955, total frames duplicated: 687 (2.87%)
10:31:14: Number of frames skipped due to encoder lag: 228 (0.95%)
10:31:14: Total frames rendered: 23716, number of late frames: 48 (0.20%) (it's okay for some frames to be late)

This seems to indicate that your CPU isn't quite keeping up. My experience is that Duplicated Frames should be less than 1% to have the stream appear smooth. The Skipped Frames should be much lower than that as well. You might try streaming at 30 or 40 FPS instead, to lower the impact on your CPU. The Twitch Flash player can't really show 60FPS at HD resolutions anyways, so there's little reason to stream at that rate.
 

MrZuru

New Member
Here was a more successful 30 min stream with less processes running. Much difference?


11:43:45: Open Broadcaster Software v0.637b - 32bit (´・ω・`)
11:43:45: -------------------------------
11:43:45: CPU Name: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
11:43:45: CPU Speed: 3392MHz
11:43:45: Physical Memory: 4095MB Total, 4095MB Free
11:43:45: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
11:43:45: monitor 1: pos={0, 0}, size={1680, 1050}
11:43:45: Windows Version: 6.1 Build 7601 S
11:43:45: Aero is Disabled
11:43:45: -------------------------------
11:43:45: OBS Modules:
11:43:45: Base Address Module
11:43:45: 01320000 OBS.exe
11:43:45: 56C80000 OBSApi.dll
11:43:45: 65E90000 DShowPlugin.dll
11:43:45: 59740000 GraphicsCapture.dll
11:43:45: 572D0000 NoiseGate.dll
11:43:45: 6E980000 PSVPlugin.dll
11:43:45: ------------------------------------------
11:43:45: Adapter 1
11:43:45: Video Adapter: NVIDIA GeForce GTX 760
11:43:45: Video Adapter Dedicated Video Memory: 2087387136
11:43:45: Video Adapter Shared System Memory: 2147807232
11:43:45: Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
11:43:45: ------------------------------------------
11:43:45: Adapter 2
11:43:45: Video Adapter: Intel(R) HD Graphics 4600
11:43:45: Video Adapter Dedicated Video Memory: 67108864
11:43:45: Video Adapter Shared System Memory: 1711276032
11:43:45: =====Stream Start: 2014-11-12, 11:43:45===============================================
11:43:45: Multithreaded optimizations: On
11:43:45: Base resolution: 1680x1050
11:43:45: Output resolution: 1680x1050
11:43:45: ------------------------------------------
11:43:45: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...
11:43:45: ------------------------------------------
11:43:45: Audio Format: 48000 Hz
11:43:45: ------------------------------------------
11:43:45: Audio Channels: 2 Ch
11:43:45: Playback device Default
11:43:45: ------------------------------------------
11:43:45: Using desktop audio input: Speakers (Sound Blaster Recon3Di)
11:43:45: Global Audio time adjust: 0
11:43:45: Using 5.1 speaker setup
11:43:45: ------------------------------------------
11:43:45: Using auxilary audio input: Microphone (Sound Blaster Recon3Di)
11:43:45: Mic time offset: 0
11:43:45: ------------------------------------------
11:43:45: Audio Encoding: AAC
11:43:45: bitrate: 128
11:43:45: Using graphics capture
11:43:45: Using graphics capture
11:43:45: Trying to hook process: ffxiv.exe
11:43:45: Scene buffering time set to 700
11:43:45: x264: MB rate (415800) > level limit (245760)
11:43:45: ------------------------------------------
11:43:45: Video Encoding: x264
11:43:45: fps: 60
11:43:45: width: 1680, height: 1050
11:43:45: preset: veryfast
11:43:45: profile: main
11:43:45: keyint: 120
11:43:45: CBR: yes
11:43:45: CFR: yes
11:43:45: max bitrate: 3500
11:43:45: buffer size: 3500
11:43:45: ------------------------------------------
11:43:46: SharedTexCapture hooked
11:43:47: Using RTMP service: Twitch
11:43:47: Server selection: rtmp://live.twitch.tv/app
11:43:47: Interface: Killer e2200 PCI-E Gigabit Ethernet Controller (NDIS 6.20) (ethernet, 1000 mbps)
11:43:47: Completed handshake with rtmp://live.twitch.tv/app in 100 ms.
11:43:48: SO_SNDBUF was at 8192
11:43:48: SO_SNDBUF is now 65536
11:43:50: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 463872)
11:44:04: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 463872)
12:13:10: FlushBufferedVideo: Flushing 27 packets over 433 ms
12:13:11: Total frames encoded: 105851, total frames duplicated: 182 (0.17%)
12:13:11: Number of frames skipped due to encoder lag: 97 (0.09%)
12:13:11: Total frames rendered: 105775, number of late frames: 7 (0.01%) (it's okay for some frames to be late)
12:13:11: ~RTMPPublisher: Packet flush completed in 89 ms
12:13:11: ~RTMPPublisher: Send thread terminated in 7 ms
12:13:11: RTMPPublisher::SocketLoop: Graceful loop exit
12:13:11: ~RTMPPublisher: Socket thread terminated in 1 ms
12:13:11:
12:13:11: Profiler time results:
12:13:11:
12:13:11: ==============================================================
12:13:11: video thread frame - [100%] [avg time: 0.801 ms] [children: 33.8%] [unaccounted: 66.2%]
12:13:11: | scene->Preprocess - [0.25%] [avg time: 0.002 ms]
12:13:11: | GPU download and conversion - [33.6%] [avg time: 0.269 ms] [children: 30.7%] [unaccounted: 2.87%]
12:13:11: | | flush - [26.2%] [avg time: 0.21 ms]
12:13:11: | | CopyResource - [4.24%] [avg time: 0.034 ms]
12:13:11: | | conversion to 4:2:0 - [0.25%] [avg time: 0.002 ms]
12:13:11: Convert444Threads - [100%] [avg time: 1.985 ms] [children: 99.5%] [unaccounted: 0.453%]
12:13:11: | Convert444toNV12 - [99.5%] [avg time: 1.976 ms]
12:13:11: encoder thread frame - [100%] [avg time: 2.694 ms] [children: 2.78%] [unaccounted: 97.2%]
12:13:11: | sending stuff out - [2.78%] [avg time: 0.075 ms]
12:13:11: ==============================================================
12:13:11:
12:13:11:
12:13:11: Profiler CPU results:
12:13:11:
12:13:11: ==============================================================
12:13:11: video thread frame - [cpu time: avg 0.152 ms, total 16130.5 ms] [avg calls per frame: 1]
12:13:11: | scene->Preprocess - [cpu time: avg 0 ms, total 78 ms] [avg calls per frame: 1]
12:13:11: | GPU download and conversion - [cpu time: avg 0.043 ms, total 4648.83 ms] [avg calls per frame: 1]
12:13:11: | | flush - [cpu time: avg 0.034 ms, total 3650.43 ms] [avg calls per frame: 1]
12:13:11: | | CopyResource - [cpu time: avg 0.004 ms, total 468.004 ms] [avg calls per frame: 1]
12:13:11: | | conversion to 4:2:0 - [cpu time: avg 0.001 ms, total 171.601 ms] [avg calls per frame: 1]
12:13:11: Convert444Threads - [cpu time: avg 1.808 ms, total 382436 ms] [avg calls per frame: 2]
12:13:11: | Convert444toNV12 - [cpu time: avg 1.802 ms, total 381204 ms] [avg calls per frame: 2]
12:13:11: encoder thread frame - [cpu time: avg 1.974 ms, total 208932 ms] [avg calls per frame: 1]
12:13:11: | sending stuff out - [cpu time: avg 0.047 ms, total 5007.64 ms] [avg calls per frame: 1]
12:13:11: ==============================================================
12:13:11:
12:13:11: =====Stream End: 2014-11-12, 12:13:11=================================================
12:13:11: ~RTMPPublisher: Final socket shutdown completed in 46 ms
12:13:11: Average send payload: 7024 bytes, average send interval: 15 ms
12:13:11: Number of times waited to send: 0, Waited for a total of 0 bytes
12:13:11: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
12:13:11: Number of bytes sent: 801641794
13:42:23: Terminating 0x165c
13:42:23: Terminating 0xc7c


Last game capture log:
2014-11-12, 11:43:45: we're booting up:
11:43:45: CaptureThread: attached to process ffxiv.exe
11:43:46: D3D9 Present
11:43:46: DXGI Present
11:43:46: (half life scientist) everything.. seems to be in order
11:43:46: D3D9EndScene called
11:43:46: D3DPRESENT_PARAMETERS {
11:43:46: BackBufferWidth: 1
11:43:46: BackBufferHeight: 1
11:43:46: BackBufferFormat: D3DFMT_X8R8G8B8
11:43:46: BackBufferCount: 1
11:43:46: MultiSampleType: D3DMULTISAMPLE_NONE
11:43:46: MultiSampleQuality: 0
11:43:46: SwapEffect: D3DSWAPEFFECT_DISCARD
11:43:46: hDeviceWindow: 263932
11:43:46: Windowed: true
11:43:46: EnableAutoDepthStencil: false
11:43:46: AutoDepthStencilFormat: D3DFMT_UNKNOWN
11:43:46: Flags: None
11:43:46: FullScreen_RefreshRateInHz: 0
11:43:46: PresentationInterval: 2147483648
11:43:46: };
11:43:46: successfully set up d3d9 hooks
11:43:46: D3D9SwapPresent called
11:43:46: DoD3D9GPUHook: success
11:43:46: D3DSURFACE_DESC {
11:43:46: Format: D3DFMT_X8R8G8B8
11:43:46: Type: D3DRTYPE_SURFACE
11:43:46: Usage: D3DUSAGE_RENDERTARGET
11:43:46: Pool: D3DPOOL_DEFAULT
11:43:46: MultiSampleType: D3DMULTISAMPLE_NONE
11:43:46: MultiSampleQuality: 0
11:43:46: Width: 1618
11:43:46: Height: 1028
11:43:46: };
11:43:46: successfully capturing d3d9 frames via GPU
11:45:02: DirectDraw Present
12:13:11: ---------------------- Cleared D3D9 Capture ----------------------
12:13:11: D3D9EndScene called
12:13:11: D3D9SwapPresent called
 

Boildown

Active Member
12:13:11: Total frames encoded: 105851, total frames duplicated: 182 (0.17%)
12:13:11: Number of frames skipped due to encoder lag: 97 (0.09%)
12:13:11: Total frames rendered: 105775, number of late frames: 7 (0.01%) (it's okay for some frames to be late)

Looks much improved.
 
Top