Question / Help ALT+TAB stops streaming.

Evaldas

New Member
Good afternoon guys. I've been trying to stream using OBS, but when I tab out, OBS decides to stop it.

I'm running Windows 8 PRO x64 on my machine. Playing AION in EU servers.

Here's log from last attempt
Code:
14:49:17: Open Broadcaster Software v0.591b - 64bit ( ^ω^)
14:49:17: -------------------------------
14:49:17: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
14:49:17: CPU Speed: 3392MHz
14:49:17: Physical Memory:  8146MB Total, 3539MB Free
14:49:17: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
14:49:17: monitor 1: pos={0, 0}, size={1920, 1080}
14:49:17: Windows Version: 6.2 Build 9200 
14:49:17: Aero is Enabled
14:49:17: -------------------------------
14:49:17: OBS Modules:
14:49:17: Base Address     Module
14:49:17: 00000000C19C0000 OBS.exe
14:49:17: 00000000DFD90000 OBSApi.dll
14:49:17: 00000000E5C80000 DShowPlugin.dll
14:49:17: 00000000E6CF0000 GraphicsCapture.dll
14:49:17: 00000000E7D10000 NoiseGate.dll
14:49:17: 00000000E6460000 PSVPlugin.dll
14:49:17: ------------------------------------------
14:49:17: Adapter 1
14:49:17:   Video Adapter: NVIDIA GeForce GTX 670
14:49:17:   Video Adapter Dedicated Video Memory: 2083188736
14:49:17:   Video Adapter Shared System Memory: 2147807232
14:49:17:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
14:49:17: =====Stream Start: 2013-12-18, 14:49:17===============================================
14:49:17:   Multithreaded optimizations: On
14:49:17:   Base resolution: 1920x1080
14:49:17:   Output resolution: 1920x1080
14:49:17: ------------------------------------------
14:49:17: Loading up D3D10 on NVIDIA GeForce GTX 670 (Adapter 1)...
14:49:17: ------------------------------------------
14:49:17: Audio Format: 48000hz
14:49:17: Playback device {0.0.0.00000000}.{b2c84502-3e18-47ed-9558-d1190cb5d315}
14:49:17: ------------------------------------------
14:49:17: Using desktop audio input: Speakers (High Definition Audio Device)
14:49:17: ------------------------------------------
14:49:17: Using auxilary audio input: Microphone (High Definition Audio Device)
14:49:17: ------------------------------------------
14:49:17: Audio Encoding: AAC
14:49:17:     bitrate: 128
14:49:17: Using bitmap image
14:49:17: Using graphics capture
14:49:17: Scene buffering time set to 400
14:49:17: ------------------------------------------
14:49:17: Video Encoding: x264
14:49:17:     fps: 30
14:49:17:     width: 1920, height: 1080
14:49:17:     preset: faster
14:49:17:     profile: high
14:49:17:     keyint: 60
14:49:17:     CBR: yes
14:49:17:     CFR: yes
14:49:17:     max bitrate: 10000
14:49:17:     buffer size: 3500
14:49:17: ------------------------------------------
14:49:17: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
14:49:17: MMDeviceAudioSource: Frequency for device 'Microphone (High Definition Audio Device)' is 352800, samples per sec is 44100
14:49:17: SharedTexCapture hooked
14:49:19: Using RTMP service: Twitch / Justin.tv
14:49:19:   Server selection: rtmp://live-arn.justin.tv/app
14:49:19:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
14:49:19: Completed handshake with rtmp://live-arn.justin.tv/app in 516 ms.
14:49:21: SO_SNDBUF was at 65536
14:49:21: SO_SNDBUF is now 65536
14:49:21: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 106766 / 1296384)
14:49:24: Total frames encoded: 187, total frames duplicated: 1 (0.53%)
14:49:24: Total frames rendered: 191, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
14:49:24: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 733071 / 1296384)
14:49:24: RTMPPublisher::SocketLoop: Graceful loop exit
14:49:26: Average send payload: 205296 bytes, average send interval: 180 ms
14:49:26: Number of times waited to send: 2, Waited for a total of 1496 bytes
14:49:26: Number of b-frames dropped: 6 (7%), Number of p-frames dropped: 0 (0%), Total 6 (7%)
14:49:26: Number of bytes sent: 3490037
14:49:26: 
14:49:26: Profiler time results:
14:49:26: 
14:49:26: ==============================================================
14:49:26: video thread frame - [100%] [avg time: 0.621 ms] [children: 42.7%] [unaccounted: 57.3%]
14:49:26: | scene->Preprocess - [0.161%] [avg time: 0.001 ms]
14:49:26: | GPU download and conversion - [42.5%] [avg time: 0.264 ms] [children: 30.8%] [unaccounted: 11.8%]
14:49:26: | | flush - [27.1%] [avg time: 0.168 ms]
14:49:26: | | CopyResource - [3.54%] [avg time: 0.022 ms]
14:49:26: | | conversion to 4:2:0 - [0.161%] [avg time: 0.001 ms]
14:49:26: Convert444Threads - [100%] [avg time: 0.941 ms] [children: 99.1%] [unaccounted: 0.85%]
14:49:26: | Convert444toNV12 - [99.1%] [avg time: 0.933 ms]
14:49:26: encoder thread frame - [100%] [avg time: 2.048 ms]
14:49:26: ==============================================================
14:49:26: 
14:49:26: 
14:49:26: Profiler CPU results:
14:49:26: 
14:49:26: ==============================================================
14:49:26: video thread frame - [cpu time: avg 0.081 ms, total 15.625 ms] [avg calls per frame: 1]
14:49:26: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:49:26: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:49:26: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:49:26: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:49:26: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:49:26: Convert444Threads - [cpu time: avg 0.843 ms, total 296.875 ms] [avg calls per frame: 2]
14:49:26: | Convert444toNV12 - [cpu time: avg 0.799 ms, total 281.25 ms] [avg calls per frame: 2]
14:49:26: encoder thread frame - [cpu time: avg 1.071 ms, total 187.5 ms] [avg calls per frame: 1]
14:49:26: ==============================================================
14:49:26: 
14:49:26: =====Stream End: 2013-12-18, 14:49:26=================================================
14:54:02: =====Stream Start: 2013-12-18, 14:54:02===============================================
14:54:02:   Multithreaded optimizations: On
14:54:02:   Base resolution: 1920x1080
14:54:02:   Output resolution: 1920x1080
14:54:02: ------------------------------------------
14:54:02: Loading up D3D10 on NVIDIA GeForce GTX 670 (Adapter 1)...
14:54:02: ------------------------------------------
14:54:02: Audio Format: 48000hz
14:54:02: Playback device {0.0.0.00000000}.{b2c84502-3e18-47ed-9558-d1190cb5d315}
14:54:02: ------------------------------------------
14:54:02: Using desktop audio input: Speakers (High Definition Audio Device)
14:54:02: ------------------------------------------
14:54:02: Using auxilary audio input: Microphone (High Definition Audio Device)
14:54:02: ------------------------------------------
14:54:02: Audio Encoding: AAC
14:54:02:     bitrate: 128
14:54:02: Using bitmap image
14:54:02: Using graphics capture
14:54:02: Scene buffering time set to 400
14:54:02: ------------------------------------------
14:54:02: Video Encoding: x264
14:54:02:     fps: 30
14:54:02:     width: 1920, height: 1080
14:54:02:     preset: faster
14:54:02:     profile: high
14:54:02:     keyint: 60
14:54:02:     CBR: yes
14:54:02:     CFR: yes
14:54:02:     max bitrate: 10000
14:54:02:     buffer size: 3500
14:54:02: ------------------------------------------
14:54:02: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
14:54:02: MMDeviceAudioSource: Frequency for device 'Microphone (High Definition Audio Device)' is 352800, samples per sec is 44100
14:54:03: SharedTexCapture hooked
14:54:04: Using RTMP service: Twitch / Justin.tv
14:54:04:   Server selection: rtmp://live-arn.justin.tv/app
14:54:04:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
14:54:05: Completed handshake with rtmp://live-arn.justin.tv/app in 543 ms.
14:54:06: SO_SNDBUF was at 65536
14:54:06: SO_SNDBUF is now 65536
14:54:07: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 262489 / 1296384)
14:54:08: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 282594 / 1296384)
14:54:08: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 124158 / 1296384)
14:54:08: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 1048576 (buffer: 0 / 1296384)
14:54:08: Total frames encoded: 161, total frames duplicated: 5 (3.11%)
14:54:08: Number of frames skipped due to encoder lag: 3 (1.86%)
14:54:08: Total frames rendered: 163, number of late frames: 2 (1.23%) (it's okay for some frames to be late)
14:54:08: RTMPPublisher::SocketLoop: Graceful loop exit
14:54:09: Average send payload: 43727 bytes, average send interval: 32 ms
14:54:09: Number of times waited to send: 0, Waited for a total of 0 bytes
14:54:09: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
14:54:09: Number of bytes sent: 2579921
14:54:09: 
14:54:09: Profiler time results:
14:54:09: 
14:54:09: ==============================================================
14:54:09: video thread frame - [100%] [avg time: 0.907 ms] [children: 19.1%] [unaccounted: 80.9%]
14:54:09: | scene->Preprocess - [0.11%] [avg time: 0.001 ms]
14:54:09: | GPU download and conversion - [19%] [avg time: 0.172 ms] [children: 9.48%] [unaccounted: 9.48%]
14:54:09: | | flush - [7.61%] [avg time: 0.069 ms]
14:54:09: | | CopyResource - [1.76%] [avg time: 0.016 ms]
14:54:09: | | conversion to 4:2:0 - [0.11%] [avg time: 0.001 ms]
14:54:09: Convert444Threads - [100%] [avg time: 1.033 ms] [children: 99.5%] [unaccounted: 0.484%]
14:54:09: | Convert444toNV12 - [99.5%] [avg time: 1.028 ms]
14:54:09: encoder thread frame - [100%] [avg time: 4.003 ms]
14:54:09: ==============================================================
14:54:09: 
14:54:09: 
14:54:09: Profiler CPU results:
14:54:09: 
14:54:09: ==============================================================
14:54:09: video thread frame - [cpu time: avg 0.383 ms, total 62.5 ms] [avg calls per frame: 1]
14:54:09: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:54:09: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:54:09: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:54:09: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:54:09: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:54:09: Convert444Threads - [cpu time: avg 1.116 ms, total 328.125 ms] [avg calls per frame: 2]
14:54:09: | Convert444toNV12 - [cpu time: avg 1.116 ms, total 328.125 ms] [avg calls per frame: 2]
14:54:09: encoder thread frame - [cpu time: avg 0.943 ms, total 140.625 ms] [avg calls per frame: 1]
14:54:09: ==============================================================
14:54:09: 
14:54:09: =====Stream End: 2013-12-18, 14:54:09=================================================

If you need anything more, let me know.
 

R1CH

Forum Admin
Developer
When you tab out from fullscreen games, the game stops rendering since it wouldn't be visible any more. Run your game in a windowed mode or just deal with it.
 

Evaldas

New Member
I actually tried now just to run it in Window mode, streaming stopped anyway. Could it be an issue that I run my game as Administrator?
 

dodgepong

Administrator
Community Helper
Do you stop streaming altogether, or does the capture just freeze but the stream continue sending to the server?
 

Evaldas

New Member
Okay, you can delete this. For an uknown reason I decided to check keybindings for recording and for my surprise i had ALT as stop streaming button. Thank you all guys. There are no limits for stupidity.
 
Top