Question / Help Stream is lagging but sound works fine

MrGrumpy

New Member
I've recently started streaming and wanted to use OBS, since I like the customization in it, so I've been playing around some and tried to watch videos to learn on how to set it up and everything.

I've now been test streaming to see the settings but the game seems to be freezing alot in the video while I stream, and I'm not sure why. I tried to lower to bitrate, from 3000 to 2500 and now down to 1650, with slight improvments. And now I'm not sure on what else to change.

19:24:03.775: CPU Name: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
19:24:03.775: CPU Speed: 3193MHz
19:24:03.776: Physical Cores: 4, Logical Cores: 4
19:24:03.776: Physical Memory: 12207MB Total, 3872MB Free
19:24:03.776: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
19:24:03.776: Running as administrator: true
19:24:03.776: Aero is Enabled (Aero is always on for windows 8 and above)
19:24:03.776: Portable mode: false
19:24:03.803: OBS 19.0.3 (64bit, windows)
19:24:03.803: ---------------------------------
19:24:03.804: ---------------------------------
19:24:03.804: audio settings reset:
19:24:03.804: samples per sec: 44100
19:24:03.804: speakers: 2
19:24:03.822: ---------------------------------
19:24:03.822: Initializing D3D11...
19:24:03.822: Available Video Adapters:
19:24:03.823: Adapter 1: NVIDIA GeForce GTX 970
19:24:03.823: Dedicated VRAM: 4256759808
19:24:03.823: Shared VRAM: 2105335808
19:24:03.824: output 1: pos={0, 0}, size={1920, 1080}, attached=true
19:24:03.825: Loading up D3D11 on adapter NVIDIA GeForce GTX 970 (0)
19:24:04.141: D3D11 loaded successfully, feature level used: 45056
19:24:05.187: ---------------------------------
19:24:05.187: video settings reset:
19:24:05.187: base resolution: 1920x1080
19:24:05.187: output resolution: 1280x720
19:24:05.187: downscale filter: Bicubic
19:24:05.187: fps: 30/1
19:24:05.187: format: NV12
19:24:05.189: Audio monitoring device:
19:24:05.189: name: Default
19:24:05.189: id: default
19:24:05.189: ---------------------------------
19:24:05.207: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
19:24:05.231: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
19:24:05.290: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
19:24:05.290: Failed to initialize module 'enc-amf.dll'
19:24:05.383: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
19:24:05.394: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
19:24:05.412: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
19:24:05.426: Failed to load 'en-US' text for module: 'obs-browser.dll'
19:24:05.426: [browser_source: 'Version: 1.29.0']
19:24:05.559: NVENC supported
19:24:05.768: Couldn't find VLC installation, VLC video source disabled
19:24:05.847: No blackmagic support
19:24:06.208: ---------------------------------
19:24:06.208: Loaded Modules:
19:24:06.208: win-wasapi.dll
19:24:06.208: win-mf.dll
19:24:06.208: win-dshow.dll
19:24:06.208: win-decklink.dll
19:24:06.208: win-capture.dll
19:24:06.208: vlc-video.dll
19:24:06.208: text-freetype2.dll
19:24:06.208: rtmp-services.dll
19:24:06.208: obs-x264.dll
19:24:06.208: obs-vst.dll
19:24:06.208: obs-transitions.dll
19:24:06.208: obs-text.dll
19:24:06.208: obs-qsv11.dll
19:24:06.208: obs-outputs.dll
19:24:06.208: obs-filters.dll
19:24:06.208: obs-ffmpeg.dll
19:24:06.208: obs-browser.dll
19:24:06.208: image-source.dll
19:24:06.208: frontend-tools.dll
19:24:06.208: enc-amf.dll
19:24:06.208: coreaudio-encoder.dll
19:24:06.208: ==== Startup complete ===============================================
19:24:06.209: All scene data cleared
19:24:06.209: ------------------------------------------------
19:24:06.247: WASAPI: Device 'Headset Earphone (Razer Kraken 7.1 Chroma)' initialized
19:24:06.261: WASAPI: Device 'Headset Microphone (Razer Kraken 7.1 Chroma)' initialized
19:24:06.315: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
19:24:06.337: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
19:24:06.360: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
19:24:06.383: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
19:24:06.428: adding 23 milliseconds of audio buffering, total audio buffering is now 116 milliseconds
19:24:06.451: adding 23 milliseconds of audio buffering, total audio buffering is now 139 milliseconds
19:24:06.473: adding 23 milliseconds of audio buffering, total audio buffering is now 162 milliseconds
19:24:06.496: adding 23 milliseconds of audio buffering, total audio buffering is now 185 milliseconds
19:24:06.519: adding 23 milliseconds of audio buffering, total audio buffering is now 208 milliseconds
19:24:06.541: adding 23 milliseconds of audio buffering, total audio buffering is now 232 milliseconds
19:24:06.564: adding 23 milliseconds of audio buffering, total audio buffering is now 255 milliseconds
19:24:06.587: adding 23 milliseconds of audio buffering, total audio buffering is now 278 milliseconds
19:24:06.609: adding 23 milliseconds of audio buffering, total audio buffering is now 301 milliseconds
19:24:06.632: adding 23 milliseconds of audio buffering, total audio buffering is now 325 milliseconds
19:24:06.659: adding 23 milliseconds of audio buffering, total audio buffering is now 348 milliseconds
19:24:06.682: adding 23 milliseconds of audio buffering, total audio buffering is now 371 milliseconds
19:24:06.705: adding 23 milliseconds of audio buffering, total audio buffering is now 394 milliseconds
19:24:06.728: adding 23 milliseconds of audio buffering, total audio buffering is now 417 milliseconds
19:24:06.752: adding 23 milliseconds of audio buffering, total audio buffering is now 441 milliseconds
19:24:06.774: adding 23 milliseconds of audio buffering, total audio buffering is now 464 milliseconds
19:24:06.797: adding 23 milliseconds of audio buffering, total audio buffering is now 487 milliseconds
19:24:06.820: adding 23 milliseconds of audio buffering, total audio buffering is now 510 milliseconds
19:24:06.843: adding 23 milliseconds of audio buffering, total audio buffering is now 534 milliseconds
19:24:06.866: adding 23 milliseconds of audio buffering, total audio buffering is now 557 milliseconds
19:24:06.889: adding 23 milliseconds of audio buffering, total audio buffering is now 580 milliseconds
19:24:06.912: adding 23 milliseconds of audio buffering, total audio buffering is now 603 milliseconds
19:24:06.935: adding 23 milliseconds of audio buffering, total audio buffering is now 626 milliseconds
19:24:06.957: adding 23 milliseconds of audio buffering, total audio buffering is now 650 milliseconds
19:24:06.980: adding 23 milliseconds of audio buffering, total audio buffering is now 673 milliseconds
19:24:07.002: adding 23 milliseconds of audio buffering, total audio buffering is now 696 milliseconds
19:24:07.025: adding 23 milliseconds of audio buffering, total audio buffering is now 719 milliseconds
19:24:07.346: Last log entry repeated for 13 more lines
19:24:07.346: Max audio buffering reached!
19:24:07.346: adding 23 milliseconds of audio buffering, total audio buffering is now 1044 milliseconds
19:24:08.879: Switched to scene 'Scene'
19:24:08.880: [game-capture: 'Overwatch'] attempting to hook process: Overwatch.exe
19:24:08.889: [game-capture: 'Overwatch'] shared texture capture successful
19:24:08.909: ------------------------------------------------
19:24:08.909: Loaded scenes:
19:24:08.909: - scene 'Scene':
19:24:08.909: - source: 'Overwatch' (game_capture)
19:24:08.909: - source: 'Follower Alerts' (browser_source)
19:24:08.909: - source: 'Overlay' (image_source)
19:24:08.909: - source: 'Music Scroller' (text_gdiplus)
19:24:08.910: - filter: 'Scroll' (scroll_filter)
19:24:08.910: - source: 'Most recent follower' (text_gdiplus)
19:24:08.910: - filter: 'Scroll' (scroll_filter)
19:24:08.910: ------------------------------------------------
19:29:42.283: Settings changed (outputs)
19:29:42.283: ------------------------------------------------
19:30:50.284: [game-capture: 'Overwatch'] d3d11 shared texture capture successful
19:30:50.289: [game-capture: 'Overwatch'] shared texture capture successful
19:52:48.262: ---------------------------------
19:52:48.262: [x264 encoder: 'simple_h264_stream'] preset: veryfast
19:52:48.262: [x264 encoder: 'simple_h264_stream'] settings:
19:52:48.262: rate_control: CBR
19:52:48.262: bitrate: 2000
19:52:48.262: buffer size: 2000
19:52:48.262: crf: 0
19:52:48.262: fps_num: 30
19:52:48.262: fps_den: 1
19:52:48.262: width: 1280
19:52:48.262: height: 720
19:52:48.262: keyint: 60
19:52:48.262: vfr: off
19:52:48.262:
19:52:48.262: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
19:52:48.268: [Media Foundation AAC: 'simple_aac']: encoder created
19:52:48.268: bitrate: 160
19:52:48.268: channels: 2
19:52:48.268: sample rate: 44100
19:52:48.268: bits-per-sample: 16
19:52:48.268:
19:52:48.268: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-arn.twitch.tv/app...
19:52:48.384: [rtmp stream: 'simple_stream'] Interface: Intel(R) Ethernet Connection I217-V (ethernet, 100 mbps)
19:52:50.009: [rtmp stream: 'simple_stream'] Connection to rtmp://live-arn.twitch.tv/app successful
19:52:50.012: ==== Streaming Start ===============================================
20:35:01.440: [rtmp stream: 'simple_stream'] Stream shutdown timeout reached (30 second(s))
20:35:01.441: [rtmp stream: 'simple_stream'] User stopped the stream
20:35:01.441: Output 'simple_stream': stopping
20:35:01.441: Output 'simple_stream': Total encoded frames: 16837
20:35:01.441: Output 'simple_stream': Total drawn frames: 75995
20:35:01.441: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 65 (0.1%)
20:35:01.444: ==== Streaming Stop ================================================
20:35:33.304: Video stopped, number of skipped frames due to encoding lag: 51162/69403 (73.7%)
21:50:35.155: [game-capture: 'Overwatch'] capture window no longer exists, terminating capture
21:50:35.157: [game-capture: 'Overwatch'] capture stopped
08:43:25.497: Settings changed (outputs)
08:43:25.497: ------------------------------------------------
10:16:26.622: [game-capture: 'Overwatch'] attempting to hook process: Overwatch.exe
10:16:26.625: [game-capture: 'Overwatch'] using helper (compatibility hook)
10:16:26.629: [game-capture: 'Overwatch'] hook not loaded yet, retrying..
10:16:29.653: [game-capture: 'Overwatch'] attempting to hook process: Overwatch.exe
10:16:29.762: [game-capture: 'Overwatch'] d3d11 shared texture capture successful
10:16:29.787: [game-capture: 'Overwatch'] shared texture capture successful
10:17:21.871: ---------------------------------
10:17:21.871: [x264 encoder: 'simple_h264_stream'] preset: veryfast
10:17:21.872: [x264 encoder: 'simple_h264_stream'] settings:
10:17:21.872: rate_control: CBR
10:17:21.872: bitrate: 1650
10:17:21.872: buffer size: 1650
10:17:21.872: crf: 0
10:17:21.872: fps_num: 30
10:17:21.872: fps_den: 1
10:17:21.872: width: 1280
10:17:21.872: height: 720
10:17:21.872: keyint: 60
10:17:21.872: vfr: off
10:17:21.872:
10:17:21.872: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
10:17:21.877: [Media Foundation AAC: 'simple_aac']: encoder created
10:17:21.877: bitrate: 160
10:17:21.877: channels: 2
10:17:21.877: sample rate: 44100
10:17:21.877: bits-per-sample: 16
10:17:21.877:
10:17:21.878: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-arn.twitch.tv/app...
10:17:21.904: [rtmp stream: 'simple_stream'] Interface: Intel(R) Ethernet Connection I217-V (ethernet, 100 mbps)
10:17:23.784: [rtmp stream: 'simple_stream'] Connection to rtmp://live-arn.twitch.tv/app successful
10:17:23.791: ==== Streaming Start ===============================================
10:26:27.653: [game-capture: 'Overwatch'] capture window no longer exists, terminating capture
10:26:27.654: [game-capture: 'Overwatch'] capture stopped
10:26:49.188: [rtmp stream: 'simple_stream'] Stream shutdown timeout reached (30 second(s))
10:26:49.189: [rtmp stream: 'simple_stream'] User stopped the stream
10:26:49.189: Output 'simple_stream': stopping
10:26:49.189: Output 'simple_stream': Total encoded frames: 4293428103
10:26:49.189: Output 'simple_stream': Total drawn frames: 17020
10:26:49.189: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 9 (0.1%)
10:26:49.189: Video stopped, number of skipped frames due to encoding lag: 10006/16963 (59.0%)
10:26:49.192: ==== Streaming Stop ================================================

That's the log from my latest stream, and I will also include the vod from it to show how it looks.

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

Highly grateful for any help.
 

Attachments

  • Screenshot 2017-08-08 14-19-15.png
    Screenshot 2017-08-08 14-19-15.png
    19.1 KB · Views: 79

MrGrumpy

New Member
your cpu is too slow for x264 and game
use quicksync, enable intel igpu in bios, assign it max amount of ram in bios, windows will install some driver for it.
now you should run DDU in safe mode, clean intel and install latest driver from here
https://downloadcenter.intel.com/do...phics-Driver-for-Windows-15-40-?product=81496

in obs video tab change filter to lanczos, and set rest like in pic

https://obsproject.com/forum/resources/how-to-use-quicksync.82/

enable vsync in game

Thanks for the response... Sadly enough, after some googleing, it seems my Acer Predator G3 doesn't have an option in the BIOs to enable iGPU.. trying to find something else, since most Acer seems to be Quick Sync compatible anyway, but can't find anything about my specific model
 
Top