Unpredicatable behavior when chosing sources.

I have been posting each week on my progress (or lack of it) with this problem and no-one has replied so either I am not very good at explaining it, or I have flummoxed this community!

In summary:

  • I have a hall set up with three webcams and then a camera and laptop via USB/HDMI capture dongle, So five sources in total appearing as options of either “webcam” (x 3) or “USB 3 Capture device” (x 2)
  • I am using a Intel® NUC Kit NUC5i5RYH running Windows 10.
  • It only has 4 USB 3.0 ports on the machine, so initially I had all the webcams/USB adapters running into a RSHTECH powered USB 3 hub, plugged into one of the ports.
  • NB: When I connect this set up to a Mac Air running OBS it all works fine.
  • When I connect it to my windows machine, I somethings see some of the webcams, sometimes I don’t, if I relaunch OBS I sometimes see different cameras to the ones that I saw before. Basically, very flaky and unreliable. The most I have ever managed to see is 5 of the sources.
  • Last week I posted the log and when I looked at it (I am new to logs) I noticed the warning “DShow: Run failed (0x800705AA): Insufficient system resources exist to complete the requested service.” I googled this, which directed me back to this forum, and I saw this was a common problem and one way to fix it was to not use the hub. Alas 5 sources into 4 ports doesn’t go, but I have tried numerous combinations of different cameras plugged into different ports.
  • The net result is still the same as above; totally unpredictable.
  • I have posted the first part log below (it just repeatd thereafter) and attached the log. Is it a case that my computer is simply not up to the task, or is it something else that I can do?
  • Any help greatly appreciated.

16:54:23.571: CPU Name: Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz


16:54:23.571: CPU Speed: 1596MHz


16:54:23.572: Physical Cores: 2, Logical Cores: 4


16:54:23.572: Physical Memory: 16269MB Total, 13839MB Free


16:54:23.572: Windows Version: 10.0 Build 19043 (release: 2009; revision: 1288; 64-bit)


16:54:23.572: Running as administrator: false


16:54:23.572: Aero is Enabled (Aero is always on for windows 8 and above)


16:54:23.572: Windows 10 Gaming Features:


16:54:23.572: Game DVR: On


16:54:23.574: Sec. Software Status:


16:54:23.575: Microsoft Defender Antivirus: enabled (AV)


16:54:23.576: Windows Firewall: enabled (FW)


16:54:23.577: Current Date/Time: 2021-10-25, 16:54:23


16:54:23.577: Browser Hardware Acceleration: true


16:54:23.578: Portable mode: false


16:54:23.898: OBS 27.1.3 (64-bit, windows)


16:54:23.898: ---------------------------------


16:54:23.899: ---------------------------------


16:54:23.899: audio settings reset:


16:54:23.899: samples per sec: 48000


16:54:23.899: speakers: 2


16:54:23.902: ---------------------------------


16:54:23.902: Initializing D3D11...


16:54:23.902: Available Video Adapters:


16:54:23.904: Adapter 0: Intel(R) HD Graphics 6000


16:54:23.904: Dedicated VRAM: 134217728


16:54:23.904: Shared VRAM: 4234952704


16:54:23.904: PCI ID: 8086:1626


16:54:23.906: Driver Version: 20.19.15.4531


16:54:23.906: output 0: pos={0, 0}, size={1920, 1200}, attached=true, refresh=59, name=B24W-5 ECO


16:54:23.906: output 1: pos={1920, 0}, size={1024, 768}, attached=true, refresh=60, name=


16:54:23.909: Loading up D3D11 on adapter Intel(R) HD Graphics 6000 (0)


16:54:23.917: D3D11 loaded successfully, feature level used: b000


16:54:23.917: DXGI increase maximum frame latency success


16:54:24.547: ---------------------------------


16:54:24.547: video settings reset:


16:54:24.547: base resolution: 1920x1080


16:54:24.547: output resolution: 1920x1080


16:54:24.547: downscale filter: Bicubic


16:54:24.547: fps: 30/1


16:54:24.547: format: NV12


16:54:24.547: YUV mode: 709/Partial


16:54:24.547: NV12 texture support not available


16:54:24.549: Audio monitoring device:


16:54:24.549: name: Default


16:54:24.549: id: default


16:54:24.549: ---------------------------------


16:54:24.550: Skipping module '../../obs-plugins/64bit/chrome_elf.dll', not an OBS plugin


16:54:24.555: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded


16:54:24.556: Failed to load 'en-US' text for module: 'decklink-captions.dll'


16:54:24.557: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'


16:54:24.667: [AMF] Unable to load 'amfrt64.dll', error code 126.


16:54:24.670: [AMF] AMF Test failed due to one or more errors.


16:54:24.670: Failed to initialize module 'enc-amf.dll'


16:54:24.683: Skipping module '../../obs-plugins/64bit/libcef.dll', not an OBS plugin


16:54:24.691: Skipping module '../../obs-plugins/64bit/libEGL.dll', not an OBS plugin


16:54:24.692: Skipping module '../../obs-plugins/64bit/libGLESv2.dll', not an OBS plugin


16:54:24.699: [obs-browser]: Version 2.16.3


16:54:24.699: [obs-browser]: CEF Version 75.1.16+g16a67c4+chromium-75.0.3770.100


16:54:24.706: [noise suppress]: NVIDIA RTX denoiser disabled, redistributable not found


16:54:24.750: Couldn't find VLC installation, VLC video source disabled


16:54:24.762: A DeckLink iterator could not be created. The DeckLink drivers may not be installed


16:54:24.763: No blackmagic support


16:54:24.770: ---------------------------------


16:54:24.771: Loaded Modules:


16:54:24.771: win-wasapi.dll


16:54:24.771: win-mf.dll


16:54:24.771: win-dshow.dll


16:54:24.771: win-decklink.dll


16:54:24.771: win-capture.dll


16:54:24.771: vlc-video.dll


16:54:24.771: text-freetype2.dll


16:54:24.771: rtmp-services.dll


16:54:24.771: obs-x264.dll


16:54:24.771: obs-vst.dll


16:54:24.771: obs-transitions.dll


16:54:24.771: obs-text.dll


16:54:24.771: obs-qsv11.dll


16:54:24.771: obs-outputs.dll


16:54:24.771: obs-filters.dll


16:54:24.771: obs-ffmpeg.dll


16:54:24.771: obs-browser.dll


16:54:24.771: image-source.dll


16:54:24.771: frontend-tools.dll


16:54:24.771: enc-amf.dll


16:54:24.771: decklink-ouput-ui.dll


16:54:24.771: decklink-captions.dll


16:54:24.771: coreaudio-encoder.dll


16:54:24.771: ---------------------------------


16:54:24.771: ==== Startup complete ===============================================


16:54:24.788: All scene data cleared


16:54:24.788: ------------------------------------------------


16:54:24.929: WASAPI: Device 'Headset (4- Sennheiser USB headset)' [48000 Hz] initialized


16:54:24.929: [Loaded global audio device]: 'Desktop Audio'


16:54:24.985: WASAPI: Device 'Output from Mixer (2- USB Audio CODEC )' [48000 Hz] initialized


16:54:24.986: [Loaded global audio device]: 'Mixer Audio'


16:54:25.012: WASAPI: Device 'Headset (4- Sennheiser USB headset)' [48000 Hz] initialized


16:54:25.012: [Loaded global audio device]: 'Headset Mic'


16:54:25.016: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mixer Audio)


16:54:25.016:


16:54:25.040: warning: deprecated pixel format used, make sure you did set range correctly


16:54:25.119: [Media Source 'Welcome - Luyya']: settings:


16:54:25.119: input: C:/Users/User/Documents/Welcome to Event.mp4


16:54:25.119: input_format: (null)


16:54:25.119: speed: 100


16:54:25.119: is_looping: yes


16:54:25.119: is_linear_alpha: no


16:54:25.119: is_hw_decoding: no


16:54:25.119: is_clear_on_media_end: yes


16:54:25.119: restart_on_activate: no


16:54:25.119: close_when_inactive: no


16:54:25.136: Switched to scene 'Desk Cam'


16:54:25.136: ------------------------------------------------


16:54:25.136: Loaded scenes:


16:54:25.136: - scene 'Speaker':


16:54:25.136: - source: 'Rear Camera' (dshow_input)


16:54:25.136: - scene 'President':


16:54:25.136: - source: 'Rear Camera' (dshow_input)


16:54:25.136: - scene 'Rear Camera (Wide)':


16:54:25.136: - source: 'Rear Camera' (dshow_input)


16:54:25.136: - scene 'Lectern Cam':


16:54:25.136: - source: 'Lectern Camera' (dshow_input)


16:54:25.136: - scene 'Powerpoint & Speaker':


16:54:25.136: - source: 'Social Media Background' (image_source)


16:54:25.136: - source: 'Lectern Camera' (dshow_input)


16:54:25.136: - source: 'PowerPoint' (dshow_input)


16:54:25.136: - scene 'Audience':


16:54:25.136: - source: 'Front Camera' (dshow_input)


16:54:25.136: - scene 'Desk Cam':


16:54:25.136: - source: 'Desk Camera' (dshow_input)


16:54:25.136: - scene 'Welcome':


16:54:25.136: - source: 'Welcome - Luyya' (ffmpeg_source)


16:54:25.136: ------------------------------------------------


16:54:25.522: ---------------------------------


16:54:25.523: [DShow Device: 'Rear Camera'] settings updated:


16:54:25.523: video device: Webcam


16:54:25.523: video path: \\?\usb#vid_1d6c&pid_1278&mi_00#8&231a6235&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global


16:54:25.523: resolution: 1920x1080


16:54:25.523: flip: 0


16:54:25.523: fps: 30.00 (interval: 333333)


16:54:25.523: format: MJPEG


16:54:25.549: ---------------------------------


16:54:25.549: [DShow Device: 'Front Camera'] settings updated:


16:54:25.549: video device: Webcam


16:54:25.549: video path: \\?\usb#vid_1d6c&pid_1278&mi_00#8&372a1f05&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global


16:54:25.549: resolution: 1920x1080


16:54:25.549: flip: 0


16:54:25.549: fps: 30.00 (interval: 333333)


16:54:25.549: format: MJPEG


16:54:25.565: ---------------------------------


16:54:25.565: [DShow Device: 'PowerPoint'] settings updated:


16:54:25.565: video device: USB3. 0 capture


16:54:25.565: video path: \\?\usb#vid_534d&pid_2109&mi_00#7&3779c529&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global


16:54:25.565: resolution: 1920x1080


16:54:25.565: flip: 0


16:54:25.565: fps: 60.00 (interval: 166666)


16:54:25.565: format: MJPEG


16:54:25.596: ---------------------------------


16:54:25.596: [DShow Device: 'Desk Camera'] settings updated:


16:54:25.596: video device: Webcam


16:54:25.596: video path: \\?\usb#vid_1d6c&pid_1278&mi_00#7&283774f7&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global


16:54:25.596: resolution: 1920x1080


16:54:25.596: flip: 0


16:54:25.596: fps: 30.00 (interval: 333333)


16:54:25.596: format: MJPEG


16:54:25.603: DShow: Run failed (0x800705AA): Insufficient system resources exist to complete the requested service.


16:54:25.603:


16:54:25.673: warning: Found EOI before any SOF, ignoring


16:54:25.673: fatal: No JPEG data found in image


16:54:25.673: Error decoding video


16:54:25.721: warning: Found EOI before any SOF, ignoring


16:54:25.721: fatal: No JPEG data found in image


16:54:25.721: Error decoding video


16:54:25.752: warning: Found EOI before any SOF, ignoring


16:54:25.753: fatal: No JPEG data found in image


16:54:25.753: Error decoding video


16:54:25.784: warning: Found EOI before any SOF, ignoring


16:54:25.784: fatal: No JPEG data found in image


16:54:25.784: Error decoding video

Etc.
 

Attachments

  • 2021-10-25 16-54-23.txt
    501 KB · Views: 4

Lawrence_SoCal

Active Member
  • ...snip... Is it a case that my computer is simply not up to the task, or is it something else that I can do?
16:54:23.571: CPU Name: Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz [2c/4t]

the U in the CPU model indicates ultra-low power for battery life, whereas you want to do the opposite with the computationally demanding task of real-time video encoding. Can a PC do what you are asking? Yes.
BUT - that is 7 generation old [Q1 2015] low-end laptop CPU - most likely it isn't up to what you are tasking it with. You could lower camera resolutions, etc to fit within performance envelope of that system.. but whether that will meet your needs is another question

Look up USB Root Hub overload in this forum for suggestions on work-arounds. *If* the NUC didn't go cheap with a single USB Root Hub (I'll let you research this), then a combination of using the hub and direct connect would be your best bet. Just curious, I'm assuming you connected USB Hub to Mac Air on a USB3 port, right? Which speed USB3? and what speed is the USB Hub capable of? I just checked and that 2015 NUC has 4 external USB3.0 ports, so definitely use them. I'd test with keyboard and mouse on the external USB hub
And make sure you have optimized the OS

I recommend monitoring hardware resource (CPU, GPU, RAM, etc) utilization [for ex. using Task manager’s Performance tab and/or Resource Monitor] to see if your system is being maxed out with your settings (which I'm sure it is)
 
Thanks for taking the time to reply Lawrence. Thanks for confirming what I thought. To answer your questions:

- This is hub https://www.rshtech.com/products/7-ports-aluminum-usb-30-data-hub-with-12v-2a-power-adapterrsh-a37s I'm afraid I have no idea what it is capable of. I did use USB 3 ports, on my mac, but again, not sure which speed. This is what the system report says:

SB 3.0 Bus:

Host Controller Driver: AppleUSBXHCIWPT
PCI Device ID: 0x9cb1
PCI Revision ID: 0x0003
PCI Vendor ID: 0x8086


BRCM20702 Hub:

Product ID: 0x4500
Vendor ID: 0x0a5c (Broadcom Corp.)
Version: 1.00
Manufacturer: Apple Inc.
Location ID: 0x14300000

Not sure if that helps!

3 Questions from me now:

1 - "And make sure you have optimized the OS" - How do I do this and what do I set it to?
2 - I have noticed people in other post say turn "Windows 10 Gaming Features: Game DVR: On" to "off". Would you recommned that?
3 - When I use Zoom, all cameras appear no problem, but I have no idea if Zoom requires a lot less processing power than OBS.

I will go and look up USB Root Hub overload now. Thanks again.
 

Lawrence_SoCal

Active Member
Sorry, OS optimization is a whole art unto itself, and WAY outside the realm of an OBS discussion forum. A good start would be to simply make sure eye candy turned off, unnecessary processes not running, etc. If you are not technical, expect to spend some time finding out real answers (lots of really BAD advice on YouTube and elsewhere on this topic by people with no clue what they are talking about ...or hoping to mess people's systems up and get consulting work, or ?? ) or go get someone who truly knows there way around the OS. Then again, if you are using a 6+ old NUC, I'm guessing you don't have the funds for such??

Yes, I'd turn off LOTS of Win10 features, including the Game ones. And MANY others. But that comes as part of personal preferences and over 25+ yrs professional IT experience (and my personal PC experience going even further back to 8086 and PC-DOS v1.25 days)
On a system of your age, and NOT having a dedicated GPU to turn over encoding duties to, you are likely to need to make sure you are using optimal QuickSync settings (no I don't know what they are, much less for your system) and possibly running OBS with Admin privilege's (ie local account in Adminstrator's group)

Correct - I'd expect Zoom to use a LOT less resources than OBS. Even more so as Zoom is likely only using a single camera at a time, not processing all 3 at once
 
Thanks Lawrence. I have found some really useful advice on USB overload on this forum so will crack on. I actuall think lowereing the resolution os probably the best fiest choice. We are only streaiming to Zoom to people watching in laptops, so I think I can afford to drop that from full HD in the first instance. Thanks a lot for all you advice.
 
Thanks. I downloaded that from another post last night.

This morning I replugged my USB's (to make sure the 2 capture cards were not sharing the same USB bus); reduced the resolution on all the cams to 720p; turned the output resolution down turned off games mode; made sure there was nothing being loaded up at start up and changed the encoder from x264 to Quck Synch and it now all works, so thanks for that.

Saying that, I ran task manager and wached the CPU usage and at some points it was up 100% when I was streaming a camera and a feed from YouTube and a camera similtaneously to Zoom. But really, the chances of us doing this on a regular basis are rare (if any).

The reason we have such a low powered PC is that is was donated as we just needed something that would run Zoom, which is does beautifully. I use OBS at home on 2009 MacPro no problems so I thought I would give it a go on the PC. I didn't realise how CPU hungry OBS was ot how low powered the PC was. I will probably continue playing with Windows settings and OBS settings to see if I can reduce the CPU usage further. Thanks again for all your help.
 

Lawrence_SoCal

Active Member
It isn't OBS... any real-time video compositing solution is going to have similar resource demands
An analogy is driving 150+mph.... I don't car which vehicle you have, it takes LOTS of horsepower. In this case, yes that is a lower-end CPU. Use any CPU general benchmark rating to see how it compares
 
Top