Question / Help My stream is having frequent stuttering every 5 seconds.

Karlbrutal

New Member
As the title says, my stream is having some stuttering every 5 seconds as i stream, it doesnt stutter for me when im playing but it does on the stream. I have tried to lower bitrate, fps, encoder, reinstalling, but this stutter still seems to stay. So i figured i tried the forums. Does anyone know what is causing this? Some stutters are bigger than others but they are as annoying.

Here is an example of what i mean, from my stream yesterday (12-18-2017).

https://www.twitch.tv/videos/210639547

I will also include my log file

20:09:52.767: CPU Name: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
20:09:52.767: CPU Speed: 3999MHz
20:09:52.767: Physical Cores: 4, Logical Cores: 8
20:09:52.767: Physical Memory: 16334MB Total, 8127MB Free
20:09:52.767: Windows Version: 10.0 Build 16299 (revision: 125; 64-bit)
20:09:52.767: Running as administrator: false
20:09:52.768: Aero is Enabled (Aero is always on for windows 8 and above)
20:09:52.768: Windows 10 Gaming Features:
20:09:52.768: Game Bar: Off
20:09:52.768: Game DVR Allowed: Yes
20:09:52.768: Game DVR: On
20:09:52.768: Game DVR Background Recording: Off
20:09:52.768: Game Mode: Off
20:09:52.768: Portable mode: false
20:09:52.782: OBS 20.1.3 (64bit, windows)
20:09:52.782: ---------------------------------
20:09:52.792: ---------------------------------
20:09:52.792: audio settings reset:
20:09:52.792: samples per sec: 44100
20:09:52.792: speakers: 2
20:09:52.792: ---------------------------------
20:09:52.793: Initializing D3D11...
20:09:52.793: Available Video Adapters:
20:09:52.794: Adapter 1: NVIDIA GeForce GTX 1080
20:09:52.794: Dedicated VRAM: 4183818240
20:09:52.794: Shared VRAM: 4269094912
20:09:52.794: output 1: pos={0, 0}, size={2560, 1440}, attached=true
20:09:52.794: output 2: pos={2560, 232}, size={1920, 1080}, attached=true
20:09:52.796: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 (0)
20:09:52.823: D3D11 loaded successfully, feature level used: 45056
20:09:53.439: ---------------------------------
20:09:53.439: video settings reset:
20:09:53.439: base resolution: 2560x1440
20:09:53.439: output resolution: 1280x720
20:09:53.439: downscale filter: Bicubic
20:09:53.439: fps: 30/1
20:09:53.439: format: NV12
20:09:53.441: Audio monitoring device:
20:09:53.441: name: Standard
20:09:53.441: id: default
20:09:53.441: ---------------------------------
20:09:53.442: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
20:09:53.443: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
20:09:53.444: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
20:09:53.444: Failed to initialize module 'enc-amf.dll'
20:09:53.453: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
20:09:53.453: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
20:09:53.453: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
20:09:53.453: Failed to load 'en-US' text for module: 'obs-browser.dll'
20:09:53.453: [browser_source: 'Version: 1.29.0']
20:09:53.456: NVENC supported
20:09:53.532: Couldn't find VLC installation, VLC video source disabled
20:09:53.534: No blackmagic support
20:09:53.592: ---------------------------------
20:09:53.592: Loaded Modules:
20:09:53.592: win-wasapi.dll
20:09:53.592: win-mf.dll
20:09:53.592: win-dshow.dll
20:09:53.592: win-decklink.dll
20:09:53.592: win-capture.dll
20:09:53.592: vlc-video.dll
20:09:53.592: text-freetype2.dll
20:09:53.592: rtmp-services.dll
20:09:53.592: obs-x264.dll
20:09:53.592: obs-vst.dll
20:09:53.592: obs-transitions.dll
20:09:53.592: obs-text.dll
20:09:53.592: obs-qsv11.dll
20:09:53.592: obs-outputs.dll
20:09:53.592: obs-filters.dll
20:09:53.592: obs-ffmpeg.dll
20:09:53.592: obs-browser.dll
20:09:53.592: image-source.dll
20:09:53.592: frontend-tools.dll
20:09:53.592: enc-amf.dll
20:09:53.592: coreaudio-encoder.dll
20:09:53.592: ---------------------------------
20:09:53.592: ==== Startup complete ===============================================
20:09:53.598: All scene data cleared
20:09:53.599: ------------------------------------------------
20:09:53.638: WASAPI: Device 'Högtalare (Logitech G933 Gaming Headset)' initialized
20:09:53.643: WASAPI: Device 'Mikrofon (Yeti Stereo Microphone)' initialized
20:09:53.665: weyh: DecodeDeviceId failed
20:09:53.665: weyh: Video configuration failed
20:09:53.686: Switched to scene 'Stream'
20:09:53.686: ------------------------------------------------
20:09:53.686: Loaded scenes:
20:09:53.686: - scene 'Stream':
20:09:53.686: - source: 'Bildskärmskälla 2' (monitor_capture)
20:09:53.686: - source: 'Overlay' (browser_source)
20:09:53.686: - source: 'Alertbox' (browser_source)
20:09:53.686: - source: 'weyh' (dshow_input)
20:09:53.686: - source: 'Webcam' (dshow_input)
20:09:53.686: - scene 'awale':
20:09:53.686: - source: 'Bildskärmskälla 3' (monitor_capture)
20:09:53.686: ------------------------------------------------
20:09:53.689: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
20:09:53.807: ---------------------------------
20:09:53.808: [DShow Device: 'Webcam'] settings updated:
20:09:53.808: video device: Logitech HD Pro Webcam C920
20:09:53.808: video path: \\?\usb#vid_046d&pid_082d&mi_00#6&2e8d2c73&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
20:09:53.808: resolution: 640x480
20:09:53.808: fps: 30.00 (interval: 333333)
20:09:53.808: format: I420
20:25:37.992: ---------------------------------
20:25:37.992: [x264 encoder: 'streaming_h264'] preset: veryfast
20:25:38.001: [x264 encoder: 'streaming_h264'] settings:
20:25:38.001: rate_control: CBR
20:25:38.001: bitrate: 3000
20:25:38.001: buffer size: 3000
20:25:38.001: crf: 0
20:25:38.001: fps_num: 30
20:25:38.001: fps_den: 1
20:25:38.001: width: 1280
20:25:38.001: height: 720
20:25:38.001: keyint: 60
20:25:38.001:
20:25:38.001: [x264 encoder: 'streaming_h264'] custom settings: scenecut=0
20:25:38.020: [Media Foundation AAC: 'Track1']: encoder created
20:25:38.020: bitrate: 160
20:25:38.020: channels: 2
20:25:38.020: sample rate: 44100
20:25:38.020: bits-per-sample: 16
20:25:38.020:
20:25:38.020: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-arn.twitch.tv/app...
20:25:38.070: [rtmp stream: 'adv_stream'] Interface: Intel(R) Ethernet Connection (2) I218-V (ethernet, 1000 mbps)
20:25:39.498: [rtmp stream: 'adv_stream'] Connection to rtmp://live-arn.twitch.tv/app successful
20:25:39.502: ==== Streaming Start ===============================================
23:32:32.793: [rtmp stream: 'adv_stream'] User stopped the stream
23:32:32.819: Output 'adv_stream': stopping
23:32:32.819: Output 'adv_stream': Total frames output: 336347
23:32:32.819: Output 'adv_stream': Total drawn frames: 325201 (336444 attempted)
23:32:32.819: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 11243 (3.3%)
23:32:32.827: [rtmp stream: 'adv_stream'] Freeing 4 remaining packets
23:32:32.980: ==== Streaming Stop ================================================
23:32:35.146: ==== Shutting down ==================================================
23:32:35.195: Switched to scene '(null)'
23:32:35.358: WASAPI: Device 'Högtalare (Logitech G933 Gaming Headset)' Terminated
23:32:35.369: WASAPI: Device 'Mikrofon (Yeti Stereo Microphone)' Terminated
23:32:35.371: All scene data cleared
23:32:35.371: ------------------------------------------------
23:32:35.620: Freeing OBS context data
23:32:36.527: == Profiler Results =============================
23:32:36.527: run_program_init: 1000.11 ms
23:32:36.527: ┣OBSApp::AppInit: 11.323 ms
23:32:36.527: ┃ ┗OBSApp::InitLocale: 1.596 ms
23:32:36.527: ┗OBSApp::OBSInit: 979.984 ms
23:32:36.527: ┣obs_startup: 1.41 ms
23:32:36.527: ┗OBSBasic::OBSInit: 940.704 ms
23:32:36.527: ┣OBSBasic::InitBasicConfig: 0.383 ms
23:32:36.527: ┣OBSBasic::ResetAudio: 0.085 ms
23:32:36.527: ┣OBSBasic::ResetVideo: 649.118 ms
23:32:36.527: ┣OBSBasic::InitOBSCallbacks: 0.004 ms
23:32:36.527: ┣OBSBasic::InitHotkeys: 0.037 ms
23:32:36.536: ┣obs_load_all_modules: 150.771 ms
23:32:36.536: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.673 ms
23:32:36.536: ┃ ┣obs_init_module(enc-amf.dll): 0.265 ms
23:32:36.536: ┃ ┣obs_init_module(frontend-tools.dll): 1.343 ms
23:32:36.536: ┃ ┣obs_init_module(image-source.dll): 0.008 ms
23:32:36.536: ┃ ┣obs_init_module(obs-browser.dll): 0.041 ms
23:32:36.536: ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.722 ms
23:32:36.536: ┃ ┣obs_init_module(obs-filters.dll): 0.016 ms
23:32:36.536: ┃ ┣obs_init_module(obs-outputs.dll): 0.004 ms
23:32:36.536: ┃ ┣obs_init_module(obs-qsv11.dll): 69.526 ms
23:32:36.536: ┃ ┣obs_init_module(obs-text.dll): 0.682 ms
23:32:36.536: ┃ ┣obs_init_module(obs-transitions.dll): 0.006 ms
23:32:36.536: ┃ ┣obs_init_module(obs-vst.dll): 0.002 ms
23:32:36.536: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
23:32:36.536: ┃ ┣obs_init_module(rtmp-services.dll): 0.348 ms
23:32:36.536: ┃ ┣obs_init_module(text-freetype2.dll): 0.245 ms
23:32:36.536: ┃ ┣obs_init_module(vlc-video.dll): 0.026 ms
23:32:36.536: ┃ ┣obs_init_module(win-capture.dll): 0.109 ms
23:32:36.536: ┃ ┣obs_init_module(win-decklink.dll): 0.62 ms
23:32:36.536: ┃ ┣obs_init_module(win-dshow.dll): 0.766 ms
23:32:36.536: ┃ ┣obs_init_module(win-mf.dll): 55.107 ms
23:32:36.536: ┃ ┣obs_init_module(win-wasapi.dll): 0.005 ms
23:32:36.536: ┃ ┗reset_win32_symbol_paths: 0.082 ms
23:32:36.536: ┣OBSBasic::ResetOutputs: 4.214 ms
23:32:36.536: ┣OBSBasic::CreateHotkeys: 0.026 ms
23:32:36.536: ┣OBSBasic::InitService: 0.961 ms
23:32:36.536: ┣OBSBasic::InitPrimitives: 0.214 ms
23:32:36.536: ┗OBSBasic::Load: 88.979 ms
23:32:36.536: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.006 ms, max=273.053 ms, 99th percentile=0.153 ms, 99.9981% below 25 ms
23:32:36.536: audio_thread(Audio): min=0 ms, median=0.302 ms, max=18.805 ms, 99th percentile=0.92 ms
23:32:36.537: ┗receive_audio: min=0.001 ms, median=0.257 ms, max=8.538 ms, 99th percentile=0.828 ms, 0.898511 calls per parent call
23:32:36.537: ┣buffer_audio: min=0 ms, median=0.001 ms, max=1.142 ms, 99th percentile=0.002 ms
23:32:36.537: ┗do_encode: min=0.076 ms, median=0.254 ms, max=8.532 ms, 99th percentile=0.821 ms
23:32:36.537: ┗encode(Track1): min=0.071 ms, median=0.239 ms, max=8.486 ms, 99th percentile=0.776 ms
23:32:36.537: obs_graphics_thread(33.3333 ms): min=0.206 ms, median=0.933 ms, max=514.037 ms, 99th percentile=71.321 ms, 96.4532% below 33.333 ms
23:32:36.537: ┣tick_sources: min=0.002 ms, median=0.151 ms, max=161.705 ms, 99th percentile=1.781 ms
23:32:36.537: ┣render_displays: min=0 ms, median=0.227 ms, max=46.955 ms, 99th percentile=0.64 ms
23:32:36.537: ┗output_frame: min=0.202 ms, median=0.53 ms, max=513.431 ms, 99th percentile=70.118 ms
23:32:36.537: ┣gs_context(video->graphics): min=0.083 ms, median=0.296 ms, max=512.833 ms, 99th percentile=69.817 ms
23:32:36.537: ┃ ┣render_video: min=0.019 ms, median=0.05 ms, max=11.189 ms, 99th percentile=0.43 ms
23:32:36.537: ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.025 ms, max=3.749 ms, 99th percentile=0.106 ms
23:32:36.537: ┃ ┃ ┣render_output_texture: min=0.003 ms, median=0.009 ms, max=0.917 ms, 99th percentile=0.033 ms
23:32:36.537: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.009 ms, max=1.882 ms, 99th percentile=0.036 ms
23:32:36.537: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.002 ms, max=11.098 ms, 99th percentile=0.336 ms
23:32:36.537: ┃ ┣download_frame: min=0 ms, median=0.002 ms, max=512.235 ms, 99th percentile=69.442 ms
23:32:36.537: ┃ ┗gs_flush: min=0.013 ms, median=0.218 ms, max=10.887 ms, 99th percentile=0.646 ms
23:32:36.537: ┗output_video_data: min=0.141 ms, median=0.221 ms, max=2.999 ms, 99th percentile=0.549 ms
23:32:36.537: video_thread(video): min=0 ms, median=0.711 ms, max=88.329 ms, 99th percentile=2.226 ms
23:32:36.537: ┗receive_video: min=0 ms, median=0.734 ms, max=76.45 ms, 99th percentile=1.736 ms
23:32:36.537: ┗do_encode: min=0.469 ms, median=0.733 ms, max=76.449 ms, 99th percentile=1.734 ms
23:32:36.537: ┗encode(streaming_h264): min=0.461 ms, median=0.714 ms, max=76.43 ms, 99th percentile=1.695 ms
23:32:36.537: =================================================
23:32:36.537: == Profiler Time Between Calls ==================
23:32:36.537: obs_hotkey_thread(25 ms): min=24.55 ms, median=25.036 ms, max=297.922 ms, 88.0403% within ±2% of 25 ms (0% lower, 11.9597% higher)
23:32:36.537: obs_graphics_thread(33.3333 ms): min=1.837 ms, median=33.333 ms, max=514.06 ms, 95.1659% within ±2% of 33.333 ms (1.29664% lower, 3.53749% higher)
23:32:36.537: =================================================
23:32:37.032: Number of memory leaks: 21
 
Last edited:

Karlbrutal

New Member
I see only 2 suspicious lines there:
1. Win10 Game DVR is on (turn it off)
2. You have some rendering lag (which means GPU overload)

To fix the rendering lag, check point 4.1 on this guide:
https://obsproject.com/forum/threads/common-mistakes-and-how-to-avoid-them.78116/

To disable Game DVR: https://support.steampowered.com/kb_article.php?ref=6239-DZCB-8600
Okay, first and foremost, thank you for your response. I managed to disable DVR atleast, or i did what the instructions said. But i dont really understand the rendering thing, i did a few tests, and it turned out that the game ate almost all the gpu load was about 85-98% when playing, even with limit 60 fps or with vsync so i suspect thats the issue. But since english is not my foreign language, i dont really understand what i have to do. Can you explain for me a litte more in detail. Sorry..
 

BK-Morpheus

Active Member
If you GPU load hits over 90% even with 60fps ingame limit, you might need to reduce ingame details to take some stress from the GPU.
Some thing else, that is strange: You have no game_capture source in your scene, but two different monitor_capture sources.
Can you game not be recorded with game capture source? Game Capture is performing better than window or monitor capture.
 

Karlbrutal

New Member
So i tried to lower the settings ingame to Medium, i dont want to go any lower, i mean i have an 1080 X it should handle it pretty good. Now i got almost solid 60 FPS, the stuttering is getting better, i mean its not as much stutter, but its still there, the load on the gpu is about 80-93% now. Can there be something else interfering with the GPU? It worked with game capture source worth to note. Thx for that
 
Top