Publish a video
After the build, urdido draws and checks what goes out with the video, sends it, and reads back how it did.
The thumbnail and its title
Section titled “The thumbnail and its title”urdido thumbnail video.toml --language en --checkIt checks the title and the thumbnail as a pair: a title over 60 characters, with no number, name or date, more than two words in capitals or an empty superlative, or a thumbnail that repeats a word of the title, is refused.
The Shorts
Section titled “The Shorts”urdido shorts video.toml --language enIt cuts the Shorts the [shorts] table declares. A Short over a minute, a title over 60
characters or the wrong number of hashtags is refused; one outside 20 to 55 seconds is
advised.
A Short keeps the centre of the 16:9 picture as 4:3, narrower where a long shot is
punched in. Where polyweave runs, its local vision model reads where the picture’s text
sits at each shot of the Short, and a block of text the window’s edge runs through is
advised, with its second and how far it spans: reframe that shot (its box) or start
the Short elsewhere. --check runs this too, once the picture is built. The check is
advice: where polyweave is missing or cannot look (no vision model declared, no ollama
running), it says the text is unchecked and why, and the Short is cut anyway.
A picture that carries its own graphics at the edges, such as a TV program’s lower third
or a channel mark, keeps its whole width instead. Set fit = "width" in [shorts.rules]:
the picture sits at full width over a blurred, darkened copy of itself that fills the
9:16. fill_blur sets the blur radius in pixels (40 by default) and fill_dim the black
laid over the fill, from 0 to 1 (0.45 by default). The text check then keeps every x of
the picture.
[shorts.rules]fit = "width"fill_blur = 40fill_dim = 0.45[shorts] outnames each Short’s files (.mp4and.txt) from{n},{language}and{name}. A cut’sname(letters, digits,.,_,-) is its own: without = "shorts/{n:02d}-{name}"andname = "automobilista", Short 1 is written asshorts/01-automobilista.mp4. Whereoutuses{name}, a cut without one is refused, and two cuts never share a name.[shorts.look] fontsnames the folder holding the look’s font files, relative to the declaration’s folder or as a whole path. It can sit anywhere, such as once in the repository for every program’s declaration. A path that is not a folder is refused, naming the key.urdido shorts --measure <file.mp4>holds a Short any tool made to the same bounds (length, loudness, true peak, frozen end).- A video urdido did not build is cut too:
[shorts] videoandtranscript(its word times), and each[[shorts.cut]]astartandlengthinstead oftakes.
Over its last seconds a Short replaces the hook with a pointer to the full video:
[shorts.pointer.<language>] lead and key, or a default per language. A Short that
ends on its own address, such as one game of a program, names it in its cut with
pointer = [lead, key], or a table of such pairs by language. A language the cut’s table
lacks falls back to [shorts.pointer.<language>].
[[shorts.cut]]n = 3start = 412.0length = 38.0hook = ["Um RPG de reis", "por R$ 19"]title = "9 Kings em 38 segundos #shorts"text = "Um RPG de estratégia."pointer = ["Onde jogar", "jogarei.com.br/jogo/9-kings"]A [shorts] table declares one cutter: declaration alone (the scenes selection, built
with urdido build --cut short:<c>) or the urdido shorts keys, never both.
The end screen
Section titled “The end screen”[endscreen] declares next (the video that continues the subject), seconds (5 to 20)
and up to two cards, each at a second or at "drop:1", before the largest drop of the
retention report [endscreen] retention names. The build writes
<name>.<language>.endscreen.json beside the description, for YouTube Studio.
Upload
Section titled “Upload”urdido upload video.toml --language enIt lists what it would send to YouTube (the cut, the thumbnail, each caption track, the
playlist) and the quota it spends. It sends only with --execute, once per cut. It needs
the youtube extra and an OAuth client kept in a folder outside the repository. The
day’s quota is booked in that folder (upload-quota.json), since YouTube counts units per
Google Cloud project and not per video.
To schedule it, add --publish-at with a time and its zone. The video goes up private
and YouTube makes it public then, so [upload] privacy must be "private":
urdido upload video.toml --language en --publish-at 2026-12-08T12:00:00-03:00 --executeA cut urdido did not build
Section titled “A cut urdido did not build”An MP4 another tool rendered is uploaded the same way, its pieces given as files instead of read from a declaration:
urdido upload --file render/show.mp4 --language pt-BR --title "The show" \ --description about.txt --chapters chapters.txt --thumbnail thumb.jpg \ --captions pt-BR=show.srt --privacy unlisted --credentials ~/keys/youtube--chapters is appended to the description after a blank line. Privacy is private by
default, and --credentials (or URDIDO_YOUTUBE_CREDENTIALS) names the OAuth folder.
The record lands beside the MP4 as <file>.<language>.upload.json, so the operations
below take --file with the same arguments.
Once it is up
Section titled “Once it is up”Each upload writes <name>.<language>.upload.json beside the cut. These read and change
the video it names; each is planned first and sent with --execute:
| Command | What it does | Units |
|---|---|---|
--sync |
Reads the privacy, length and processing status back into the record | 1 |
--retitle |
Sends the declared title and the current description again | 51 |
--retire private |
Makes it private: its link stops playing for anyone but you, and the video and its claim record stay in Studio; --replaced-by <id> records the video that replaces it |
51 |
--retire unlist |
Unlists it: anyone with the link can still play it; --replaced-by <id> as above |
51 |
--retire delete --confirm-delete |
Deletes it. Without --confirm-delete it is refused |
50 |
A cut retired for a copyright claim is usually best made private: unlisted keeps the
claimed cut playing for anyone holding the link, and a deletion loses the claim record.
Both privacy changes read the video’s status first and send back what the upload set
(made for kids, embeddable), and drop a pending --publish-at, so a retired video never
goes public at its scheduled hour.
A retired cut can be uploaded again: the new record keeps the old one under history.
Read the curve
Section titled “Read the curve”urdido retention studio.csv --captions cut.srt --plan plan.jsonIt names each drop in the audience retention curve with the sentence heard at that
second. For a variant, add --video video.toml --out report.json, and --against an
earlier report to compare the two cuts.
urdido funnel content.csv --traffic sources.csvIt names each video’s first broken link: impressions, click-through, average viewed or subscribers per view.