diff --git a/workflows/ComfyUI-Attic--Video-Frame-Extractor--Workflow.png b/workflows/ComfyUI-Attic--Video-Frame-Extractor--Workflow.png new file mode 100644 index 0000000..91fcd0c Binary files /dev/null and b/workflows/ComfyUI-Attic--Video-Frame-Extractor--Workflow.png differ diff --git a/workflows/ComfyUI-Attic--Video-Frame-Extractor-Workflow.json b/workflows/ComfyUI-Attic--Video-Frame-Extractor-Workflow.json new file mode 100644 index 0000000..937f27d --- /dev/null +++ b/workflows/ComfyUI-Attic--Video-Frame-Extractor-Workflow.json @@ -0,0 +1,511 @@ +{ + "id": "a4bfc7e9-7eec-47cd-b678-c4cb9386be3f", + "revision": 0, + "last_node_id": 12, + "last_link_id": 10, + "nodes": [ + { + "id": 3, + "type": "SaveVideo", + "pos": [5598.5341626993295, 374.42990000031017], + "size": [270, 447.4117647058824], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "localized_name": "video", + "name": "video", + "type": "VIDEO", + "link": 2 + }, + { + "localized_name": "filename_prefix", + "name": "filename_prefix", + "type": "STRING", + "widget": { + "name": "filename_prefix" + }, + "link": null + }, + { + "localized_name": "format", + "name": "format", + "type": "COMBO", + "widget": { + "name": "format" + }, + "link": null + }, + { + "localized_name": "codec", + "name": "codec", + "type": "COMBO", + "widget": { + "name": "codec" + }, + "link": null + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.18.1", + "Node name for S&R": "SaveVideo" + }, + "widgets_values": ["video/ComfyUI", "auto", "auto"] + }, + { + "id": 5, + "type": "PreviewImage", + "pos": [5441.982075495426, 530.8903822214577], + "size": [140, 246], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "images", + "name": "images", + "type": "IMAGE", + "link": 4 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.18.1", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 4, + "type": "PreviewImage", + "pos": [5252.867208119926, 530.8903822214578], + "size": [140, 246], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "images", + "name": "images", + "type": "IMAGE", + "link": 3 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.18.1", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 2, + "type": "CreateVideo", + "pos": [5598.534162699341, 247.36834848239278], + "size": [270, 78], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "images", + "name": "images", + "type": "IMAGE", + "link": 1 + }, + { + "localized_name": "audio", + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "localized_name": "fps", + "name": "fps", + "type": "FLOAT", + "widget": { + "name": "fps" + }, + "link": null + } + ], + "outputs": [ + { + "localized_name": "VIDEO", + "name": "VIDEO", + "type": "VIDEO", + "links": [2] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.18.1", + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [30] + }, + { + "id": 6, + "type": "CreateVideo", + "pos": [5968.884111309697, 250.32326828513516], + "size": [270, 78], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "images", + "name": "images", + "type": "IMAGE", + "link": 5 + }, + { + "localized_name": "audio", + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "localized_name": "fps", + "name": "fps", + "type": "FLOAT", + "widget": { + "name": "fps" + }, + "link": null + } + ], + "outputs": [ + { + "localized_name": "VIDEO", + "name": "VIDEO", + "type": "VIDEO", + "links": [6] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.18.1", + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [30] + }, + { + "id": 7, + "type": "SaveVideo", + "pos": [5967.957800383551, 377.23455247886], + "size": [270, 447.4117647058824], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "localized_name": "video", + "name": "video", + "type": "VIDEO", + "link": 6 + }, + { + "localized_name": "filename_prefix", + "name": "filename_prefix", + "type": "STRING", + "widget": { + "name": "filename_prefix" + }, + "link": null + }, + { + "localized_name": "format", + "name": "format", + "type": "COMBO", + "widget": { + "name": "format" + }, + "link": null + }, + { + "localized_name": "codec", + "name": "codec", + "type": "COMBO", + "widget": { + "name": "codec" + }, + "link": null + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.18.1", + "Node name for S&R": "SaveVideo" + }, + "widgets_values": ["video/ComfyUI", "auto", "auto"] + }, + { + "id": 8, + "type": "ShowText|pysssss", + "pos": [5277.424641807676, 157.73578113254413], + "size": [140, 76], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "localized_name": "text", + "name": "text", + "type": "STRING", + "link": 7 + } + ], + "outputs": [ + { + "localized_name": "STRING", + "name": "STRING", + "shape": 6, + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-custom-scripts", + "ver": "609f3afaa74b2f88ef9ce8d939626065e3247469", + "Node name for S&R": "ShowText|pysssss" + }, + "widgets_values": ["ComfyUI_00006_"] + }, + { + "id": 10, + "type": "easy showAnything", + "pos": [5499.043627013346, 78.93791972608368], + "size": [140, 76], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "localized_name": "anything", + "name": "anything", + "shape": 7, + "type": "*", + "link": 8 + } + ], + "outputs": [ + { + "localized_name": "output", + "name": "output", + "type": "*", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "8ba21d0b442002e66389d6e87faf828bfe05b2ad", + "Node name for S&R": "easy showAnything" + }, + "widgets_values": ["544"] + }, + { + "id": 11, + "type": "easy showAnything", + "pos": [5717.774590418044, 76.81770586672982], + "size": [140, 76], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "localized_name": "anything", + "name": "anything", + "shape": 7, + "type": "*", + "link": 9 + } + ], + "outputs": [ + { + "localized_name": "output", + "name": "output", + "type": "*", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "8ba21d0b442002e66389d6e87faf828bfe05b2ad", + "Node name for S&R": "easy showAnything" + }, + "widgets_values": ["704"] + }, + { + "id": 12, + "type": "easy showAnything", + "pos": [5924.552078608239, 77.95294645850282], + "size": [140, 76], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "localized_name": "anything", + "name": "anything", + "shape": 7, + "type": "*", + "link": 10 + } + ], + "outputs": [ + { + "localized_name": "output", + "name": "output", + "type": "*", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "8ba21d0b442002e66389d6e87faf828bfe05b2ad", + "Node name for S&R": "easy showAnything" + }, + "widgets_values": ["30.0"] + }, + { + "id": 1, + "type": "VideoFrameExtractor", + "pos": [4550.4454074385885, 288.9497974834396], + "size": [520, 1378.9411764705883], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "localized_name": "video", + "name": "video", + "type": "COMBO", + "widget": { + "name": "video" + }, + "link": null + }, + { + "localized_name": "start_frame", + "name": "start_frame", + "type": "INT", + "widget": { + "name": "start_frame" + }, + "link": null + }, + { + "localized_name": "end_frame", + "name": "end_frame", + "type": "INT", + "widget": { + "name": "end_frame" + }, + "link": null + }, + { + "localized_name": "num_frames", + "name": "num_frames", + "type": "INT", + "widget": { + "name": "num_frames" + }, + "link": null + }, + { + "localized_name": "upload", + "name": "upload", + "type": "IMAGEUPLOAD", + "widget": { + "name": "upload" + }, + "link": null + } + ], + "outputs": [ + { + "localized_name": "frames", + "name": "frames", + "type": "IMAGE", + "links": [1] + }, + { + "localized_name": "frames_reversed", + "name": "frames_reversed", + "type": "IMAGE", + "links": [5] + }, + { + "localized_name": "first_frame", + "name": "first_frame", + "type": "IMAGE", + "links": [3] + }, + { + "localized_name": "last_frame", + "name": "last_frame", + "type": "IMAGE", + "links": [4] + }, + { + "localized_name": "filename_prefix", + "name": "filename_prefix", + "type": "STRING", + "links": [7] + }, + { + "localized_name": "width", + "name": "width", + "type": "INT", + "links": [8] + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "links": [9] + }, + { + "localized_name": "fps", + "name": "fps", + "type": "FLOAT", + "links": [10] + } + ], + "properties": { + "Node name for S&R": "VideoFrameExtractor" + }, + "widgets_values": ["ComfyUI_00006_.mp4", null, 18, 40, 23, "image"] + } + ], + "links": [ + [1, 1, 0, 2, 0, "IMAGE"], + [2, 2, 0, 3, 0, "VIDEO"], + [3, 1, 2, 4, 0, "IMAGE"], + [4, 1, 3, 5, 0, "IMAGE"], + [5, 1, 1, 6, 0, "IMAGE"], + [6, 6, 0, 7, 0, "VIDEO"], + [7, 1, 4, 8, 0, "STRING"], + [8, 1, 5, 10, 0, "INT"], + [9, 1, 6, 11, 0, "INT"], + [10, 1, 7, 12, 0, "FLOAT"] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.0152559799477128, + "offset": [-4759.395601061968, -35.44882862833813] + } + }, + "version": 0.4 +} diff --git a/workflows/README.md b/workflows/README.md new file mode 100644 index 0000000..695ac87 --- /dev/null +++ b/workflows/README.md @@ -0,0 +1,7 @@ +# Workflows + +## Basic + +![Node Controls](ComfyUI-Attic--Video-Frame-Extractor--Workflow.png) + +This node was designed to be the starting point for your workflow.