- Changed video_path (STRING) to images (IMAGE) as required input - Removed fps_sample parameter (process all frames from VHS) - Added optional video_path for metadata fallback - Updated workflow file with VHS_LoadVideo node - Saved workflow to ~/App/ComfyUI/user/default/workflows/ - Node now connects: VHS LoadVideo IMAGE -> VideoActorExtractor
211 lines
3.5 KiB
JSON
211 lines
3.5 KiB
JSON
{
|
|
"id": "video-actor-extract-vhs",
|
|
"revision": 2.0,
|
|
"last_node_id": 4,
|
|
"last_link_id": 2,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "VHS_LoadVideo",
|
|
"pos": [
|
|
100,
|
|
100
|
|
],
|
|
"size": [
|
|
315,
|
|
334
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "meta_batch",
|
|
"type": "VHS_BatchManager",
|
|
"link": null,
|
|
"shape": 7
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": null,
|
|
"shape": 7
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
1
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "frame_count",
|
|
"type": "INT",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "audio",
|
|
"type": "AUDIO",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "video_info",
|
|
"type": "VHS_VIDEOINFO",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VHS_LoadVideo"
|
|
},
|
|
"widgets_values": {
|
|
"video": "",
|
|
"force_rate": 0,
|
|
"custom_width": 0,
|
|
"custom_height": 0,
|
|
"frame_load_cap": 0,
|
|
"skip_first_frames": 0,
|
|
"select_every_nth": 1
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "VideoActorExtractor",
|
|
"pos": [
|
|
500,
|
|
100
|
|
],
|
|
"size": [
|
|
400,
|
|
200
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 1
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "actor_info_json",
|
|
"type": "STRING",
|
|
"links": [
|
|
2
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "output_dir",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VideoActorExtractor"
|
|
},
|
|
"widgets_values": [
|
|
"yolov8n.pt",
|
|
"",
|
|
10,
|
|
0.6,
|
|
5
|
|
],
|
|
"color": "#233",
|
|
"bgcolor": "#355"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "Save Text File",
|
|
"pos": [
|
|
1000,
|
|
100
|
|
],
|
|
"size": [
|
|
400,
|
|
178
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"link": 2,
|
|
"widget": {
|
|
"name": "text"
|
|
}
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "Save Text File"
|
|
},
|
|
"widgets_values": [
|
|
"./ComfyUI/output/[time(%Y-%m-%d)]",
|
|
"actor_info",
|
|
"_",
|
|
4,
|
|
".txt",
|
|
"utf-8",
|
|
""
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
1,
|
|
0,
|
|
2,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
2,
|
|
2,
|
|
0,
|
|
3,
|
|
0,
|
|
"STRING"
|
|
]
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Video Actor Extract (VHS)",
|
|
"bounding": [
|
|
80,
|
|
60,
|
|
1340,
|
|
300
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1,
|
|
"offset": [
|
|
0,
|
|
0
|
|
]
|
|
},
|
|
"frontendVersion": "1.37.11"
|
|
},
|
|
"version": 0.4
|
|
}
|