# Optitrack Duo and external webcam problem

**URL:** <https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730>\
**Category:** Support\
**Created:** [July 25, 2020, 11:31am UTC](https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730 "2020-07-25T11:31:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![apparrilla](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/apparrilla/32/9230_2.png) [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Post date:** [July 25, 2020, 11:31am UTC](https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730/1 "2020-07-25T11:31:43Z")

</div>

Hi everyone.  
I’ve config Plus for sending both Duo and webcam data to Slicer. Duo is working properly but webcam have some trouble.  
It is configured as WMvideo device and Duo and webcam are connected to different usb3 ports.  
I saw webcam image in just low resolution config (172x144) and with some delay and stops. If I witch off Duo connector, webcam becomes working fine, even in 640\*480 mode without delay. It looks like some problem with DirectShow or something similar.  
Thanks on advance.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 25, 2020, 3:19pm UTC](https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730/2 "2020-07-25T15:19:26Z")

</div>

What computer is this? What webcam do you use?

Maybe you could try to connect one or both devices through an externally powered USB hub to make sure the issue is not due to too much power consumption.

You could also try lowering the webcam framerate to see if it helps.

@Sunderlandkyl have we experienced similar issues before?

---

<div class="post-metadata">

**Author:** ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Post date:** [July 25, 2020, 4:00pm UTC](https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730/3 "2020-07-25T16:00:07Z")

</div>

I don’t remember an issue like this coming up.

@apparrilla What versions of Plus and Motive are you using? Can you upload your config file somewhere?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 25, 2020, 7:03pm UTC](https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730/4 "2020-07-25T19:03:12Z")

</div>

You may also try running the webcam and tracker data acquisition in two different PlusServer processes and see if it makes any difference.

---

<div class="post-metadata">

**Author:** ![apparrilla](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/apparrilla/32/9230_2.png) [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Post date:** [July 25, 2020, 7:24pm UTC](https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730/5 "2020-07-25T19:24:27Z")

</div>

Sorry.  
Win10  
Slicer 4.11.0-2020-07-04 r29204  
PlusApp-2.8.0.20191105-Win64  
Motive 2.2 Final (last)

Config file:  
[https://drive.google.com/file/d/1afhJFWmfmYI3YtM4b33ND\_pQeIiOvElu/view?usp=sharing](https://drive.google.com/file/d/1afhJFWmfmYI3YtM4b33ND_pQeIiOvElu/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![apparrilla](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/apparrilla/32/9230_2.png) [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Post date:** [July 25, 2020, 7:28pm UTC](https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730/6 "2020-07-25T19:28:20Z")

</div>

They are connected to a different USB central port each other and it´s a desktop. I think it´s not a power or bandwidth problem.  
Webcam device is 30fps for reference but i´m going to low down for a try.  
Two different Plus processes was my first aproach to fit it but it didn´t work.  
It´s not really a webcam, it´s a USB endoscope but it works with Win Camera App properly.

---

<div class="post-metadata">

**Author:** ![apparrilla](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/apparrilla/32/9230_2.png) [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Post date:** [July 28, 2020, 9:13am UTC](https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730/7 "2020-07-28T09:13:22Z")

</div>

Finally NaturalPoint Support Team has answare to me ant it looks like there is no way to fix it:

> HI Angel,  
> Glad to help!  
> This is a known issue that can’t be addressed, unfortunately. You’ll be unable to run both the web camera and the Duo on the same computer.  
> Best,  
> Ryan  
> OptiTrack Support

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 29, 2020, 2:28am UTC](https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730/8 "2020-07-29T02:28:16Z")

</div>

Thank you, it is bad news, but useful to know.

---

<div class="post-metadata">

**Author:** ![J.vd.Zee](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/j.vd.zee/32/15064_2.png) [@J.vd.Zee](https://discourse.slicer.org/u/J.vd.Zee)\
**Post date:** [September 12, 2022, 9:31am UTC](https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730/9 "2022-09-12T09:31:52Z")

</div>

Hi!  
This post has been ‘solved’ two years ago with the message it is not possible.  
Is there any progress on this topic from then?

I would like to track with an OptiTrack system and capture ultrasound data via an Epiphan framegrabber. Anyone ideas for a workaround?

Regards!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [September 16, 2022, 4:09am UTC](https://discourse.slicer.org/t/optitrack-duo-and-external-webcam-problem/12730/10 "2022-09-16T04:09:19Z")

</div>

Please contact OptiTrack support and report back what they said.

As a workaround, you can connect the tracker and camera to two different computers and stream the images and transforms via OpenIGTLink.
