Question / Help my Recording Lags

vesolan

New Member
my recording lags but the game is fine my CPU never goes over 20% and my ram never goes over 40% and i have a GTX 970 i dont know why the OBS are laging but its only when im in game. its works fine whne im recording the desktop but if i go in to a game the recording starts laging
Code:
14:27:25.990: CPU Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
14:27:25.990: CPU Speed: 3500MHz
14:27:25.990: Physical Cores: 4, Logical Cores: 8
14:27:25.990: Physical Memory: 2047MB Total, 2047MB Free (NOTE: 2 or 4 gigs max is normal for 32bit programs)
14:27:25.990: Windows Version: 10.0 Build 14393 (revision: 447; 64-bit)
14:27:25.990: Running as administrator: true
14:27:25.990: Aero is Enabled (Aero is always on for windows 8 and above)
14:27:25.991: Portable mode: false
14:27:25.999: OBS 0.16.5 (windows)
14:27:25.999: ---------------------------------
14:27:26.000: ---------------------------------
14:27:26.000: audio settings reset:
14:27:26.000:     samples per sec: 44100
14:27:26.000:     speakers:        2
14:27:26.001: ---------------------------------
14:27:26.001: Initializing D3D11..
14:27:26.001: Available Video Adapters:
14:27:26.002:     Adapter 1: NVIDIA GeForce GTX 970
14:27:26.002:      Dedicated VRAM: 3221225472
14:27:26.002:      Shared VRAM:    1073676288
14:27:26.002:      output 1: pos={0, 0}, size={1920, 1080}, attached=true
14:27:26.002:      output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
14:27:26.004: Loading up D3D11 on adapter NVIDIA GeForce GTX 970 (0)
14:27:26.461: D3D11 loaded sucessfully, feature level used: 45056
14:27:26.932: ---------------------------------
14:27:26.932: video settings reset:
14:27:26.932:     base resolution:   1920x1080
14:27:26.932:     output resolution: 1920x1080
14:27:26.932:     downscale filter:  Bicubic
14:27:26.932:     fps:               60/1
14:27:26.932:     format:            NV12
14:27:26.933: ---------------------------------
14:27:26.935: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
14:27:26.936: [AMF Encoder] Version 1.4.1.0-1.3.0.5
14:27:26.936: [AMF Encoder] Unable to load 'amfrt32.dll', error code 126.
14:27:26.951: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libcef.dll' not found, loading of module failed
14:27:26.951: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libEGL.dll' not found, loading of module failed
14:27:26.952: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libGLESv2.dll' not found, loading of module failed
14:27:26.953: Failed to load 'en-US' text for module: 'obs-browser.dll'
14:27:26.953: [browser_source: 'Version: 1.25.0']
14:27:26.956: NVENC supported
14:27:27.000: VLC found, VLC video source enabled
14:27:29.630: No blackmagic support
14:27:29.666: ---------------------------------
14:27:29.666:   Loaded Modules:
14:27:29.666:     win-wasapi.dll
14:27:29.666:     win-mf.dll
14:27:29.666:     win-dshow.dll
14:27:29.666:     win-decklink.dll
14:27:29.666:     win-capture.dll
14:27:29.666:     vlc-video.dll
14:27:29.666:     text-freetype2.dll
14:27:29.666:     rtmp-services.dll
14:27:29.666:     obs-x264.dll
14:27:29.666:     obs-transitions.dll
14:27:29.666:     obs-text.dll
14:27:29.666:     obs-qsv11.dll
14:27:29.666:     obs-outputs.dll
14:27:29.666:     obs-filters.dll
14:27:29.666:     obs-ffmpeg.dll
14:27:29.666:     obs-browser.dll
14:27:29.666:     image-source.dll
14:27:29.666:     frontend-tools.dll
14:27:29.666:     enc-amf.dll
14:27:29.666:     coreaudio-encoder.dll
14:27:29.666: ==== Startup complete ===============================================
14:27:29.667: Service '' not found
14:27:29.668: All scene data cleared
14:27:29.668: ------------------------------------------------
14:27:29.673: [WASAPISource::WASAPISource] Device '{0.0.0.00000000}.{5a1b5463-4004-40ff-96a7-6ccce08477ab}' not found.  Waiting for device
14:27:29.673: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{cd2a6da6-d7a5-4d77-8a27-fc9e4014d9dd}' not found.  Waiting for device
14:27:29.674: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{35543c02-19a6-44b0-8d67-e90672705ff2}' not found.  Waiting for device
14:27:29.688: warning: deprecated pixel format used, make sure you did set range correctly
14:27:29.688: warning: Warning: data is not aligned! This can lead to a speedloss
14:27:29.709: gs_image_file_init: Failed to load file ''
14:27:29.714: Switched to scene 'Scene 2'
14:27:29.714: ------------------------------------------------
14:27:29.714: Loaded scenes:
14:27:29.714: - scene 'Scene':
14:27:29.715:     - source: 'Display Capture' (monitor_capture)
14:27:29.715:         - filter: 'Crop/Pad' (crop_filter)
14:27:29.715:     - source: 'Image' (image_source)
14:27:29.715:         - filter: 'Image Mask/Blend' (mask_filter)
14:27:29.715:         - filter: 'Scaling/Aspect Ratio' (scale_filter)
14:27:29.715:         - filter: 'Crop/Pad' (crop_filter)
14:27:29.715:         - filter: 'Color Key' (color_key_filter)
14:27:29.715:     - source: 'Video Capture Device' (dshow_input)
14:27:29.715: - scene 'Scene 1':
14:27:29.715:     - source: 'Display Capture full' (monitor_capture)
14:27:29.715:     - source: 'Skyrim' (game_capture)
14:27:29.715:     - source: 'Video Capture Device' (dshow_input)
14:27:29.715: - scene 'Scene 2':
14:27:29.715: ------------------------------------------------
14:27:29.717: ---------------------------------
14:27:29.717: [DShow Device: 'Video Capture Device'] settings updated:
14:27:29.717:     video device: Logitech Webcam C930e
14:27:29.717:     video path: \\?\usb#vid_046d&pid_0843&mi_00#6&1106e335&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
14:27:29.717:     resolution: 1920x1080
14:27:29.717:     fps: 30.00 (interval: 333333)
14:27:29.717:     format: MJPEG
14:27:29.718: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
14:27:29.718:
14:27:30.153: Update check: last known remote version is 0.16.5
14:27:36.827: User added scene 'games'
14:27:36.828: User switched to scene 'games'
14:27:38.427: User switched to scene 'Scene 1'
15:32:12.809: rtmp-common.c: [initialize_output] Could not find service ''
15:32:12.810: rtmp-common.c: [initialize_output] Could not find service ''
15:32:12.838: rtmp-common.c: [initialize_output] Could not find service ''
15:32:39.880: rtmp-common.c: [initialize_output] Could not find service ''
15:32:41.402: rtmp-common.c: [initialize_output] Could not find service ''
15:32:44.732: rtmp-common.c: [initialize_output] Could not find service ''
15:35:25.464: rtmp-common.c: [initialize_output] Could not find service ''
15:35:27.752: rtmp-common.c: [initialize_output] Could not find service ''
15:35:28.259: rtmp-common.c: [initialize_output] Could not find service ''
15:35:29.821: rtmp-common.c: [initialize_output] Could not find service ''
15:35:32.235: rtmp-common.c: [initialize_output] Could not find service ''
15:35:33.670: rtmp-common.c: [initialize_output] Could not find service ''
15:37:13.987: rtmp-common.c: [initialize_output] Could not find service ''
15:39:51.956: ==== Shutting down ==================================================
15:39:51.962: Switched to scene '(null)'
15:39:52.312: All scene data cleared
15:39:52.312: ------------------------------------------------
15:39:52.382: Freeing OBS context data
15:39:52.433: == Profiler Results =============================
15:39:52.433: run_program_init: 3798.6 ms
15:39:52.433:  ┣OBSApp::AppInit: 1.743 ms
15:39:52.433:  ┃ ┗OBSApp::InitLocale: 0.85 ms
15:39:52.433:  ┗OBSApp::OBSInit: 3785.86 ms
15:39:52.433:    ┣obs_startup: 1.358 ms
15:39:52.433:    ┗OBSBasic::OBSInit: 3753.14 ms
15:39:52.433:      ┣OBSBasic::InitBasicConfig: 0.353 ms
15:39:52.433:      ┣OBSBasic::ResetAudio: 0.284 ms
15:39:52.433:      ┣OBSBasic::ResetVideo: 933.256 ms
15:39:52.433:      ┣OBSBasic::InitOBSCallbacks: 0.024 ms
15:39:52.433:      ┣OBSBasic::InitHotkeys: 0.048 ms
15:39:52.433:      ┣obs_load_all_modules: 2732.84 ms
15:39:52.433:      ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.458 ms
15:39:52.433:      ┃ ┣obs_init_module(enc-amf.dll): 0.335 ms
15:39:52.434:      ┃ ┣obs_init_module(frontend-tools.dll): 1.043 ms
15:39:52.434:      ┃ ┣obs_init_module(image-source.dll): 0.003 ms
15:39:52.434:      ┃ ┣obs_init_module(obs-browser.dll): 0.073 ms
15:39:52.434:      ┃ ┣obs_init_module(obs-ffmpeg.dll): 1.361 ms
15:39:52.434:      ┃ ┣obs_init_module(obs-filters.dll): 0.005 ms
15:39:52.434:      ┃ ┣obs_init_module(obs-outputs.dll): 0.002 ms
15:39:52.434:      ┃ ┣obs_init_module(obs-qsv11.dll): 33.429 ms
15:39:52.434:      ┃ ┣obs_init_module(obs-text.dll): 0.413 ms
15:39:52.434:      ┃ ┣obs_init_module(obs-transitions.dll): 0.004 ms
15:39:52.434:      ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
15:39:52.434:      ┃ ┣obs_init_module(rtmp-services.dll): 0.252 ms
15:39:52.434:      ┃ ┣obs_init_module(text-freetype2.dll): 1.34 ms
15:39:52.434:      ┃ ┣obs_init_module(vlc-video.dll): 1 ms
15:39:52.434:      ┃ ┣obs_init_module(win-capture.dll): 2625.65 ms
15:39:52.434:      ┃ ┣obs_init_module(win-decklink.dll): 1.839 ms
15:39:52.434:      ┃ ┣obs_init_module(win-dshow.dll): 0.871 ms
15:39:52.434:      ┃ ┣obs_init_module(win-mf.dll): 30.674 ms
15:39:52.434:      ┃ ┣obs_init_module(win-wasapi.dll): 0.01 ms
15:39:52.434:      ┃ ┗reset_win32_symbol_paths: 0.406 ms
15:39:52.434:      ┣OBSBasic::ResetOutputs: 0.466 ms
15:39:52.434:      ┣OBSBasic::CreateHotkeys: 0.033 ms
15:39:52.434:      ┣OBSBasic::InitService: 0.145 ms
15:39:52.434:      ┣OBSBasic::InitPrimitives: 0.228 ms
15:39:52.434:      ┗OBSBasic::Load: 47.667 ms
15:39:52.434: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.005 ms, max=573.727 ms, 99th percentile=5.917 ms, 99.993% below 25 ms
15:39:52.434: audio_thread(Audio): min=0 ms, median=0.026 ms, max=14.292 ms, 99th percentile=0.15 ms
15:39:52.434: obs_video_thread(16.6667 ms): min=0.266 ms, median=1.377 ms, max=597.9 ms, 99th percentile=16.854 ms, 98.9828% below 16.667 ms
15:39:52.434:  ┣tick_sources: min=0 ms, median=0.207 ms, max=591.976 ms, 99th percentile=4.769 ms
15:39:52.434:  ┣render_displays: min=0 ms, median=0.523 ms, max=216.125 ms, 99th percentile=2.588 ms
15:39:52.434:  ┗output_frame: min=0.261 ms, median=0.596 ms, max=67.04 ms, 99th percentile=4.786 ms
15:39:52.434:    ┣gs_context(video->graphics): min=0.07 ms, median=0.161 ms, max=66.576 ms, 99th percentile=4.332 ms
15:39:52.434:    ┃ ┣render_video: min=0.015 ms, median=0.051 ms, max=0.921 ms, 99th percentile=0.197 ms
15:39:52.434:    ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.028 ms, max=0.807 ms, 99th percentile=0.11 ms
15:39:52.434:    ┃ ┃ ┣render_output_texture: min=0.005 ms, median=0.008 ms, max=0.609 ms, 99th percentile=0.032 ms
15:39:52.435:    ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.01 ms, max=0.57 ms, 99th percentile=0.04 ms
15:39:52.435:    ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.002 ms, max=0.37 ms, 99th percentile=0.022 ms
15:39:52.435:    ┃ ┣download_frame: min=0 ms, median=0.002 ms, max=66.456 ms, 99th percentile=4.071 ms
15:39:52.435:    ┃ ┗gs_flush: min=0.016 ms, median=0.106 ms, max=33.082 ms, 99th percentile=0.327 ms
15:39:52.435:    ┗output_video_data: min=0.289 ms, median=0.431 ms, max=2.686 ms, 99th percentile=1.099 ms
15:39:52.435: video_thread(video): min=0 ms, median=0.001 ms, max=0.16 ms, 99th percentile=0.012 ms
15:39:52.435: =================================================
15:39:52.435: == Profiler Time Between Calls ==================
15:39:52.435: obs_hotkey_thread(25 ms): min=24.084 ms, median=25.127 ms, max=598.731 ms, 76.66% within ±2% of 25 ms (0.0309688% lower, 23.309% higher)
15:39:52.435: obs_video_thread(16.6667 ms): min=1.206 ms, median=16.667 ms, max=597.911 ms, 97.6259% within ±2% of 16.667 ms (1.1832% lower, 1.19088% higher)
15:39:52.435: =================================================
15:39:52.599: Number of memory leaks: 1[code]
 
Top