Question / Help Streaming Battlefield 3 @ 60FPS

defterOG

New Member
hello,

I just had a quick question in regards to streaming Battlefield 3 @ 60FPS.

Here are my specs:

i7 3770k @ 4.4 (can overclock more if needed)
8GB Kingston HyperX DDR3-1600mhz CL9
Gigabyte GTX 670 OC 2GB
Samsung 1TB HDD (HD103SJ) / OCZ Vertex 3 90GB SSD
Z77X-UD3H

DOWN: 63.5Mbit/sec
UP: 5.2Mbit/sec

I realized that randomly or consistently, OBS's FPS counter (on the bottom of the window) sticks to 45FPS while streaming Battlefield 3 multiplayer. I'm on a native resolution of 1920x1080 and downscale to 1280x720 @ 60FPS for streaming; using VBR with max bitrate @ 2750 and buffer size @ 2750. Even though I used an older version of the software, 0.522 Beta seems to yield similar results.

To double-check that the software wasn't reporting the FPS incorrectly, I watched through the stream when it was finished and noticed there were a few times when it feels like the FPS drops although there wasn't much going on.

I have a feeling that it may just be my settings in the software and if anybody can throw out some suggestions as to what may be causing the FPS counter to show 45FPS while streaming, I'd very much appreciate it.

Thanks.

If you need any other info, just let me know!
 

defterOG

New Member
Sorry for the delayed reply, I've been a bit busy with school. Here is the log,

Code:
15:28:06: Open Broadcaster Software v0.522b - 64bit ( ^ω^)
15:28:06: -------------------------------
15:28:06: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
15:28:06: CPU Speed: 3503MHz
15:28:06: Physical Memory:  8152MB Total, 6240MB Free
15:28:06: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
15:28:06: monitor 1: pos={0, 0}, size={1920, 1080}
15:28:06: Windows Version: 6.1 Build 7601 S
15:28:06: Aero is Disabled
15:28:06: -------------------------------
15:28:06: OBS Modules:
15:28:06: Base Address     Module
15:28:06: 000000003F1B0000 OBS.exe
15:28:06: 00000000EBB50000 OBSApi.dll
15:28:06: 00000000EDF40000 DShowPlugin.dll
15:28:06: 00000000EDF10000 GraphicsCapture.dll
15:28:06: 00000000F2600000 NoiseGate.dll
15:28:06: ------------------------------------------
15:28:06: Adapter 1
15:28:06:   Video Adapter: NVIDIA GeForce GTX 670
15:28:06:   Video Adapter Dedicated Video Memory: 2091581440
15:28:06:   Video Adapter Shared System Memory: 2147479552
15:28:06: =====Stream Start: 2013-06-15, 15:28:06===============================================
15:28:06:   Multithreaded optimizations: On
15:28:06:   Base resolution: 1920x1080
15:28:06:   Output resolution: 1920x1080
15:28:06: ------------------------------------------
15:28:06: Loading up D3D10...
15:28:06: Playback device {0.0.0.00000000}.{13bd5c20-6080-4e37-95e9-558fffc081b2}
15:28:06: ------------------------------------------
15:28:06: Using desktop audio input: Output (Avid Mbox Mini)
15:28:06: ------------------------------------------
15:28:06: Using auxilary audio input: Input (Avid Mbox Mini)
15:28:06: ------------------------------------------
15:28:06: Audio Encoding: AAC
15:28:06:     bitrate: 128
15:28:06: Using graphics capture
15:28:06: ------------------------------------------
15:28:06: Video Encoding: x264
15:28:06:     fps: 30
15:28:06:     width: 1920, height: 1080
15:28:06:     preset: veryfast
15:28:06:     CBR: yes
15:28:06:     CFR: no
15:28:06:     max bitrate: 1000
15:28:06: ------------------------------------------
15:28:09: SharedTexCapture hooked
15:28:21: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:28:21: SharedTexCapture hooked
15:28:29: Total frames rendered: 651, number of frames that lagged: 10 (1.54%) (it's okay for some frames to lag)
15:28:29: =====Stream End: 2013-06-15, 15:28:29=================================================
15:29:26: =====Stream Start: 2013-06-15, 15:29:26===============================================
15:29:26:   Multithreaded optimizations: On
15:29:26:   Base resolution: 1920x1080
15:29:26:   Output resolution: 1920x1080
15:29:26: ------------------------------------------
15:29:26: Loading up D3D10...
15:29:26: Playback device {0.0.0.00000000}.{13bd5c20-6080-4e37-95e9-558fffc081b2}
15:29:26: ------------------------------------------
15:29:26: Using desktop audio input: Output (Avid Mbox Mini)
15:29:26: ------------------------------------------
15:29:26: Using auxilary audio input: Input (Avid Mbox Mini)
15:29:26: ------------------------------------------
15:29:26: Audio Encoding: AAC
15:29:26:     bitrate: 128
15:29:26: Using graphics capture
15:29:27: ------------------------------------------
15:29:27: Video Encoding: x264
15:29:27:     fps: 30
15:29:27:     width: 1920, height: 1080
15:29:27:     preset: veryfast
15:29:27:     CBR: yes
15:29:27:     CFR: no
15:29:27:     max bitrate: 2750
15:29:27: ------------------------------------------
15:29:27: SharedTexCapture hooked
15:29:28: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:29:28: SharedTexCapture hooked
15:29:28: Using RTMP service: Twitch / Justin.tv
15:29:28:   Server selection: rtmp://live-lax.justin.tv/app
15:29:29: librtmp error: rtmp://live-lax.justin.tv/app:
15:29:29: NetStream.Publish.Rejected (Authentication Failed.)
15:29:29: Connection to rtmp://live-lax.justin.tv/app failed: Could not access the specified channel or stream key.  This could be because the key/channel is invalid, or because the server still thinks you are logged in.
15:29:29: 
15:29:29: rtmp://live-lax.justin.tv/app:
15:29:29: NetStream.Publish.Rejected (Authentication Failed.)
15:29:29: 
15:29:29: Total frames rendered: 64, number of frames that lagged: 3 (4.69%) (it's okay for some frames to lag)
15:29:29: Number of times waited to send: 0, Waited for a total of 0 bytes
15:29:29: Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
15:29:29: =====Stream End: 2013-06-15, 15:29:29=================================================
15:33:17: =====Stream Start: 2013-06-15, 15:33:17===============================================
15:33:17:   Multithreaded optimizations: On
15:33:17:   Base resolution: 1920x1080
15:33:17:   Output resolution: 1280x720
15:33:17: ------------------------------------------
15:33:17: Loading up D3D10...
15:33:17: Playback device {0.0.0.00000000}.{13bd5c20-6080-4e37-95e9-558fffc081b2}
15:33:17: ------------------------------------------
15:33:17: Using desktop audio input: Output (Avid Mbox Mini)
15:33:17: ------------------------------------------
15:33:17: Using auxilary audio input: Input (Avid Mbox Mini)
15:33:17: ------------------------------------------
15:33:17: Audio Encoding: AAC
15:33:17:     bitrate: 192
15:33:17: Using graphics capture
15:33:17: ------------------------------------------
15:33:17: Video Encoding: x264
15:33:17:     fps: 60
15:33:17:     width: 1280, height: 720
15:33:17:     preset: veryfast
15:33:17:     CBR: yes
15:33:17:     CFR: no
15:33:17:     max bitrate: 2750
15:33:17: ------------------------------------------
15:33:19: SharedTexCapture hooked
15:33:19: Using RTMP service: Twitch / Justin.tv
15:33:19:   Server selection: rtmp://live-lax.justin.tv/app
15:33:19: SO_SNDBUF was at 8192
15:33:19: SO_SNDBUF is now 65536
15:33:21: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:33:21: SharedTexCapture hooked
15:33:28: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:33:28: SharedTexCapture hooked
15:33:31: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:33:31: SharedTexCapture hooked
15:33:34: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:33:34: SharedTexCapture hooked
15:35:39: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:35:39: SharedTexCapture hooked
15:35:40: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:35:40: SharedTexCapture hooked
15:35:48: Exit signal received, terminating capture
15:35:50: Total frames rendered: 8968, number of frames that lagged: 27 (0.30%) (it's okay for some frames to lag)
15:35:50: RTMPPublisher::SocketLoop: Aborting due to bStopping
15:35:50: Number of times waited to send: 0, Waited for a total of 0 bytes
15:35:50: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
15:35:50: =====Stream End: 2013-06-15, 15:35:50=================================================
15:36:13: =====Stream Start: 2013-06-15, 15:36:13===============================================
15:36:13:   Multithreaded optimizations: On
15:36:13:   Base resolution: 1920x1080
15:36:13:   Output resolution: 1280x720
15:36:13: ------------------------------------------
15:36:13: Loading up D3D10...
15:36:13: Playback device {0.0.0.00000000}.{13bd5c20-6080-4e37-95e9-558fffc081b2}
15:36:13: ------------------------------------------
15:36:13: Using desktop audio input: Output (Avid Mbox Mini)
15:36:13: ------------------------------------------
15:36:13: Using auxilary audio input: Input (Avid Mbox Mini)
15:36:13: ------------------------------------------
15:36:13: Audio Encoding: AAC
15:36:13:     bitrate: 192
15:36:13: Using graphics capture
15:36:13: ------------------------------------------
15:36:13: Video Encoding: x264
15:36:13:     fps: 60
15:36:13:     width: 1280, height: 720
15:36:13:     preset: veryfast
15:36:13:     CBR: yes
15:36:13:     CFR: no
15:36:13:     max bitrate: 2750
15:36:13: ------------------------------------------
15:36:13: SharedTexCapture hooked
15:36:14: Using RTMP service: Twitch / Justin.tv
15:36:14:   Server selection: rtmp://live-lax.justin.tv/app
15:36:15: SO_SNDBUF was at 8192
15:36:15: SO_SNDBUF is now 65536
15:36:15: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:36:15: SharedTexCapture hooked
15:40:56: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
15:41:41: Exit signal received, terminating capture
15:41:45: Total frames rendered: 19849, number of frames that lagged: 16 (0.08%) (it's okay for some frames to lag)
15:41:45: RTMPPublisher::SocketLoop: Aborting due to bStopping
15:41:45: Number of times waited to send: 7, Waited for a total of 23232 bytes
15:41:45: Number of b-frames dropped: 120 (0.61%), Number of p-frames dropped: 161 (0.82%), Total 281 (1.4%)
15:41:45: =====Stream End: 2013-06-15, 15:41:45=================================================
15:41:53: =====Stream Start: 2013-06-15, 15:41:53===============================================
15:41:53:   Multithreaded optimizations: On
15:41:53:   Base resolution: 1920x1080
15:41:53:   Output resolution: 1280x720
15:41:53: ------------------------------------------
15:41:53: Loading up D3D10...
15:41:53: Playback device {0.0.0.00000000}.{13bd5c20-6080-4e37-95e9-558fffc081b2}
15:41:53: ------------------------------------------
15:41:53: Using desktop audio input: Output (Avid Mbox Mini)
15:41:53: ------------------------------------------
15:41:53: Using auxilary audio input: Input (Avid Mbox Mini)
15:41:53: ------------------------------------------
15:41:53: Audio Encoding: AAC
15:41:53:     bitrate: 192
15:41:53: Using graphics capture
15:41:53: ------------------------------------------
15:41:53: Video Encoding: x264
15:41:53:     fps: 60
15:41:53:     width: 1280, height: 720
15:41:53:     preset: veryfast
15:41:53:     CBR: yes
15:41:53:     CFR: no
15:41:53:     max bitrate: 2750
15:41:53: ------------------------------------------
15:41:53: SharedTexCapture hooked
15:41:55: Using RTMP service: Twitch / Justin.tv
15:41:55:   Server selection: rtmp://live-lax.justin.tv/app
15:41:55: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:41:55: SharedTexCapture hooked
15:41:56: SO_SNDBUF was at 8192
15:41:56: SO_SNDBUF is now 65536
15:42:23: Exit signal received, terminating capture
15:42:30: Total frames rendered: 2073, number of frames that lagged: 19 (0.92%) (it's okay for some frames to lag)
15:42:30: RTMPPublisher::SocketLoop: Aborting due to bStopping
15:42:30: Number of times waited to send: 0, Waited for a total of 0 bytes
15:42:30: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
15:42:30: =====Stream End: 2013-06-15, 15:42:30=================================================
15:42:35: =====Stream Start: 2013-06-15, 15:42:35===============================================
15:42:35:   Multithreaded optimizations: On
15:42:35:   Base resolution: 1920x1080
15:42:35:   Output resolution: 1280x720
15:42:35: ------------------------------------------
15:42:35: Loading up D3D10...
15:42:35: Playback device {0.0.0.00000000}.{13bd5c20-6080-4e37-95e9-558fffc081b2}
15:42:35: ------------------------------------------
15:42:35: Using desktop audio input: Output (Avid Mbox Mini)
15:42:35: ------------------------------------------
15:42:35: Using auxilary audio input: Input (Avid Mbox Mini)
15:42:35: ------------------------------------------
15:42:35: Audio Encoding: AAC
15:42:35:     bitrate: 192
15:42:35: Using graphics capture
15:42:35: ------------------------------------------
15:42:35: Video Encoding: x264
15:42:35:     fps: 60
15:42:35:     width: 1280, height: 720
15:42:35:     preset: veryfast
15:42:35:     CBR: yes
15:42:35:     CFR: no
15:42:35:     max bitrate: 2750
15:42:35: ------------------------------------------
15:42:35: SharedTexCapture hooked
15:42:37: Using RTMP service: Twitch / Justin.tv
15:42:37:   Server selection: rtmp://live-lax.justin.tv/app
15:42:37: SO_SNDBUF was at 8192
15:42:37: SO_SNDBUF is now 65536
15:42:38: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:42:38: SharedTexCapture hooked
15:42:57: Capture window 0x00370452 invalid or changing, terminating capture
15:43:00: Total frames rendered: 1341, number of frames that lagged: 19 (1.42%) (it's okay for some frames to lag)
15:43:00: RTMPPublisher::SocketLoop: Aborting due to bStopping
15:43:00: Number of times waited to send: 0, Waited for a total of 0 bytes
15:43:00: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
15:43:00: =====Stream End: 2013-06-15, 15:43:00=================================================
16:00:03: =====Stream Start: 2013-06-15, 16:00:03===============================================
16:00:03:   Multithreaded optimizations: On
16:00:03:   Base resolution: 1920x1080
16:00:03:   Output resolution: 1280x720
16:00:03: ------------------------------------------
16:00:03: Loading up D3D10...
16:00:03: Playback device {0.0.0.00000000}.{13bd5c20-6080-4e37-95e9-558fffc081b2}
16:00:03: ------------------------------------------
16:00:03: Using desktop audio input: Output (Avid Mbox Mini)
16:00:03: ------------------------------------------
16:00:03: Using auxilary audio input: Input (Avid Mbox Mini)
16:00:03: ------------------------------------------
16:00:03: Audio Encoding: AAC
16:00:03:     bitrate: 192
16:00:03: Using graphics capture
16:00:03: ------------------------------------------
16:00:03: Video Encoding: x264
16:00:03:     fps: 60
16:00:03:     width: 1280, height: 720
16:00:03:     preset: veryfast
16:00:03:     CBR: yes
16:00:03:     CFR: no
16:00:03:     max bitrate: 2750
16:00:03: ------------------------------------------
16:00:03: SharedTexCapture hooked
16:00:04: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:00:04: SharedTexCapture hooked
16:00:05: Using RTMP service: Twitch / Justin.tv
16:00:05:   Server selection: rtmp://live-lax.justin.tv/app
16:00:05: SO_SNDBUF was at 8192
16:00:05: SO_SNDBUF is now 65536
16:17:23: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 524288
16:17:41: Exit signal received, terminating capture
16:17:44: Total frames rendered: 63621, number of frames that lagged: 8 (0.01%) (it's okay for some frames to lag)
16:17:44: RTMPPublisher::SocketLoop: Aborting due to bStopping
16:17:44: Number of times waited to send: 8, Waited for a total of 25832 bytes
16:17:44: Number of b-frames dropped: 92 (0.14%), Number of p-frames dropped: 300 (0.47%), Total 392 (0.62%)
16:17:44: =====Stream End: 2013-06-15, 16:17:44=================================================
16:17:57: 
16:17:57: Profiler results:
16:17:57: 
16:17:57: ==============================================================
16:17:57: frame - [100%] [avg time: 1.633 ms] [avg calls per frame: 1] [children: 75.1%] [unaccounted: 24.9%]
16:17:57: | scene->Preprocess - [0.0612%] [avg time: 0.001 ms] [avg calls per frame: 1]
16:17:57: | video encoding and uploading - [75%] [avg time: 1.225 ms] [avg calls per frame: 1] [children: 70.7%] [unaccounted: 4.29%]
16:17:57: | | CopyResource - [1.96%] [avg time: 0.032 ms] [avg calls per frame: 0]
16:17:57: | | conversion to 4:2:0 - [0.245%] [avg time: 0.004 ms] [avg calls per frame: 0]
16:17:57: | | call to encoder - [67.2%] [avg time: 1.097 ms] [avg calls per frame: 0]
16:17:57: | | sending stuff out - [1.35%] [avg time: 0.022 ms] [avg calls per frame: 0]
16:17:57: ==============================================================
16:17:57:

I also feel that some of the weird inconsistent streams may be related to my motherboard and am going to try an replace it soon; if all is well after the replacement, i'll set up a RMA with gigabyte and post back here to update you.
 

dodgepong

Administrator
Community Helper
That log shows that you were streaming at 720p60 just fine, with minimal lagged frames. Can you post a video of the issue?
 

defterOG

New Member
sorry i havent replied in a bit, i would've posted sooner but i started experiencing some very random issues at very random times and was pretty much computerless for a few days trying to pin point the problem.

turns out it was a SINGLE bent pin in the CPU socket...

Picked up a Maximus V Extreme and things couldn't be looking any better. Would like to say thanks for following up :)
 
Top