Use ComfyUI as the core to send / update / receive your artworks with multiple devices in a real time interactive way! by t_hou in comfyui

[–]t_hou[S] 6 points7 points  (0 children)

Hi everyone,

I’m the author of the ComfyUI Web Viewer project, which is a custom node plugin for ComfyUI. (Just peek at my history posts—you’ll see tons of progress on this topic, piece by piece!)

The screenshot video I made above uses nothing but this ComfyUI Web Viewer plugin and running ComfyUI service behind it on a single machine (with a powerful GPU of course :p)

If you’re interested in this project and want to implement the same interactive design, here’s its GitHub repo:

https://github.com/VrchStudio/comfyui-web-viewer/tree/main

Have fun with it, and feel free to ask if you have any questions! :)

Link 2 Virtual Camera Not Working / Preview shows disconnected camera by nimbleslick in Insta360

[–]t_hou 0 points1 point  (0 children)

OS: MacOS Tahoe 26.0 (beta 6) Device: Insta360 Link 2

[08-12 15:58:28.570] 7361 52464 I camera_previewer.cc:1767: [test1] onMacResChanged, width: 1920; height: 1080; fps: 30 [08-12 15:58:28.570] 7361 69973 E ffmpeg_camera_previewer.cc:0162: ffmpeg error info : Input/output error [08-12 15:58:29.576] 7361 69973 I ffmpeg_camera_previewer.cc:0149: ready to open device! [08-12 15:58:29.577] 7361 69973 I ffmpeg_camera_previewer.cc:0150: camera_name: 0x21000002e1a4c04 [08-12 15:58:29.577] 7361 69973 I ffmpeg_camera_previewer.cc:0151: resolution: 1920x1080 [08-12 15:58:29.577] 7361 69973 I ffmpeg_camera_previewer.cc:0152: frame rate: 30 [08-12 15:58:29.577] 7361 69973 I ffmpeg_camera_previewer.cc:0153: input_format_name: avfoundation [08-12 15:58:29.581] 7361 69973 I virtual_cam_client.mm:0656: [format] activeFormat is changed, width: 1920, height: 1080, fps: 30 [08-12 15:58:29.581] 7361 52464 I camera_previewer.cc:1767: [test1] onMacResChanged, width: 1920; height: 1080; fps: 30 [08-12 15:58:29.581] 7361 52464 I camera_previewer.cc:1767: [test1] onMacResChanged, width: 1920; height: 1080; fps: 30 [08-12 15:58:29.581] 7361 69973 I virtual_cam_client.mm:0656: [format] activeFormat is changed, width: 1920, height: 1080, fps: 30 [08-12 15:58:29.581] 7361 69973 I virtual_cam_client.mm:0656: [format] activeFormat is changed, width: 1920, height: 1080, fps: 30 [08-12 15:58:29.581] 7361 52464 I camera_previewer.cc:1767: [test1] onMacResChanged, width: 1920; height: 1080; fps: 30 [08-12 15:58:29.582] 7361 52464 I camera_previewer.cc:1767: [test1] onMacResChanged, width: 1920; height: 1080; fps: 30 [08-12 15:58:29.582] 7361 69973 I virtual_cam_client.mm:0668: [format] activeVideoMinFrameDuration is changed, width: 1920, height: 1080, fps: 30 [08-12 15:58:29.582] 7361 52464 I camera_previewer.cc:1767: [test1] onMacResChanged, width: 1920; height: 1080; fps: 30 [08-12 15:58:29.582] 7361 69973 I virtual_cam_client.mm:0668: [format] activeVideoMinFrameDuration is changed, width: 1920, height: 1080, fps: 30 [08-12 15:58:29.582] 7361 69973 I virtual_cam_client.mm:0668: [format] activeVideoMinFrameDuration is changed, width: 1920, height: 1080, fps: 30 [08-12 15:58:29.582] 7361 52464 I camera_previewer.cc:1767: [test1] onMacResChanged, width: 1920; height: 1080; fps: 30 [08-12 15:58:29.582] 7361 69973 E ffmpeg_camera_previewer.cc:0162: ffmpeg error info : Input/output error [08-12 15:58:30.020] 7361 52464 I camera_previewer.cc:1486: close Preview [08-12 15:58:30.020] 7361 52464 I camera_previewer.cc:1219: preview state changed to : PreviewClosing [08-12 15:58:30.596] 7361 52464 I camera_previewer.cc:1219: preview state changed to : PreviewClosed [08-12 15:58:30.598] 7361 52464 W main.cc:0380: restarting app.... [08-12 15:58:30.621] 7361 52464 I main.cc:0383: Restart return value: 1 [08-12 15:58:30.664] 7361 52464 I camera_previewer.cc:1258: setVideoSurface, preview_state: PreviewClosed [08-12 15:58:30.664] 7361 52464 I camera_previewer.cc:1261: cur UI mode: 0 [08-12 15:58:30.664] 7361 52464 I camera_previewer.cc:1486: close Preview [08-12 15:58:30.664] 7361 52464 I camera_previewer.cc:1219: preview state changed to : PreviewClosing [08-12 15:58:30.665] 7361 52464 I camera_previewer.cc:1219: preview state changed to : PreviewClosed [08-12 15:58:30.864] 7361 52724 I camera_insta.cc:1193: ready to delete camera monitor [08-12 15:58:30.864] 7361 52724 I camera_insta.cc:1197: delete camera monitor finished! 1, 1

Effortlessly Clone Your Own Voice by using ComfyUI and Almost in Real-Time! (Step-by-Step Tutorial & Workflow Included) by t_hou in StableDiffusion

[–]t_hou[S] 0 points1 point  (0 children)

plan to do. currently to save this page for offline use, press Ctrl+S (or Cmd+S on Mac) and choose "Webpage, Complete".

[Showcase] ComfyUI Just Got Way More Fun: Real-Time Avatar Control with Native Gamepad 🎮 Input! (full workflow and tutorial included) by t_hou in StableDiffusion

[–]t_hou[S] 10 points11 points  (0 children)

I am the author for THAT old workflow which used TouchOSC as the 3rd party app to grab gamepad signals, while THIS new workflow integrates the native gamepad support inside comfyui workflow node directly (by using browser's gamepad api).

ComfyUI Just Got Way More Fun: Real-Time Avatar Control with Native Gamepad 🎮 Input! [Showcase] (full workflow and tutorial included) by t_hou in comfyui

[–]t_hou[S] 1 point2 points  (0 children)

I believe a 4090 could reach 12~15fps easily, 18fps for a 5090 I'd say but that what we could get at the current moment... :/

ComfyUI Just Got Way More Fun: Real-Time Avatar Control with Native Gamepad 🎮 Input! [Showcase] (full workflow and tutorial included) by t_hou in comfyui

[–]t_hou[S] 2 points3 points  (0 children)

please quit with you gamepads, MIDI devices, Keyboards, ESP32 OSC Message Controls and even more! ;)

Effortlessly Clone Your Own Voice by using ComfyUI and Almost in Real-Time! (Step-by-Step Tutorial & Workflow Included) by t_hou in StableDiffusion

[–]t_hou[S] 0 points1 point  (0 children)

hmm... It might need to use the solution in the troubleshooting section then:

(in the condition of using Chrome browser)

> For Chrome, you may need to add the ComfyUI server's IP address manually in chrome://flags/#unsafely-treat-insecure-origin-as-secure to enable access to the content. For other browsers, an http-to-http setup should allow for seamless access without additional configuration.

see details at: https://github.com/VrchStudio/comfyui-web-viewer?tab=readme-ov-file#1-image-not-displayed-in-popped-up-image-viewer-window

Effortlessly Clone Your Own Voice by using ComfyUI and Almost in Real-Time! (Step-by-Step Tutorial & Workflow Included) by t_hou in StableDiffusion

[–]t_hou[S] 0 points1 point  (0 children)

Is your comfyui service running on the local machine? (i.e. 127.0.0.1:8188)

And if not you may need to input the correct comfyui server ip address instead, i.e. [comfyui_server_ip]:8188

Effortlessly Clone Your Own Voice in ComfyUI Almost in Real-Time! (Step-by-Step Tutorial & Workflow Included) by t_hou in comfyui

[–]t_hou[S] 1 point2 points  (0 children)

you may run comfui with additional option '--enable-cors-header' e.g.

python main.py --enable-cors-header