D
Deleted member 131738
Hey, I don't really post on here much but I really can't find a solution to this problem. Some guidance would really be appreciated.
Recently, I have been trying to record some videos for my YouTube channel. Unfortunately, I have an issue with the software which prevents me from being able to actually edit and upload it. When viewing my videos I notice that there is always about a 1-2 second lag spike every 3-5 seconds.
It is really bugging me and I can't find a solution. I thought that my CPU was quite high quality (not absolutely amazingly great, but high-end). I have never received this issue while streaming or when recording videos on other software (such as FRAPS or DxTory).
I never receive these lag spikes in game while I am recording, it is always at a solid 60 FPS but when I view the video at the end there is always these lag spikes. It only seems to occur in the outputted file but it never seems to happen when I am streaming on OBS.
Like I said, I am really confused about this issue and any help would be greatly appreciated.
Thanks,
TheCloudMiner
Recently, I have been trying to record some videos for my YouTube channel. Unfortunately, I have an issue with the software which prevents me from being able to actually edit and upload it. When viewing my videos I notice that there is always about a 1-2 second lag spike every 3-5 seconds.
It is really bugging me and I can't find a solution. I thought that my CPU was quite high quality (not absolutely amazingly great, but high-end). I have never received this issue while streaming or when recording videos on other software (such as FRAPS or DxTory).
I never receive these lag spikes in game while I am recording, it is always at a solid 60 FPS but when I view the video at the end there is always these lag spikes. It only seems to occur in the outputted file but it never seems to happen when I am streaming on OBS.
Like I said, I am really confused about this issue and any help would be greatly appreciated.
Thanks,
TheCloudMiner
Code:
16:24:32.889: CPU Name: AMD Ryzen 3 1300X Quad-Core Processor
16:24:32.889: CPU Speed: 3943MHz
16:24:32.889: Physical Cores: 4, Logical Cores: 4
16:24:32.889: Physical Memory: 8128MB Total, 4722MB Free
16:24:32.889: Windows Version: 10.0 Build 16299 (revision: 192; 64-bit)
16:24:32.889: Running as administrator: false
16:24:32.889: Aero is Enabled (Aero is always on for windows 8 and above)
16:24:32.889: Windows 10 Gaming Features:
16:24:32.889: Game Bar: Off
16:24:32.889: Game DVR Allowed: Yes
16:24:32.889: Game DVR: On
16:24:32.889: Game DVR Background Recording: Off
16:24:32.890: Game Mode: Off
16:24:32.890: Portable mode: false
16:24:32.901: OBS 20.1.3 (64bit, windows)
16:24:32.901: ---------------------------------
16:24:32.920: ---------------------------------
16:24:32.920: audio settings reset:
16:24:32.920: samples per sec: 44100
16:24:32.920: speakers: 2
16:24:32.921: ---------------------------------
16:24:32.921: Initializing D3D11...
16:24:32.921: Available Video Adapters:
16:24:32.924: Adapter 1: NVIDIA GeForce GTX 1050 Ti
16:24:32.924: Dedicated VRAM: 4213178368
16:24:32.924: Shared VRAM: 4261459968
16:24:32.924: output 1: pos={0, 0}, size={1920, 1080}, attached=true
16:24:32.924: output 2: pos={1920, 0}, size={1920, 1080}, attached=true
16:24:32.926: Loading up D3D11 on adapter NVIDIA GeForce GTX 1050 Ti (0)
16:24:32.970: D3D11 loaded successfully, feature level used: 45056
16:24:33.630: ---------------------------------
16:24:33.630: video settings reset:
16:24:33.630: base resolution: 1920x1080
16:24:33.630: output resolution: 1920x1080
16:24:33.630: downscale filter: Bicubic
16:24:33.630: fps: 60000/1001
16:24:33.630: format: NV12
16:24:33.634: Audio monitoring device:
16:24:33.634: name: Default
16:24:33.634: id: default
16:24:33.634: ---------------------------------
16:24:33.637: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
16:24:33.639: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
16:24:33.640: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
16:24:33.641: Failed to initialize module 'enc-amf.dll'
16:24:33.657: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
16:24:33.658: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
16:24:33.659: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
16:24:33.660: Failed to load 'en-US' text for module: 'obs-browser.dll'
16:24:33.660: [browser_source: 'Version: 1.29.0']
16:24:33.667: NVENC supported
16:24:33.756: Couldn't find VLC installation, VLC video source disabled
16:24:33.762: No blackmagic support
16:24:33.914: ---------------------------------
16:24:33.914: Loaded Modules:
16:24:33.914: win-wasapi.dll
16:24:33.914: win-mf.dll
16:24:33.914: win-dshow.dll
16:24:33.914: win-decklink.dll
16:24:33.914: win-capture.dll
16:24:33.914: vlc-video.dll
16:24:33.914: text-freetype2.dll
16:24:33.914: rtmp-services.dll
16:24:33.914: obs-x264.dll
16:24:33.914: obs-vst.dll
16:24:33.914: obs-transitions.dll
16:24:33.914: obs-text.dll
16:24:33.914: obs-qsv11.dll
16:24:33.914: obs-outputs.dll
16:24:33.914: obs-filters.dll
16:24:33.914: obs-ffmpeg.dll
16:24:33.914: obs-browser.dll
16:24:33.914: image-source.dll
16:24:33.914: frontend-tools.dll
16:24:33.914: enc-amf.dll
16:24:33.914: coreaudio-encoder.dll
16:24:33.914: ---------------------------------
16:24:33.914: ==== Startup complete ===============================================
16:24:33.917: All scene data cleared
16:24:33.917: ------------------------------------------------
16:24:33.925: [WASAPISource::WASAPISource] Device '{0.0.0.00000000}.{b15b65da-f857-4b41-b9e4-17dc5e747003}' not found. Waiting for device
16:24:33.948: WASAPI: Device 'Microphone (C922 Pro Stream Webcam)' initialized
16:24:34.007: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
16:24:35.417: Switched to scene 'Webcam'
16:24:35.417: ------------------------------------------------
16:24:35.417: Loaded scenes:
16:24:35.417: - scene 'Minecraft':
16:24:35.417: - source: 'Game' (game_capture)
16:24:35.417: - source: 'Display Capture' (monitor_capture)
16:24:35.417: - source: 'Streamlabs' (browser_source)
16:24:35.417: - source: 'Sub count' (browser_source)
16:24:35.417: - source: 'BrowserSource' (browser_source)
16:24:35.417: - scene 'Welcome':
16:24:35.417: - source: 'Welcome to the stream' (image_source)
16:24:35.417: - scene 'be Right back':
16:24:35.417: - source: 'Be Right Back' (image_source)
16:24:35.417: - source: 'BrowserSource' (browser_source)
16:24:35.417: - scene 'Thanks for Watching':
16:24:35.417: - source: 'Ended Stream' (image_source)
16:24:35.417: - scene 'Primary Screen':
16:24:35.417: - source: 'Display Capture 2' (monitor_capture)
16:24:35.417: - scene 'Webcam':
16:24:35.417: - source: 'Video Capture Device' (dshow_input)
16:24:35.417: ------------------------------------------------
16:24:35.552: ---------------------------------
16:24:35.552: [DShow Device: 'Video Capture Device'] settings updated:
16:24:35.552: video device: C922 Pro Stream Webcam
16:24:35.552: video path: \\?\usb#vid_046d&pid_085c&mi_00#7&2ae4096a&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
16:24:35.552: resolution: 1280x720
16:24:35.552: fps: 59.94 (interval: 166833)
16:24:35.552: format: MJPEG
16:24:35.553: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
16:24:35.553:
16:25:10.808: ---------------------------------
16:25:10.808: video settings reset:
16:25:10.808: base resolution: 1920x1080
16:25:10.808: output resolution: 1920x1080
16:25:10.808: downscale filter: Bicubic
16:25:10.808: fps: 60000/1001
16:25:10.808: format: NV12
16:25:10.832: Settings changed (advanced)
16:25:10.832: ------------------------------------------------
16:25:43.144: ==== Shutting down ==================================================
16:25:43.153: Switched to scene '(null)'
16:25:43.510: WASAPI: Device 'Microphone (C922 Pro Stream Webcam)' Terminated
16:25:43.516: All scene data cleared
16:25:43.516: ------------------------------------------------
16:25:43.563: Freeing OBS context data
16:25:43.882: == Profiler Results =============================
16:25:43.882: run_program_init: 2955.06 ms
16:25:43.882: ┣OBSApp::AppInit: 11.198 ms
16:25:43.882: ┃ ┗OBSApp::InitLocale: 1.071 ms
16:25:43.882: ┗OBSApp::OBSInit: 2594.36 ms
16:25:43.882: ┣obs_startup: 3.017 ms
16:25:43.882: ┗OBSBasic::OBSInit: 2543.98 ms
16:25:43.882: ┣OBSBasic::InitBasicConfig: 0.745 ms
16:25:43.882: ┣OBSBasic::ResetAudio: 0.182 ms
16:25:43.882: ┣OBSBasic::ResetVideo: 713.859 ms
16:25:43.882: ┣OBSBasic::InitOBSCallbacks: 0.006 ms
16:25:43.882: ┣OBSBasic::InitHotkeys: 0.046 ms
16:25:43.882: ┣obs_load_all_modules: 280.122 ms
16:25:43.882: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.48 ms
16:25:43.882: ┃ ┣obs_init_module(enc-amf.dll): 0.357 ms
16:25:43.882: ┃ ┣obs_init_module(frontend-tools.dll): 1.221 ms
16:25:43.882: ┃ ┣obs_init_module(image-source.dll): 0.007 ms
16:25:43.882: ┃ ┣obs_init_module(obs-browser.dll): 0.13 ms
16:25:43.882: ┃ ┣obs_init_module(obs-ffmpeg.dll): 1.63 ms
16:25:43.882: ┃ ┣obs_init_module(obs-filters.dll): 0.019 ms
16:25:43.882: ┃ ┣obs_init_module(obs-outputs.dll): 0.008 ms
16:25:43.882: ┃ ┣obs_init_module(obs-qsv11.dll): 71.991 ms
16:25:43.882: ┃ ┣obs_init_module(obs-text.dll): 0.635 ms
16:25:43.882: ┃ ┣obs_init_module(obs-transitions.dll): 0.01 ms
16:25:43.882: ┃ ┣obs_init_module(obs-vst.dll): 0.002 ms
16:25:43.882: ┃ ┣obs_init_module(obs-x264.dll): 0.003 ms
16:25:43.882: ┃ ┣obs_init_module(rtmp-services.dll): 1.311 ms
16:25:43.882: ┃ ┣obs_init_module(text-freetype2.dll): 0.122 ms
16:25:43.882: ┃ ┣obs_init_module(vlc-video.dll): 0.042 ms
16:25:43.882: ┃ ┣obs_init_module(win-capture.dll): 0.221 ms
16:25:43.882: ┃ ┣obs_init_module(win-decklink.dll): 1.54 ms
16:25:43.882: ┃ ┣obs_init_module(win-dshow.dll): 4.405 ms
16:25:43.882: ┃ ┣obs_init_module(win-mf.dll): 140.635 ms
16:25:43.882: ┃ ┣obs_init_module(win-wasapi.dll): 0.006 ms
16:25:43.882: ┃ ┗reset_win32_symbol_paths: 0.114 ms
16:25:43.882: ┣OBSBasic::ResetOutputs: 0.448 ms
16:25:43.882: ┣OBSBasic::CreateHotkeys: 0.249 ms
16:25:43.882: ┣OBSBasic::InitService: 1.014 ms
16:25:43.882: ┣OBSBasic::InitPrimitives: 0.276 ms
16:25:43.882: ┗OBSBasic::Load: 1501.06 ms
16:25:43.882: obs_hotkey_thread(25 ms): min=0.012 ms, median=0.024 ms, max=1.475 ms, 99th percentile=0.151 ms, 100% below 25 ms
16:25:43.882: audio_thread(Audio): min=0.002 ms, median=0.037 ms, max=3.609 ms, 99th percentile=0.134 ms
16:25:43.882: obs_graphics_thread(16.6833 ms): min=0.295 ms, median=1.243 ms, max=1464.54 ms, 99th percentile=3.296 ms, 99.7665% below 16.683 ms
16:25:43.882: ┣tick_sources: min=0.002 ms, median=0.015 ms, max=1463.34 ms, 99th percentile=0.195 ms
16:25:43.882: ┣render_displays: min=0.002 ms, median=0.25 ms, max=35.648 ms, 99th percentile=1.451 ms
16:25:43.882: ┗output_frame: min=0.277 ms, median=0.777 ms, max=11.648 ms, 99th percentile=1.377 ms
16:25:43.882: ┣gs_context(video->graphics): min=0.138 ms, median=0.364 ms, max=7.113 ms, 99th percentile=0.82 ms
16:25:43.882: ┃ ┣render_video: min=0.04 ms, median=0.058 ms, max=1.276 ms, 99th percentile=0.481 ms
16:25:43.882: ┃ ┃ ┣render_main_texture: min=0.004 ms, median=0.011 ms, max=1.151 ms, 99th percentile=0.096 ms
16:25:43.882: ┃ ┃ ┣render_output_texture: min=0.004 ms, median=0.009 ms, max=0.582 ms, 99th percentile=0.046 ms
16:25:43.882: ┃ ┃ ┣render_convert_texture: min=0.002 ms, median=0.011 ms, max=0.33 ms, 99th percentile=0.072 ms
16:25:43.882: ┃ ┃ ┗stage_output_texture: min=0.002 ms, median=0.005 ms, max=0.662 ms, 99th percentile=0.398 ms
16:25:43.882: ┃ ┣download_frame: min=0.002 ms, median=0.004 ms, max=6.868 ms, 99th percentile=0.544 ms
16:25:43.882: ┃ ┗gs_flush: min=0.033 ms, median=0.077 ms, max=7.047 ms, 99th percentile=0.49 ms
16:25:43.882: ┗output_video_data: min=0.349 ms, median=0.402 ms, max=6.613 ms, 99th percentile=0.738 ms
16:25:43.882: video_thread(video): min=0.001 ms, median=0.003 ms, max=0.162 ms, 99th percentile=0.007 ms
16:25:43.882: OBSBasic::ResetVideo: 15.944 ms
16:25:43.882: obs_graphics_thread(16.6833 ms): min=0.77 ms, median=1.252 ms, max=7.313 ms, 99th percentile=2.581 ms, 100% below 16.683 ms
16:25:43.882: ┣tick_sources: min=0.003 ms, median=0.015 ms, max=0.535 ms, 99th percentile=0.198 ms
16:25:43.882: ┣render_displays: min=0.003 ms, median=0.253 ms, max=3.403 ms, 99th percentile=1.409 ms
16:25:43.882: ┗output_frame: min=0.358 ms, median=0.781 ms, max=6.277 ms, 99th percentile=1.658 ms
16:25:43.882: ┣gs_context(video->graphics): min=0.149 ms, median=0.366 ms, max=2.068 ms, 99th percentile=0.728 ms
16:25:43.882: ┃ ┣render_video: min=0.034 ms, median=0.059 ms, max=1.205 ms, 99th percentile=0.459 ms
16:25:43.882: ┃ ┃ ┣render_main_texture: min=0.003 ms, median=0.011 ms, max=0.57 ms, 99th percentile=0.104 ms
16:25:43.882: ┃ ┃ ┣render_output_texture: min=0.002 ms, median=0.009 ms, max=1.078 ms, 99th percentile=0.057 ms
16:25:43.882: ┃ ┃ ┣render_convert_texture: min=0.002 ms, median=0.011 ms, max=0.237 ms, 99th percentile=0.067 ms
16:25:43.882: ┃ ┃ ┗stage_output_texture: min=0.002 ms, median=0.005 ms, max=0.933 ms, 99th percentile=0.378 ms
16:25:43.882: ┃ ┣download_frame: min=0.002 ms, median=0.004 ms, max=1.763 ms, 99th percentile=0.473 ms
16:25:43.882: ┃ ┗gs_flush: min=0.037 ms, median=0.079 ms, max=1.056 ms, 99th percentile=0.455 ms
16:25:43.882: ┗output_video_data: min=0.347 ms, median=0.402 ms, max=6.032 ms, 99th percentile=0.847 ms
16:25:43.882: video_thread(video): min=0.001 ms, median=0.003 ms, max=0.087 ms, 99th percentile=0.009 ms
16:25:43.882: =================================================
16:25:43.882: == Profiler Time Between Calls ==================
16:25:43.882: obs_hotkey_thread(25 ms): min=24.634 ms, median=25.09 ms, max=37.916 ms, 93.181% within ±2% of 25 ms (0% lower, 6.81899% higher)
16:25:43.882: obs_graphics_thread(16.6833 ms): min=3.577 ms, median=16.683 ms, max=1464.56 ms, 96.9159% within ±2% of 16.683 ms (1.58879% lower, 1.49533% higher)
16:25:43.882: obs_graphics_thread(16.6833 ms): min=9.796 ms, median=16.683 ms, max=23.117 ms, 96.4832% within ±2% of 16.683 ms (1.73293% lower, 1.78389% higher)
16:25:43.882: =================================================
16:25:43.916: Number of memory leaks: 1