Question / Help Choppy audio and last minute of video gets cut off.

Houdini Gaming

New Member
Recently my recordings on obs studio started to have this problem where the audio would get choppy cut out and then the last few minutes of a video would get cut off. I need help figuring out what is wrong and I need it resolved.

Log:
10:22:03.595: CPU Name: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
10:22:03.596: CPU Speed: 2394MHz
10:22:03.596: Physical Cores: 4, Logical Cores: 8
10:22:03.596: Physical Memory: 24457MB Total, 20146MB Free
10:22:03.596: Windows Version: 10.0 Build 14393 (revision: 1198; 64-bit)
10:22:03.596: Running as administrator: false
10:22:03.596: Aero is Enabled (Aero is always on for windows 8 and above)
10:22:03.596: Portable mode: false
10:22:03.617: OBS 20.0.1 (64bit, windows)
10:22:03.618: ---------------------------------
10:22:03.618: ---------------------------------
10:22:03.618: audio settings reset:
10:22:03.618: samples per sec: 48000
10:22:03.618: speakers: 2
10:22:03.619: ---------------------------------
10:22:03.619: Initializing D3D11...
10:22:03.619: Available Video Adapters:
10:22:03.622: Adapter 1: NVIDIA GeForce GTX 765M
10:22:03.622: Dedicated VRAM: 2115829760
10:22:03.622: Shared VRAM: 4232589312
10:22:03.622: output 1: pos={0, 0}, size={1680, 1050}, attached=true
10:22:03.622: output 2: pos={1680, 71}, size={1600, 900}, attached=true
10:22:03.622: Adapter 2: Intel(R) HD Graphics 4600
10:22:03.622: Dedicated VRAM: 117964800
10:22:03.622: Shared VRAM: 2147483648
10:22:03.625: Loading up D3D11 on adapter NVIDIA GeForce GTX 765M (0)
10:22:03.647: D3D11 loaded successfully, feature level used: 45056
10:22:04.592: ---------------------------------
10:22:04.592: video settings reset:
10:22:04.592: base resolution: 1600x900
10:22:04.592: output resolution: 1600x900
10:22:04.592: downscale filter: Lanczos
10:22:04.592: fps: 30/1
10:22:04.592: format: NV12
10:22:04.594: Audio monitoring device:
10:22:04.594: name: Speakers / Headphones (Realtek High Definition Audio)
10:22:04.594: id: {0.0.0.00000000}.{b5e71615-dba6-4c41-a0c2-1ea9b03539e9}
10:22:04.594: ---------------------------------
10:22:04.595: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
10:22:04.596: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
10:22:04.598: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
10:22:04.598: Failed to initialize module 'enc-amf.dll'
10:22:04.605: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
10:22:04.606: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
10:22:04.606: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
10:22:04.607: Failed to load 'en-US' text for module: 'obs-browser.dll'
10:22:04.607: [browser_source: 'Version: 1.29.0']
10:22:04.610: NVENC supported
10:22:04.629: Couldn't find VLC installation, VLC video source disabled
10:22:04.633: No blackmagic support
10:22:05.022: ---------------------------------
10:22:05.022: Loaded Modules:
10:22:05.023: win-wasapi.dll
10:22:05.023: win-mf.dll
10:22:05.023: win-dshow.dll
10:22:05.023: win-decklink.dll
10:22:05.023: win-capture.dll
10:22:05.023: vlc-video.dll
10:22:05.023: text-freetype2.dll
10:22:05.023: rtmp-services.dll
10:22:05.023: obs-x264.dll
10:22:05.023: obs-vst.dll
10:22:05.023: obs-transitions.dll
10:22:05.023: obs-text.dll
10:22:05.023: obs-qsv11.dll
10:22:05.023: obs-outputs.dll
10:22:05.023: obs-filters.dll
10:22:05.023: obs-ffmpeg.dll
10:22:05.023: obs-browser.dll
10:22:05.023: image-source.dll
10:22:05.023: frontend-tools.dll
10:22:05.023: enc-amf.dll
10:22:05.023: coreaudio-encoder.dll
10:22:05.023: ---------------------------------
10:22:05.023: ==== Startup complete ===============================================
10:22:05.034: All scene data cleared
10:22:05.034: ------------------------------------------------
10:22:05.133: WASAPI: Device 'Speakers / Headphones (Realtek High Definition Audio)' initialized
10:22:05.185: WASAPI: Device 'Microphone (Realtek High Definition Audio)' initialized
10:22:05.210: WASAPI: Device 'Microphone (Realtek High Definition Audio)' initialized
10:22:05.224: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
10:22:05.451: Switched to scene 'Gaming'
10:22:05.453: [game-capture: 'Minecraft'] attempting to hook process: javaw.exe
10:22:05.461: ------------------------------------------------
10:22:05.461: Loaded scenes:
10:22:05.461: - scene 'Gaming':
10:22:05.461: - source: 'FaceCam' (dshow_input)
10:22:05.461: - source: 'Image' (image_source)
10:22:05.461: - source: 'Minecraft' (game_capture)
10:22:05.461: ------------------------------------------------
10:22:05.462: [game-capture: 'Minecraft'] shared texture capture successful
10:22:05.605: ---------------------------------
10:22:05.605: [DShow Device: 'FaceCam'] settings updated:
10:22:05.605: video device: Integrated Webcam
10:22:05.605: video path: \\?\usb#vid_1bcf&pid_2b83&mi_00#7&2b7d6fb9&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
10:22:05.605: resolution: 640x480
10:22:05.605: fps: 30.00 (interval: 333333)
10:22:05.605: format: YUY2
10:23:07.989: Settings changed (outputs)
10:23:07.989: ------------------------------------------------
10:24:39.173: ---------------------------------
10:24:39.173: [x264 encoder: 'recording_h264'] preset: veryfast
10:24:39.173: [x264 encoder: 'recording_h264'] settings:
10:24:39.173: rate_control: CBR
10:24:39.173: bitrate: 2500
10:24:39.173: buffer size: 2500
10:24:39.173: crf: 0
10:24:39.173: fps_num: 30
10:24:39.173: fps_den: 1
10:24:39.173: width: 1600
10:24:39.173: height: 900
10:24:39.173: keyint: 250
10:24:39.173:
10:24:39.193: ---------------------------------
10:24:39.194: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2
10:24:39.199: ---------------------------------
10:24:39.199: [FFmpeg aac encoder: 'Track2'] bitrate: 320, channels: 2
10:24:39.203: ---------------------------------
10:24:39.204: [FFmpeg aac encoder: 'Track3'] bitrate: 320, channels: 2
10:24:39.225: ==== Recording Start ===============================================
10:24:39.225: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/justi/Videos/Captures/2017-08-18 10-24-39.mp4'...
10:27:24.722: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/justi/Videos/Captures/2017-08-18 10-24-39.mp4' stopped
10:27:24.722: Output 'adv_file_output': stopping
10:27:24.722: Output 'adv_file_output': Total frames output: 3874
10:27:24.722: Output 'adv_file_output': Total drawn frames: 4951 (4965 attempted)
10:27:24.722: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 14 (0.3%)
10:27:24.723: Video stopped, number of skipped frames due to encoding lag: 2279/4965 (45.9%)
10:27:24.736: ==== Recording Stop ================================================
10:27:24.910: warning: 2 frames left in the queue on closing
10:27:24.954: warning: 2 frames left in the queue on closing
10:27:24.976: warning: 2 frames left in the queue on closing
10:28:32.682: Settings changed (outputs)
10:28:32.682: ------------------------------------------------
10:31:43.152: ==== Shutting down ==================================================
10:31:43.180: Switched to scene '(null)'
10:31:43.195: [game-capture: 'Minecraft'] capture stopped
10:31:43.321: WASAPI: Device 'Speakers / Headphones (Realtek High Definition Audio)' Terminated
10:31:43.342: WASAPI: Device 'Microphone (Realtek High Definition Audio)' Terminated
10:31:43.355: WASAPI: Device 'Microphone (Realtek High Definition Audio)' Terminated
10:31:43.371: All scene data cleared
10:31:43.371: ------------------------------------------------
10:31:43.533: Freeing OBS context data
10:31:43.657: == Profiler Results =============================
10:31:43.657: run_program_init: 2063.91 ms
10:31:43.657: ┣OBSApp::AppInit: 10.901 ms
10:31:43.657: ┃ ┗OBSApp::InitLocale: 1.229 ms
10:31:43.658: ┗OBSApp::OBSInit: 2044.77 ms
10:31:43.658: ┣obs_startup: 1.233 ms
10:31:43.658: ┗OBSBasic::OBSInit: 1999.49 ms
10:31:43.658: ┣OBSBasic::InitBasicConfig: 0.404 ms
10:31:43.658: ┣OBSBasic::ResetAudio: 0.45 ms
10:31:43.658: ┣OBSBasic::ResetVideo: 975.274 ms
10:31:43.658: ┣OBSBasic::InitOBSCallbacks: 0.007 ms
10:31:43.658: ┣OBSBasic::InitHotkeys: 0.047 ms
10:31:43.658: ┣obs_load_all_modules: 428.432 ms
10:31:43.658: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.752 ms
10:31:43.658: ┃ ┣obs_init_module(enc-amf.dll): 0.546 ms
10:31:43.658: ┃ ┣obs_init_module(frontend-tools.dll): 1.446 ms
10:31:43.658: ┃ ┣obs_init_module(image-source.dll): 0.005 ms
10:31:43.658: ┃ ┣obs_init_module(obs-browser.dll): 0.118 ms
10:31:43.658: ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.601 ms
10:31:43.658: ┃ ┣obs_init_module(obs-filters.dll): 0.013 ms
10:31:43.658: ┃ ┣obs_init_module(obs-outputs.dll): 0.006 ms
10:31:43.658: ┃ ┣obs_init_module(obs-qsv11.dll): 5.338 ms
10:31:43.658: ┃ ┣obs_init_module(obs-text.dll): 1.038 ms
10:31:43.658: ┃ ┣obs_init_module(obs-transitions.dll): 0.01 ms
10:31:43.658: ┃ ┣obs_init_module(obs-vst.dll): 0.003 ms
10:31:43.658: ┃ ┣obs_init_module(obs-x264.dll): 0.003 ms
10:31:43.658: ┃ ┣obs_init_module(rtmp-services.dll): 2.365 ms
10:31:43.658: ┃ ┣obs_init_module(text-freetype2.dll): 0.088 ms
10:31:43.658: ┃ ┣obs_init_module(vlc-video.dll): 0.07 ms
10:31:43.658: ┃ ┣obs_init_module(win-capture.dll): 0.142 ms
10:31:43.658: ┃ ┣obs_init_module(win-decklink.dll): 1.213 ms
10:31:43.658: ┃ ┣obs_init_module(win-dshow.dll): 3.297 ms
10:31:43.658: ┃ ┣obs_init_module(win-mf.dll): 377.885 ms
10:31:43.658: ┃ ┣obs_init_module(win-wasapi.dll): 0.021 ms
10:31:43.658: ┃ ┗reset_win32_symbol_paths: 0.309 ms
10:31:43.658: ┣OBSBasic::ResetOutputs: 1.363 ms
10:31:43.658: ┣OBSBasic::CreateHotkeys: 0.926 ms
10:31:43.658: ┣OBSBasic::InitService: 5.086 ms
10:31:43.658: ┣OBSBasic::InitPrimitives: 0.68 ms
10:31:43.658: ┗OBSBasic::Load: 429.441 ms
10:31:43.658: obs_hotkey_thread(25 ms): min=0.003 ms, median=0.013 ms, max=48.241 ms, 99th percentile=0.509 ms, 99.9956% below 25 ms
10:31:43.658: audio_thread(Audio): min=0 ms, median=0.204 ms, max=38367.5 ms, 99th percentile=0.361 ms
10:31:43.659: ┗receive_audio: min=0.005 ms, median=2.071 ms, max=236.041 ms, 99th percentile=48.304 ms, 0.913458 calls per parent call
10:31:43.659: ┣buffer_audio: min=0.001 ms, median=0.004 ms, max=12.453 ms, 99th percentile=0.007 ms
10:31:43.659: ┗do_encode: min=0.019 ms, median=2.048 ms, max=236.027 ms, 99th percentile=48.292 ms
10:31:43.659: ┣encode(Track2): min=0.052 ms, median=0.818 ms, max=145.417 ms, 99th percentile=48.915 ms, 0.33337 calls per parent call
10:31:43.659: ┣encode(Track3): min=0.012 ms, median=0.812 ms, max=235.953 ms, 99th percentile=49.969 ms, 0.333424 calls per parent call
10:31:43.659: ┗encode(Track1): min=0.027 ms, median=3.494 ms, max=106.163 ms, 99th percentile=41.249 ms, 0.333206 calls per parent call
10:31:43.659: obs_video_thread(33.3333 ms): min=0.364 ms, median=2.522 ms, max=198.718 ms, 99th percentile=11.795 ms, 99.9424% below 33.333 ms
10:31:43.659: ┣tick_sources: min=0.001 ms, median=0.047 ms, max=196.606 ms, 99th percentile=0.729 ms
10:31:43.659: ┣render_displays: min=0.001 ms, median=1.271 ms, max=137.488 ms, 99th percentile=7.718 ms
10:31:43.659: ┗output_frame: min=0.355 ms, median=1.189 ms, max=21.329 ms, 99th percentile=4.631 ms
10:31:43.659: ┣gs_context(video->graphics): min=0.091 ms, median=0.433 ms, max=20.366 ms, 99th percentile=3.188 ms
10:31:43.659: ┃ ┣render_video: min=0.03 ms, median=0.122 ms, max=19.589 ms, 99th percentile=0.81 ms
10:31:43.659: ┃ ┃ ┣render_main_texture: min=0.006 ms, median=0.053 ms, max=10.041 ms, 99th percentile=0.466 ms
10:31:43.659: ┃ ┃ ┣render_output_texture: min=0.003 ms, median=0.026 ms, max=12.518 ms, 99th percentile=0.12 ms
10:31:43.659: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.028 ms, max=19.302 ms, 99th percentile=0.145 ms
10:31:43.659: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.006 ms, max=1.205 ms, 99th percentile=0.012 ms
10:31:43.660: ┃ ┣download_frame: min=0 ms, median=0.004 ms, max=16.1 ms, 99th percentile=0.009 ms
10:31:43.660: ┃ ┗gs_flush: min=0.053 ms, median=0.299 ms, max=19.629 ms, 99th percentile=2.12 ms
10:31:43.660: ┗output_video_data: min=0.002 ms, median=0.755 ms, max=18.501 ms, 99th percentile=1.621 ms
10:31:43.660: video_thread(video): min=0 ms, median=0.004 ms, max=729.319 ms, 99th percentile=268.631 ms
10:31:43.660: ┗receive_video: min=0.001 ms, median=5.456 ms, max=416.351 ms, 99th percentile=241.381 ms, 0.329572 calls per parent call
10:31:43.660: ┗do_encode: min=3.226 ms, median=5.456 ms, max=416.349 ms, 99th percentile=241.38 ms
10:31:43.660: ┗encode(recording_h264): min=3.156 ms, median=5.338 ms, max=416.116 ms, 99th percentile=241.306 ms
10:31:43.660: OBSBasic::ResetOutputs: min=1.502 ms, median=0 ms, max=7.679 ms, 99th percentile=7.679 ms
10:31:43.660: =================================================
10:31:43.660: == Profiler Time Between Calls ==================
10:31:43.660: obs_hotkey_thread(25 ms): min=24.563 ms, median=25.094 ms, max=122.185 ms, 74.6036% within ±2% of 25 ms (0% lower, 25.3964% higher)
10:31:43.660: obs_video_thread(33.3333 ms): min=3.124 ms, median=33.333 ms, max=198.744 ms, 89.2027% within ±2% of 33.333 ms (5.58022% lower, 5.21704% higher)
10:31:43.660: =================================================
10:31:44.744: Number of memory leaks: 1
 

Houdini Gaming

New Member
Nothing was changed in the update that would "screw up recordings"
Well then I guess all my friends must be over loading their PC because they seem to be having the same problem.
Also when I tested it to see if anything fixed it the problem still occurred.
 

Fenrir

Forum Admin
You have a laptop with a laptop-class CPU and an older scale-down mobile GPU in it.

Make sure your PC is not overheating and throttling. Also make sure that you're capping FPS in the games you're playing, to avoid overloading the GPU. And lastly, your recording settings are kind bad.

1) You should never record direct to MP4. It's not worth the risk. Use MKV instead.
2) Do you actually need multi-track audio for your recordings? From what it looks like, you followed a random youtube guide without understanding what you were doing
3) Try simple output mode in Settings -> Output and use the recording presets with the QuickSync encoder. See if that works better for you.
 
Top