Files
Akash Chowdhury e9ef5dcea7 Initial release: ComfyUI nodes for Pulse of Motion PhyFPS prediction
- Load Visual Chronometer model with device selection (auto/cpu/cuda)
- Predict PhyFPS from video frames using sliding window analysis
- Batch prediction with per-segment FPS breakdown
- SDPA-optimized attention for better speed and memory efficiency
- Auto-downloads model checkpoint from HuggingFace on first use
- Progress bar and detailed terminal logging
- Input tooltips and node descriptions
2026-03-29 23:34:28 +05:30

317 lines
6.0 KiB
JSON

{
"id": "bec9b4c4-478d-40a9-b5cf-867db1cc679d",
"revision": 0,
"last_node_id": 8,
"last_link_id": 6,
"nodes": [
{
"id": 2,
"type": "LoadVisualChronometer",
"pos": [
3274.0411015658137,
5293.782127058061
],
"size": [
390.01912698547255,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "model",
"type": "VC_MODEL",
"links": [
1
]
}
],
"properties": {
"Node name for S&R": "LoadVisualChronometer",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [
"vc_common_10_60fps.ckpt",
"auto"
]
},
{
"id": 3,
"type": "VHS_LoadVideo",
"pos": [
3303.497989559902,
5470.595852159921
],
"size": [
255.8291015625,
454.1816696523355
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
]
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "449839959f0153fb8a57211a9364c55163935ca9",
"Node name for S&R": "VHS_LoadVideo",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": {
"video": "1.mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "LTXV",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "1.mp4",
"type": "input",
"format": "video/mp4",
"force_rate": 0,
"custom_width": 768,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 4,
"type": "PreviewAny",
"pos": [
4114.513077861752,
5299.704020922654
],
"size": [
210,
166
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 3
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.18.2",
"Node name for S&R": "PreviewAny",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [
null,
null,
false
]
},
{
"id": 1,
"type": "PredictPhyFPS",
"pos": [
3729.3887674244957,
5517.017195666656
],
"size": [
270,
102
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "VC_MODEL",
"link": 1
},
{
"name": "images",
"type": "IMAGE",
"link": 2
}
],
"outputs": [
{
"name": "phyfps",
"type": "FLOAT",
"links": [
3
]
},
{
"name": "report",
"type": "STRING",
"links": [
6
]
}
],
"properties": {
"Node name for S&R": "PredictPhyFPS",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [
30,
4
]
},
{
"id": 8,
"type": "PreviewAny",
"pos": [
4115.813838016202,
5530.383960235998
],
"size": [
544.6125519903335,
422.4241918518883
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 6
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.18.2",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
},
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
false
]
}
],
"links": [
[
1,
2,
0,
1,
0,
"VC_MODEL"
],
[
2,
3,
0,
1,
1,
"IMAGE"
],
[
3,
1,
0,
4,
0,
"FLOAT"
],
[
6,
1,
1,
8,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ue_links": [],
"links_added_by_ue": [],
"ds": {
"scale": 1.0813048693661507,
"offset": [
-2866.313398900534,
-5017.703723543272
]
},
"frontendVersion": "1.42.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}