Zoom stream via NDI plugin - Big lags/stuttering (used to work fine)

aggregatibacter

New Member
Dear forum members -

I am using OBS for live streaming into Zoom (using the NDI virtual input tool) - just a video feed in front of power point or a drawing on a fairly recent PC.

This worked fine for quite some time, until (out of a sudden, w/o changing anything) I encountered frozen frames and massive lags, often several seconds.

I tried to run OBS as root, which seemed to mitigate the issue, but not for long.

I have attached a log below.

Maybe anyone has an idea what I am doing wrong? Or is the way OBS -> NDI -> Zoom no longer the recommended path?

Many thanks for your help in advance!

Aggregatibacter

09:03:39.916: CoInitializeEx succeeded: 0x00000001
09:03:39.916: CPU Name: AMD Ryzen 9 3900X 12-Core Processor
09:03:39.916: CPU Speed: 3800MHz
09:03:39.916: Physical Cores: 12, Logical Cores: 24
09:03:39.916: Physical Memory: 32717MB Total, 24212MB Free
09:03:39.916: Windows Version: 10.0 Build 18362 (release: 1903; revision: 900; 64-bit)
09:03:39.916: Running as administrator: true
09:03:39.916: Aero is Enabled (Aero is always on for windows 8 and above)
09:03:39.917: Windows 10 Gaming Features:
09:03:39.917: Game DVR: On
09:03:39.917: Sec. Software Status:
09:03:39.918: Windows Defender Antivirus: enabled (AV)
09:03:39.918: Windows-Firewall: enabled (FW)
09:03:39.918: Current Date/Time: 2020-06-22, 09:03:39
09:03:39.918: Browser Hardware Acceleration: true
09:03:39.918: Portable mode: false
09:03:40.167: OBS 25.0.8 (64-bit, windows)
09:03:40.167: ---------------------------------
09:03:40.168: ---------------------------------
09:03:40.168: audio settings reset:
09:03:40.168: samples per sec: 44100
09:03:40.168: speakers: 2
09:03:40.169: ---------------------------------
09:03:40.169: Initializing D3D11...
09:03:40.169: Available Video Adapters:
09:03:40.171: Adapter 0: AMD Radeon RX 5700 XT 50th Anniversary
09:03:40.171: Dedicated VRAM: 4252430336
09:03:40.171: Shared VRAM: 4268617728
09:03:40.171: PCI ID: 1002:731f
09:03:40.171: Driver Version: 26.20.15019.1003
09:03:40.171: output 0: pos={0, 0}, size={3840, 2160}, attached=true, refresh=29, name=U32J59x
09:03:40.172: Loading up D3D11 on adapter AMD Radeon RX 5700 XT 50th Anniversary (0)
09:03:40.196: D3D11 loaded successfully, feature level used: b000
09:03:40.196: DXGI increase maximum frame latency success
09:03:40.196: D3D11 GPU priority setup success
09:03:40.536: ---------------------------------
09:03:40.536: video settings reset:
09:03:40.536: base resolution: 1920x1080
09:03:40.536: output resolution: 1920x1080
09:03:40.536: downscale filter: Bicubic
09:03:40.536: fps: 30/1
09:03:40.536: format: NV12
09:03:40.536: YUV mode: 601/Partial
09:03:40.536: NV12 texture support enabled
09:03:40.540: Audio monitoring device:
09:03:40.540: name: Standard
09:03:40.540: id: default
09:03:40.540: ---------------------------------
09:03:40.543: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
09:03:40.543: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
09:03:40.718: [AMF] Version 2.7.0 loaded (Compiled: 1.4.14.0, Runtime: 1.4.16.0, Library: 1;4;16;0;19.50.19.01;202001301117;CL#2064494).
09:03:40.790: [AMF] [Capability Manager] Testing Direct3D 11 Adapter 'AMD Radeon RX 5700 XT 50th Anniversary (VEN_1002/DEV_731f/SUB_b361002/REV_00c0)':
09:03:40.790: H264/AVC: Supported
09:03:40.790: H265/HEVC: Supported
09:03:40.790:
09:03:40.802: [obs-browser]: Version 2.8.6
09:03:40.806: Failed to load 'de-DE' text for module: 'obs-ndi.dll'
09:03:40.806: [obs-ndi] hello ! (version 4.7.1)
09:03:40.806: [obs-ndi] Trying 'C:\Program Files\NewTek\NDI 4 Runtime\v4'
09:03:40.806: [obs-ndi] Found NDI library at 'C:/Program Files/NewTek/NDI 4 Runtime/v4/Processing.NDI.Lib.x64.dll'
09:03:40.808: [obs-ndi] NDI runtime loaded successfully
09:03:40.810: [obs-ndi] NDI library initialized successfully (NDI SDK WIN64 06:20:19 Apr 1 2020 4.5.1.0)
09:03:40.928: Failed to load 'en-US' text for module: 'StreamDeckPlugin.dll'
09:03:40.932: Couldn't find VLC installation, VLC video source disabled
09:03:40.938: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
09:03:40.939: No blackmagic support
09:03:40.942: ---------------------------------
09:03:40.942: Loaded Modules:
09:03:40.942: win-wasapi.dll
09:03:40.942: win-mf.dll
09:03:40.942: win-dshow.dll
09:03:40.942: win-decklink.dll
09:03:40.942: win-capture.dll
09:03:40.942: vlc-video.dll
09:03:40.942: text-freetype2.dll
09:03:40.942: StreamDeckPlugin.dll
09:03:40.942: rtmp-services.dll
09:03:40.942: obs-x264.dll
09:03:40.942: obs-vst.dll
09:03:40.942: obs-transitions.dll
09:03:40.942: obs-text.dll
09:03:40.942: obs-qsv11.dll
09:03:40.942: obs-outputs.dll
09:03:40.942: obs-ndi.dll
09:03:40.942: obs-filters.dll
09:03:40.942: obs-ffmpeg.dll
09:03:40.942: obs-browser.dll
09:03:40.942: image-source.dll
09:03:40.942: frontend-tools.dll
09:03:40.942: enc-amf.dll
09:03:40.942: decklink-ouput-ui.dll
09:03:40.942: coreaudio-encoder.dll
09:03:40.942: ---------------------------------
09:03:40.942: ==== Startup complete ===============================================
09:03:40.942: Service '' not found
09:03:40.944: All scene data cleared
09:03:40.945: ------------------------------------------------
09:03:40.962: WASAPI: Device 'Speakers (Realtek(R) Audio)' [48000 Hz] initialized
09:03:40.962: [Loaded global audio device]: 'Desktop‐Audio'
09:03:40.991: WASAPI: Device 'Microphone (BRIO 4K Stream Edition)' [48000 Hz] initialized
09:03:40.991: [Loaded global audio device]: 'Mikrofon/AUX‐Audio'
09:03:40.992: [window-capture: 'Paint'] update settings:
09:03:40.992: executable: mspaint.exe
09:03:41.005: [window-capture: 'Powerpoint'] update settings:
09:03:41.005: executable: POWERPNT.EXE
09:03:41.037: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mikrofon/AUX‐Audio)
09:03:41.037:
09:03:41.047: ---------------------------------
09:03:41.047: [DShow Device: 'Cam'] settings updated:
09:03:41.047: video device: BRIO 4K Stream Edition
09:03:41.047: video path: \\?\usb#vid_046d&pid_086b&mi_00#7&12b11600&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
09:03:41.047: resolution: 1280x720
09:03:41.047: flip: 0
09:03:41.047: fps: 30.00 (interval: 333333)
09:03:41.047: format: NV12
09:03:41.120: warning: deprecated pixel format used, make sure you did set range correctly
09:03:41.261: Switched to scene 'Intro'
09:03:41.261: ------------------------------------------------
09:03:41.261: Loaded scenes:
09:03:41.261: - scene 'Intro':
09:03:41.261: - source: 'Pic' (image_source)
09:03:41.261: - source: 'Cam' (dshow_input)
09:03:41.261: - filter: 'Chroma Key' (chroma_key_filter)
09:03:41.261: - scene 'Slides':
09:03:41.261: - source: 'Powerpoint' (window_capture)
09:03:41.261: - source: 'Cam' (dshow_input)
09:03:41.261: - filter: 'Chroma Key' (chroma_key_filter)
09:03:41.261: - scene 'Whiteboard':
09:03:41.261: - source: 'Paint' (window_capture)
09:03:41.261: - source: 'Cam' (dshow_input)
09:03:41.261: - filter: 'Chroma Key' (chroma_key_filter)
09:03:41.261: ------------------------------------------------
09:03:41.353: [obs-ndi] starting NDI main output with name 'OBS'
09:03:41.358: [obs-ndi] 'OBS': ndi output started
11:55:44.305: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds (source: Desktop‐Audio)
11:55:44.305:
11:56:52.071: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds (source: Desktop‐Audio)
11:56:52.071:
14:12:34.211: ==== Shutting down ==================================================
14:12:34.219: [obs-ndi] stopping NDI main output
14:12:34.219: Output 'NDI Main Output': stopping
14:12:34.219: Output 'NDI Main Output': Total frames output: 555985
14:12:34.219: Output 'NDI Main Output': Total drawn frames: 550484 (555986 attempted)
14:12:34.219: Output 'NDI Main Output': Number of lagged frames due to rendering lag/stalls: 5502 (1.0%)
14:12:34.219: Video stopped, number of skipped frames due to encoding lag: 101/555985 (0.0%)
14:12:34.231: Switched to scene '(null)'
14:12:34.591: WASAPI: Device 'Speakers (Realtek(R) Audio)' Terminated
14:12:34.595: WASAPI: Device 'Microphone (BRIO 4K Stream Edition)' Terminated
14:12:34.606: All scene data cleared
14:12:34.606: ------------------------------------------------
14:12:34.729: Freeing OBS context data
14:12:34.751: [obs-ndi] goodbye !
14:12:34.753: [Scripting] Total detached callbacks: 0
14:12:34.830: == Profiler Results =============================
14:12:34.830: run_program_init: 1536.22 ms
14:12:34.830: ┣OBSApp::AppInit: 10.095 ms
14:12:34.830: ┃ ┗OBSApp::InitLocale: 1.491 ms
14:12:34.830: ┗OBSApp::OBSInit: 1441.35 ms
14:12:34.830: ┣obs_startup: 2.093 ms
14:12:34.830: ┗OBSBasic::OBSInit: 1190.17 ms
14:12:34.830: ┣OBSBasic::InitBasicConfig: 0.362 ms
14:12:34.830: ┣OBSBasic::ResetAudio: 0.125 ms
14:12:34.830: ┣OBSBasic::ResetVideo: 372.155 ms
14:12:34.830: ┣OBSBasic::InitOBSCallbacks: 0.005 ms
14:12:34.830: ┣OBSBasic::InitHotkeys: 0.04 ms
14:12:34.830: ┣obs_load_all_modules: 401.305 ms
14:12:34.830: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.42 ms
14:12:34.830: ┃ ┣obs_init_module(decklink-ouput-ui.dll): 0.43 ms
14:12:34.830: ┃ ┣obs_init_module(enc-amf.dll): 245.862 ms
14:12:34.830: ┃ ┣obs_init_module(frontend-tools.dll): 2.663 ms
14:12:34.830: ┃ ┣obs_init_module(image-source.dll): 0.004 ms
14:12:34.830: ┃ ┣obs_init_module(obs-browser.dll): 0.264 ms
14:12:34.830: ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.291 ms
14:12:34.830: ┃ ┃ ┗nvenc_check: 0.279 ms
14:12:34.830: ┃ ┣obs_init_module(obs-filters.dll): 0.024 ms
14:12:34.830: ┃ ┣obs_init_module(obs-ndi.dll): 9.395 ms
14:12:34.830: ┃ ┣obs_init_module(obs-outputs.dll): 0.004 ms
14:12:34.830: ┃ ┣obs_init_module(obs-qsv11.dll): 105.848 ms
14:12:34.830: ┃ ┣obs_init_module(obs-text.dll): 0.197 ms
14:12:34.830: ┃ ┣obs_init_module(obs-transitions.dll): 0.007 ms
14:12:34.830: ┃ ┣obs_init_module(obs-vst.dll): 0.001 ms
14:12:34.830: ┃ ┣obs_init_module(obs-x264.dll): 0.002 ms
14:12:34.830: ┃ ┣obs_init_module(rtmp-services.dll): 0.322 ms
14:12:34.830: ┃ ┣obs_init_module(StreamDeckPlugin.dll): 2.163 ms
14:12:34.830: ┃ ┣obs_init_module(text-freetype2.dll): 0.042 ms
14:12:34.830: ┃ ┣obs_init_module(vlc-video.dll): 0.024 ms
14:12:34.830: ┃ ┣obs_init_module(win-capture.dll): 2.21 ms
14:12:34.830: ┃ ┣obs_init_module(win-decklink.dll): 2.992 ms
14:12:34.830: ┃ ┣obs_init_module(win-dshow.dll): 0.869 ms
14:12:34.830: ┃ ┣obs_init_module(win-mf.dll): 0 ms
14:12:34.830: ┃ ┣obs_init_module(win-wasapi.dll): 0.005 ms
14:12:34.830: ┃ ┗reset_win32_symbol_paths: 0.079 ms
14:12:34.830: ┣OBSBasic::ResetOutputs: 0.189 ms
14:12:34.830: ┣OBSBasic::CreateHotkeys: 0.028 ms
14:12:34.830: ┣OBSBasic::InitService: 1.537 ms
14:12:34.830: ┣OBSBasic::InitPrimitives: 0.217 ms
14:12:34.830: ┗OBSBasic::Load: 320.406 ms
14:12:34.830: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.004 ms, max=9.816 ms, 99th percentile=0.042 ms, 100% below 25 ms
14:12:34.830: audio_thread(Audio): min=0 ms, median=0.031 ms, max=1.474 ms, 99th percentile=0.166 ms
14:12:34.830: obs_graphics_thread(33.3333 ms): min=0.037 ms, median=0.965 ms, max=3968.07 ms, 99th percentile=1.683 ms, 99.9355% below 33.333 ms
14:12:34.830: ┣tick_sources: min=0.001 ms, median=0.009 ms, max=3967.19 ms, 99th percentile=0.276 ms
14:12:34.830: ┣output_frame: min=0.033 ms, median=0.935 ms, max=31.684 ms, 99th percentile=1.488 ms
14:12:34.830: ┃ ┣gs_context(video->graphics): min=0.033 ms, median=0.578 ms, max=31.287 ms, 99th percentile=0.998 ms
14:12:34.830: ┃ ┃ ┣render_video: min=0.002 ms, median=0.513 ms, max=30.186 ms, 99th percentile=0.892 ms
14:12:34.830: ┃ ┃ ┃ ┣render_main_texture: min=0.001 ms, median=0.411 ms, max=5.076 ms, 99th percentile=0.751 ms
14:12:34.830: ┃ ┃ ┃ ┣render_convert_texture: min=0.004 ms, median=0.01 ms, max=0.157 ms, 99th percentile=0.016 ms
14:12:34.830: ┃ ┃ ┃ ┗stage_output_texture: min=0.002 ms, median=0.085 ms, max=29.99 ms, 99th percentile=0.161 ms
14:12:34.830: ┃ ┃ ┣gs_flush: min=0.013 ms, median=0.034 ms, max=30.489 ms, 99th percentile=0.055 ms
14:12:34.830: ┃ ┃ ┗download_frame: min=0 ms, median=0.027 ms, max=5.318 ms, 99th percentile=0.059 ms
14:12:34.830: ┃ ┗output_video_data: min=0 ms, median=0.335 ms, max=4.833 ms, 99th percentile=0.629 ms
14:12:34.830: ┗render_displays: min=0 ms, median=0.001 ms, max=55.31 ms, 99th percentile=0.364 ms
14:12:34.830: video_thread(video): min=2.489 ms, median=3.016 ms, max=1492.24 ms, 99th percentile=3.918 ms
14:12:34.830: =================================================
14:12:34.830: == Profiler Time Between Calls ==================
14:12:34.830: obs_hotkey_thread(25 ms): min=24.398 ms, median=25.023 ms, max=34.037 ms, 99.117% within ±2% of 25 ms (0.000405093% lower, 0.882563% higher)
14:12:34.830: obs_graphics_thread(33.3333 ms): min=2.587 ms, median=33.333 ms, max=3968.08 ms, 99.8679% within ±2% of 33.333 ms (0.0681179% lower, 0.06394% higher)
14:12:34.830: =================================================
14:12:34.896: Number of memory leaks: 0
 
Top