Question / Help Stream stops after 30 seconds

iFlash_3

New Member
When I press the "Start stream" button it all works fine, it connects to twitch and everything seems good.
BUT when the timer is about to switch in to 30 seconds, the stream stops, and in the log it says that the "user" stopped the stream, but I'm sure im not pressing anything.

I've tried restarting the computer, restarting obs, starting as admin. Nothing has worked
This started when I was trying out some new settings, since I change a bunch of them Im not sure which ones caused it..

Code:
18:32:59.995: CPU Name: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
18:32:59.995: CPU Speed: 3504MHz
18:32:59.995: Physical Cores: 4, Logical Cores: 4
18:32:59.995: Physical Memory: 16323MB Total, 11917MB Free
18:32:59.995: Windows Version: 10.0 Build 14393 (revision: 693; 64-bit)
18:32:59.995: Running as administrator: false
18:32:59.995: Aero is Enabled (Aero is always on for windows 8 and above)
18:32:59.996: Portable mode: false
18:33:00.006: OBS 17.0.2 (64bit, windows)
18:33:00.006: ---------------------------------
18:33:00.007: ---------------------------------
18:33:00.007: audio settings reset:
18:33:00.007:     samples per sec: 48000
18:33:00.007:     speakers:        2
18:33:00.008: ---------------------------------
18:33:00.008: Initializing D3D11..
18:33:00.008: Available Video Adapters: 
18:33:00.009:     Adapter 1: NVIDIA GeForce GTX 970
18:33:00.009:      Dedicated VRAM: 4256235520
18:33:00.009:      Shared VRAM:    4263405568
18:33:00.009:      output 1: pos={0, 0}, size={1920, 1080}, attached=true
18:33:00.009:      output 2: pos={1920, 0}, size={1920, 1080}, attached=true
18:33:00.012: Loading up D3D11 on adapter NVIDIA GeForce GTX 970 (0)
18:33:00.519: D3D11 loaded sucessfully, feature level used: 45056
18:33:00.960: ---------------------------------
18:33:00.960: video settings reset:
18:33:00.960:     base resolution:   1920x1080
18:33:00.960:     output resolution: 1280x720
18:33:00.960:     downscale filter:  Bicubic
18:33:00.960:     fps:               60/1
18:33:00.960:     format:            NV12
18:33:00.961: ---------------------------------
18:33:00.962: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
18:33:00.963: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
18:33:00.964: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
18:33:00.970: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
18:33:00.971: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
18:33:00.971: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
18:33:00.972: Failed to load 'en-US' text for module: 'obs-browser.dll'
18:33:00.972: [browser_source: 'Version: 1.28.0']
18:33:00.973: NVENC supported
18:33:01.024: LoadLibrary failed for '../../obs-plugins/64bit/ServerPingPlugin.dll': (null) (126)
18:33:01.024: Module '../../obs-plugins/64bit/ServerPingPlugin.dll' not found
18:33:01.026: Couldn't find VLC installation, VLC video source disabled
18:33:01.031: No blackmagic support
18:33:01.066: ---------------------------------
18:33:01.066:   Loaded Modules:
18:33:01.066:     win-wasapi.dll
18:33:01.066:     win-mf.dll
18:33:01.066:     win-dshow.dll
18:33:01.066:     win-decklink.dll
18:33:01.066:     win-capture.dll
18:33:01.066:     vlc-video.dll
18:33:01.066:     text-freetype2.dll
18:33:01.066:     rtmp-services.dll
18:33:01.066:     obs-x264.dll
18:33:01.066:     obs-transitions.dll
18:33:01.066:     obs-text.dll
18:33:01.066:     obs-qsv11.dll
18:33:01.066:     obs-outputs.dll
18:33:01.066:     obs-filters.dll
18:33:01.066:     obs-ffmpeg.dll
18:33:01.066:     obs-browser.dll
18:33:01.066:     image-source.dll
18:33:01.066:     frontend-tools.dll
18:33:01.066:     enc-amf.dll
18:33:01.066:     coreaudio-encoder.dll
18:33:01.066: ==== Startup complete ===============================================
18:33:01.069: All scene data cleared
18:33:01.069: ------------------------------------------------
18:33:01.097: WASAPI: Device 'Hörlurar (2- Razer Kraken USB)' initialized
18:33:01.105: WASAPI: Device 'Mikrofon (2- Razer Kraken USB)' initialized
18:33:01.152: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
18:33:06.116: ---------------------------------
18:33:06.116: [DShow Device: 'Webcam'] settings updated: 
18:33:06.116:     video device: Logitech HD Webcam C525
18:33:06.116:     video path: \\?\usb#vid_046d&pid_0826&mi_02#6&6175f1&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
18:33:06.116:     resolution: 640x480
18:33:06.116:     fps: 30.00 (interval: 333333)
18:33:06.116:     format: I420
18:33:06.144:     using video device audio: no
18:33:06.144:     audio device: Mikrofon (2- Razer Kraken USB)
18:33:06.144:     sample rate: 44100
18:33:06.144:     channels: 2
18:33:06.144:     audio type: Capture
18:33:06.255: warning: deprecated pixel format used, make sure you did set range correctly
18:33:06.255: warning: Warning: data is not aligned! This can lead to a speedloss
18:33:06.325: Switched to scene 'Stream (ex OW)'
18:33:06.325: ------------------------------------------------
18:33:06.325: Loaded scenes:
18:33:06.325: - scene 'Stream (ex OW)':
18:33:06.325:     - source: 'Spelintagning 1' (game_capture)
18:33:06.325:     - source: 'SPEL' (game_capture)
18:33:06.325:         - filter: 'Färgkorrigering' (color_filter)
18:33:06.325:     - source: 'CS' (game_capture)
18:33:06.325:     - source: 'Chat' (browser_source)
18:33:06.325:     - source: 'Overlay' (image_source)
18:33:06.325:     - source: 'Webcam' (dshow_input)
18:33:06.325:         - filter: 'Kromafilter' (chroma_key_filter)
18:33:06.325:     - source: 'Overlay text' (image_source)
18:33:06.325:     - source: 'Recent Follower' (text_ft2_source)
18:33:06.325:     - source: 'Alerts' (browser_source)
18:33:06.325:     - source: 'Bildspel' (slideshow)
18:33:06.325: - scene 'Overwatch':
18:33:06.325:     - source: 'OW' (game_capture)
18:33:06.325:     - source: 'OW Overlay' (image_source)
18:33:06.325:     - source: 'Recent' (text_gdiplus)
18:33:06.325:     - source: 'Alerts' (browser_source)
18:33:06.325:     - source: 'Chat' (browser_source)
18:33:06.325:     - source: 'Låt' (text_gdiplus)
18:33:06.325: - scene 'Inspelning':
18:33:06.325:     - source: 'Spel' (game_capture)
18:33:06.325:     - source: 'Bildskärmskälla' (monitor_capture)
18:33:06.325:     - source: 'Spelintagning' (game_capture)
18:33:06.325:     - source: 'Fönsterkälla' (window_capture)
18:33:06.325:     - source: 'Bildskärmskälla 1' (monitor_capture)
18:33:06.325:     - source: 'Bildskärmskälla 2' (monitor_capture)
18:33:06.325: - scene 'FACECAM 1':
18:33:06.325:     - source: 'Webcam' (dshow_input)
18:33:06.325:         - filter: 'Kromafilter' (chroma_key_filter)
18:33:06.325: - scene 'FACECAM 2':
18:33:06.325:     - source: 'Webcam' (dshow_input)
18:33:06.325:         - filter: 'Kromafilter' (chroma_key_filter)
18:33:06.325: - scene 'FACECAM 3':
18:33:06.325:     - source: 'Webcam' (dshow_input)
18:33:06.325:         - filter: 'Kromafilter' (chroma_key_filter)
18:33:06.325: - scene 'STARTING SOON':
18:33:06.325:     - source: 'Bild' (image_source)
18:33:06.325:     - source: 'Chat' (browser_source)
18:33:06.325:     - source: 'Countdown' (text_gdiplus)
18:33:06.325:     - source: 'Låt' (text_gdiplus)
18:33:06.325: ------------------------------------------------
18:33:06.785: Update check: last known remote version is 17.0.2
18:33:13.274: ---------------------------------
18:33:13.274: [NVENC encoder: 'streaming_h264'] settings:
18:33:13.274:     rate_control: CBR
18:33:13.274:     bitrate:      2600
18:33:13.274:     cqp:          0
18:33:13.274:     keyint:       120
18:33:13.274:     preset:       default
18:33:13.274:     profile:      main
18:33:13.274:     level:        auto
18:33:13.274:     width:        1280
18:33:13.274:     height:       720
18:33:13.274:     2-pass:       true
18:33:13.274:     b-frames:     2
18:33:13.274:     GPU:          0
18:33:13.274: 
18:33:14.610: [Media Foundation AAC: 'Track1']: encoder created
18:33:14.610:     bitrate: 160
18:33:14.610:     channels: 2
18:33:14.610:     sample rate: 48000
18:33:14.610:     bits-per-sample: 16
18:33:14.610: 
18:33:14.611: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-arn.twitch.tv/app...
18:33:14.645: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
18:33:16.530: [rtmp stream: 'adv_stream'] Connection to rtmp://live-arn.twitch.tv/app successful
18:33:16.533: ==== Streaming Start ===============================================
18:33:47.119: [rtmp stream: 'adv_stream'] User stopped the stream
18:33:47.119: Output 'adv_stream': stopping
18:33:47.119: Output 'adv_stream': Total encoded frames: 1951
18:33:47.119: Output 'adv_stream': Total drawn frames: 1951
18:33:47.122: ==== Streaming Stop ================================================
18:33:54.791: ==== Shutting down ==================================================
18:33:54.798: Switched to scene '(null)'
18:33:54.826: WASAPI: Device 'Hörlurar (2- Razer Kraken USB)' Terminated
18:33:54.830: WASAPI: Device 'Mikrofon (2- Razer Kraken USB)' Terminated
18:33:54.831: All scene data cleared
18:33:54.831: ------------------------------------------------
18:33:54.893: Freeing OBS context data
18:33:54.963: == Profiler Results =============================
18:33:54.963: run_program_init: 6412.4 ms
18:33:54.963:  ┣OBSApp::AppInit: 1.746 ms
18:33:54.963:  ┃ ┗OBSApp::InitLocale: 1.188 ms
18:33:54.963:  ┗OBSApp::OBSInit: 6403.57 ms
18:33:54.963:    ┣obs_startup: 1.306 ms
18:33:54.963:    ┗OBSBasic::OBSInit: 6373.69 ms
18:33:54.963:      ┣OBSBasic::InitBasicConfig: 0.324 ms
18:33:54.963:      ┣OBSBasic::ResetAudio: 0.34 ms
18:33:54.963:      ┣OBSBasic::ResetVideo: 954.1 ms
18:33:54.963:      ┣OBSBasic::InitOBSCallbacks: 0.013 ms
18:33:54.963:      ┣OBSBasic::InitHotkeys: 0.034 ms
18:33:54.963:      ┣obs_load_all_modules: 104.589 ms
18:33:54.963:      ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.462 ms
18:33:54.963:      ┃ ┣obs_init_module(enc-amf.dll): 0.375 ms
18:33:54.963:      ┃ ┣obs_init_module(frontend-tools.dll): 1.198 ms
18:33:54.963:      ┃ ┣obs_init_module(image-source.dll): 0.002 ms
18:33:54.963:      ┃ ┣obs_init_module(obs-browser.dll): 0.071 ms
18:33:54.963:      ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.471 ms
18:33:54.963:      ┃ ┣obs_init_module(obs-filters.dll): 0.005 ms
18:33:54.963:      ┃ ┣obs_init_module(obs-outputs.dll): 0.002 ms
18:33:54.963:      ┃ ┣obs_init_module(obs-qsv11.dll): 45.282 ms
18:33:54.963:      ┃ ┣obs_init_module(obs-text.dll): 0.344 ms
18:33:54.963:      ┃ ┣obs_init_module(obs-transitions.dll): 0.004 ms
18:33:54.963:      ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
18:33:54.963:      ┃ ┣obs_init_module(rtmp-services.dll): 0.245 ms
18:33:54.963:      ┃ ┣obs_init_module(text-freetype2.dll): 0.05 ms
18:33:54.963:      ┃ ┣obs_init_module(vlc-video.dll): 0.043 ms
18:33:54.963:      ┃ ┣obs_init_module(win-capture.dll): 0.041 ms
18:33:54.963:      ┃ ┣obs_init_module(win-decklink.dll): 3.938 ms
18:33:54.963:      ┃ ┣obs_init_module(win-dshow.dll): 0.92 ms
18:33:54.963:      ┃ ┣obs_init_module(win-mf.dll): 31.764 ms
18:33:54.963:      ┃ ┣obs_init_module(win-wasapi.dll): 0.004 ms
18:33:54.963:      ┃ ┗reset_win32_symbol_paths: 0.064 ms
18:33:54.963:      ┣OBSBasic::ResetOutputs: 0.398 ms
18:33:54.963:      ┣OBSBasic::CreateHotkeys: 0.031 ms
18:33:54.963:      ┣OBSBasic::InitService: 0.08 ms
18:33:54.963:      ┣OBSBasic::InitPrimitives: 0.16 ms
18:33:54.963:      ┗OBSBasic::Load: 5258.15 ms
18:33:54.963: obs_hotkey_thread(25 ms): min=0.001 ms, median=0.004 ms, max=1.584 ms, 99th percentile=0.202 ms, 100% below 25 ms
18:33:54.963: audio_thread(Audio): min=0 ms, median=0.212 ms, max=0.586 ms, 99th percentile=0.425 ms
18:33:54.963:  ┗receive_audio: min=0.003 ms, median=0.17 ms, max=0.49 ms, 99th percentile=0.337 ms, 0.539992 calls per parent call
18:33:54.963:    ┣buffer_audio: min=0 ms, median=0 ms, max=0.057 ms, 99th percentile=0.001 ms
18:33:54.963:    ┗do_encode: min=0.08 ms, median=0.168 ms, max=0.486 ms, 99th percentile=0.331 ms
18:33:54.963:      ┗encode(Track1): min=0.076 ms, median=0.157 ms, max=0.471 ms, 99th percentile=0.309 ms
18:33:54.963: obs_video_thread(16.6667 ms): min=0.349 ms, median=0.94 ms, max=5190.61 ms, 99th percentile=3.482 ms, 99.9658% below 16.667 ms
18:33:54.963:  ┣tick_sources: min=0 ms, median=0.016 ms, max=5189.85 ms, 99th percentile=0.3 ms
18:33:54.963:  ┣render_displays: min=0 ms, median=0.235 ms, max=10.561 ms, 99th percentile=0.9 ms
18:33:54.963:  ┗output_frame: min=0.302 ms, median=0.663 ms, max=3.166 ms, 99th percentile=1.173 ms
18:33:54.963:    ┣gs_context(video->graphics): min=0.15 ms, median=0.505 ms, max=2.682 ms, 99th percentile=0.964 ms
18:33:54.963:    ┃ ┣render_video: min=0.017 ms, median=0.073 ms, max=1.592 ms, 99th percentile=0.726 ms
18:33:54.963:    ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.034 ms, max=0.527 ms, 99th percentile=0.224 ms
18:33:54.963:    ┃ ┃ ┣render_output_texture: min=0.002 ms, median=0.006 ms, max=0.455 ms, 99th percentile=0.046 ms
18:33:54.963:    ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.007 ms, max=0.845 ms, 99th percentile=0.052 ms
18:33:54.963:    ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.002 ms, max=1.146 ms, 99th percentile=0.664 ms
18:33:54.963:    ┃ ┣download_frame: min=0 ms, median=0.002 ms, max=1.43 ms, 99th percentile=0.77 ms
18:33:54.963:    ┃ ┗gs_flush: min=0.016 ms, median=0.083 ms, max=2.605 ms, 99th percentile=0.715 ms
18:33:54.963:    ┗output_video_data: min=0.111 ms, median=0.153 ms, max=0.71 ms, 99th percentile=0.305 ms
18:33:54.963: video_thread(video): min=0 ms, median=0.459 ms, max=1.44 ms, 99th percentile=0.981 ms
18:33:54.963:  ┗receive_video: min=0 ms, median=0.587 ms, max=1.438 ms, 99th percentile=1.036 ms, 0.62821 calls per parent call
18:33:54.963:    ┗do_encode: min=0.37 ms, median=0.587 ms, max=1.437 ms, 99th percentile=1.035 ms
18:33:54.963:      ┗encode(streaming_h264): min=0.36 ms, median=0.572 ms, max=1.418 ms, 99th percentile=1.01 ms
18:33:54.963: =================================================
18:33:54.963: == Profiler Time Between Calls ==================
18:33:54.963: obs_hotkey_thread(25 ms): min=24.624 ms, median=25.255 ms, max=27.82 ms, 74.4111% within ±2% of 25 ms (0% lower, 25.5889% higher)
18:33:54.963: obs_video_thread(16.6667 ms): min=9.386 ms, median=16.667 ms, max=5190.61 ms, 99.5896% within ±2% of 16.667 ms (0.205198% lower, 0.205198% higher)
18:33:54.963: =================================================
18:33:55.004: Number of memory leaks: 17
 

Iaxpo

New Member
i have a similar problem. I'm streaming from obs through my local network to another machine with an rtmp server running and another instance of obs. After 30 seconds of streaming the first obs instance stops and if i try to restart the stream a popup appear saying "Impossible to connect...bla bla bla", but if i change something in the output settings (for example bitrate) i can stream for another 30 seconds. IDK if it's a bug or it's a safety feature of some kind
 

Iaxpo

New Member
ok...i got it...i really don't know why the stream countdown was active, never never never touch it.
 

Taboovector

New Member
this propably has been fixed but if you have this issue go to tools up on top left go to stopwatch enter that and make sure nthe boxes are empty (meaning make sure its not actived ) if this is alriught then you got a whole nother problem and i wishh you all the best.
 

bbrrraaapp

New Member
My solution was under the menu "Tools >> Output Timer" default is 30 seconds. And oh yes, I forgot I changed those settings and also assumed that it would "Output Timer" on my stream, as in display...
 
Top