Question / Help OBS increasingly drops frames while recording

agentfly42

New Member
I am having problems recording video from my computer using OBS. Whenever I record video (streaming too, but independently of each other) the video starts off fine, but frames increasingly drop as time goes on so that the video is fluid 60fps at the start down to one frame every ~5 seconds by the 20 minute mark. Audio quality is unaffected.
All I have is a display capture, mic capture, and computer audio capture. None of my hardware is being maxed out, and GPU, CPU, and RAM all run well below capacity. What could be causing this??

Output settings: flv, video bitrate 6000, audio 160
 

agentfly42

New Member
22:04:32.864: CPU Name: AMD A12-9720P RADEON R7, 12 COMPUTE CORES 4C+8G
22:04:32.864: CPU Speed: 2695MHz
22:04:32.864: Physical Cores: 4, Logical Cores: 4
22:04:32.864: Physical Memory: 11663MB Total, 7427MB Free
22:04:32.864: Windows Version: 10.0 Build 17134 (revision: 165; 64-bit)
22:04:32.864: Running as administrator: true
22:04:32.864: Aero is Enabled (Aero is always on for windows 8 and above)
22:04:32.865: Windows 10 Gaming Features:
22:04:32.865: Game DVR: On
22:04:32.872: Sec. Software Status:
22:04:32.875: Webroot SecureAnywhere: enabled (AV)
22:04:32.875: Windows Defender Antivirus: disabled (AV)
22:04:32.876: Windows Firewall: enabled (FW)
22:04:32.877: Webroot SecureAnywhere: enabled (ASW)
22:04:32.877: Windows Defender Antivirus: disabled (ASW)
22:04:32.886: Portable mode: false
22:04:33.245: OBS 21.1.2 (64bit, windows)
22:04:33.245: ---------------------------------
22:04:33.246: ---------------------------------
22:04:33.247: audio settings reset:
22:04:33.247: samples per sec: 44100
22:04:33.247: speakers: 2
22:04:33.273: ---------------------------------
22:04:33.273: Initializing D3D11...
22:04:33.273: Available Video Adapters:
22:04:33.277: Adapter 1: AMD Radeon R7 Graphics
22:04:33.278: Dedicated VRAM: 523235328
22:04:33.278: Shared VRAM: 1820315648
22:04:33.278: output 1: pos={0, 0}, size={1366, 768}, attached=true
22:04:33.283: Loading up D3D11 on adapter AMD Radeon R7 Graphics (0)
22:04:33.447: D3D11 loaded successfully, feature level used: 45056
22:04:35.698: ---------------------------------
22:04:35.699: video settings reset:
22:04:35.699: base resolution: 1366x768
22:04:35.699: output resolution: 1364x768
22:04:35.699: downscale filter: Bicubic
22:04:35.699: fps: 60/1
22:04:35.699: format: NV12
22:04:35.699: YUV mode: 601/Partial
22:04:35.702: Audio monitoring device:
22:04:35.702: name: Default
22:04:35.702: id: default
22:04:35.703: ---------------------------------
22:04:35.737: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
22:04:35.757: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
22:04:36.510: [AMF] Version 2.3.3 loaded (Compiled: 1.4.7.0, Runtime: 1.4.8.0, Library: 1;4;8;0;18.20.19.01;201807111352;CL#1578965).
22:04:36.741: [AMF] <Id: 2> Unable to create H265/HEVC encoder, error AMF_NOT_SUPPORTED (code 10)
22:04:36.942: [AMF] <Id: 4> Unable to create H265/HEVC encoder, error AMF_NOT_SUPPORTED (code 10)
22:04:36.954: [AMF] [H265/HEVC] Not supported by any GPU, disabling...
22:04:37.321: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
22:04:37.346: LoadLibrary failed for '../../obs-plugins/64bit/libEGL.dll': The specified procedure could not be found.
22:04:37.346: (127)
22:04:37.347: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
22:04:37.405: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
22:04:37.456: [browser_source: 'Version: 1.31.0']
22:04:37.944: LoadLibrary failed for 'nvEncodeAPI64.dll': The specified module could not be found.
22:04:37.944: (126)
22:04:38.851: Couldn't find VLC installation, VLC video source disabled
22:04:38.925: No blackmagic support
22:04:39.298: ---------------------------------
22:04:39.298: Loaded Modules:
22:04:39.298: win-wasapi.dll
22:04:39.298: win-mf.dll
22:04:39.298: win-ivcam.dll
22:04:39.298: win-dshow.dll
22:04:39.298: win-decklink.dll
22:04:39.298: win-capture.dll
22:04:39.298: vlc-video.dll
22:04:39.298: text-freetype2.dll
22:04:39.298: rtmp-services.dll
22:04:39.298: obs-x264.dll
22:04:39.298: obs-vst.dll
22:04:39.298: obs-transitions.dll
22:04:39.298: obs-text.dll
22:04:39.298: obs-qsv11.dll
22:04:39.298: obs-outputs.dll
22:04:39.298: obs-filters.dll
22:04:39.298: obs-ffmpeg.dll
22:04:39.298: obs-browser.dll
22:04:39.298: image-source.dll
22:04:39.298: frontend-tools.dll
22:04:39.298: enc-amf.dll
22:04:39.298: coreaudio-encoder.dll
22:04:39.298: ---------------------------------
22:04:39.298: ==== Startup complete ===============================================
22:04:39.511: All scene data cleared
22:04:39.511: ------------------------------------------------
22:04:39.712: WASAPI: Device 'Speakers (Realtek High Definition Audio)' initialized
22:04:39.981: WASAPI: Device 'Microphone (Realtek High Definition Audio)' initialized
22:04:40.051: Switched to scene 'Scene'
22:04:40.118: ------------------------------------------------
22:04:40.118: Loaded scenes:
22:04:40.118: - scene 'Scene':
22:04:40.118: - source: 'Desktop Audio' (wasapi_output_capture)
22:04:40.118: - source: 'Display Capture' (monitor_capture)
22:04:40.118: - source: 'Mic/Aux' (wasapi_input_capture)
22:04:40.118: ------------------------------------------------
22:04:40.167: adding 185 milliseconds of audio buffering, total audio buffering is now 185 milliseconds
22:08:01.693: ---------------------------------
22:08:01.693: [x264 encoder: 'simple_h264_stream'] preset: veryfast
22:08:01.796: [x264 encoder: 'simple_h264_stream'] settings:
22:08:01.796: rate_control: CBR
22:08:01.796: bitrate: 6000
22:08:01.796: buffer size: 6000
22:08:01.796: crf: 0
22:08:01.796: fps_num: 60
22:08:01.796: fps_den: 1
22:08:01.796: width: 1364
22:08:01.796: height: 768
22:08:01.796: keyint: 120
22:08:01.796:
22:08:01.796: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
22:08:01.817: ---------------------------------
22:08:01.845: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2, channel_layout: 3
22:08:01.845:
22:08:01.933: ==== Recording Start ===============================================
22:08:01.933: [ffmpeg muxer: 'simple_file_output'] Writing file 'C:/Users/bubbs/Videos/2018-08-04 22-08-01.flv'...
22:08:28.477: [ffmpeg muxer: 'simple_file_output'] Output of file 'C:/Users/bubbs/Videos/2018-08-04 22-08-01.flv' stopped
22:08:28.477: Output 'simple_file_output': stopping
22:08:28.477: Output 'simple_file_output': Total frames output: 1571
22:08:28.477: Output 'simple_file_output': Total drawn frames: 1591 (1593 attempted)
22:08:28.477: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 2 (0.1%)
22:08:28.478: ==== Recording Stop ================================================
22:19:10.689: ==== Shutting down ==================================================
22:19:10.701: Switched to scene '(null)'
22:19:10.711: WASAPI: Device 'Speakers (Realtek High Definition Audio)' Terminated
22:19:10.729: WASAPI: Device 'Microphone (Realtek High Definition Audio)' Terminated
22:19:10.737: All scene data cleared
22:19:10.738: ------------------------------------------------
22:19:11.191: Freeing OBS context data
22:19:12.369: [Scripting] Total detached callbacks: 0
22:19:12.456: == Profiler Results =============================
22:19:12.456: run_program_init: 8459.65 ms
22:19:12.456: ┣OBSApp::AppInit: 40.198 ms
22:19:12.456: ┃ ┗OBSApp::InitLocale: 3.334 ms
22:19:12.457: ┗OBSApp::OBSInit: 8390.36 ms
22:19:12.457: ┣obs_startup: 40.138 ms
22:19:12.457: ┗OBSBasic::OBSInit: 7283.56 ms
22:19:12.457: ┣OBSBasic::InitBasicConfig: 1.002 ms
22:19:12.457: ┣OBSBasic::ResetAudio: 0.345 ms
22:19:12.457: ┣OBSBasic::ResetVideo: 2454.89 ms
22:19:12.457: ┣OBSBasic::InitOBSCallbacks: 0.013 ms
22:19:12.457: ┣OBSBasic::InitHotkeys: 0.667 ms
22:19:12.457: ┣obs_load_all_modules: 3594.78 ms
22:19:12.457: ┃ ┣obs_init_module(coreaudio-encoder.dll): 2.203 ms
22:19:12.457: ┃ ┣obs_init_module(enc-amf.dll): 1176.88 ms
22:19:12.457: ┃ ┣obs_init_module(frontend-tools.dll): 31.126 ms
22:19:12.457: ┃ ┣obs_init_module(image-source.dll): 0.011 ms
22:19:12.457: ┃ ┣obs_init_module(obs-browser.dll): 0.206 ms
22:19:12.457: ┃ ┣obs_init_module(obs-ffmpeg.dll): 185.377 ms
22:19:12.457: ┃ ┃ ┗nvenc_check: 185.325 ms
22:19:12.457: ┃ ┣obs_init_module(obs-filters.dll): 0.05 ms
22:19:12.457: ┃ ┣obs_init_module(obs-outputs.dll): 0.022 ms
22:19:12.457: ┃ ┣obs_init_module(obs-qsv11.dll): 217.985 ms
22:19:12.457: ┃ ┣obs_init_module(obs-text.dll): 0.621 ms
22:19:12.457: ┃ ┣obs_init_module(obs-transitions.dll): 0.014 ms
22:19:12.457: ┃ ┣obs_init_module(obs-vst.dll): 0.004 ms
22:19:12.457: ┃ ┣obs_init_module(obs-x264.dll): 0.002 ms
22:19:12.457: ┃ ┣obs_init_module(rtmp-services.dll): 0.06 ms
22:19:12.457: ┃ ┣obs_init_module(text-freetype2.dll): 0.276 ms
22:19:12.457: ┃ ┣obs_init_module(vlc-video.dll): 0.128 ms
22:19:12.457: ┃ ┣obs_init_module(win-capture.dll): 0.396 ms
22:19:12.457: ┃ ┣obs_init_module(win-decklink.dll): 7.699 ms
22:19:12.457: ┃ ┣obs_init_module(win-dshow.dll): 25.22 ms
22:19:12.457: ┃ ┣obs_init_module(win-ivcam.dll): 0.005 ms
22:19:12.457: ┃ ┣obs_init_module(win-mf.dll): 0 ms
22:19:12.457: ┃ ┣obs_init_module(win-wasapi.dll): 0.018 ms
22:19:12.457: ┃ ┗reset_win32_symbol_paths: 0.291 ms
22:19:12.457: ┣OBSBasic::ResetOutputs: 30.724 ms
22:19:12.457: ┣OBSBasic::CreateHotkeys: 0.063 ms
22:19:12.457: ┣OBSBasic::InitService: 93.536 ms
22:19:12.457: ┣OBSBasic::InitPrimitives: 2.464 ms
22:19:12.457: ┗OBSBasic::Load: 845.891 ms
22:19:12.457: obs_hotkey_thread(25 ms): min=0.003 ms, median=0.011 ms, max=43.701 ms, 99th percentile=1.325 ms, 99.9873% below 25 ms
22:19:12.457: audio_thread(Audio): min=0 ms, median=0.328 ms, max=78.706 ms, 99th percentile=6.816 ms
22:19:12.457: ┗receive_audio: min=0.006 ms, median=0.804 ms, max=21.581 ms, 99th percentile=4.148 ms, 0.0337973 calls per parent call
22:19:12.457: ┣buffer_audio: min=0.002 ms, median=0.003 ms, max=0.407 ms, 99th percentile=0.018 ms
22:19:12.457: ┗do_encode: min=0.111 ms, median=0.792 ms, max=21.572 ms, 99th percentile=4.137 ms
22:19:12.457: ┗encode(simple_aac): min=0.099 ms, median=0.681 ms, max=10.746 ms, 99th percentile=3.642 ms
22:19:12.457: obs_graphics_thread(16.6667 ms): min=0.462 ms, median=3.444 ms, max=122.475 ms, 99th percentile=17.434 ms, 98.87% below 16.667 ms
22:19:12.458: ┣tick_sources: min=0.002 ms, median=0.339 ms, max=85.68 ms, 99th percentile=5.877 ms
22:19:12.458: ┣output_frame: min=0.446 ms, median=1.65 ms, max=120.199 ms, 99th percentile=8.468 ms
22:19:12.458: ┃ ┣gs_context(video->graphics): min=0.307 ms, median=0.668 ms, max=118.882 ms, 99th percentile=5.773 ms
22:19:12.458: ┃ ┃ ┣render_video: min=0.045 ms, median=0.167 ms, max=117.048 ms, 99th percentile=2.359 ms
22:19:12.458: ┃ ┃ ┃ ┣render_main_texture: min=0.011 ms, median=0.09 ms, max=116.954 ms, 99th percentile=1.289 ms
22:19:12.458: ┃ ┃ ┃ ┣render_output_texture: min=0.006 ms, median=0.02 ms, max=12.532 ms, 99th percentile=0.27 ms
22:19:12.458: ┃ ┃ ┃ ┣render_convert_texture: min=0.002 ms, median=0.023 ms, max=18.693 ms, 99th percentile=0.263 ms
22:19:12.458: ┃ ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.02 ms, max=21.456 ms, 99th percentile=0.316 ms
22:19:12.458: ┃ ┃ ┣download_frame: min=0 ms, median=0.016 ms, max=10.934 ms, 99th percentile=0.269 ms
22:19:12.458: ┃ ┃ ┗gs_flush: min=0.063 ms, median=0.421 ms, max=73.171 ms, 99th percentile=3.832 ms
22:19:12.458: ┃ ┗output_video_data: min=0.499 ms, median=0.936 ms, max=46.662 ms, 99th percentile=4.149 ms
22:19:12.458: ┗render_displays: min=0.002 ms, median=1.3 ms, max=68.992 ms, 99th percentile=7.64 ms
22:19:12.458: video_thread(video): min=0.001 ms, median=0.005 ms, max=60.879 ms, 99th percentile=3.073 ms
22:19:12.458: ┗receive_video: min=1.822 ms, median=2.792 ms, max=58.787 ms, 99th percentile=21.682 ms, 0.0310375 calls per parent call
22:19:12.458: ┗do_encode: min=1.821 ms, median=2.789 ms, max=58.786 ms, 99th percentile=21.68 ms
22:19:12.458: ┗encode(simple_h264_stream): min=1.77 ms, median=2.639 ms, max=58.662 ms, 99th percentile=19.407 ms
22:19:12.458: =================================================
22:19:12.458: == Profiler Time Between Calls ==================
22:19:12.458: obs_hotkey_thread(25 ms): min=24.063 ms, median=25.314 ms, max=211.375 ms, 50.0982% within ±2% of 25 ms (2.99911% lower, 46.9027% higher)
22:19:12.458: obs_graphics_thread(16.6667 ms): min=2.257 ms, median=16.667 ms, max=191.677 ms, 69.841% within ±2% of 16.667 ms (15.3893% lower, 14.7697% higher)
22:19:12.458: =================================================
22:19:13.123: Number of memory leaks: 1
 

pkv

Developer
read this : https://obsproject.com/wiki/Dropped-Frames-and-General-Connection-Issues

99% of the time, one is using too much bandwidth.
Don't trust speedtest or other services measuring bandwidth because they measure an instantaneous bandwidth to a close server in general; while live streaming requires stable bandwidth over time.
Broadcasts pros usually only use half of bandwidth as found by this kind of services ... due to that unreliability
 

agentfly42

New Member
read this : https://obsproject.com/wiki/Dropped-Frames-and-General-Connection-Issues

99% of the time, one is using too much bandwidth.
Don't trust speedtest or other services measuring bandwidth because they measure an instantaneous bandwidth to a close server in general; while live streaming requires stable bandwidth over time.
Broadcasts pros usually only use half of bandwidth as found by this kind of services ... due to that unreliability

But how can it be bandwith if I'm not streaming? I'm only recording.
 
Top