Files
DrMWeigand-ComfyUI-StereoVi…/workflow_examples/StereoVision_Autostereogram_Video_Texture.json

639 lines
12 KiB
JSON

{
"last_node_id": 117,
"last_link_id": 238,
"nodes": [
{
"id": 75,
"type": "DF_Get_image_size",
"pos": {
"0": 76,
"1": -346
},
"size": {
"0": 210,
"1": 50
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 143
}
],
"outputs": [
{
"name": "WIDTH",
"type": "INT",
"links": [
144,
152
],
"slot_index": 0
},
{
"name": "HEIGHT",
"type": "INT",
"links": [
145,
153
],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "DF_Get_image_size"
},
"widgets_values": []
},
{
"id": 97,
"type": "VHS_VideoInfo",
"pos": {
"0": 213,
"1": -1129
},
"size": {
"0": 262,
"1": 210
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"link": 186
}
],
"outputs": [
{
"name": "source_fps🟨",
"type": "FLOAT",
"links": [
187
],
"slot_index": 0
},
{
"name": "source_frame_count🟨",
"type": "INT",
"links": null
},
{
"name": "source_duration🟨",
"type": "FLOAT",
"links": null
},
{
"name": "source_width🟨",
"type": "INT",
"links": null
},
{
"name": "source_height🟨",
"type": "INT",
"links": null
},
{
"name": "loaded_fps🟦",
"type": "FLOAT",
"links": null
},
{
"name": "loaded_frame_count🟦",
"type": "INT",
"links": null
},
{
"name": "loaded_duration🟦",
"type": "FLOAT",
"links": null
},
{
"name": "loaded_width🟦",
"type": "INT",
"links": null
},
{
"name": "loaded_height🟦",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoInfo"
},
"widgets_values": {}
},
{
"id": 76,
"type": "ImageResizeKJ",
"pos": {
"0": 505,
"1": -426
},
"size": {
"0": 320,
"1": 270
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 159
},
{
"name": "get_image_size",
"type": "IMAGE",
"link": null,
"shape": 7
},
{
"name": "width_input",
"type": "INT",
"link": 144,
"widget": {
"name": "width_input"
},
"shape": 7
},
{
"name": "height_input",
"type": "INT",
"link": 145,
"widget": {
"name": "height_input"
},
"shape": 7
},
{
"name": "width",
"type": "INT",
"link": 152,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 153,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
236
],
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": null
},
{
"name": "height",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "ImageResizeKJ"
},
"widgets_values": [
512,
512,
"nearest-exact",
false,
2,
0,
0,
"disabled"
]
},
{
"id": 73,
"type": "VHS_LoadVideo",
"pos": {
"0": -296,
"1": -1195
},
"size": [
251.52520751953125,
661.8753458658855
],
"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": [
159
],
"slot_index": 0
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": [
186
],
"slot_index": 3
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "AnimateDiff_00001.mp4",
"force_rate": 0,
"force_size": "Disabled",
"custom_width": 512,
"custom_height": 512,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"frame_load_cap": 0,
"skip_first_frames": 0,
"force_rate": 0,
"filename": "AnimateDiff_00001.mp4",
"type": "input",
"format": "video/mp4",
"select_every_nth": 1
},
"muted": false
}
}
},
{
"id": 117,
"type": "AutostereogramGenerator",
"pos": {
"0": 932,
"1": -429
},
"size": {
"0": 340.20001220703125,
"1": 318
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "depth_map",
"type": "IMAGE",
"link": 236
},
{
"name": "texture",
"type": "IMAGE",
"link": 238,
"shape": 7
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
237
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "AutostereogramGenerator"
},
"widgets_values": [
8,
false,
2,
8,
8,
"random",
1,
1,
"grayscale",
0,
0
]
},
{
"id": 94,
"type": "VHS_VideoCombine",
"pos": {
"0": 1402,
"1": -1213
},
"size": [
220,
653.3333333333334
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 237
},
{
"name": "audio",
"type": "AUDIO",
"link": null,
"shape": 7
},
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null,
"shape": 7
},
{
"name": "vae",
"type": "VAE",
"link": null,
"shape": 7
},
{
"name": "frame_rate",
"type": "FLOAT",
"link": 187,
"widget": {
"name": "frame_rate"
}
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "AnimateDiff",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 25,
"save_metadata": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "AnimateDiff_00012.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 30
},
"muted": false
}
}
},
{
"id": 72,
"type": "VHS_LoadVideo",
"pos": {
"0": -300,
"1": -429
},
"size": [
251.52520751953125,
661.8753458658855
],
"flags": {},
"order": 1,
"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": [
143,
238
],
"slot_index": 0
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "Gen-3%20Alpha%20Turbo%204105404222%2C%20Street%20scene%20with%20mo%2C%20xdvsta1kjpg_00002_%2C%20M%205.mp4",
"force_rate": 0,
"force_size": "Disabled",
"custom_width": 512,
"custom_height": 512,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"frame_load_cap": 0,
"skip_first_frames": 0,
"force_rate": 0,
"filename": "Gen-3%20Alpha%20Turbo%204105404222%2C%20Street%20scene%20with%20mo%2C%20xdvsta1kjpg_00002_%2C%20M%205.mp4",
"type": "input",
"format": "video/mp4",
"select_every_nth": 1
},
"muted": false
}
}
}
],
"links": [
[
143,
72,
0,
75,
0,
"IMAGE"
],
[
144,
75,
0,
76,
2,
"INT"
],
[
145,
75,
1,
76,
3,
"INT"
],
[
152,
75,
0,
76,
4,
"INT"
],
[
153,
75,
1,
76,
5,
"INT"
],
[
159,
73,
0,
76,
0,
"IMAGE"
],
[
186,
73,
3,
97,
0,
"VHS_VIDEOINFO"
],
[
187,
97,
0,
94,
4,
"FLOAT"
],
[
236,
76,
0,
117,
0,
"IMAGE"
],
[
237,
117,
0,
94,
0,
"IMAGE"
],
[
238,
72,
0,
117,
1,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.2839025177495118,
"offset": [
527.1756207865476,
1680.1647394850888
]
},
"workspace_info": {
"id": "inL8u59slOz8H81i1Abai",
"saveLock": false,
"cloudID": null,
"coverMediaPath": null
}
},
"version": 0.4
}