Hi guys,
I'm fighting the "stopping recording" bug for a few days now.
OBS records seemingly normal but when stopping the recording, gets stuck. When force closing OBS the process will still continue running in the background at low resource usage. The longer I leave that process running, the longer the saved video file will be. But even after waiting for hours most of the recording will still be lost.
This happens 80% of the time.
What I tried:
- only stopping OBS recording when on low GPU and CPU load
- updating NVIDIA drivers
- changing from mp4 to mkv file format
The second, smaller issue is OBS recording at approx 15 fps while showing 50 fps in the recording window.
Right now OBS is unusable for me, appreciate any help.
Log: https://obsproject.com/logs/s7yy_dn03oewD8MN
Best, NG
09:27:21.366: CPU Name: Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz
09:27:21.366: CPU Speed: 3504MHz
09:27:21.366: Physical Cores: 6, Logical Cores: 12
09:27:21.366: Physical Memory: 32467MB Total, 28351MB Free
09:27:21.366: Windows Version: 10.0 Build 17134 (revision: 829; 64-bit)
09:27:21.366: Running as administrator: false
09:27:21.366: Aero is Enabled (Aero is always on for windows 8 and above)
09:27:21.366: Windows 10 Gaming Features:
09:27:21.366: Game DVR: On
09:27:21.367: Sec. Software Status:
09:27:21.368: Windows Defender Antivirus: enabled (AV)
09:27:21.368: Windows-Firewall: enabled (FW)
09:27:21.368: Windows Defender Antivirus: enabled (ASW)
09:27:21.369: Current Date/Time: 2019-06-15, 09:27:21
09:27:21.369: Browser Hardware Acceleration: true
09:27:21.369: Portable mode: false
09:27:21.703: OBS 23.1.0 (64-bit, windows)
09:27:21.703: ---------------------------------
09:27:21.704: ---------------------------------
09:27:21.704: audio settings reset:
09:27:21.704: samples per sec: 44100
09:27:21.704: speakers: 2
09:27:21.716: ---------------------------------
09:27:21.716: Initializing D3D11...
09:27:21.716: Available Video Adapters:
09:27:21.717: Adapter 1: NVIDIA GeForce GTX 1080
09:27:21.717: Dedicated VRAM: 4176478208
09:27:21.717: Shared VRAM: 4137189376
09:27:21.717: output 1: pos={0, 0}, size={1920, 1080}, attached=true
09:27:21.717: output 2: pos={1920, 0}, size={1680, 1050}, attached=true
09:27:21.719: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 (0)
09:27:21.934: D3D11 loaded successfully, feature level used: 45056
09:27:22.514: ---------------------------------
09:27:22.514: video settings reset:
09:27:22.514: base resolution: 1920x1080
09:27:22.514: output resolution: 1920x1080
09:27:22.514: downscale filter: Lanczos
09:27:22.514: fps: 50/1
09:27:22.514: format: NV12
09:27:22.514: YUV mode: 709/Partial
09:27:22.514: NV12 texture support enabled
09:27:22.516: Audio monitoring device:
09:27:22.516: name: Standard
09:27:22.516: id: default
09:27:22.517: ---------------------------------
09:27:22.563: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
09:27:22.577: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
09:27:22.632: [AMF] AMF Test failed due to one or more errors.
09:27:22.632: Failed to initialize module 'enc-amf.dll'
09:27:22.780: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
09:27:22.843: [obs-browser]: Version 2.3.1
09:27:22.900: NVENC supported
09:27:23.640: VLC found, VLC video source enabled
09:27:23.676: No blackmagic support
09:27:23.709: ---------------------------------
09:27:23.709: Loaded Modules:
09:27:23.709: win-wasapi.dll
09:27:23.709: win-mf.dll
09:27:23.709: win-ivcam.dll
09:27:23.709: win-dshow.dll
09:27:23.709: win-decklink.dll
09:27:23.709: win-capture.dll
09:27:23.709: vlc-video.dll
09:27:23.709: text-freetype2.dll
09:27:23.709: rtmp-services.dll
09:27:23.709: obs-x264.dll
09:27:23.709: obs-vst.dll
09:27:23.709: obs-transitions.dll
09:27:23.709: obs-text.dll
09:27:23.709: obs-qsv11.dll
09:27:23.709: obs-outputs.dll
09:27:23.709: obs-filters.dll
09:27:23.709: obs-ffmpeg.dll
09:27:23.709: obs-browser.dll
09:27:23.709: image-source.dll
09:27:23.709: frontend-tools.dll
09:27:23.709: enc-amf.dll
09:27:23.709: decklink-ouput-ui.dll
09:27:23.709: coreaudio-encoder.dll
09:27:23.709: ---------------------------------
09:27:23.710: ==== Startup complete ===============================================
09:27:23.711: Service '' not found
09:27:23.726: All scene data cleared
09:27:23.726: ------------------------------------------------
09:27:23.769: WASAPI: Device 'Lautsprecher (4- USB Multimedia Audio Device)' initialized
09:27:23.804: WASAPI: Device 'Line (3- Audient iD4)' initialized
09:27:23.837: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds (source: Mic/Aux)
09:27:23.837:
09:27:24.685: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux)
09:27:24.685:
09:27:29.219: Switched to scene 'Desktop'
09:27:29.221: ------------------------------------------------
09:27:29.221: ------------------------------------------------
09:32:07.031: ---------------------------------
09:32:07.031: [NVENC encoder: 'recording_h264'] settings:
09:32:07.031: rate_control: CQP
09:32:07.031: bitrate: 0
09:32:07.031: cqp: 21
09:32:07.031: keyint: 250
09:32:07.031: preset: hq
09:32:07.031: profile: high
09:32:07.031: width: 1920
09:32:07.031: height: 1080
09:32:07.031: 2-pass: false
09:32:07.031: b-frames: 2
09:32:07.031: GPU: 0
09:32:07.031:
09:32:07.568: ---------------------------------
09:32:07.568: [FFmpeg aac encoder: 'Mic'] bitrate: 256, channels: 2, channel_layout: 3
09:32:07.568:
09:32:07.573: ---------------------------------
09:32:07.574: [FFmpeg aac encoder: 'Game'] bitrate: 256, channels: 2, channel_layout: 3
09:32:07.574:
09:32:07.594: ==== Recording Start ===============================================
09:32:07.594: [ffmpeg muxer: 'adv_file_output'] Writing file 'F:/Video Bearbeitung/Aufnahme/2019-06-15 09-32-07.mp4'...
09:32:08.102: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds (source: Mic/Aux)
09:32:08.102:
09:40:02.811: [ffmpeg muxer: 'adv_file_output'] Output of file 'F:/Video Bearbeitung/Aufnahme/2019-06-15 09-32-07.mp4' stopped
09:40:02.811: Output 'adv_file_output': stopping
09:40:02.811: Output 'adv_file_output': Total frames output: 23731
09:40:02.811: Output 'adv_file_output': Total drawn frames: 23634 (23761 attempted)
09:40:02.811: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 127 (0.5%)
09:40:02.811: ==== Recording Stop ================================================
09:41:09.975: Settings changed (outputs)
09:41:09.975: ------------------------------------------------
09:41:23.567: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds (source: Mic/Aux)
09:41:23.567:
09:41:33.389: ---------------------------------
09:41:33.389: [NVENC encoder: 'recording_h264'] settings:
09:41:33.389: rate_control: CQP
09:41:33.389: bitrate: 0
09:41:33.389: cqp: 21
09:41:33.389: keyint: 250
09:41:33.389: preset: hq
09:41:33.389: profile: high
09:41:33.389: width: 1920
09:41:33.389: height: 1080
09:41:33.389: 2-pass: false
09:41:33.389: b-frames: 2
09:41:33.389: GPU: 0
09:41:33.389:
09:41:33.599: ---------------------------------
09:41:33.599: [FFmpeg aac encoder: 'Mic'] bitrate: 256, channels: 2, channel_layout: 3
09:41:33.599:
09:41:33.600: ---------------------------------
09:41:33.601: [FFmpeg aac encoder: 'Game'] bitrate: 256, channels: 2, channel_layout: 3
09:41:33.601:
09:41:33.609: ==== Recording Start ===============================================
09:41:33.609: [ffmpeg muxer: 'adv_file_output'] Writing file 'F:/Video Bearbeitung/Aufnahme/2019-06-15 09-41-33.mkv'...
09:50:39.477: adding 23 milliseconds of audio buffering, total audio buffering is now 116 milliseconds (source: Mic/Aux)
09:50:39.477:
09:58:25.399: [NVENC encoder: 'recording_h264'] nvenc_encode: Error encoding: Invalid argument
09:58:25.484: Error encoding with encoder 'recording_h264'
10:00:26.464: ==== Shutting down ==================================================
10:00:26.476: Switched to scene '(null)'
10:00:26.596: WASAPI: Device 'Lautsprecher (4- USB Multimedia Audio Device)' Terminated
10:00:26.601: WASAPI: Device 'Line (3- Audient iD4)' Terminated
10:00:26.604: All scene data cleared
10:00:26.604: ------------------------------------------------
I'm fighting the "stopping recording" bug for a few days now.
OBS records seemingly normal but when stopping the recording, gets stuck. When force closing OBS the process will still continue running in the background at low resource usage. The longer I leave that process running, the longer the saved video file will be. But even after waiting for hours most of the recording will still be lost.
This happens 80% of the time.
What I tried:
- only stopping OBS recording when on low GPU and CPU load
- updating NVIDIA drivers
- changing from mp4 to mkv file format
The second, smaller issue is OBS recording at approx 15 fps while showing 50 fps in the recording window.
Right now OBS is unusable for me, appreciate any help.
Log: https://obsproject.com/logs/s7yy_dn03oewD8MN
Best, NG
09:27:21.366: CPU Name: Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz
09:27:21.366: CPU Speed: 3504MHz
09:27:21.366: Physical Cores: 6, Logical Cores: 12
09:27:21.366: Physical Memory: 32467MB Total, 28351MB Free
09:27:21.366: Windows Version: 10.0 Build 17134 (revision: 829; 64-bit)
09:27:21.366: Running as administrator: false
09:27:21.366: Aero is Enabled (Aero is always on for windows 8 and above)
09:27:21.366: Windows 10 Gaming Features:
09:27:21.366: Game DVR: On
09:27:21.367: Sec. Software Status:
09:27:21.368: Windows Defender Antivirus: enabled (AV)
09:27:21.368: Windows-Firewall: enabled (FW)
09:27:21.368: Windows Defender Antivirus: enabled (ASW)
09:27:21.369: Current Date/Time: 2019-06-15, 09:27:21
09:27:21.369: Browser Hardware Acceleration: true
09:27:21.369: Portable mode: false
09:27:21.703: OBS 23.1.0 (64-bit, windows)
09:27:21.703: ---------------------------------
09:27:21.704: ---------------------------------
09:27:21.704: audio settings reset:
09:27:21.704: samples per sec: 44100
09:27:21.704: speakers: 2
09:27:21.716: ---------------------------------
09:27:21.716: Initializing D3D11...
09:27:21.716: Available Video Adapters:
09:27:21.717: Adapter 1: NVIDIA GeForce GTX 1080
09:27:21.717: Dedicated VRAM: 4176478208
09:27:21.717: Shared VRAM: 4137189376
09:27:21.717: output 1: pos={0, 0}, size={1920, 1080}, attached=true
09:27:21.717: output 2: pos={1920, 0}, size={1680, 1050}, attached=true
09:27:21.719: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 (0)
09:27:21.934: D3D11 loaded successfully, feature level used: 45056
09:27:22.514: ---------------------------------
09:27:22.514: video settings reset:
09:27:22.514: base resolution: 1920x1080
09:27:22.514: output resolution: 1920x1080
09:27:22.514: downscale filter: Lanczos
09:27:22.514: fps: 50/1
09:27:22.514: format: NV12
09:27:22.514: YUV mode: 709/Partial
09:27:22.514: NV12 texture support enabled
09:27:22.516: Audio monitoring device:
09:27:22.516: name: Standard
09:27:22.516: id: default
09:27:22.517: ---------------------------------
09:27:22.563: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
09:27:22.577: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
09:27:22.632: [AMF] AMF Test failed due to one or more errors.
09:27:22.632: Failed to initialize module 'enc-amf.dll'
09:27:22.780: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
09:27:22.843: [obs-browser]: Version 2.3.1
09:27:22.900: NVENC supported
09:27:23.640: VLC found, VLC video source enabled
09:27:23.676: No blackmagic support
09:27:23.709: ---------------------------------
09:27:23.709: Loaded Modules:
09:27:23.709: win-wasapi.dll
09:27:23.709: win-mf.dll
09:27:23.709: win-ivcam.dll
09:27:23.709: win-dshow.dll
09:27:23.709: win-decklink.dll
09:27:23.709: win-capture.dll
09:27:23.709: vlc-video.dll
09:27:23.709: text-freetype2.dll
09:27:23.709: rtmp-services.dll
09:27:23.709: obs-x264.dll
09:27:23.709: obs-vst.dll
09:27:23.709: obs-transitions.dll
09:27:23.709: obs-text.dll
09:27:23.709: obs-qsv11.dll
09:27:23.709: obs-outputs.dll
09:27:23.709: obs-filters.dll
09:27:23.709: obs-ffmpeg.dll
09:27:23.709: obs-browser.dll
09:27:23.709: image-source.dll
09:27:23.709: frontend-tools.dll
09:27:23.709: enc-amf.dll
09:27:23.709: decklink-ouput-ui.dll
09:27:23.709: coreaudio-encoder.dll
09:27:23.709: ---------------------------------
09:27:23.710: ==== Startup complete ===============================================
09:27:23.711: Service '' not found
09:27:23.726: All scene data cleared
09:27:23.726: ------------------------------------------------
09:27:23.769: WASAPI: Device 'Lautsprecher (4- USB Multimedia Audio Device)' initialized
09:27:23.804: WASAPI: Device 'Line (3- Audient iD4)' initialized
09:27:23.837: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds (source: Mic/Aux)
09:27:23.837:
09:27:24.685: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux)
09:27:24.685:
09:27:29.219: Switched to scene 'Desktop'
09:27:29.221: ------------------------------------------------
09:27:29.221: ------------------------------------------------
09:32:07.031: ---------------------------------
09:32:07.031: [NVENC encoder: 'recording_h264'] settings:
09:32:07.031: rate_control: CQP
09:32:07.031: bitrate: 0
09:32:07.031: cqp: 21
09:32:07.031: keyint: 250
09:32:07.031: preset: hq
09:32:07.031: profile: high
09:32:07.031: width: 1920
09:32:07.031: height: 1080
09:32:07.031: 2-pass: false
09:32:07.031: b-frames: 2
09:32:07.031: GPU: 0
09:32:07.031:
09:32:07.568: ---------------------------------
09:32:07.568: [FFmpeg aac encoder: 'Mic'] bitrate: 256, channels: 2, channel_layout: 3
09:32:07.568:
09:32:07.573: ---------------------------------
09:32:07.574: [FFmpeg aac encoder: 'Game'] bitrate: 256, channels: 2, channel_layout: 3
09:32:07.574:
09:32:07.594: ==== Recording Start ===============================================
09:32:07.594: [ffmpeg muxer: 'adv_file_output'] Writing file 'F:/Video Bearbeitung/Aufnahme/2019-06-15 09-32-07.mp4'...
09:32:08.102: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds (source: Mic/Aux)
09:32:08.102:
09:40:02.811: [ffmpeg muxer: 'adv_file_output'] Output of file 'F:/Video Bearbeitung/Aufnahme/2019-06-15 09-32-07.mp4' stopped
09:40:02.811: Output 'adv_file_output': stopping
09:40:02.811: Output 'adv_file_output': Total frames output: 23731
09:40:02.811: Output 'adv_file_output': Total drawn frames: 23634 (23761 attempted)
09:40:02.811: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 127 (0.5%)
09:40:02.811: ==== Recording Stop ================================================
09:41:09.975: Settings changed (outputs)
09:41:09.975: ------------------------------------------------
09:41:23.567: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds (source: Mic/Aux)
09:41:23.567:
09:41:33.389: ---------------------------------
09:41:33.389: [NVENC encoder: 'recording_h264'] settings:
09:41:33.389: rate_control: CQP
09:41:33.389: bitrate: 0
09:41:33.389: cqp: 21
09:41:33.389: keyint: 250
09:41:33.389: preset: hq
09:41:33.389: profile: high
09:41:33.389: width: 1920
09:41:33.389: height: 1080
09:41:33.389: 2-pass: false
09:41:33.389: b-frames: 2
09:41:33.389: GPU: 0
09:41:33.389:
09:41:33.599: ---------------------------------
09:41:33.599: [FFmpeg aac encoder: 'Mic'] bitrate: 256, channels: 2, channel_layout: 3
09:41:33.599:
09:41:33.600: ---------------------------------
09:41:33.601: [FFmpeg aac encoder: 'Game'] bitrate: 256, channels: 2, channel_layout: 3
09:41:33.601:
09:41:33.609: ==== Recording Start ===============================================
09:41:33.609: [ffmpeg muxer: 'adv_file_output'] Writing file 'F:/Video Bearbeitung/Aufnahme/2019-06-15 09-41-33.mkv'...
09:50:39.477: adding 23 milliseconds of audio buffering, total audio buffering is now 116 milliseconds (source: Mic/Aux)
09:50:39.477:
09:58:25.399: [NVENC encoder: 'recording_h264'] nvenc_encode: Error encoding: Invalid argument
09:58:25.484: Error encoding with encoder 'recording_h264'
10:00:26.464: ==== Shutting down ==================================================
10:00:26.476: Switched to scene '(null)'
10:00:26.596: WASAPI: Device 'Lautsprecher (4- USB Multimedia Audio Device)' Terminated
10:00:26.601: WASAPI: Device 'Line (3- Audient iD4)' Terminated
10:00:26.604: All scene data cleared
10:00:26.604: ------------------------------------------------