After recording and viewing my videos from obs I notice there is a one second and 17 milliseconds delay. After syncing the audio and video the audio runs shorter than the video if that clarifies anything. I have changed my bitrate from 3000 to 2000 and seen that the end result was still the same delay. I have also tried forcing the desktop audio to use video time stamps as a base for audio time and set the global audio sync offset to 1170 milliseconds. Is there any other options to try and fix this delay? Would a custom buffer size in the encoding part of obs help? I am trying to obtain a 720p 30 fps video without and lag or delay. I have a small amount of lag but the delay is the concern at the moment.
Code:
22:17:52: CLR host plugin strings not found, dynamically loading 4 strings
22:17:52: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
22:17:52: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
22:17:52: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
22:17:52: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
22:17:52: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
22:17:52: CLRHost::LoadPlugins() attempting to load the plugin assembly CLRBrowserSourcePlugin
22:17:52: CLRHost:: Could not find/load browser settings at location C:\Users\larry2\AppData\Roaming\OBS\pluginData\browser.json
22:17:53: CLRHost:: Exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\larry2\AppData\Roaming\OBS\pluginData\browser.json'.
22:17:53: File name: 'C:\Users\larry2\AppData\Roaming\OBS\pluginData\browser.json'
22:17:53: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
22:17:53: 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)
22:17:53: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
22:17:53: at CLRBrowserSourcePlugin.Shared.BrowserSettings.Reload()
22:17:53: CLRHost::LoadPlugins() successfully added CLR plugin [Type: CLRBrowserSourcePlugin.CLRBrowserSourcePlugin, Name: CLR Browser Source Plugin]
22:17:53: Server Ping plugin strings not found, dynamically loading 24 strings
22:18:11: Failed loading CUDA dll
22:20:38: Open Broadcaster Software v0.658b - 32bit (´・ω・`)
22:20:38: -------------------------------
22:20:38: CPU Name: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
22:20:38: CPU Speed: 2295MHz
22:20:38: Physical Memory: 4095MB Total, 2130MB Free
22:20:38: stepping id: 1, model 69, family 6, type 0, extmodel 2, extfamily 0, HTT 1, logical cores 4, total cores 2
22:20:38: monitor 1: pos={0, 0}, size={1366, 768}
22:20:38: Windows Version: 10.0 Build 10586 (revision 0)
22:20:38: Aero is Enabled
22:20:38: -------------------------------
22:20:38: OBS Modules:
22:20:38: Base Address Module
22:20:38: 01310000 OBS.exe
22:20:38: 6D1F0000 OBSApi.dll
22:20:38: 6CFA0000 CLRHostPlugin.dll
22:20:38: 6AF20000 DShowPlugin.dll
22:20:38: 6AEF0000 GraphicsCapture.dll
22:20:38: 6AEC0000 NoiseGate.dll
22:20:38: 6AEA0000 PSVPlugin.dll
22:20:38: 6AE80000 scenesw.dll
22:20:38: 6AE60000 ServerPingPlugin.dll
22:20:38: ------------------------------------------
22:20:38: Adapter 1
22:20:38: Video Adapter: Intel(R) HD Graphics Family
22:20:38: Video Adapter Dedicated Video Memory: 117964800
22:20:38: Video Adapter Shared System Memory: 3072831488
22:20:38: Video Adapter Output 1: pos={0, 0}, size={1366, 768}, attached=true
22:20:38: =====Stream Start: 2016-07-30, 22:20:38===============================================
22:20:38: Multithreaded optimizations: On
22:20:38: Base resolution: 1280x720
22:20:38: Output resolution: 1280x720
22:20:38: ------------------------------------------
22:20:38: Loading up D3D10 on Intel(R) HD Graphics Family (Adapter 1)...
22:20:39: ------------------------------------------
22:20:39: Audio Format: 48000 Hz
22:20:39: ------------------------------------------
22:20:39: Audio Channels: 2 Ch
22:20:39: Playback device {0.0.0.00000000}.{2f92efbf-b9d7-439d-a47a-cb68e63ff5b0}
22:20:39: ------------------------------------------
22:20:39: Using desktop audio input: Speakers (Realtek High Definition Audio)
22:20:39: Global Audio time adjust: 1400
22:20:39: ------------------------------------------
22:20:39: Audio Encoding: AAC
22:20:39: bitrate: 128
22:20:39: Using graphics capture
22:20:39: Trying to hook process: javaw.exe
22:20:39: Scene buffering time set to 2000
22:20:39: ------------------------------------------
22:20:39: Video Encoding: x264
22:20:39: fps: 30
22:20:39: width: 1280, height: 720
22:20:39: preset: veryfast
22:20:39: profile: high
22:20:39: keyint: 250
22:20:39: CBR: yes
22:20:39: CFR: yes
22:20:39: max bitrate: 2000
22:20:39: buffer size: 2000
22:20:39: ------------------------------------------
22:20:39: using memory capture
22:21:39: Total frames encoded: 1755, total frames duplicated: 40 (2.28%)
22:21:39: Number of frames skipped due to encoder lag: 24 (1.37%)
22:21:39: Total frames rendered: 1791, number of late frames: 3 (0.17%) (it's okay for some frames to be late)
22:21:39:
22:21:39: Profiler time results:
22:21:39:
22:21:39: ==============================================================
22:21:39: video thread frame - [100%] [avg time: 2.816 ms] [children: 6.57%] [unaccounted: 93.4%]
22:21:39: | scene->Preprocess - [0.107%] [avg time: 0.003 ms]
22:21:39: | GPU download and conversion - [6.46%] [avg time: 0.182 ms] [children: 5.61%] [unaccounted: 0.852%]
22:21:39: | | flush - [4.37%] [avg time: 0.123 ms]
22:21:39: | | CopyResource - [1.1%] [avg time: 0.031 ms]
22:21:39: | | conversion to 4:2:0 - [0.142%] [avg time: 0.004 ms]
22:21:39: Convert444Thread - [100%] [avg time: 1.756 ms] [children: 98.7%] [unaccounted: 1.25%]
22:21:39: | Convert444toNV12 - [98.7%] [avg time: 1.734 ms]
22:21:39: encoder thread frame - [100%] [avg time: 3.252 ms] [children: 1.51%] [unaccounted: 98.5%]
22:21:39: | sending stuff out - [1.51%] [avg time: 0.049 ms]
22:21:39: ==============================================================
22:21:39:
22:21:39:
22:21:39: Profiler CPU results:
22:21:39:
22:21:39: ==============================================================
22:21:39: video thread frame - [cpu time: avg 2.495 ms, total 4468.75 ms] [avg calls per frame: 1]
22:21:39: | scene->Preprocess - [cpu time: avg 0.008 ms, total 15.625 ms] [avg calls per frame: 1]
22:21:39: | GPU download and conversion - [cpu time: avg 0.139 ms, total 250 ms] [avg calls per frame: 1]
22:21:39: | | flush - [cpu time: avg 0.113 ms, total 203.125 ms] [avg calls per frame: 1]
22:21:39: | | CopyResource - [cpu time: avg 0.027 ms, total 46.875 ms] [avg calls per frame: 1]
22:21:39: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:21:39: Convert444Thread - [cpu time: avg 1.588 ms, total 2750 ms] [avg calls per frame: 1]
22:21:39: | Convert444toNV12 - [cpu time: avg 1.57 ms, total 2718.75 ms] [avg calls per frame: 1]
22:21:39: encoder thread frame - [cpu time: avg 1.513 ms, total 2656.25 ms] [avg calls per frame: 1]
22:21:39: | sending stuff out - [cpu time: avg 0.053 ms, total 93.75 ms] [avg calls per frame: 1]
22:21:39: ==============================================================
22:21:39:
22:21:39: =====Stream End: 2016-07-30, 22:21:39=================================================
22:22:11: CLR host plugin instance deleted; removing dynamically loaded localization strings
22:22:11: Server Ping plugin instance deleted; removing dynamically loaded localization strings
22:22:11: Terminating 0x19b4
Last game capture log:
2016-07-30, 22:20:39: we're booting up:
22:20:39: CaptureThread: attached to process javaw.exe
22:20:39: GL Present
22:20:39: DirectDraw capture: Windows 8 not supported yet
22:20:39: (half life scientist) everything.. seems to be in order
22:20:39: SwapBuffers(4127266287) Called
22:20:39: NV Capture available
22:20:39: FBO available
22:20:39: setting up gl data
22:20:39: DoGLGPUHook: wglDXOpenDeviceNV failed
22:20:39: ---------------------- Cleared OpenGL Capture ----------------------
22:20:39: DoGLCPUHook: success
22:20:39: wglSwapBuffers(4127266287) Called
22:20:39: setting up gl data
22:20:39: SwapBuffers(4127266287) Called
22:20:39: successfully capturing gl frames via RAM
22:20:43: DirectDraw capture: Windows 8 not supported yet
22:21:39: stop requested, terminating gl capture
22:21:39: ---------------------- Cleared OpenGL Capture ----------------------
22:21:39: wglSwapBuffers(4127266287) Called
22:21:39: setting up gl data
22:21:39: SwapBuffers(4127266287) Called
22:21:43: DirectDraw capture: Windows 8 not supported yet