Skip to content

ffmpeg.composite

Operation: ffmpeg.composite
Category: media
Tags: ffmpeg, video, composite

Interleave talking head + b-roll segments with audio and subtitles

Type: Native (built-in)
Timeout: 300s
Retries: 3 (ExponentialWithJitter)

NameTypeRequiredDefaultDescription
talking_head_urlAssetYesTalking head video URL/path
broll_clip_1AssetNoB-roll clip 1 URL/path
broll_clip_2AssetNoB-roll clip 2 URL/path
audio_urlAssetNoVoiceover audio URL/path
subtitles_pathStringNoASS subtitle file path
segmentsJSONNoScript segments array (from generate-script)
NameTypeDescription
urlAssetFinal composite video URL
pathStringLocal file path
segmentsNumberNumber of segments composited
has_audioBooleanWhether audio was included
has_subtitlesBooleanWhether subtitles were burned
{
"codec": "libx264",
"crf": "22",
"preset": "fast",
"resolution": "1080x1920"
}
import { WorkflowBuilder } from "@fabric-platform/sdk";
const workflow = new WorkflowBuilder("my-workflow")
.node("ffmpeg-composite", "tool", (n) =>
n.config({
operation: "ffmpeg.composite",
// ... node-specific config
})
)
.build();