torinmb / mediapipe-touchdesigner

GPU Accelerated MediaPipe Plugin for TouchDesigner
MIT License
637 stars 31 forks source link

Spoutcam not showing up on the Mediapipe container #52

Closed tasos-a closed 11 months ago

tasos-a commented 11 months ago

Hi, thank you for your hard work on this one. I have one issue to report, I do not seem able to find the spoutcam on the drop-down menu of the Mediapipe container (on windows 11). I have registered the Spoutcam as detailed on the instructions page.

Screenshot 2023-11-01 160707

Also when I load the spoutcam on the VideoDeviceIn TOP it shows up as just black.

Screenshot 2023-11-01 160857

Any help would be appreciated!

EDIT: I figured the error I am getting on the Mediapipe container might be enlightening:

Screenshot 2023-11-01 161414
domisjustanumber commented 11 months ago

Hi @tasos-a thanks for the kind words :)

We just released a new version that fixes a number of issues around webcams loading and provides us with more useful debug when things go wrong. Would you be able to try it out and see what happens? https://github.com/torinmb/mediapipe-touchdesigner/releases/tag/v0.3.2

Also FYI on that Video Device In chain at the bottom of the project there - the idea for that chain is:

Select your real webcam in Video Device In > Syphon Spout OUT > SpoutCam > SpoutCam virtual webcam is selected in the MediaPipe component.

If you select SpoutCam as the source in the Video Device In TOP there, it's a circular loop sending itself to itself, so will only show black.

tasos-a commented 11 months ago

Hi @domisjustanumber thanks for the quick reply! I just tried the latest release you linked me to and still get the same errors. I tried using my real webcam on the Video Device In chain and indeed I got the camera's input but still no spoutcam at the drop down menu of MediaPipe container.

tasos-a commented 11 months ago

Ok so i got it to work by replacing the MediaPipe container inside MediaPipe toe with MediaPipe tox. I still get errors but it works.

domisjustanumber commented 11 months ago

Sounds like you got it working ok, so I'm going to close this. Please re-open it if you need any more help