Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Template

import type { Template } from "https://raw.githubusercontent.com/andykais/ffmpeg-templates/main/lib/template_input.ts";
interface Template {
clips: Clip[];
preview?: Timestamp;
size?: {
width?: Pixels | Percentage;
height?: Pixels | Percentage;
relative_to: ClipID;
}
;
timeline?: {
[start_position: string]: (ClipID | TimelineEnums)[][];
}
;
}

§Properties

§
clips: Clip[]
[src]

A list of clips that are available to the timline

§
preview?: Timestamp
[src]

Preview at a position Used with the --preview flag

§
size?: {
width?: Pixels | Percentage;
height?: Pixels | Percentage;
relative_to: ClipID;
}
[src]

defaults to { width: '100%', height: '100%', relative_to: 'CLIP_0' }

§
timeline?: {
[start_position: string]: (ClipID | TimelineEnums)[][];
}
[src]

Specify when clips are played and which should be layered on top of others using this field. The default timeline starts all the clips at the same time. E.g. {"00:00:00": [["CLIP_0", "CLIP_1", ...]]}