Question / Help OBS Recording freezes at first frame, but audio continues

Ultra

New Member
I'm currently having an issue where my OBS recording freezes on the first frame, but the audio continues. Here's my log:

Code:
20:14:33: CLR host plugin strings not found, dynamically loading 4 strings
20:14:33: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
20:14:33: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
20:14:33: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
20:14:33: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
20:14:33: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
20:14:34: CLRHost::LoadPlugins() attempting to load the plugin assembly CLRBrowserSourcePlugin
20:14:34: CLRHost:: Could not find/load browser settings at location C:\Users\Lucas\AppData\Roaming\OBS\pluginData\browser.json
20:14:34: CLRHost:: Exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\Lucas\AppData\Roaming\OBS\pluginData\browser.json'.
20:14:34: File name: 'C:\Users\Lucas\AppData\Roaming\OBS\pluginData\browser.json'
20:14:34:  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
20:14:34:  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
20:14:34:  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
20:14:34:  at CLRBrowserSourcePlugin.Shared.BrowserSettings.Reload()
20:14:34: CLRHost::LoadPlugins() successfully added CLR plugin [Type: CLRBrowserSourcePlugin.CLRBrowserSourcePlugin, Name: CLR Browser Source Plugin]
20:15:06: Open Broadcaster Software v0.659b - 64bit ( ^ω^)
20:15:06: -------------------------------
20:15:06: CPU Name: Intel(R) Core(TM) i5-3340 CPU @ 3.10GHz
20:15:06: CPU Speed: 3100MHz
20:15:06: Physical Memory:  8120MB Total, 2691MB Free
20:15:06: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
20:15:06: monitor 1: pos={0, 0}, size={1920, 1080}
20:15:06: Windows Version: 10.0 Build 14393 (revision 0)
20:15:06: Aero is Enabled
20:15:06: -------------------------------
20:15:06: OBS Modules:
20:15:06: Base Address  Module
20:15:06: 00000000F1960000 OBS.exe
20:15:06: 00000000678E0000 OBSApi.dll
20:15:06: 000000006D070000 CLRHostPlugin.dll
20:15:06: 000000006A2F0000 DShowPlugin.dll
20:15:06: 000000006CF60000 GraphicsCapture.dll
20:15:06: 0000000072200000 NoiseGate.dll
20:15:06: 0000000070E80000 PSVPlugin.dll
20:15:06: 000000006C5D0000 scenesw.dll
20:15:06: ------------------------------------------
20:15:06: Adapter 1
20:15:06:  Video Adapter: NVIDIA GeForce GTX 750 Ti
20:15:06:  Video Adapter Dedicated Video Memory: 2114650112
20:15:06:  Video Adapter Shared System Memory: 4257695744
20:15:06:  Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
20:15:06: =====Stream Start: 2016-11-19, 20:15:06===============================================
20:15:06:  Multithreaded optimizations: On
20:15:06:  Base resolution: 1920x1080
20:15:06:  Output resolution: 1920x1080
20:15:06: ------------------------------------------
20:15:06: Loading up D3D10 on NVIDIA GeForce GTX 750 Ti (Adapter 1)...
20:15:06: ------------------------------------------
20:15:06: Audio Format: 48000 Hz
20:15:06: ------------------------------------------
20:15:06: Audio Channels: 2 Ch
20:15:06: Playback device {0.0.0.00000000}.{a8dd67f0-ff7c-45db-9828-b7d35605ebbe}
20:15:06: ------------------------------------------
20:15:06: Using desktop audio input: VX2270 SERIES-C (NVIDIA High Definition Audio)
20:15:06: Global Audio time adjust: 0
20:15:06: ------------------------------------------
20:15:06: Using auxilary audio input: Microphone (USB Audio Device)
20:15:06: Mic time offset: 0
20:15:06: ------------------------------------------
20:15:06: Audio Encoding: AAC
20:15:06:  bitrate: 320
20:15:06: Using graphics capture
20:15:06: Trying to hook process: csgo.exe
20:15:08: Scene buffering time set to 700
20:15:08: ------------------------------------------
20:15:08: Video Encoding: x264
20:15:08:  fps: 60
20:15:08:  width: 1920, height: 1080
20:15:08:  preset: veryfast
20:15:08:  profile: high
20:15:08:  keyint: 250
20:15:08:  CBR: yes
20:15:08:  CFR: yes
20:15:08:  max bitrate: 30000
20:15:08:  buffer size: 30000
20:15:08: ------------------------------------------
20:15:08: SharedTexCapture hooked
20:15:09: Audio timestamp for device 'Microphone (USB Audio Device)' was behind target timestamp by 559466412
20:15:12: FlushBufferedVideo: Flushing 27 packets over 434 ms
20:15:12: Total frames encoded: 200, total frames duplicated: 10 (5.00%)
20:15:12: Total frames rendered: 221, number of late frames: 2 (0.90%) (it's okay for some frames to be late)
20:15:12: 
20:15:12: Profiler time results:
20:15:12: 
20:15:12: ==============================================================
20:15:12: video thread frame - [100%] [avg time: 1.109 ms] [children: 13.8%] [unaccounted: 86.2%]
20:15:12: | scene->Preprocess - [0.0902%] [avg time: 0.001 ms]
20:15:12: | GPU download and conversion - [13.7%] [avg time: 0.152 ms] [children: 13.4%] [unaccounted: 0.271%]
20:15:12: | | flush - [10.5%] [avg time: 0.116 ms]
20:15:12: | | CopyResource - [2.07%] [avg time: 0.023 ms]
20:15:12: | | conversion to 4:2:0 - [0.902%] [avg time: 0.01 ms]
20:15:12: Convert444Threads - [100%] [avg time: 0.935 ms] [children: 99.4%] [unaccounted: 0.642%]
20:15:12: | Convert444toNV12 - [99.4%] [avg time: 0.929 ms]
20:15:12: encoder thread frame - [100%] [avg time: 3.896 ms] [children: 0.0513%] [unaccounted: 99.9%]
20:15:12: | sending stuff out - [0.0513%] [avg time: 0.002 ms]
20:15:12: ==============================================================
20:15:12: 
20:15:12: 
20:15:12: Profiler CPU results:
20:15:12: 
20:15:12: ==============================================================
20:15:12: video thread frame - [cpu time: avg 0.353 ms, total 78.125 ms] [avg calls per frame: 1]
20:15:12: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:15:12: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:15:12: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:15:12: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:15:12: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:15:12: Convert444Threads - [cpu time: avg 0.583 ms, total 203.125 ms] [avg calls per frame: 2]
20:15:12: | Convert444toNV12 - [cpu time: avg 0.583 ms, total 203.125 ms] [avg calls per frame: 2]
20:15:12: encoder thread frame - [cpu time: avg 1.986 ms, total 343.75 ms] [avg calls per frame: 1]
20:15:12: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:15:12: ==============================================================
20:15:12: 
20:15:12: =====Stream End: 2016-11-19, 20:15:12=================================================
20:15:14: =====Stream Start: 2016-11-19, 20:15:14===============================================
20:15:14:  Multithreaded optimizations: On
20:15:14:  Base resolution: 1920x1080
20:15:14:  Output resolution: 1920x1080
20:15:14: ------------------------------------------
20:15:14: Loading up D3D10 on NVIDIA GeForce GTX 750 Ti (Adapter 1)...
20:15:14: ------------------------------------------
20:15:14: Audio Format: 48000 Hz
20:15:14: ------------------------------------------
20:15:14: Audio Channels: 2 Ch
20:15:14: Playback device {0.0.0.00000000}.{a8dd67f0-ff7c-45db-9828-b7d35605ebbe}
20:15:14: ------------------------------------------
20:15:14: Using desktop audio input: VX2270 SERIES-C (NVIDIA High Definition Audio)
20:15:14: Global Audio time adjust: 0
20:15:14: ------------------------------------------
20:15:14: Using auxilary audio input: Microphone (USB Audio Device)
20:15:14: Mic time offset: 0
20:15:14: ------------------------------------------
20:15:14: Audio Encoding: AAC
20:15:14:  bitrate: 320
20:15:14: Using graphics capture
20:15:14: Trying to hook process: csgo.exe
20:15:14: Scene buffering time set to 700
20:15:14: ------------------------------------------
20:15:14: Video Encoding: x264
20:15:14:  fps: 60
20:15:14:  width: 1920, height: 1080
20:15:14:  preset: veryfast
20:15:14:  profile: high
20:15:14:  keyint: 250
20:15:14:  CBR: yes
20:15:14:  CFR: yes
20:15:14:  max bitrate: 30000
20:15:14:  buffer size: 30000
20:15:14: ------------------------------------------
20:15:14: SharedTexCapture hooked
20:29:56: FlushBufferedVideo: Flushing 28 packets over 450 ms
20:29:57: Total frames encoded: 52912, total frames duplicated: 47900 (90.53%)
20:29:57: Number of frames skipped due to encoder lag: 47567 (89.90%)
20:29:57: Total frames rendered: 5259, number of late frames: 170 (3.23%) (it's okay for some frames to be late)
20:29:57: 
20:29:57: Profiler time results:
20:29:57: 
20:29:57: ==============================================================
20:29:57: video thread frame - [100%] [avg time: 1.926 ms] [children: 70.4%] [unaccounted: 29.6%]
20:29:57: | scene->Preprocess - [0.0519%] [avg time: 0.001 ms]
20:29:57: | GPU download and conversion - [70.3%] [avg time: 1.354 ms] [children: 13.9%] [unaccounted: 56.4%]
20:29:57: | | flush - [12.8%] [avg time: 0.246 ms]
20:29:57: | | CopyResource - [0.987%] [avg time: 0.019 ms]
20:29:57: | | conversion to 4:2:0 - [0.156%] [avg time: 0.003 ms]
20:29:57: Convert444Threads - [100%] [avg time: 0.856 ms] [children: 99.4%] [unaccounted: 0.584%]
20:29:57: | Convert444toNV12 - [99.4%] [avg time: 0.851 ms]
20:29:57: encoder thread frame - [100%] [avg time: 15.655 ms] [children: 0.447%] [unaccounted: 99.6%]
20:29:57: | sending stuff out - [0.447%] [avg time: 0.07 ms]
20:29:57: ==============================================================
20:29:57: 
20:29:57: 
20:29:57: Profiler CPU results:
20:29:57: 
20:29:57: ==============================================================
20:29:57: video thread frame - [cpu time: avg 0.472 ms, total 2484.38 ms] [avg calls per frame: 1]
20:29:57: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:29:57: | GPU download and conversion - [cpu time: avg 0.133 ms, total 703.125 ms] [avg calls per frame: 1]
20:29:57: | | flush - [cpu time: avg 0.103 ms, total 546.875 ms] [avg calls per frame: 1]
20:29:57: | | CopyResource - [cpu time: avg 0.002 ms, total 15.625 ms] [avg calls per frame: 1]
20:29:57: | | conversion to 4:2:0 - [cpu time: avg 0.011 ms, total 62.5 ms] [avg calls per frame: 1]
20:29:57: Convert444Threads - [cpu time: avg 0.722 ms, total 7531.25 ms] [avg calls per frame: 2]
20:29:57: | Convert444toNV12 - [cpu time: avg 0.718 ms, total 7484.38 ms] [avg calls per frame: 2]
20:29:57: encoder thread frame - [cpu time: avg 1.972 ms, total 104328 ms] [avg calls per frame: 1]
20:29:57: | sending stuff out - [cpu time: avg 0.057 ms, total 3015.63 ms] [avg calls per frame: 1]
20:29:57: ==============================================================
20:29:57: 
20:29:57: =====Stream End: 2016-11-19, 20:29:57=================================================
20:51:16: CLR host plugin instance deleted; removing dynamically loaded localization strings
20:51:17: Terminating 0x759c

Last game capture log:
2016-11-19, 20:15:08: we're booting up: 
20:15:08: CaptureThread: attached to process csgo.exe
20:15:08: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
20:15:08: D3D9 Present
20:15:08: D3D9EndScene called
20:15:08: D3DPRESENT_PARAMETERS {
20:15:08:  BackBufferWidth: 1920
20:15:08:  BackBufferHeight: 1080
20:15:08:  BackBufferFormat: D3DFMT_A8R8G8B8
20:15:08:  BackBufferCount: 1
20:15:08:  MultiSampleType: D3DMULTISAMPLE_8_SAMPLES
20:15:08:  MultiSampleQuality: 0
20:15:08:  SwapEffect: D3DSWAPEFFECT_DISCARD
20:15:08:  hDeviceWindow: 459396
20:15:08:  Windowed: true
20:15:08:  EnableAutoDepthStencil: true
20:15:08:  AutoDepthStencilFormat: D3DFMT_D24S8
20:15:08:  Flags: None
20:15:08:  FullScreen_RefreshRateInHz: 0
20:15:08:  PresentationInterval: 2147483648
20:15:08: };
20:15:08: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
20:15:08: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
20:15:08: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
20:15:08: successfully set up d3d9 hooks
20:15:08: D3D9Present called
20:15:08: DoD3D9GPUHook: using offset workaround
20:15:08: DoD3D9GPUHook: success
20:15:08: WARNING: Another hook is already present while trying to hook dxgi.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
20:15:08: WARNING: Another hook is already present while trying to hook dxgi.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
20:15:08: DXGI Present
20:15:08: D3DSURFACE_DESC {
20:15:08:  Format: D3DFMT_A8R8G8B8
20:15:08:  Type: D3DRTYPE_SURFACE
20:15:08:  Usage: D3DUSAGE_RENDERTARGET 
20:15:08:  Pool: D3DPOOL_DEFAULT
20:15:08:  MultiSampleType: D3DMULTISAMPLE_8_SAMPLES
20:15:08:  MultiSampleQuality: 0
20:15:08:  Width: 1920
20:15:08:  Height: 1080
20:15:08: };
20:15:08: successfully capturing d3d9 frames via GPU
20:15:08: WARNING: Another hook is already present while trying to hook opengl32.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
20:15:08: GL Present
20:15:08: DirectDraw capture: Windows 8 not supported yet
20:15:08: (half life scientist) everything..  seems to be in order
20:15:12: ---------------------- Cleared D3D9 Capture ----------------------
20:15:12: D3D9EndScene called
20:15:12: D3D9Present called
20:15:12: DirectDraw capture: Windows 8 not supported yet
20:15:14: received restart event, capturing
20:15:14: DoD3D9GPUHook: using offset workaround
20:15:14: DoD3D9GPUHook: success
20:15:14: D3DSURFACE_DESC {
20:15:14:  Format: D3DFMT_A8R8G8B8
20:15:14:  Type: D3DRTYPE_SURFACE
20:15:14:  Usage: D3DUSAGE_RENDERTARGET 
20:15:14:  Pool: D3DPOOL_DEFAULT
20:15:14:  MultiSampleType: D3DMULTISAMPLE_8_SAMPLES
20:15:14:  MultiSampleQuality: 0
20:15:14:  Width: 1920
20:15:14:  Height: 1080
20:15:14: };
20:15:14: successfully capturing d3d9 frames via GPU
20:29:57: ---------------------- Cleared D3D9 Capture ----------------------
20:29:57: D3D9EndScene called
20:29:57: D3D9Present called
20:29:58: DirectDraw capture: Windows 8 not supported yet
 

Sapiens

Forum Moderator
Please update to OBS Studio. OBS Classic is no longer maintained. If the problem continues, post a log from Studio.
 
Top