The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Sound-keeping joins for 4 clips too (every {n} route resolves for 2, 3 and 4 clips)
Claudeb57b6a91cda9
diff --git a/scripts/comfy/hand-built/video-concat-sound1-4.json b/scripts/comfy/hand-built/video-concat-sound1-4.jsonnew file mode 100644index 00000000..0ea08a18--- /dev/null+++ b/scripts/comfy/hand-built/video-concat-sound1-4.json@@ -0,0 +1,190 @@+{+ "1": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_1.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 1 at the film's frame rate (its sound is the soundtrack)"+ }+ },+ "2": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "1",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 1"+ }+ },+ "4": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_2.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 2 at the film's frame rate"+ }+ },+ "5": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "4",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 2"+ }+ },+ "7": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_3.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 3 at the film's frame rate"+ }+ },+ "8": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "7",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 3"+ }+ },+ "10": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_4.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 4 at the film's frame rate"+ }+ },+ "11": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "10",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 4"+ }+ },+ "20": {+ "class_type": "BatchImagesNode",+ "inputs": {+ "images.image0": [+ "2",+ 0+ ],+ "images.image1": [+ "5",+ 0+ ],+ "images.image2": [+ "8",+ 0+ ],+ "images.image3": [+ "11",+ 0+ ]+ },+ "_meta": {+ "title": "Concatenate frames"+ }+ },+ "21": {+ "class_type": "CreateVideo",+ "inputs": {+ "images": [+ "20",+ 0+ ],+ "fps": 25,+ "audio": [+ "1",+ 2+ ],+ "bit_depth": "auto",+ "color_space": "sRGB",+ "codec": "none"+ },+ "_meta": {+ "title": "Film with the soundtrack"+ }+ },+ "22": {+ "class_type": "SaveVideo",+ "inputs": {+ "video": [+ "21",+ 0+ ],+ "filename_prefix": "fuobe/video-concat-sound",+ "format": "auto",+ "format.codec": "auto",+ "codec": "auto"+ },+ "_meta": {+ "title": "Save video"+ }+ }+}diff --git a/scripts/comfy/hand-built/video-concat-sound2-4.json b/scripts/comfy/hand-built/video-concat-sound2-4.jsonnew file mode 100644index 00000000..2ee5f719--- /dev/null+++ b/scripts/comfy/hand-built/video-concat-sound2-4.json@@ -0,0 +1,233 @@+{+ "1": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_1.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 1 at the film's frame rate"+ }+ },+ "2": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "1",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 1"+ }+ },+ "4": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_2.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 2 at the film's frame rate (its sound is the soundtrack)"+ }+ },+ "5": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "4",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 2"+ }+ },+ "7": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_3.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 3 at the film's frame rate"+ }+ },+ "8": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "7",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 3"+ }+ },+ "10": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_4.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 4 at the film's frame rate"+ }+ },+ "11": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "10",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 4"+ }+ },+ "20": {+ "class_type": "BatchImagesNode",+ "inputs": {+ "images.image0": [+ "2",+ 0+ ],+ "images.image1": [+ "5",+ 0+ ],+ "images.image2": [+ "8",+ 0+ ],+ "images.image3": [+ "11",+ 0+ ]+ },+ "_meta": {+ "title": "Concatenate frames"+ }+ },+ "21": {+ "class_type": "CreateVideo",+ "inputs": {+ "images": [+ "20",+ 0+ ],+ "fps": 25,+ "audio": [+ "32",+ 0+ ],+ "bit_depth": "auto",+ "color_space": "sRGB",+ "codec": "none"+ },+ "_meta": {+ "title": "Film with the soundtrack"+ }+ },+ "22": {+ "class_type": "SaveVideo",+ "inputs": {+ "video": [+ "21",+ 0+ ],+ "filename_prefix": "fuobe/video-concat-sound",+ "format": "auto",+ "format.codec": "auto",+ "codec": "auto"+ },+ "_meta": {+ "title": "Save video"+ }+ },+ "30": {+ "class_type": "VHS_VideoInfoLoaded",+ "inputs": {+ "video_info": [+ "1",+ 3+ ]+ },+ "_meta": {+ "title": "Clip 1 length"+ }+ },+ "31": {+ "class_type": "EmptyAudio",+ "inputs": {+ "duration": [+ "30",+ 2+ ],+ "sample_rate": 44100,+ "channels": 2+ },+ "_meta": {+ "title": "Silence while clip 1 plays"+ }+ },+ "32": {+ "class_type": "AudioConcat",+ "inputs": {+ "audio1": [+ "31",+ 0+ ],+ "audio2": [+ "4",+ 2+ ],+ "direction": "after"+ },+ "_meta": {+ "title": "Clip 2's sound starts where clip 1 ends"+ }+ }+}diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjsindex 8ea67d3e..8030d8fd 100644--- a/scripts/comfy/library.spec.mjs+++ b/scripts/comfy/library.spec.mjs@@ -1571,7 +1571,7 @@ export const SPEC = [})),// ---- marketing (Wave B): join clips and keep one clip's sound (UGC presenter, Click to Ad, Ad Multiplier) ----...[1, 2].flatMap((sound) =>- [2, 3].map((n) => ({+ [2, 3, 4].map((n) => ({id: `video-concat-sound${sound}-${n}`,title: `Join ${n} clips at one frame rate, keeping clip ${sound}'s sound${sound === 2 ? ' (it starts where clip 1 ends)' : ''}`,capability: 'concat',diff --git a/scripts/comfy/validation-state.json b/scripts/comfy/validation-state.jsonindex 0bed56ee..fddbe82a 100644--- a/scripts/comfy/validation-state.json+++ b/scripts/comfy/validation-state.json@@ -479,6 +479,12 @@"error": null,"at": "2026-10-21T13:20:32.904Z"},+ "video-concat-sound1-4": {+ "sha256": "a8814d8c6216b7ffe1246dbedc8c6aeb8d83cc63070080514658083c4c87b11a",+ "validated": true,+ "error": null,+ "at": "2026-10-21T14:06:48.720Z"+ },"video-concat-sound2-2": {"sha256": "0f63f456724039301c48e7fab8b99091c72fb2ddf5d5a2e89cb5c6c7f273cfc4","validated": true,@@ -491,6 +497,12 @@"error": null,"at": "2026-10-21T13:20:33.492Z"},+ "video-concat-sound2-4": {+ "sha256": "999fab48090cf6ec85d0d94d151169c2bbd522e152cf36ee57c8e6baf02bd09b",+ "validated": true,+ "error": null,+ "at": "2026-10-21T14:06:49.108Z"+ },"video-depth-da3": {"sha256": "4c2dd5a6ee8b99eb9eeaf3ea5c9e7b3439964dc87171afef8dbbe2db53676f81","validated": true,diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.tsindex fbd53025..760a9e9b 100644--- a/src/lib/catalog/models.ts+++ b/src/lib/catalog/models.ts@@ -1147,7 +1147,7 @@ const local: ModelDef[] = [vendor: "ComfyUI",family: "utility",kind: "video",- tagline: "Join 2–3 clips at their real speed; the soundtrack is the first clip's own sound · CPU",+ tagline: "Join 2–4 clips at their real speed; the soundtrack is the first clip's own sound · CPU",routes: [comfy("concat", "video-concat-sound1-{n}", "VHS loader at 25 fps; clip 1's sound from the start")],options: { aspectRatios: ["auto", ...VID_AR], resolutions: ["480p", "720p", "1080p"] },defaults: { aspectRatio: "9:16", resolution: "480p" },@@ -1159,7 +1159,7 @@ const local: ModelDef[] = [vendor: "ComfyUI",family: "utility",kind: "video",- tagline: "Join 2–3 clips at their real speed; the second clip's own sound starts where the first clip ends · CPU",+ tagline: "Join 2–4 clips at their real speed; the second clip's own sound starts where the first clip ends · CPU",routes: [comfy("concat", "video-concat-sound2-{n}", "VHS loader at 25 fps; silence for clip 1, then clip 2's sound")],options: { aspectRatios: ["auto", ...VID_AR], resolutions: ["480p", "720p", "1080p"] },defaults: { aspectRatio: "9:16", resolution: "480p" },diff --git a/tests/marketing-fixes.test.ts b/tests/marketing-fixes.test.tsindex 61ad82aa..84975778 100644--- a/tests/marketing-fixes.test.ts+++ b/tests/marketing-fixes.test.ts@@ -163,7 +163,7 @@ describe("open joins keep the voice", () => {describe("the sound-keeping join workflows", () => {it("are in the library, validated, and bind every clip, the size and the frame rate", async () => {const byId = new Map(loadManifest().workflows.map((w) => [w.id, w]));- for (const id of ["video-concat-sound1-2", "video-concat-sound1-3", "video-concat-sound2-2", "video-concat-sound2-3"]) {+ for (const id of ["video-concat-sound1-2", "video-concat-sound1-3", "video-concat-sound1-4", "video-concat-sound2-2", "video-concat-sound2-3", "video-concat-sound2-4"]) {expect(byId.get(id)?.validated, id).toBe(true);expect(byId.get(id)?.defaults.fps, id).toBe(25);}diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.jsonindex 55784ef5..484387c9 100644--- a/workflows/comfyui/manifest.json+++ b/workflows/comfyui/manifest.json@@ -1,6 +1,6 @@{"version": 1,- "generatedAt": "2026-10-21T13:20:17.723Z",+ "generatedAt": "2026-10-21T14:06:47.188Z","comfyuiCommit": "fc04da91b2ab12f99e4716371a7e4f98ac982597","comfyuiVersion": "0.41.0","workflowTemplatesVersion": "0.11.86",@@ -7060,6 +7060,130 @@"validated": true,"notes": "Hard-cut join of 3 clips in order, each resampled to fps (VHS_LoadVideo force_rate, default 25 = InfiniteTalk's rate) so clips made at 16 fps (Wan) and 25 fps play at their real speed, scaled and centre-cropped to width x height -> BatchImagesNode -> CreateVideo(fps) with a soundtrack: clip 1's own sound from the start (a voiced presenter followed by silent b-roll, or a reference ad followed by a new CTA). The sound clip must have an audio track (VHS fails to extract audio otherwise); the other clips' sound is dropped. Marketing Studio UGC / Click to Ad / Ad Multiplier joins (src/server/marketing.ts). Runs on CPU (verified on the shared ComfyUI with a 16 fps silent hook + a 25 fps voiced clip + 16 fps b-roll: the sound starts at the hook's end). RAM grows with the total frame count at the target fps."},+ {+ "id": "video-concat-sound1-4",+ "title": "Join 4 clips at one frame rate, keeping clip 1's sound",+ "capability": "concat",+ "file": "video-concat-sound1-4.json",+ "source": "hand-built (scripts/comfy/hand-built/video-concat-sound1-4.json)",+ "bindings": {+ "video": [+ {+ "node": "1",+ "input": "video"+ }+ ],+ "video2": [+ {+ "node": "4",+ "input": "video"+ }+ ],+ "video3": [+ {+ "node": "7",+ "input": "video"+ }+ ],+ "video4": [+ {+ "node": "10",+ "input": "video"+ }+ ],+ "width": [+ {+ "node": "2",+ "input": "width"+ },+ {+ "node": "5",+ "input": "width"+ },+ {+ "node": "8",+ "input": "width"+ },+ {+ "node": "11",+ "input": "width"+ }+ ],+ "height": [+ {+ "node": "2",+ "input": "height"+ },+ {+ "node": "5",+ "input": "height"+ },+ {+ "node": "8",+ "input": "height"+ },+ {+ "node": "11",+ "input": "height"+ }+ ],+ "fps": [+ {+ "node": "1",+ "input": "force_rate"+ },+ {+ "node": "4",+ "input": "force_rate"+ },+ {+ "node": "7",+ "input": "force_rate"+ },+ {+ "node": "10",+ "input": "force_rate"+ },+ {+ "node": "21",+ "input": "fps"+ }+ ],+ "filenamePrefix": [+ {+ "node": "22",+ "input": "filename_prefix"+ }+ ]+ },+ "outputs": [+ {+ "node": "22",+ "kind": "video"+ }+ ],+ "defaults": {+ "width": 640,+ "height": 640,+ "fps": 25+ },+ "limits": {+ "maxWidth": 1920,+ "maxHeight": 1920,+ "dimensionMultiple": 16+ },+ "models": [],+ "customNodes": [+ {+ "name": "ComfyUI-VideoHelperSuite",+ "repo": "https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite"+ }+ ],+ "vramGb": 0,+ "license": "no model (ComfyUI core nodes + VideoHelperSuite loader)",+ "validated": true,+ "notes": "Hard-cut join of 4 clips in order, each resampled to fps (VHS_LoadVideo force_rate, default 25 = InfiniteTalk's rate) so clips made at 16 fps (Wan) and 25 fps play at their real speed, scaled and centre-cropped to width x height -> BatchImagesNode -> CreateVideo(fps) with a soundtrack: clip 1's own sound from the start (a voiced presenter followed by silent b-roll, or a reference ad followed by a new CTA). The sound clip must have an audio track (VHS fails to extract audio otherwise); the other clips' sound is dropped. Marketing Studio UGC / Click to Ad / Ad Multiplier joins (src/server/marketing.ts). Runs on CPU (verified on the shared ComfyUI with a 16 fps silent hook + a 25 fps voiced clip + 16 fps b-roll: the sound starts at the hook's end). RAM grows with the total frame count at the target fps."+ },{"id": "video-concat-sound2-2","title": "Join 2 clips at one frame rate, keeping clip 2's sound (it starts where clip 1 ends)",@@ -7254,6 +7378,130 @@"validated": true,"notes": "Hard-cut join of 3 clips in order, each resampled to fps (VHS_LoadVideo force_rate, default 25 = InfiniteTalk's rate) so clips made at 16 fps (Wan) and 25 fps play at their real speed, scaled and centre-cropped to width x height -> BatchImagesNode -> CreateVideo(fps) with a soundtrack: silence as long as clip 1 (VHS_VideoInfoLoaded duration -> EmptyAudio), then clip 2's own sound (a silent hook clip, then the voiced presenter or the reference ad). The sound clip must have an audio track (VHS fails to extract audio otherwise); the other clips' sound is dropped. Marketing Studio UGC / Click to Ad / Ad Multiplier joins (src/server/marketing.ts). Runs on CPU (verified on the shared ComfyUI with a 16 fps silent hook + a 25 fps voiced clip + 16 fps b-roll: the sound starts at the hook's end). RAM grows with the total frame count at the target fps."},+ {+ "id": "video-concat-sound2-4",+ "title": "Join 4 clips at one frame rate, keeping clip 2's sound (it starts where clip 1 ends)",+ "capability": "concat",+ "file": "video-concat-sound2-4.json",+ "source": "hand-built (scripts/comfy/hand-built/video-concat-sound2-4.json)",+ "bindings": {+ "video": [+ {+ "node": "1",+ "input": "video"+ }+ ],+ "video2": [+ {+ "node": "4",+ "input": "video"+ }+ ],+ "video3": [+ {+ "node": "7",+ "input": "video"+ }+ ],+ "video4": [+ {+ "node": "10",+ "input": "video"+ }+ ],+ "width": [+ {+ "node": "2",+ "input": "width"+ },+ {+ "node": "5",+ "input": "width"+ },+ {+ "node": "8",+ "input": "width"+ },+ {+ "node": "11",+ "input": "width"+ }+ ],+ "height": [+ {+ "node": "2",+ "input": "height"+ },+ {+ "node": "5",+ "input": "height"+ },+ {+ "node": "8",+ "input": "height"+ },+ {+ "node": "11",+ "input": "height"+ }+ ],+ "fps": [+ {+ "node": "1",+ "input": "force_rate"+ },+ {+ "node": "4",+ "input": "force_rate"+ },+ {+ "node": "7",+ "input": "force_rate"+ },+ {+ "node": "10",+ "input": "force_rate"+ },+ {+ "node": "21",+ "input": "fps"+ }+ ],+ "filenamePrefix": [+ {+ "node": "22",+ "input": "filename_prefix"+ }+ ]+ },+ "outputs": [+ {+ "node": "22",+ "kind": "video"+ }+ ],+ "defaults": {+ "width": 640,+ "height": 640,+ "fps": 25+ },+ "limits": {+ "maxWidth": 1920,+ "maxHeight": 1920,+ "dimensionMultiple": 16+ },+ "models": [],+ "customNodes": [+ {+ "name": "ComfyUI-VideoHelperSuite",+ "repo": "https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite"+ }+ ],+ "vramGb": 0,+ "license": "no model (ComfyUI core nodes + VideoHelperSuite loader)",+ "validated": true,+ "notes": "Hard-cut join of 4 clips in order, each resampled to fps (VHS_LoadVideo force_rate, default 25 = InfiniteTalk's rate) so clips made at 16 fps (Wan) and 25 fps play at their real speed, scaled and centre-cropped to width x height -> BatchImagesNode -> CreateVideo(fps) with a soundtrack: silence as long as clip 1 (VHS_VideoInfoLoaded duration -> EmptyAudio), then clip 2's own sound (a silent hook clip, then the voiced presenter or the reference ad). The sound clip must have an audio track (VHS fails to extract audio otherwise); the other clips' sound is dropped. Marketing Studio UGC / Click to Ad / Ad Multiplier joins (src/server/marketing.ts). Runs on CPU (verified on the shared ComfyUI with a 16 fps silent hook + a 25 fps voiced clip + 16 fps b-roll: the sound starts at the hook's end). RAM grows with the total frame count at the target fps."+ },{"id": "storyboard-qwen-edit-2509-next-scene","title": "Storyboard Next Scene (Qwen-Image-Edit 2509 + next-scene LoRA)",diff --git a/workflows/comfyui/video-concat-sound1-4.json b/workflows/comfyui/video-concat-sound1-4.jsonnew file mode 100644index 00000000..24695acc--- /dev/null+++ b/workflows/comfyui/video-concat-sound1-4.json@@ -0,0 +1,190 @@+{+ "1": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_1.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 1 at the film's frame rate (its sound is the soundtrack)"+ }+ },+ "2": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "1",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 1"+ }+ },+ "4": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_2.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 2 at the film's frame rate"+ }+ },+ "5": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "4",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 2"+ }+ },+ "7": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_3.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 3 at the film's frame rate"+ }+ },+ "8": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "7",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 3"+ }+ },+ "10": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_4.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 4 at the film's frame rate"+ }+ },+ "11": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "10",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 4"+ }+ },+ "20": {+ "class_type": "BatchImagesNode",+ "inputs": {+ "images.image0": [+ "2",+ 0+ ],+ "images.image1": [+ "5",+ 0+ ],+ "images.image2": [+ "8",+ 0+ ],+ "images.image3": [+ "11",+ 0+ ]+ },+ "_meta": {+ "title": "Concatenate frames"+ }+ },+ "21": {+ "class_type": "CreateVideo",+ "inputs": {+ "images": [+ "20",+ 0+ ],+ "fps": 25,+ "audio": [+ "1",+ 2+ ],+ "bit_depth": "auto",+ "color_space": "sRGB",+ "codec": "none"+ },+ "_meta": {+ "title": "Film with the soundtrack"+ }+ },+ "22": {+ "class_type": "SaveVideo",+ "inputs": {+ "video": [+ "21",+ 0+ ],+ "filename_prefix": "fuobe/video-concat-sound1-4",+ "format": "auto",+ "format.codec": "auto",+ "codec": "auto"+ },+ "_meta": {+ "title": "Save video"+ }+ }+}diff --git a/workflows/comfyui/video-concat-sound2-4.json b/workflows/comfyui/video-concat-sound2-4.jsonnew file mode 100644index 00000000..0359feda--- /dev/null+++ b/workflows/comfyui/video-concat-sound2-4.json@@ -0,0 +1,233 @@+{+ "1": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_1.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 1 at the film's frame rate"+ }+ },+ "2": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "1",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 1"+ }+ },+ "4": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_2.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 2 at the film's frame rate (its sound is the soundtrack)"+ }+ },+ "5": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "4",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 2"+ }+ },+ "7": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_3.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 3 at the film's frame rate"+ }+ },+ "8": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "7",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 3"+ }+ },+ "10": {+ "class_type": "VHS_LoadVideo",+ "inputs": {+ "video": "clip_4.mp4",+ "force_rate": 25,+ "custom_width": 0,+ "custom_height": 0,+ "frame_load_cap": 0,+ "skip_first_frames": 0,+ "select_every_nth": 1,+ "format": "None"+ },+ "_meta": {+ "title": "Clip 4 at the film's frame rate"+ }+ },+ "11": {+ "class_type": "ImageScale",+ "inputs": {+ "image": [+ "10",+ 0+ ],+ "upscale_method": "lanczos",+ "width": 640,+ "height": 640,+ "crop": "center"+ },+ "_meta": {+ "title": "Fit clip 4"+ }+ },+ "20": {+ "class_type": "BatchImagesNode",+ "inputs": {+ "images.image0": [+ "2",+ 0+ ],+ "images.image1": [+ "5",+ 0+ ],+ "images.image2": [+ "8",+ 0+ ],+ "images.image3": [+ "11",+ 0+ ]+ },+ "_meta": {+ "title": "Concatenate frames"+ }+ },+ "21": {+ "class_type": "CreateVideo",+ "inputs": {+ "images": [+ "20",+ 0+ ],+ "fps": 25,+ "audio": [+ "32",+ 0+ ],+ "bit_depth": "auto",+ "color_space": "sRGB",+ "codec": "none"+ },+ "_meta": {+ "title": "Film with the soundtrack"+ }+ },+ "22": {+ "class_type": "SaveVideo",+ "inputs": {+ "video": [+ "21",+ 0+ ],+ "filename_prefix": "fuobe/video-concat-sound2-4",+ "format": "auto",+ "format.codec": "auto",+ "codec": "auto"+ },+ "_meta": {+ "title": "Save video"+ }+ },+ "30": {+ "class_type": "VHS_VideoInfoLoaded",+ "inputs": {+ "video_info": [+ "1",+ 3+ ]+ },+ "_meta": {+ "title": "Clip 1 length"+ }+ },+ "31": {+ "class_type": "EmptyAudio",+ "inputs": {+ "duration": [+ "30",+ 2+ ],+ "sample_rate": 44100,+ "channels": 2+ },+ "_meta": {+ "title": "Silence while clip 1 plays"+ }+ },+ "32": {+ "class_type": "AudioConcat",+ "inputs": {+ "audio1": [+ "31",+ 0+ ],+ "audio2": [+ "4",+ 2+ ],+ "direction": "after"+ },+ "_meta": {+ "title": "Clip 2's sound starts where clip 1 ends"+ }+ }+}