Question / Help Dropped frames in game while streaming

dosskn

New Member
My fps in league while I stream drops to 30 from about 60 and is a choppy play and I'd like to know why and how to fix it (even if it means new hardware!). Specs below

OBS:
1900 bitrate

Internet:
86.5/Down
35.4/Up

Comp:
AMD Phenom II X4 965 Processor (4CPUs), ~3.4GHz
Nvidia Geforce GTX 650
12G RAM
 

dosskn

New Member
Code:
18:04:13: Open Broadcaster Software v0.584b - 32bit (´・ω・`)
18:04:13: -------------------------------
18:04:13: CPU Name: AMD Phenom(tm) II X4 965 Processor
18:04:13: CPU Speed: 3415MHz
18:04:13: Physical Memory:  4095MB Total, 4095MB Free
18:04:13: stepping id: 3, model 4, family 16, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
18:04:13: monitor 1: pos={0, 0}, size={1920, 1080}
18:04:13: monitor 2: pos={-1920, -106}, size={1920, 1080}
18:04:13: Windows Version: 6.1 Build 7601 S
18:04:13: Aero is Enabled
18:04:13: -------------------------------
18:04:13: OBS Modules:
18:04:13: Base Address     Module
18:04:13: 001A0000         OBS.exe
18:04:13: 5E9A0000         OBSApi.dll
18:04:13: 6F8F0000         DShowPlugin.dll
18:04:13: 6F8D0000         GraphicsCapture.dll
18:04:13: 6F8B0000         NoiseGate.dll
18:04:13: 6F890000         PSVPlugin.dll
18:04:13: ------------------------------------------
18:04:13: Adapter 1
18:04:13:   Video Adapter: NVIDIA GeForce GTX 650
18:04:13:   Video Adapter Dedicated Video Memory: 2091581440
18:04:13:   Video Adapter Shared System Memory: 2147479552
18:04:13:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
18:04:13:   Video Adapter Output 2: pos={-1920, -106}, size={1920, 1080}, attached=true
18:04:13: =====Stream Start: 2013-12-05, 18:04:13===============================================
18:04:13:   Multithreaded optimizations: On
18:04:13:   Base resolution: 1920x1080
18:04:13:   Output resolution: 1280x720
18:04:13: ------------------------------------------
18:04:13: Loading up D3D10 on NVIDIA GeForce GTX 650...
18:04:13: ------------------------------------------
18:04:13: Audio Format: 48000hz
18:04:13: Playback device Default
18:04:13: ------------------------------------------
18:04:13: Using desktop audio input: Speakers (VIA High Definition Audio)
18:04:13: ------------------------------------------
18:04:13: Using auxilary audio input: Microphone (VIA High Definition Audio)
18:04:13: ------------------------------------------
18:04:13: Audio Encoding: AAC
18:04:13:     bitrate: 128
18:04:13: Using bitmap image
18:04:13: ------------------------------------------
18:04:13:     device: Logitech HD Webcam C615,
18:04:13:     device id \\?\usb#vid_046d&pid_082c&mi_02#6&3744c08a&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
18:04:13:     chosen type: I420, usingFourCC: false, res: 960x720 - 960x720, frameIntervals: 333333-2000000
18:04:13:     use buffering: false - 0, fourCC: 'I420'
18:04:13:     audio device: Disable,
18:04:13:     audio device id Disabled,
18:04:13: 
18:04:13: Using directshow input
18:04:13: Using graphics capture
18:04:13: Using graphics capture
18:04:13: Scene buffering time set to 700
18:04:13: ------------------------------------------
18:04:13: Video Encoding: x264
18:04:13:     fps: 30
18:04:13:     width: 1280, height: 720
18:04:13:     preset: veryfast
18:04:13:     profile: high
18:04:13:     keyint: 60
18:04:13:     CBR: yes
18:04:13:     CFR: yes
18:04:13:     max bitrate: 1900
18:04:13:     buffer size: 1900
18:04:13: ------------------------------------------
18:04:13: MMDeviceAudioSource: Frequency for device 'Speakers (VIA High Definition Audio)' is 384000, samples per sec is 48000
18:04:13: MMDeviceAudioSource: Frequency for device 'Microphone (VIA High Definition Audio)' is 384000, samples per sec is 48000
18:04:13: SharedTexCapture hooked
18:04:15: GraphicsCaptureSource::NewCapture:  eliminating old capture
18:04:15: SharedTexCapture hooked
18:04:29: GraphicsCaptureSource::NewCapture:  eliminating old capture
18:04:29: SharedTexCapture hooked
18:07:04: GraphicsCaptureSource::NewCapture:  eliminating old capture
18:07:04: SharedTexCapture hooked
18:07:54: GraphicsCaptureSource::NewCapture:  eliminating old capture
18:07:54: SharedTexCapture hooked
18:08:58: GraphicsCaptureSource::NewCapture:  eliminating old capture
18:08:58: SharedTexCapture hooked
18:12:14: GraphicsCaptureSource::NewCapture:  eliminating old capture
18:12:14: SharedTexCapture hooked
18:15:46: Using bitmap image
18:16:16: Using bitmap image
18:16:54: GraphicsCaptureSource::NewCapture:  eliminating old capture
18:16:54: SharedTexCapture hooked
18:18:06: Using bitmap image
18:18:23: GraphicsCaptureSource::NewCapture:  eliminating old capture
18:18:23: SharedTexCapture hooked
18:28:04: Exit signal received, terminating capture
18:28:05: SharedTexCapture hooked
18:28:26: Using graphics capture
18:28:27: SharedTexCapture hooked
18:39:50: Using text output
18:41:41: SharedTexCapture hooked
18:48:01: GraphicsCaptureSource::NewCapture:  eliminating old capture
18:48:01: SharedTexCapture hooked
19:20:28: Exit signal received, terminating capture
19:30:47: Total frames encoded: 155874, total frames duplicated: 351 (0.23%)
19:30:47: Number of frames skipped due to encoder lag: 7 (0.00%)
19:30:47: Total frames rendered: 155842, number of late frames: 31 (0.02%) (it's okay for some frames to be late)
19:30:47: 
19:30:47: Profiler time results:
19:30:47: 
19:30:47: ==============================================================
19:30:47: video thread frame - [100%] [avg time: 2.074 ms] [children: 1.38e+003%] [unaccounted: -1.28e+003%]
19:30:47: | scene->Preprocess - [32.7%] [avg time: 0.679 ms]
19:30:47: | GPU download and conversion - [1.35e+003%] [avg time: 27.933 ms] [children: 1.34e+003%] [unaccounted: 3.95%]
19:30:47: | | flush - [1.34e+003%] [avg time: 27.79 ms]
19:30:47: | | CopyResource - [2.7%] [avg time: 0.056 ms]
19:30:47: | | conversion to 4:2:0 - [0.241%] [avg time: 0.005 ms]
19:30:47: Convert444Threads - [100%] [avg time: 28.958 ms] [children: 4.78%] [unaccounted: 95.2%]
19:30:47: | Convert444toNV12 - [4.78%] [avg time: 1.383 ms]
19:30:47: encoder thread frame - [100%] [avg time: 1.972 ms]
19:30:47: ==============================================================
19:30:47: 
19:30:47: 
19:30:47: Profiler CPU results:
19:30:47: 
19:30:47: ==============================================================
19:30:47: video thread frame - [cpu time: avg 1 ms, total 155892 ms] [avg calls per frame: 1]
19:30:47: | scene->Preprocess - [cpu time: avg 0.519 ms, total 80964.5 ms] [avg calls per frame: 1]
19:30:47: | GPU download and conversion - [cpu time: avg 0.061 ms, total 9516.06 ms] [avg calls per frame: 1]
19:30:47: | | flush - [cpu time: avg 0.018 ms, total 2917.22 ms] [avg calls per frame: 1]
19:30:47: | | CopyResource - [cpu time: avg 0.017 ms, total 2776.82 ms] [avg calls per frame: 1]
19:30:47: | | conversion to 4:2:0 - [cpu time: avg 0.003 ms, total 608.404 ms] [avg calls per frame: 1]
19:30:47: Convert444Threads - [cpu time: avg 1.349 ms, total 420641 ms] [avg calls per frame: 2]
19:30:47: | Convert444toNV12 - [cpu time: avg 1.344 ms, total 418910 ms] [avg calls per frame: 2]
19:30:47: encoder thread frame - [cpu time: avg 1.251 ms, total 195126 ms] [avg calls per frame: 1]
19:30:47: ==============================================================
19:30:47: 
19:30:47: =====Stream End: 2013-12-05, 19:30:47=================================================
19:30:49: =====Stream Start: 2013-12-05, 19:30:49===============================================
19:30:49:   Multithreaded optimizations: On
19:30:49:   Base resolution: 1920x1080
19:30:49:   Output resolution: 1280x720
19:30:49: ------------------------------------------
19:30:49: Loading up D3D10 on NVIDIA GeForce GTX 650...
19:30:49: ------------------------------------------
19:30:49: Audio Format: 48000hz
19:30:49: Playback device Default
19:30:49: ------------------------------------------
19:30:49: Using desktop audio input: Speakers (VIA High Definition Audio)
19:30:49: ------------------------------------------
19:30:49: Using auxilary audio input: Microphone (VIA High Definition Audio)
19:30:49: ------------------------------------------
19:30:49: Audio Encoding: AAC
19:30:49:     bitrate: 128
19:30:49: Using text output
19:30:49: Using bitmap image
19:30:49: ------------------------------------------
19:30:49:     device: Logitech HD Webcam C615,
19:30:49:     device id \\?\usb#vid_046d&pid_082c&mi_02#6&3744c08a&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
19:30:49:     chosen type: I420, usingFourCC: false, res: 960x720 - 960x720, frameIntervals: 333333-2000000
19:30:49:     use buffering: false - 0, fourCC: 'I420'
19:30:49:     audio device: Disable,
19:30:49:     audio device id Disabled,
19:30:49: 
19:30:49: Using directshow input
19:30:49: Using graphics capture
19:30:49: Using graphics capture
19:30:49: Scene buffering time set to 700
19:30:49: ------------------------------------------
19:30:49: Video Encoding: x264
19:30:49:     fps: 30
19:30:49:     width: 1280, height: 720
19:30:49:     preset: veryfast
19:30:49:     profile: high
19:30:49:     keyint: 60
19:30:49:     CBR: yes
19:30:49:     CFR: yes
19:30:49:     max bitrate: 1900
19:30:49:     buffer size: 1900
19:30:49: ------------------------------------------
19:30:49: MMDeviceAudioSource: Frequency for device 'Speakers (VIA High Definition Audio)' is 384000, samples per sec is 48000
19:30:49: MMDeviceAudioSource: Frequency for device 'Microphone (VIA High Definition Audio)' is 384000, samples per sec is 48000
19:30:51: SharedTexCapture hooked
19:30:52: Using RTMP service: Twitch / Justin.tv
19:30:52:   Server selection: rtmp://live-lax.justin.tv/app
19:30:52:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
19:30:52: Completed handshake with rtmp://live-lax.justin.tv/app in 42 ms.
19:30:52: SO_SNDBUF was at 8192
19:30:52: SO_SNDBUF is now 65536
19:30:56: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 36321 / 259072)
19:31:08: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 0 / 259072)
19:34:33: Total frames encoded: 6693, total frames duplicated: 15 (0.22%)
19:34:33: Total frames rendered: 6696, number of late frames: 4 (0.06%) (it's okay for some frames to be late)
19:34:34: RTMPPublisher::SocketLoop: Graceful loop exit
 

pacholol

Member
can you check if your video card is connected to a pci3 slot or pci2 atleast? I had the same problem with league of legends because my video was on pci 2 slot i think and moved it to pci 3 and everything goes perfect
 

dosskn

New Member
pacholol said:
can you check if your video card is connected to a pci3 slot or pci2 atleast? I had the same problem with league of legends because my video was on pci 2 slot i think and moved it to pci 3 and everything goes perfect


This worked! Thank you so much! I still drop a few frames but only about 5. Really appreciate this.
 

dosskn

New Member
pacholol said:
can you check if your video card is connected to a pci3 slot or pci2 atleast? I had the same problem with league of legends because my video was on pci 2 slot i think and moved it to pci 3 and everything goes perfect

I lied, it didn't work, any other ideas?
 

Sapiens

Forum Moderator
Try downscaling to a slightly lower resolution like 960x540. Your CPU may be having difficulty streaming at 720p and running the game at the same time. You might also try testing with a new scene containing only the game capture source first. If performance is okay there, add scene sources back one at a time to see if one in particular is causing the slowdown.
 
Top