Bug Report Two WEbcams

ngoes

New Member
Hello,

Please forgive me my English. I used Google to translate.

If I use two webcams in one scene, then sometimes flickers a both. Is not the case in other programs.

I've attached the text in German below.

Ngoes


---------------------------------------------------------------------------------

Hallo,

bitte verzeiht mir mein Englisch. Ich habe Google zum Übersetzen benutzt.

Wenn ich in einer Szene zwei Webcams nutze, dann flackert eine manchmal auch beide. Ist in anderen Programmen nicht der Fall.

Ngoes
 

ngoes

New Member
flicker.jpg
 

ngoes

New Member
Logfile:

08:03:34: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
08:03:34: -------------------------------
08:03:34: CPU Name: AMD Phenom(tm) II X6 1100T Processor
08:03:34: CPU Speed: 3307MHz
08:03:34: Physical Memory: 4095MB Total, 3755MB Free
08:03:34: stepping id: 0, model 10, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 6, total cores 6
08:03:34: monitor 1: pos={0, 0}, size={1920, 1080}
08:03:34: monitor 2: pos={-1920, 0}, size={1920, 1080}
08:03:34: Windows Version: 6.1 Build 7601 S
08:03:34: Aero is Disabled
08:03:34: -------------------------------
08:03:34: OBS Modules:
08:03:34: Base Address Module
08:03:34: 00A80000 OBS.exe
08:03:34: 5F790000 OBSApi.dll
08:03:34: 5FA90000 DShowPlugin.dll
08:03:34: 5F5A0000 GraphicsCapture.dll
08:03:34: 5F5C0000 NoiseGate.dll
08:03:34: ------------------------------------------
08:03:34: Adapter 1
08:03:34: Video Adapter: ATI Radeon HD 5800 Series
08:03:34: Video Adapter Dedicated Video Memory: 1064140800
08:03:34: Video Adapter Shared System Memory: 2952357888
08:03:34: =====Stream Start: 2013-06-10, 08:03:34===============================================
08:03:34: Multithreaded optimizations: On
08:03:34: Base resolution: 1920x1080
08:03:34: Output resolution: 1920x1080
08:03:34: ------------------------------------------
08:03:34: Loading up D3D10...
08:03:34: Playback device {0.0.0.00000000}.{b6f6938b-717d-4c05-b060-ccd3af63e347}
08:03:34: ------------------------------------------
08:03:34: Using desktop audio input: Lautsprecher (3- Logitech G930 Headset)
08:03:34: Using 7.1 surround speaker setup
08:03:34: ------------------------------------------
08:03:34: Using auxilary audio input: Mikrofon (3- Logitech G930 Headset)
08:03:34: ------------------------------------------
08:03:34: Audio Encoding: AAC
08:03:34: bitrate: 128
08:03:34: Using text output
08:03:34: Using text output
08:03:34: Using text output
08:03:34: Using graphics capture
08:03:35: Using bitmap image
08:03:35: ------------------------------------------
08:03:35: device: Logitech HD Pro Webcam C920,
08:03:35: device id \\?\usb#vid_046d&pid_082d&mi_00#6&2f68d7ec&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
08:03:35: chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
08:03:35: audio device: Deaktivieren,
08:03:35: audio device id Disabled,
08:03:35:
08:03:35: Using directshow input
08:03:35: ------------------------------------------
08:03:35: device: Logitech HD Pro Webcam C920 (2),
08:03:35: device id \\?\usb#vid_046d&pid_082d&mi_00#6&f8bcca0&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
08:03:35: chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
08:03:35: audio device: Deaktivieren,
08:03:35: audio device id Disabled,
08:03:35:
08:03:35: Using directshow input
08:03:35: Using Monitor Capture
08:03:36: ------------------------------------------
08:03:36: Video Encoding: x264
08:03:36: fps: 29
08:03:36: width: 1920, height: 1080
08:03:36: preset: superfast
08:03:36: CBR: no
08:03:36: CFR: no
08:03:36: max bitrate: 3000
08:03:36: buffer size: 3000
08:03:36: quality: 7
08:03:36: ------------------------------------------
08:04:41: Total frames rendered: 1825, number of frames that lagged: 245 (13.42%) (it's okay for some frames to lag)
08:04:43: =====Stream End: 2013-06-10, 08:04:43=================================================
08:04:44:
08:04:44: Profiler results:
08:04:44:
08:04:44: ==============================================================
08:04:44: frame - [100%] [avg time: 24.884 ms] [avg calls per frame: 1] [children: 89.3%] [unaccounted: 10.7%]
08:04:44: | scene->Preprocess - [66%] [avg time: 16.429 ms] [avg calls per frame: 1]
08:04:44: | video encoding and uploading - [23.3%] [avg time: 5.803 ms] [avg calls per frame: 1] [children: 23.1%] [unaccounted: 0.197%]
08:04:44: | | CopyResource - [0.0683%] [avg time: 0.017 ms] [avg calls per frame: 0]
08:04:44: | | conversion to 4:2:0 - [0.153%] [avg time: 0.038 ms] [avg calls per frame: 0]
08:04:44: | | call to encoder - [22.9%] [avg time: 5.696 ms] [avg calls per frame: 0]
08:04:44: | | sending stuff out - [0.0121%] [avg time: 0.003 ms] [avg calls per frame: 0]
08:04:44: ==============================================================
08:04:44:

now my other webcam flickers. i try to make a vid of this. will be awesome if someone get some ideas to try.
 

FerretBomb

Active Member
First thought would be if both cams are on the same USB host bus. I was having MAJOR slowdown issues with two cams because both were high-res and saturating one host's throughput (apparently). I'd expect that flicker could be another manifestation of not having enough bandwidth available on a USB host controller.

Using the Windows Control Panel -> Device Manager (alternately, hit Win+R and type 'devmgmt.msc' into the run box, without the single quotes), click the 'View' menu at the top, select 'Devices by Connection'.
Drill down through the top option (mine is 'ACPI x64-based PC') through 'Microsoft ACPI-Compliant System', 'PCI Bus', and find your USB host controllers (in my case, 'Intel(R) ICH10 Family USB Enhanced Host Controller - XXXX'). Look under each of them, expanding the sub-trees.
Now if both cameras are listed under ONE USB Host Controller, unplug one and put it in a different USB port until they show up under different host controllers.

This won't GUARANTEE that you'll get full band on both (some mobos split the host controller bus as well, apparently), but it's a good place to start. Try it after moving one camera to a few different host controllers (preferably ones with nothing else on them if possible, or stuff like a printer or external hard drive that you won't use while streaming, or can even just unplug entirely).

Worth a shot. :)
 

bjm904

New Member
Using the Windows Control Panel -> Device Manager (alternately, hit Win+R and type 'devmgmt.msc' into the run box, without the single quotes), click the 'View' menu at the top, select 'Devices by Connection'.
Drill down through the top option (mine is 'ACPI x64-based PC') through 'Microsoft ACPI-Compliant System', 'PCI Bus', and find your USB host controllers (in my case, 'Intel(R) ICH10 Family USB Enhanced Host Controller - XXXX'). Look under each of them, expanding the sub-trees.
Now if both cameras are listed under ONE USB Host Controller, unplug one and put it in a different USB port until they show up under different host controllers.

This won't GUARANTEE that you'll get full band on both (some mobos split the host controller bus as well, apparently), but it's a good place to start. Try it after moving one camera to a few different host controllers (preferably ones with nothing else on them if possible, or stuff like a printer or external hard drive that you won't use while streaming, or can even just unplug entirely).
For those who google and land here. Two webcams of mine wouldn't work at all in OBS at the same time. Moving one to a different USB Bus/Hub worked!
 
Top