Video freezes (randomly) but audio doesn't

ThomasMalch

New Member
Hello, I'm new to OBS Studio, still having trouble setting up.
As mention in the title, the video freezes but the audio doesn't, I've looked at some of your old threads of how to fix it but I still don't know what is the problem.
Can you help me, please?

I will provide any extra information if needed.

Thank you

P/s : The log is below

Thomas
 

ThomasMalch

New Member
[21:53:28.291: CoInitializeEx succeeded: 0x00000001
21:53:28.291: CPU Name: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
21:53:28.291: CPU Speed: 2496MHz
21:53:28.292: Physical Cores: 4, Logical Cores: 4
21:53:28.292: Physical Memory: 8077MB Total, 3013MB Free
21:53:28.292: Windows Version: 10.0 Build 18362 (release: 1903; revision: 836; 64-bit)
21:53:28.292: Running as administrator: false
21:53:28.292: Aero is Enabled (Aero is always on for windows 8 and above)
21:53:28.292: Windows 10 Gaming Features:
21:53:28.292: Game DVR: On
21:53:28.296: Sec. Software Status:
21:53:28.303: Antivirus Windows Defender: enabled (AV)
21:53:28.305: Pare-feu Windows: enabled (FW)
21:53:28.306: Current Date/Time: 2020-05-29, 21:53:28
21:53:28.306: Browser Hardware Acceleration: true
21:53:28.306: Portable mode: false
21:53:28.979: OBS 25.0.8 (64-bit, windows)
21:53:28.979: ---------------------------------
21:53:28.980: ---------------------------------
21:53:28.980: audio settings reset:
21:53:28.980: samples per sec: 44100
21:53:28.980: speakers: 2
21:53:28.982: ---------------------------------
21:53:28.982: Initializing D3D11...
21:53:28.982: Available Video Adapters:
21:53:28.990: Adapter 0: Intel(R) HD Graphics 630
21:53:28.990: Dedicated VRAM: 134217728
21:53:28.990: Shared VRAM: 4234684416
21:53:28.990: PCI ID: 8086:591b
21:53:28.992: Driver Version: 21.20.16.4550
21:53:28.992: output 0: pos={0, 0}, size={1920, 1080}, attached=true, refresh=60, name=
21:53:28.992: Adapter 1: NVIDIA GeForce GTX 1050
21:53:28.992: Dedicated VRAM: 4216324096
21:53:28.992: Shared VRAM: 4234684416
21:53:28.993: PCI ID: 10de:1c8d
21:53:28.993: Driver Version: 24.21.13.9924
21:53:28.996: Loading up D3D11 on adapter Intel(R) HD Graphics 630 (0)
21:53:29.004: D3D11 loaded successfully, feature level used: b000
21:53:29.004: DXGI increase maximum frame latency success
21:53:29.497: ---------------------------------
21:53:29.497: video settings reset:
21:53:29.497: base resolution: 1920x1080
21:53:29.497: output resolution: 1096x616
21:53:29.497: downscale filter: Bilinear
21:53:29.497: fps: 60/1
21:53:29.497: format: NV12
21:53:29.497: YUV mode: 601/Partial
21:53:29.497: NV12 texture support not available
21:53:29.498: Audio monitoring device:
21:53:29.498: name: Default
21:53:29.498: id: default
21:53:29.498: ---------------------------------
21:53:29.502: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
21:53:29.503: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
21:53:29.539: [AMF] Unable to load 'amfrt64.dll', error code 126.
21:53:29.541: [AMF] AMF Test failed due to one or more errors.
21:53:29.541: Failed to initialize module 'enc-amf.dll'
21:53:29.565: [obs-browser]: Version 2.8.6
21:53:29.565: [obs-browser]: Blacklisted device detected, disabling browser source hardware acceleration.
21:53:29.568: NVENC supported
21:53:29.582: Couldn't find VLC installation, VLC video source disabled
21:53:29.592: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
21:53:29.594: No blackmagic support
21:53:29.601: ---------------------------------
21:53:29.601: Loaded Modules:
21:53:29.601: win-wasapi.dll
21:53:29.601: win-mf.dll
21:53:29.601: win-dshow.dll
21:53:29.601: win-decklink.dll
21:53:29.601: win-capture.dll
21:53:29.601: vlc-video.dll
21:53:29.601: text-freetype2.dll
21:53:29.601: rtmp-services.dll
21:53:29.601: obs-x264.dll
21:53:29.601: obs-vst.dll
21:53:29.601: obs-transitions.dll
21:53:29.601: obs-text.dll
21:53:29.601: obs-qsv11.dll
21:53:29.601: obs-outputs.dll
21:53:29.601: obs-filters.dll
21:53:29.601: obs-ffmpeg.dll
21:53:29.601: obs-browser.dll
21:53:29.601: image-source.dll
21:53:29.601: frontend-tools.dll
21:53:29.601: enc-amf.dll
21:53:29.601: decklink-ouput-ui.dll
21:53:29.601: coreaudio-encoder.dll
21:53:29.601: ---------------------------------
21:53:29.601: ==== Startup complete ===============================================
21:53:29.604: All scene data cleared
21:53:29.604: ------------------------------------------------
21:53:29.704: WASAPI: Device 'Speakers (Realtek High Definition Audio)' [48000 Hz] initialized
21:53:29.705: [Loaded global audio device]: 'Desktop Audio'
21:53:29.972: WASAPI: Device 'Microphone (Realtek High Definition Audio)' [48000 Hz] initialized
21:53:29.972: [Loaded global audio device]: 'Mic/Aux 2'
21:53:29.985: WASAPI: Device 'Microphone (Realtek High Definition Audio)' [48000 Hz] initialized
21:53:29.986: Switched to scene 'Scene'
21:53:29.986: ------------------------------------------------
21:53:29.986: Loaded scenes:
21:53:29.986: - scene 'Scene':
21:53:29.986: - source: 'Audio Input Capture' (wasapi_input_capture)
21:53:29.986: - source: 'Capture d'écran' (monitor_capture)
21:53:29.986: ------------------------------------------------
21:53:30.011: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux 2)
21:53:30.011:
21:53:33.740: ---------------------------------
21:53:33.740: [x264 encoder: 'simple_h264_stream'] preset: ultrafast
21:53:33.740: [x264 encoder: 'simple_h264_stream'] settings:
21:53:33.740: rate_control: CBR
21:53:33.740: bitrate: 4000
21:53:33.740: buffer size: 4000
21:53:33.740: crf: 0
21:53:33.740: fps_num: 60
21:53:33.740: fps_den: 1
21:53:33.740: width: 1096
21:53:33.740: height: 616
21:53:33.740: keyint: 120
21:53:33.740:
21:53:33.746: ---------------------------------
21:53:33.746: [FFmpeg aac encoder: 'simple_aac'] bitrate: 128, channels: 2, channel_layout: 3
21:53:33.746:
21:53:33.757: ==== Recording Start ===============================================
21:53:33.757: [ffmpeg muxer: 'simple_file_output'] Writing file 'E:/Games/2020-05-29 21-53-33.mkv'...
21:54:40.002: [ffmpeg muxer: 'simple_file_output'] Output of file 'E:/Games/2020-05-29 21-53-33.mkv' stopped
21:54:40.002: Output 'simple_file_output': stopping
21:54:40.002: Output 'simple_file_output': Total frames output: 2950
21:54:40.003: Output 'simple_file_output': Total drawn frames: 3201 (3975 attempted)
21:54:40.003: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 774 (19.5%)
21:54:40.003: ==== Recording Stop ================================================
21:54:40.004: Video stopped, number of skipped frames due to encoding lag: 3194/3974 (80.4%)
21:54:48.511: ==== Shutting down ==================================================
21:54:48.519: Switched to scene '(null)'
21:54:48.519: WASAPI: Device 'Microphone (Realtek High Definition Audio)' Terminated
21:54:48.524: WASAPI: Device 'Speakers (Realtek High Definition Audio)' Terminated
21:54:48.529: WASAPI: Device 'Microphone (Realtek High Definition Audio)' Terminated
21:54:48.744: All scene data cleared
21:54:48.744: ------------------------------------------------
21:54:48.856: Freeing OBS context data
21:54:48.876: [Scripting] Total detached callbacks: 0
21:54:48.887: == Profiler Results =============================
21:54:48.887: run_program_init: 2004.14 ms
21:54:48.887: ┣OBSApp::AppInit: 18.498 ms
21:54:48.887: ┃ ┗OBSApp::InitLocale: 1.08 ms
21:54:48.887: ┗OBSApp::OBSInit: 1834.86 ms
21:54:48.887: ┣obs_startup: 14.759 ms
21:54:48.887: ┗OBSBasic::OBSInit: 1146.12 ms
21:54:48.887: ┣OBSBasic::InitBasicConfig: 0.397 ms
21:54:48.887: ┣OBSBasic::ResetAudio: 0.162 ms
21:54:48.887: ┣OBSBasic::ResetVideo: 517.988 ms
21:54:48.887: ┣OBSBasic::InitOBSCallbacks: 0.005 ms
21:54:48.887: ┣OBSBasic::InitHotkeys: 0.041 ms
21:54:48.887: ┣obs_load_all_modules: 102.381 ms
21:54:48.887: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.803 ms
21:54:48.887: ┃ ┣obs_init_module(decklink-ouput-ui.dll): 0.516 ms
21:54:48.887: ┃ ┣obs_init_module(enc-amf.dll): 36.17 ms
21:54:48.887: ┃ ┣obs_init_module(frontend-tools.dll): 8.466 ms
21:54:48.887: ┃ ┣obs_init_module(image-source.dll): 0.004 ms
21:54:48.887: ┃ ┣obs_init_module(obs-browser.dll): 0.458 ms
21:54:48.887: ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.931 ms
21:54:48.887: ┃ ┃ ┗nvenc_check: 0.889 ms
21:54:48.887: ┃ ┣obs_init_module(obs-filters.dll): 0.013 ms
21:54:48.887: ┃ ┣obs_init_module(obs-outputs.dll): 0.007 ms
21:54:48.887: ┃ ┣obs_init_module(obs-qsv11.dll): 4.616 ms
21:54:48.887: ┃ ┣obs_init_module(obs-text.dll): 0.279 ms
21:54:48.887: ┃ ┣obs_init_module(obs-transitions.dll): 0.009 ms
21:54:48.887: ┃ ┣obs_init_module(obs-vst.dll): 0.002 ms
21:54:48.887: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
21:54:48.887: ┃ ┣obs_init_module(rtmp-services.dll): 0.472 ms
21:54:48.887: ┃ ┣obs_init_module(text-freetype2.dll): 0.05 ms
21:54:48.887: ┃ ┣obs_init_module(vlc-video.dll): 0.07 ms
21:54:48.887: ┃ ┣obs_init_module(win-capture.dll): 2.043 ms
21:54:48.887: ┃ ┣obs_init_module(win-decklink.dll): 7.441 ms
21:54:48.887: ┃ ┣obs_init_module(win-dshow.dll): 3.586 ms
21:54:48.887: ┃ ┣obs_init_module(win-mf.dll): 0 ms
21:54:48.887: ┃ ┣obs_init_module(win-wasapi.dll): 0.007 ms
21:54:48.887: ┃ ┗reset_win32_symbol_paths: 0.09 ms
21:54:48.887: ┣OBSBasic::ResetOutputs: 0.222 ms
21:54:48.887: ┣OBSBasic::CreateHotkeys: 0.034 ms
21:54:48.887: ┣OBSBasic::InitService: 1.752 ms
21:54:48.887: ┣OBSBasic::InitPrimitives: 0.812 ms
21:54:48.887: ┗OBSBasic::Load: 386.294 ms
21:54:48.887: obs_hotkey_thread(25 ms): min=0.004 ms, median=0.015 ms, max=53.132 ms, 99th percentile=1.091 ms, 99.9589% below 25 ms
21:54:48.887: audio_thread(Audio): min=0 ms, median=0.677 ms, max=111.747 ms, 99th percentile=20.001 ms
21:54:48.887: ┗receive_audio: min=0.004 ms, median=0.398 ms, max=41.539 ms, 99th percentile=11.177 ms, 1.11975 calls per parent call
21:54:48.887: ┣buffer_audio: min=0 ms, median=0.001 ms, max=0.545 ms, 99th percentile=0.022 ms
21:54:48.887: ┗do_encode: min=0.038 ms, median=0.389 ms, max=41.518 ms, 99th percentile=11.167 ms
21:54:48.887: ┗encode(simple_aac): min=0.033 ms, median=0.31 ms, max=41.503 ms, 99th percentile=10.516 ms
21:54:48.887: obs_graphics_thread(16.6667 ms): min=0.08 ms, median=4.983 ms, max=173.482 ms, 99th percentile=54.115 ms, 75.0439% below 16.667 ms
21:54:48.887: ┣tick_sources: min=0.001 ms, median=0.251 ms, max=73.623 ms, 99th percentile=10.988 ms
21:54:48.887: ┣output_frame: min=0.049 ms, median=1.35 ms, max=102.299 ms, 99th percentile=49.29 ms
21:54:48.887: ┃ ┣gs_context(video->graphics): min=0.048 ms, median=0.798 ms, max=102.295 ms, 99th percentile=49.286 ms
21:54:48.887: ┃ ┃ ┣render_video: min=0.011 ms, median=0.23 ms, max=55.871 ms, 99th percentile=7.943 ms
21:54:48.887: ┃ ┃ ┃ ┣render_main_texture: min=0.007 ms, median=0.138 ms, max=55.745 ms, 99th percentile=4.71 ms
21:54:48.887: ┃ ┃ ┃ ┣render_output_texture: min=0.008 ms, median=0.02 ms, max=34.967 ms, 99th percentile=0.75 ms, 0.802859 calls per parent call
21:54:48.887: ┃ ┃ ┃ ┣render_convert_texture: min=0.02 ms, median=0.045 ms, max=24.217 ms, 99th percentile=1.45 ms, 0.802859 calls per parent call
21:54:48.887: ┃ ┃ ┃ ┗stage_output_texture: min=0.018 ms, median=0.044 ms, max=37.206 ms, 99th percentile=1.54 ms, 0.802859 calls per parent call
21:54:48.887: ┃ ┃ ┣gs_flush: min=0.021 ms, median=0.094 ms, max=61.886 ms, 99th percentile=4.757 ms
21:54:48.887: ┃ ┃ ┗download_frame: min=0 ms, median=1.609 ms, max=101.754 ms, 99th percentile=48.916 ms, 0.802859 calls per parent call
21:54:48.887: ┃ ┗output_video_data: min=0 ms, median=0.003 ms, max=18.812 ms, 99th percentile=2.467 ms, 0.802608 calls per parent call
21:54:48.887: ┗render_displays: min=0 ms, median=1.174 ms, max=78.057 ms, 99th percentile=17.889 ms
21:54:48.887: video_thread(video): min=0.643 ms, median=2.061 ms, max=36958 ms, 99th percentile=111.786 ms
21:54:48.887: ┗receive_video: min=0.528 ms, median=1.826 ms, max=12397.3 ms, 99th percentile=24.583 ms, 5.23584 calls per parent call
21:54:48.887: ┗do_encode: min=0.527 ms, median=1.825 ms, max=12397.3 ms, 99th percentile=24.58 ms
21:54:48.887: ┗encode(simple_h264_stream): min=0.487 ms, median=1.663 ms, max=12397.2 ms, 99th percentile=23.882 ms
21:54:48.887: =================================================
21:54:48.887: == Profiler Time Between Calls ==================
21:54:48.887: obs_hotkey_thread(25 ms): min=24.18 ms, median=25.961 ms, max=157.237 ms, 21.9251% within ±2% of 25 ms (0.0822707% lower, 77.9926% higher)
21:54:48.887: obs_graphics_thread(16.6667 ms): min=0.185 ms, median=16.667 ms, max=174.24 ms, 43.1009% within ±2% of 16.667 ms (22.4536% lower, 34.4456% higher)
21:54:48.887: =================================================
21:54:49.049: Number of memory leaks: 0]
 
Top