← PluginsLayout & Formats
format-broadcast-slateOfficial · by ShadereraBroadcast slate
A clock slate for a broadcast preroll (fill: 'source'): the spot's details and a countdown in seconds, going to black before the programme, drawn on a 2D canvas at negative t.
Add it to a filmOr ask your agent
“Use the shaderera-plugins skill to add format-broadcast-slate to this film and wire it in, then run check and show me a still.”
- Type
- component · Layout & Formats
- Version
- 0.1.0 · published
- Licence
- MIT
- Built on
- No other plugins
- npm
- No packages
- Copies
- Tags
- slate, clock, preroll, broadcast, countdown, clearcast
READMEformat-broadcast-slate
How to
use it.
A clock slate for a broadcast preroll: the spot's details and a countdown, drawn by the film at negative t when its variant declares preroll: { seconds, fill: 'source' }.
import { drawSlate } from './delivery/slate.ts'// shaderera.json: "variants": { "tv": { "preroll": { "seconds": 10, "fill": "source" }, "timecode": "10:00:00:00" } }render: async (t) => { const ctx = canvas.getContext('2d') if (drawSlate(ctx, t, { width, height, family: 'IBM Plex Sans', fields: { Title: 'Spring sale', Client: '…', Agency: '…', Duration: '30"', Clock: 'ABC/DEFG123/030', } })) return { color: canvas } // t >= 0: the film}It shows exactly the fields given, in order, and the whole seconds left; the last blackFor seconds (2 by default) are black. Which fields a broadcaster asks for, the preroll's length and how long it stays black come from that broadcaster's spec (UK clock numbers from Clearcast); check it before a delivery. A plain layout, yours to change once copied.
More in Layout & Formats02 plugins
More in Layout & Formats
format-placement-specsOfficial · by ShadereraPlacement specsWhat Reels ads, YouTube, Amazon CTV, US and EU broadcast and a DOOH screen accept, as requirements.json placements that deliver checks the file against, each with its source and the date it was read.format-safe-areasOfficial · by ShadereraSafe areas and the tall-frame lensWhere text may go in 16:9, 1:1 and 9:16, clear of YouTube Shorts, Reels and TikTok UI; and the lens rule that keeps a 16:9 shot reading in a vertical variant.