Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
2.6 KiB
2.6 KiB
ADR-0004 (OTT): Transcode lanes for OTT content
Status: proposed. Default recorded behind a flag; owner decision is scheduled for the Wave E owner session. Decision id: OD-MV4 (asked in Wave E; recorded now so MV2 has a default) Package: MV0. Governs MV2 and MV3 (Wave E).
| Field | Value |
|---|---|
| Default recorded | 2026-09-29 |
| Owner answer | pending (Wave E owner session) |
| Owner answer date | pending |
| Signed by | pending |
Context
- Box 1 has 2 OCPUs and CPU pressure of 57-93% avg300 during renders (
infra-box/CAPACITY.md, 2026-09-27). A 4-rung ladder of one uploaded hour needs about 2-4 CPU-hours on it (est.). Box 1 cannot transcode OTT libraries. - Box 2 is the serving box; MASTER-PLAN section 9 puts no Menivor render on it.
- R2 has zero egress at $0.015/GB-month. Bunny Stream: storage from $0.01/GB, delivery from $0.005/GB, free encoding, $1/month minimum. Cloudflare Stream: $5 per 1,000 minutes stored, $1 per 1,000 delivered (both fetched 2026-09-29 by the parity plan).
- Menivor-made reels are already encoded MP4s with a 2 s GOP (M1.1), so they only need a remux plus two lower rungs.
Decision (default)
| Lane | Takes | Cost | Guard |
|---|---|---|---|
box1-ffmpeg |
Menivor-made reels and uploads of 3 min or less and 1080p or less, off-peak, tier 3 | $0 | Admission lanes (M1.3); never ahead of paid renders. The picker refuses box 1 above 3 min (target) or above 1080p. |
mac-videotoolbox |
Long-form, best effort | $0 | Only while its heartbeat is under 60 s old and more than 10 GB is free (it needs 20 GB or more of scratch, target; same disk preflight as MG8). |
burst |
Long-form for paying plans only | under the MD6 cap (EUR 20/month) | Paid jobs only; the cap is a hard stop. |
bunny-stream |
Pass-through lane when a customer's plan pays for it | passed through | Off by default. Bunny is a new supplier, so it needs an explicit owner yes (like MD22). Flag: OTT_BUNNY_LANE (default off). |
- Packaging (Shaka Packager, a remux) may run on box 1 at tier 3. Transcoding long-form never runs on box 1 at peak.
- OTT never calls generation providers.
- Each job records its node, CPU seconds and cost in JobEvent (MV2 acceptance).
- VOD delivery comes from R2 (zero egress), not through a normal Cloudflare-proxied hostname, because the self-serve CDN terms restrict video there [re-verify the current terms text before MV4].
Consequences
- MV2's node picker implements the table above, with
OTT_BUNNY_LANEoff until the owner says yes. - Storage per plan is metered (MV7). A 1-hour 4-rung ladder is about 2-3 GB (est.).