torinmb / mediapipe-touchdesigner

GPU Accelerated MediaPipe Plugin for TouchDesigner
MIT License
522 stars 21 forks source link

MediaPipe Stuck on LOADING #79

Closed CHNGZchanges closed 2 months ago

CHNGZchanges commented 2 months ago

Hey, downloaded MediaPipe today and was super excited to try it out with the different effects I've made but after importing the tox file into TD, it gets stuck on loading and no matter what I do the issue persists. I'm running TD on Windows 11 Pro 10.0.22621 Build 22621 and at first my TD was a little outdated, it was Version 2022.32050 and so I tried updating my TD to Version 2023.11600 and still no difference. Another thing is that MediaPipe can't recognize my webcam. I took a screenshot of the options I have to choose from for the webcam. Screenshot 2024-04-16 195819 It's worth mentioning before this version of MediaPipe (v0.4.2), I had downloaded an earlier version of it and I had the same problem except that the dropdown webcam list had different options but still none of them was my webcam and it was still just stuck on loading. I also did try Spout with a Video Device In TOP (my webcam selected) connected to it following all the steps Dom mentioned in the Youtube video and that still did not work. I also had an external camera set up in the OBS and then selected OBS Virtual Camera from the webcam parameter (cause that option did exist) and still no difference. I'm also getting no errors so I'm absolutely clueless about what might be the problem here.

domisjustanumber commented 2 months ago

Hey @CHNGZchanges sorry to hear you're having issues getting it working. Can you confirm you're running the version from the release.zip?

CHNGZchanges commented 2 months ago

Yes, I am! I used the .tox file from release.zip and also tried the .toe file

On Tue, Apr 16, 2024, 8:22 PM Dom Scott @.***> wrote:

Hey @CHNGZchanges https://github.com/CHNGZchanges sorry to hear you're having issues getting it working. Can you confirm you're running the version from the release.zip?

— Reply to this email directly, view it on GitHub https://github.com/torinmb/mediapipe-touchdesigner/issues/79#issuecomment-2059530213, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH33TVWXNYOQOO2BIEZ27ZDY5VJMPAVCNFSM6AAAAABGJW2WWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGUZTAMRRGM . You are receiving this because you were mentioned.Message ID: @.***>

CHNGZchanges commented 2 months ago

@domisjustanumber I'd appreciate it if you could share with me any recommendations that comes to your mind

domisjustanumber commented 2 months ago

Hey @CHNGZchanges it looks like the plugin isn't loading at all, so it's not updating the list of webcams.

Do you have all the .tox files in the original folder structure? If you open the text port, does it have any error messages?

The only other thing I can think of might be some kind of antivirus blocking the network port the plugin is using (in your screenshot, port 2213). You could try (temporarily!) disabling any antivirus or firewall software you have running to see if that fixes it.

CHNGZchanges commented 2 months ago

Thank you for your response @domisjustanumber I'm not exactly sure what you mean by having all the .tox files in the original folder structure. I'd appreciate if you could elaborate more. I do have a .toe file and a folder named toxes with 10 .tox files inside from the release.zip I downloaded. I tried opening the .toe file after turning off my antivirus and firewall (Defender on Windows 11) and it didn't make a difference. Also here's a screenshot of my textport from the .toe file. Seems like there are no errors but I'm not sure if everything's alright here. That's why I took a screenshot. Screenshot 2024-04-24 112212

CHNGZchanges commented 2 months ago

@domisjustanumber Hello again, I just realized the issue was due to a software I had installed before for an external camera. I uninstalled it and everything works as it should now. Just wanted to thank you and Torin again for this wonderful plugin and also thank you for your help with the issue.

domisjustanumber commented 2 months ago

Oh that's great news, I'm glad you figured it out!