I'm sorry for my poor English, I'm not a native speaker. I'll try to keep it short.
Hey,
I'm trying to use OBS Studio 24.0.3 (64 bit) to stream video from an up-to-date Windows 10 PC to a private server, while keeping a recording from only the audio (three sources, two separate tracks) on my local machine. This only works as long as I have a video encoder selected. Once I select "Disable Encoder" the recording will never stop. Resulting files are a couple bytes in size, too.
If I had to guess, I'd say OBS Studio is waiting for the video encoder to finish, but it never started it in the first place. I'm not a software developer and I can't validate this guess at all. Maybe it's just my machine? I would greatly appreciate if someone could try to reproduce this issue and let me know.
Thanks in advance for your helpful replies!
Settings which will reproduce this issue on my end:
Log file of me just trying to record (no streaming) with the settings, trying to stop the recording after 5 seconds and eventually just pressing the Exit button:
Hey,
I'm trying to use OBS Studio 24.0.3 (64 bit) to stream video from an up-to-date Windows 10 PC to a private server, while keeping a recording from only the audio (three sources, two separate tracks) on my local machine. This only works as long as I have a video encoder selected. Once I select "Disable Encoder" the recording will never stop. Resulting files are a couple bytes in size, too.
If I had to guess, I'd say OBS Studio is waiting for the video encoder to finish, but it never started it in the first place. I'm not a software developer and I can't validate this guess at all. Maybe it's just my machine? I would greatly appreciate if someone could try to reproduce this issue and let me know.
Thanks in advance for your helpful replies!
Settings which will reproduce this issue on my end:
Log file of me just trying to record (no streaming) with the settings, trying to stop the recording after 5 seconds and eventually just pressing the Exit button:
Code:
09:52:44.715: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
09:52:44.715: CPU Speed: 3600MHz
09:52:44.715: Physical Cores: 8, Logical Cores: 16
09:52:44.715: Physical Memory: 32712MB Total, 28668MB Free
09:52:44.715: Windows Version: 10.0 Build 18362 (revision: 476; 64-bit)
09:52:44.715: Running as administrator: true
09:52:44.715: Aero is Enabled (Aero is always on for windows 8 and above)
09:52:44.715: Windows 10 Gaming Features:
09:52:44.715: Game Bar: Off
09:52:44.715: Game DVR: Off
09:52:44.716: Sec. Software Status:
09:52:44.716: Windows Defender Antivirus: enabled (AV)
09:52:44.717: Windows Firewall: enabled (FW)
09:52:44.717: Current Date/Time: 2019-11-26, 09:52:44
09:52:44.717: Browser Hardware Acceleration: false
09:52:44.717: Portable mode: false
09:52:44.928: OBS 24.0.3 (64-bit, windows)
09:52:44.928: ---------------------------------
09:52:44.928: ---------------------------------
09:52:44.928: audio settings reset:
09:52:44.928: samples per sec: 48000
09:52:44.928: speakers: 2
09:52:44.929: ---------------------------------
09:52:44.929: Initializing D3D11...
09:52:44.929: Available Video Adapters:
09:52:44.930: Adapter 0: NVIDIA GeForce GTX 1080 Ti
09:52:44.930: Dedicated VRAM: 3077570560
09:52:44.930: Shared VRAM: 4266092544
09:52:44.930: output 0: pos={0, 0}, size={2560, 1440}, attached=true
09:52:44.930: output 1: pos={2560, 0}, size={2560, 1440}, attached=true
09:52:44.932: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 Ti (0)
09:52:44.956: D3D11 loaded successfully, feature level used: b000
09:52:44.956: D3D11 GPU priority setup success
09:52:45.252: ---------------------------------
09:52:45.252: video settings reset:
09:52:45.252: base resolution: 2560x1440
09:52:45.252: output resolution: 2560x1440
09:52:45.252: downscale filter: Bilinear
09:52:45.252: fps: 60/1
09:52:45.252: format: NV12
09:52:45.252: YUV mode: 601/Partial
09:52:45.252: NV12 texture support enabled
09:52:45.253: Audio monitoring device:
09:52:45.253: name: Default
09:52:45.253: id: default
09:52:45.253: ---------------------------------
09:52:45.254: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
09:52:45.255: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
09:52:45.274: [AMF] AMF Test failed due to one or more errors.
09:52:45.274: Failed to initialize module 'enc-amf.dll'
09:52:45.285: [obs-browser]: Version 2.7.15
09:52:45.287: NVENC supported
09:52:45.350: [obs-websocket] you can haz websockets (version 4.5.0)
09:52:45.350: [obs-websocket] qt version (compile-time): 5.10.1 ; qt version (run-time): 5.10.1
09:52:45.352: [obs-websocket] server started successfully on TCP port 4444
09:52:45.353: [obs-websocket] module loaded!
09:52:45.356: VLC found, VLC video source enabled
09:52:45.358: No blackmagic support
09:52:45.360: ---------------------------------
09:52:45.360: Loaded Modules:
09:52:45.360: win-wasapi.dll
09:52:45.360: win-mf.dll
09:52:45.361: win-dshow.dll
09:52:45.361: win-decklink.dll
09:52:45.361: win-capture.dll
09:52:45.361: vlc-video.dll
09:52:45.361: text-freetype2.dll
09:52:45.361: rtmp-services.dll
09:52:45.361: obs-x264.dll
09:52:45.361: obs-websocket.dll
09:52:45.361: obs-vst.dll
09:52:45.361: obs-transitions.dll
09:52:45.361: obs-text.dll
09:52:45.361: obs-qsv11.dll
09:52:45.361: obs-outputs.dll
09:52:45.361: obs-filters.dll
09:52:45.361: obs-ffmpeg.dll
09:52:45.361: obs-browser.dll
09:52:45.361: input-overlay.dll
09:52:45.361: image-source.dll
09:52:45.361: frontend-tools.dll
09:52:45.361: enc-amf.dll
09:52:45.361: decklink-ouput-ui.dll
09:52:45.361: coreaudio-encoder.dll
09:52:45.361: ---------------------------------
09:52:45.361: ==== Startup complete ===============================================
09:52:45.362: All scene data cleared
09:52:45.362: ------------------------------------------------
09:52:45.383: WASAPI: Device 'Speakers (ASUS Essence STX II Audio Device)' initialized
09:52:45.405: WASAPI: Device 'Speakers (SB Play!)' initialized
09:52:45.419: WASAPI: Device 'Microphone (ASUS Essence STX II Audio Device)' initialized
09:52:45.419: source 'Mic/Aux' enabled push-to-talk
09:52:45.474: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)
09:52:45.474:
09:52:45.831: Switched to scene 'Default'
09:52:45.831: ------------------------------------------------
09:52:45.831: Loaded scenes:
09:52:45.831: - scene 'Default':
09:52:45.831: - source: 'Game Capture' (game_capture)
09:52:45.831: - source: 'Input Overlay' (input-overlay)
09:52:45.831: - filter: 'Color Correction' (color_filter)
09:52:45.831: ------------------------------------------------
09:53:04.538: ==== Recording Start ===============================================
09:54:18.291: ==== Shutting down ==================================================
09:54:18.298: Switched to scene '(null)'
09:54:18.298: WASAPI: Device 'Speakers (ASUS Essence STX II Audio Device)' Terminated
09:54:18.300: WASAPI: Device 'Speakers (SB Play!)' Terminated
09:54:18.303: WASAPI: Device 'Microphone (ASUS Essence STX II Audio Device)' Terminated
09:54:18.305: All scene data cleared
09:54:18.305: ------------------------------------------------
09:54:18.309: Output 'adv_ffmpeg_output': stopping
09:54:18.309: Output 'adv_ffmpeg_output': Total frames output: 4426
09:54:18.309: Output 'adv_ffmpeg_output': Total drawn frames: 4430
09:54:18.373: Freeing OBS context data
09:54:18.388: [obs-websocket] goodbye!
09:54:18.388: [Scripting] Total detached callbacks: 0
09:54:18.395: == Profiler Results =============================
09:54:18.395: run_program_init: 1265.12 ms
09:54:18.395: ┣OBSApp::AppInit: 11.99 ms
09:54:18.395: ┃ ┗OBSApp::InitLocale: 0.702 ms
09:54:18.395: ┗OBSApp::OBSInit: 1170.09 ms
09:54:18.395: ┣obs_startup: 2.318 ms
09:54:18.395: ┗OBSBasic::OBSInit: 956.894 ms
09:54:18.395: ┣OBSBasic::InitBasicConfig: 0.238 ms
09:54:18.395: ┣OBSBasic::ResetAudio: 0.09 ms
09:54:18.395: ┣OBSBasic::ResetVideo: 324.413 ms
09:54:18.395: ┣OBSBasic::InitOBSCallbacks: 0.005 ms
09:54:18.395: ┣OBSBasic::InitHotkeys: 0.028 ms
09:54:18.395: ┣obs_load_all_modules: 107.848 ms
09:54:18.395: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.619 ms
09:54:18.395: ┃ ┣obs_init_module(decklink-ouput-ui.dll): 0.401 ms
09:54:18.395: ┃ ┣obs_init_module(enc-amf.dll): 18.091 ms
09:54:18.395: ┃ ┣obs_init_module(frontend-tools.dll): 2.908 ms
09:54:18.395: ┃ ┣obs_init_module(image-source.dll): 0.002 ms
09:54:18.395: ┃ ┣obs_init_module(input-overlay.dll): 0.287 ms
09:54:18.395: ┃ ┣obs_init_module(obs-browser.dll): 0.283 ms
09:54:18.395: ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.484 ms
09:54:18.395: ┃ ┃ ┗nvenc_check: 0.462 ms
09:54:18.395: ┃ ┣obs_init_module(obs-filters.dll): 0.009 ms
09:54:18.395: ┃ ┣obs_init_module(obs-outputs.dll): 0.003 ms
09:54:18.395: ┃ ┣obs_init_module(obs-qsv11.dll): 59.37 ms
09:54:18.395: ┃ ┣obs_init_module(obs-text.dll): 0.124 ms
09:54:18.395: ┃ ┣obs_init_module(obs-transitions.dll): 0.004 ms
09:54:18.395: ┃ ┣obs_init_module(obs-vst.dll): 0.001 ms
09:54:18.395: ┃ ┣obs_init_module(obs-websocket.dll): 3.202 ms
09:54:18.395: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
09:54:18.395: ┃ ┣obs_init_module(rtmp-services.dll): 0.561 ms
09:54:18.395: ┃ ┣obs_init_module(text-freetype2.dll): 0.032 ms
09:54:18.395: ┃ ┣obs_init_module(vlc-video.dll): 0.612 ms
09:54:18.395: ┃ ┣obs_init_module(win-capture.dll): 0.045 ms
09:54:18.395: ┃ ┣obs_init_module(win-decklink.dll): 1.583 ms
09:54:18.395: ┃ ┣obs_init_module(win-dshow.dll): 1.315 ms
09:54:18.395: ┃ ┣obs_init_module(win-mf.dll): 0 ms
09:54:18.395: ┃ ┣obs_init_module(win-wasapi.dll): 0.003 ms
09:54:18.395: ┃ ┗reset_win32_symbol_paths: 0.054 ms
09:54:18.395: ┣OBSBasic::ResetOutputs: 0.247 ms
09:54:18.395: ┣OBSBasic::CreateHotkeys: 0.128 ms
09:54:18.395: ┣OBSBasic::InitService: 0.061 ms
09:54:18.395: ┣OBSBasic::InitPrimitives: 0.059 ms
09:54:18.395: ┗OBSBasic::Load: 472.545 ms
09:54:18.395: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.017 ms, max=1.078 ms, 99th percentile=0.684 ms, 100% below 25 ms
09:54:18.395: audio_thread(Audio): min=0 ms, median=0.091 ms, max=0.484 ms, 99th percentile=0.185 ms
09:54:18.395: obs_graphics_thread(16.6667 ms): min=0.056 ms, median=1.705 ms, max=395.375 ms, 99th percentile=2.653 ms, 99.9641% below 16.667 ms
09:54:18.395: ┣tick_sources: min=0.001 ms, median=0.018 ms, max=395.313 ms, 99th percentile=0.025 ms
09:54:18.395: ┣output_frame: min=0.052 ms, median=1.495 ms, max=6.106 ms, 99th percentile=2.126 ms
09:54:18.395: ┃ ┣gs_context(video->graphics): min=0.052 ms, median=0.493 ms, max=5.728 ms, 99th percentile=0.612 ms
09:54:18.395: ┃ ┃ ┣render_video: min=0.003 ms, median=0.178 ms, max=0.984 ms, 99th percentile=0.256 ms
09:54:18.395: ┃ ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.144 ms, max=0.983 ms, 99th percentile=0.161 ms
09:54:18.395: ┃ ┃ ┃ ┣render_convert_texture: min=0.005 ms, median=0.027 ms, max=0.043 ms, 99th percentile=0.035 ms, 0.795651 calls per parent call
09:54:18.396: ┃ ┃ ┃ ┗stage_output_texture: min=0.001 ms, median=0.028 ms, max=0.186 ms, 99th percentile=0.088 ms, 0.795651 calls per parent call
09:54:18.396: ┃ ┃ ┣gs_flush: min=0.019 ms, median=0.133 ms, max=0.604 ms, 99th percentile=0.401 ms
09:54:18.396: ┃ ┃ ┗download_frame: min=0 ms, median=0.05 ms, max=5.54 ms, 99th percentile=0.239 ms, 0.795651 calls per parent call
09:54:18.396: ┃ ┗output_video_data: min=0.355 ms, median=1.452 ms, max=2.711 ms, 99th percentile=1.532 ms, 0.795471 calls per parent call
09:54:18.396: ┗render_displays: min=0 ms, median=0.214 ms, max=16.485 ms, 99th percentile=1.017 ms
09:54:18.396: video_thread(video): min=0.001 ms, median=0.006 ms, max=0.015 ms, 99th percentile=0.007 ms
09:54:18.396: =================================================
09:54:18.396: == Profiler Time Between Calls ==================
09:54:18.396: obs_hotkey_thread(25 ms): min=24.717 ms, median=25.811 ms, max=27.052 ms, 46.2063% within ±2% of 25 ms (0% lower, 53.7937% higher)
09:54:18.396: obs_graphics_thread(16.6667 ms): min=4.622 ms, median=16.667 ms, max=395.378 ms, 99.9281% within ±2% of 16.667 ms (0.0359518% lower, 0.0359518% higher)
09:54:18.396: =================================================
09:54:18.419: Number of memory leaks: 0