Coder Social home page Coder Social logo

Comments (10)

domisjustanumber avatar domisjustanumber commented on June 10, 2024 1

HI @neildixon54321 I suspect you have something else running on the same network port as the MediaPipe server.

If you change the "MediaPipe Port number" in the MediaPipe component settings, that should fix it.

from mediapipe-touchdesigner.

AlexRuizE avatar AlexRuizE commented on June 10, 2024

Hi, I have the exact problem. Camera is detected in MediaPipe container, and videodevin1 shows my webcams output. I can't see if OPs does so here's my screenshot of it:

Screenshot 2023-10-05 200609

TD version: 2022.35230
Windows 10
image

Tried with two different webcams, same result.

Incidentally I'm also using a Commercial license of TD. Tried with Non-Commercial with same result.

Debug console looks black as OP.

from mediapipe-touchdesigner.

david-brightjoy avatar david-brightjoy commented on June 10, 2024

Looks like the same issue.

from mediapipe-touchdesigner.

david-brightjoy avatar david-brightjoy commented on June 10, 2024

Taking a pot-shot at it: I wonder if something fancy has to be done to give the embedded Chromium browser access to the webcam. In other contexts (zoom or teams with Chrome) there is a modal that asks for permission to use the camera/mic. Perhaps this is a windows security thing?

from mediapipe-touchdesigner.

rsdvdesign avatar rsdvdesign commented on June 10, 2024

One more into the endless loading screen. Yesterday was working perfectly, today I have tried in 2 different computers with the versions TD 2022.35280 and 2022.33910 .I also changed the webcam source with 3 different ones

from mediapipe-touchdesigner.

cosismo avatar cosismo commented on June 10, 2024

Same here. TD 2022.35280. Stuck loading. W10 on Wine Ubuntu 22.04

from mediapipe-touchdesigner.

domisjustanumber avatar domisjustanumber commented on June 10, 2024

Hey everyone, thanks for taking a go at figuring this one out.

The root cause is that the MediaPipe component isn't able to load the selected webcam, so just sits there doing nothing forever.

@AlexRuizE in your case it could be because your webcam can only run one instance at once, and it looks like you may be trying to run the same webcam in the Video Device In TOP and the Media Pipe component. If you disable the Video Device In TOP and reload the MP component - does it then work?

@david-brightjoy not so sure with your setup. Chromium doesn't have the same permissions things as regular Chrome, so that shouldn't be the issue here, but it could be the same issue as @AlexRuizE

If anyone is using SpoutCam for the routing (Video Device In TOP > Syphon Spout Out > SpoutCam > SpoutCam as the webcam source in Media Pipe) it seems to be a bit flaky and sometimes (often?) just gives a black screen for reasons I haven't figured out yet. If that happens, sometimes reloading the MP component kicks it back into life, sometimes I have to close TouchDesigner and start again. Once it's working, it then seems to be fine, it's just starting it up that doesn't always seem to work. If anyone figures out how to reliably break or fix it without having to do a restart that would be amazing!

from mediapipe-touchdesigner.

david-brightjoy avatar david-brightjoy commented on June 10, 2024

If you disable the Video Device In TOP and reload the MP component - does it then work?

Yes. This did the trick for me. Thanks!

from mediapipe-touchdesigner.

neildixon54321 avatar neildixon54321 commented on June 10, 2024

Hello, I'm new to this, I have a similiar problem, except I'm getting 404 Not Found on the Mediapipe loading screen, which seems to be coming from this Webrender1. Not sure if there is something very obvious that I'm not doing....thanks for your help -

loading webrender1

My webcams and SpoutCam are showing up in Videodevin but none is loading up in MediaPipe dropdown menu.

from mediapipe-touchdesigner.

neildixon54321 avatar neildixon54321 commented on June 10, 2024

Thanks @domisjustanumber that fixed it. Thanks

from mediapipe-touchdesigner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.