{
  "config": {},
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": true,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        2740.1988550435995,
        -4791.582253027365
      ],
      "scale": 0.6934334949441372
    },
    "frontendVersion": "1.41.13",
    "linearData": {
      "inputs": [
        [
          "3",
          "video"
        ],
        [
          "3",
          "videopreview"
        ],
        [
          "4",
          "video"
        ],
        [
          "4",
          "videopreview"
        ],
        [
          "2",
          "crossfade_frames"
        ],
        [
          "2",
          "blend_mode"
        ]
      ],
      "outputs": [
        "6"
      ]
    },
    "linearMode": false
  },
  "groups": [],
  "id": "5259dad1-0c38-4c86-a90f-93a15848ee70",
  "last_link_id": 27,
  "last_node_id": 11,
  "links": [
    [
      3,
      3,
      3,
      5,
      0,
      "VHS_VIDEOINFO"
    ],
    [
      4,
      5,
      3,
      2,
      2,
      "INT"
    ],
    [
      6,
      2,
      0,
      6,
      0,
      "IMAGE"
    ],
    [
      7,
      5,
      0,
      6,
      4,
      "FLOAT"
    ],
    [
      23,
      3,
      0,
      2,
      0,
      "IMAGE"
    ],
    [
      25,
      4,
      0,
      2,
      1,
      "IMAGE"
    ],
    [
      27,
      5,
      4,
      2,
      3,
      "INT"
    ]
  ],
  "nodes": [
    {
      "bgcolor": "#4F0074",
      "color": "#16727c",
      "flags": {},
      "id": 2,
      "inputs": [
        {
          "link": 23,
          "name": "images_a",
          "type": "IMAGE"
        },
        {
          "link": 25,
          "name": "images_b",
          "type": "IMAGE"
        },
        {
          "link": 4,
          "name": "target_width",
          "type": "INT",
          "widget": {
            "name": "target_width"
          }
        },
        {
          "link": 27,
          "name": "target_height",
          "type": "INT",
          "widget": {
            "name": "target_height"
          }
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            6
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        -1000.0000227095109,
        5040.000105797924
      ],
      "properties": {
        "Node name for S&R": "FL_VideoCrossfade"
      },
      "size": [
        284.328125,
        226.4375
      ],
      "type": "FL_VideoCrossfade",
      "widgets_values": [
        72,
        "normal",
        512,
        512
      ]
    },
    {
      "flags": {},
      "id": 3,
      "inputs": [
        {
          "link": null,
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager"
        },
        {
          "link": null,
          "name": "vae",
          "shape": 7,
          "type": "VAE"
        }
      ],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            23
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "frame_count",
          "type": "INT"
        },
        {
          "links": null,
          "name": "audio",
          "type": "AUDIO"
        },
        {
          "links": [
            3
          ],
          "name": "video_info",
          "type": "VHS_VIDEOINFO"
        }
      ],
      "pos": [
        -1859.8912431582926,
        5043.677683616478
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideo"
      },
      "size": [
        260.390625,
        835.09375
      ],
      "type": "VHS_LoadVideo",
      "widgets_values": {
        "custom_height": 0,
        "custom_width": 0,
        "force_rate": 0,
        "format": "AnimateDiff",
        "frame_load_cap": 0,
        "select_every_nth": 1,
        "skip_first_frames": 0,
        "video": "crossfade_clip_1.mp4",
        "videopreview": {
          "hidden": false,
          "params": {
            "custom_height": 0,
            "custom_width": 0,
            "filename": "crossfade_clip_1.mp4",
            "force_rate": 0,
            "format": "video/mp4",
            "frame_load_cap": 0,
            "select_every_nth": 1,
            "skip_first_frames": 0,
            "type": "input"
          },
          "paused": false
        }
      }
    },
    {
      "flags": {},
      "id": 4,
      "inputs": [
        {
          "link": null,
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager"
        },
        {
          "link": null,
          "name": "vae",
          "shape": 7,
          "type": "VAE"
        }
      ],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            25
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "frame_count",
          "type": "INT"
        },
        {
          "links": null,
          "name": "audio",
          "type": "AUDIO"
        },
        {
          "links": null,
          "name": "video_info",
          "type": "VHS_VIDEOINFO"
        }
      ],
      "pos": [
        -1570.0001813841063,
        5040.000105797924
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideo"
      },
      "size": [
        260.390625,
        835.09375
      ],
      "type": "VHS_LoadVideo",
      "widgets_values": {
        "custom_height": 0,
        "custom_width": 0,
        "force_rate": 0,
        "format": "AnimateDiff",
        "frame_load_cap": 0,
        "select_every_nth": 1,
        "skip_first_frames": 0,
        "video": "crossfade_clip_2.mp4",
        "videopreview": {
          "hidden": false,
          "params": {
            "custom_height": 0,
            "custom_width": 0,
            "filename": "crossfade_clip_2.mp4",
            "force_rate": 0,
            "format": "video/mp4",
            "frame_load_cap": 0,
            "select_every_nth": 1,
            "skip_first_frames": 0,
            "type": "input"
          },
          "paused": false
        }
      }
    },
    {
      "flags": {},
      "id": 5,
      "inputs": [
        {
          "link": 3,
          "name": "video_info",
          "type": "VHS_VIDEOINFO"
        }
      ],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            7
          ],
          "name": "source_fps🟨",
          "type": "FLOAT"
        },
        {
          "links": null,
          "name": "source_frame_count🟨",
          "type": "INT"
        },
        {
          "links": null,
          "name": "source_duration🟨",
          "type": "FLOAT"
        },
        {
          "links": [
            4
          ],
          "name": "source_width🟨",
          "type": "INT"
        },
        {
          "links": [
            27
          ],
          "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"
        }
      ],
      "pos": [
        -1280.0000203571103,
        5040.000105797924
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoInfo"
      },
      "size": [
        243.890625,
        287.78125
      ],
      "type": "VHS_VideoInfo",
      "widgets_values": {}
    },
    {
      "flags": {},
      "id": 6,
      "inputs": [
        {
          "link": 6,
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": null,
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager"
        },
        {
          "link": null,
          "name": "vae",
          "shape": 7,
          "type": "VAE"
        },
        {
          "link": 7,
          "name": "frame_rate",
          "type": "FLOAT",
          "widget": {
            "name": "frame_rate"
          }
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": null,
          "name": "Filenames",
          "type": "VHS_FILENAMES"
        }
      ],
      "pos": [
        -690.0003270925597,
        5040.000105797924
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine"
      },
      "size": [
        225.3125,
        822.484375
      ],
      "type": "VHS_VideoCombine",
      "widgets_values": {
        "crf": 13,
        "filename_prefix": "AnimateDiff",
        "format": "video/h264-mp4",
        "frame_rate": 8,
        "loop_count": 0,
        "pingpong": false,
        "pix_fmt": "yuv420p",
        "save_metadata": true,
        "save_output": true,
        "trim_to_audio": false,
        "videopreview": {
          "hidden": false,
          "params": {
            "filename": "be9565be2277a60d341bbbfd93f575b4652729f34590d8632bd0af11d2ec3765.mp4",
            "format": "video/h264-mp4",
            "frame_rate": 24,
            "fullpath": "",
            "subfolder": "",
            "type": "output",
            "workflow": "AnimateDiff_00002.png"
          },
          "paused": false
        }
      }
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 11,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [],
      "pos": [
        -2610.000053192587,
        5049.999983116352
      ],
      "properties": {},
      "size": [
        718.953125,
        566.984375
      ],
      "type": "MarkdownNote",
      "widgets_values": [
        "# FL Video Crossfade\n\nBlends two video image sequences together with a crossfade transition.\n\n## Parameters\n\n| Parameter | Default | Notes |\n|---|---|---|\n| `images_a` | — | First video sequence (IMAGE input). |\n| `images_b` | — | Second video sequence (IMAGE input). |\n| `crossfade_frames` | 72 | Number of frames over which the crossfade occurs. |\n| `blend_mode` | normal | Blending mode used during the transition. |\n| `target_width` | 512 | Output width in pixels. |\n| `target_height` | 512 | Output height in pixels. |\n\n> **Note:** `target_width` and `target_height` are determined by the dimensions of `images_a` using the `Video Info` node.\n\n> **Tip:** To add more clips, chain multiple FL Video Crossfade nodes — pass the IMAGE output into `images_a` of the next node and connect a new video to `images_b`."
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}