carlos / platform Public

docs: three hours of SDR video on the media and LiveKit pages

The media page's limits table says 3 hours for sources up to 1080p. The
LiveKit page says a long job converts up to 3 hours and drops the "Not
yet supported" item that told streamers to split recordings before 2
hours. The rows are in the copy deck, pending Luna pass 7, whose brief
this adds. A9 notes that a recording stopped at LiveKit's own 3-hour
limit is unverified against a 1 ms refusal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev bae9c72828cc2f585eed9384506c7dc18d473082 parent 5e15caf
5 files changed, +51 −4
  • docs/site/live-streams-bring-your-own-livekit.md +1 −2
  • docs/site/media-conversion.md +1 −1
  • docs/superpowers/notes/LUNA-COPY-BRIEF-media-conversion-7.md +29 −0
  • docs/superpowers/notes/media-conversion-copy-deck.md +12 −1
  • docs/superpowers/specs/2026-11-16-video-conversion-design.md +8 −0
diff --git a/docs/site/live-streams-bring-your-own-livekit.md b/docs/site/live-streams-bring-your-own-livekit.md
index 943c1350e..04b436d88 100644
--- a/docs/site/live-streams-bring-your-own-livekit.md
+++ b/docs/site/live-streams-bring-your-own-livekit.md
@@ -196,7 +196,7 @@ Authorization: Bearer <service token>
{"key": "recordings/a1b2/stream-a1b2-2026-11-25T101500.mp4", "class": "long"}
```
-Ask for `"class": "long"` when the recording is longer than 10 minutes. A short job converts up to 10 minutes and reports `needs_long_class` for anything longer. A video track above 1080p also needs the long class. A long job converts up to 2 hours of video up to 1080p. A room composite recording is 720p at 30 frames a second, with Opus sound, unless you ask for other encoding options. Media conversion reads that MP4.
+Ask for `"class": "long"` when the recording is longer than 10 minutes. A short job converts up to 10 minutes and reports `needs_long_class` for anything longer. A video track above 1080p also needs the long class. A long job converts up to 3 hours of video up to 1080p. A room composite recording is 720p at 30 frames a second, with Opus sound, unless you ask for other encoding options. Media conversion reads that MP4.
Poll the job until it is `done`, save the output keys with the stream, and serve them as the page's [Serving](/docs/media-conversion#serving) section describes: the playlist and the MP4 from your app's own origin, side by side.
@@ -232,4 +232,3 @@ The platform bills your account as usual for the instance, the recording's stora
## Not yet supported
- **A credential that can only write recordings.** LiveKit needs your store's one credential, which can also read, overwrite and delete every other object in the store. The platform can't yet give an app a narrower credential to hand to a third party.
-- **Converting recordings longer than 2 hours.** LiveKit Cloud limits a room-composite file to 3 hours, and media conversion converts up to 2 hours of video up to 1080p. To keep a longer stream playable, stop the recording and start a new one before it reaches 2 hours. Each part converts on its own.
diff --git a/docs/site/media-conversion.md b/docs/site/media-conversion.md
index cd904e8aa..8570f8bf6 100644
--- a/docs/site/media-conversion.md
+++ b/docs/site/media-conversion.md
@@ -203,7 +203,7 @@ A video above 1080p converts only in the long class. The short class refuses it
| | `video-720p` | `audio-aac` |
| --- | --- | --- |
-| Length, sources up to 1080p | 2 hours | 8 hours |
+| Length, sources up to 1080p | 3 hours | 8 hours |
| Length, HDR sources up to 1080p | 75 minutes | |
| Length, sources above 1080p | 30 minutes | |
| Source size | 40 GiB | 10 GiB |
diff --git a/docs/superpowers/notes/LUNA-COPY-BRIEF-media-conversion-7.md b/docs/superpowers/notes/LUNA-COPY-BRIEF-media-conversion-7.md
new file mode 100644
index 000000000..771a73a69
--- /dev/null
+++ b/docs/superpowers/notes/LUNA-COPY-BRIEF-media-conversion-7.md
@@ -0,0 +1,29 @@
+# Copy pass 7: media conversion, three hours of SDR video (spec §11 A9)
+
+You are the copy-review gate itself for this set. Paul delegated copy review of platform UI, CLI, email and docs copy inside a plan to you on 2026-10-25; your verdicts ARE the review. Do NOT run the copy-review skill or start any server, and do not edit any file. You are writing a review report.
+
+Same feature, house rules and rulings as `docs/superpowers/notes/LUNA-COPY-BRIEF-media-conversion.md` and pass 6 (`LUNA-COPY-BRIEF-media-conversion-6.md` and its result `LUNA-COPY-RESULT-media-conversion-6.md`; read all three). What changed is spec amendment A9 in `docs/superpowers/specs/2026-11-16-video-conversion-design.md` §11 (read it): on 2026-11-25 Paul raised the length limit for SDR video at or below 1080p from 2 hours to 3, so LiveKit Cloud recordings (up to 3 hours a file) convert in one job.
+
+In `docs/superpowers/notes/media-conversion-copy-deck.md`, review ONLY the rows marked "(pending Luna pass 7)", and the one row marked "removed by A9". There are three:
+
+1. `docs.media.limits.8`, a table line in "Limits" on `docs/site/media-conversion.md`. Only the figure changed, 2 hours to 3. Read it in its table, beside the HDR row (75 minutes) and the above-1080p row (30 minutes). Table rows keep their column count and the `\|` escapes as the deck writes them.
+2. `docs.livekit.convert.2`, a paragraph in "Converting and playing the recording" on `docs/site/live-streams-bring-your-own-livekit.md`. Only "up to 2 hours" changed to "up to 3 hours".
+3. `docs.livekit.unsupported.long`, an item removed from that page's "Not yet supported" list. Read the list as it now stands (one item left) and say whether the section still reads right, or whether the removal leaves anything on the page that still says or implies 2 hours.
+
+Readers are app developers. The facts these rows must state, all from A9 and A7:
+
+- A long video job converts up to 3 hours of SDR video at or below 1080p, 75 minutes of HDR video at or below 1080p, and 30 minutes of video above 1080p (HDR or not). Audio converts up to 8 hours. Each is a deployment setting an operator can change.
+- A room composite from LiveKit is 720p SDR, so its limit is the 3-hour one. LiveKit Cloud limits a room-composite file to 3 hours.
+- Unverified, and deliberately not promised on the page: whether a recording LiveKit stops exactly at its 3-hour limit reports a duration at or under 3 hours. The probe refuses a source even 1 ms over the maximum. Do not add a promise that every recording at the limit converts. If you think the page needs a sentence about this, propose it under Flags, not in the table.
+- While a long video job runs it holds 2 media minutes per minute of its grant against the allowance (A7), so a 3-hour job holds 360 media minutes until it ends, and a done 3-hour SDR job is charged 180. The media page's allowance section already says how holding works; say under Flags if you think the LiveKit page needs the figure.
+
+## Rules for this set, on top of pass 1's and pass 6's house rules
+
+- Not copy, leave them: job codes (`needs_long_class`, `source_too_long`), the class names `short` and `long`, `"class": "long"`, preset names, setting names, and the figures above.
+- Say "1080p" as the deck already does; don't introduce "Full HD", "4K" or pixel counts the rows don't need.
+- No em dashes. Plain, direct sentences.
+- Change a row only when the change helps the reader act or avoids a misreading: a sentence that misleads, can't be parsed, contradicts its sibling or a fact above, or doesn't say what to do when the reader can do something. Consistency with the approved rows around it matters more than polish on one line. Don't rewrite for taste.
+
+## What to return
+
+A table `key | new | why`, with only the rows you change, each with its full new text in the row's own form. Unchanged rows are approved as they are. Then `## Flags` with only what Paul must decide or a fact you could not verify against the spec or code, each with your recommendation, or "none".
diff --git a/docs/superpowers/notes/media-conversion-copy-deck.md b/docs/superpowers/notes/media-conversion-copy-deck.md
index bc995a872..913b5f2a4 100644
--- a/docs/superpowers/notes/media-conversion-copy-deck.md
+++ b/docs/superpowers/notes/media-conversion-copy-deck.md
@@ -514,7 +514,7 @@ row is applied to the page verbatim.
| `docs.media.limits.5` | \| `audio-aac` \| sources up to 256 MiB \| 2 hours \| 10 minutes \| 50 minutes \| |
| `docs.media.limits.6` | A video above 1080p converts only in the long class. The short class refuses it with `needs_long_class`, however short it is. A long job converts up to the preset's maximum: | (approved, Luna pass 6)
| `docs.media.limits.7` | \| \| `video-720p` \| `audio-aac` \| |
-| `docs.media.limits.8` | \| Length, sources up to 1080p \| 2 hours \| 8 hours \| |
+| `docs.media.limits.8` | \| Length, sources up to 1080p \| 3 hours \| 8 hours \| | (pending Luna pass 7; spec §11 A9, was 2 hours)
| `docs.media.limits.8a` | \| Length, HDR sources up to 1080p \| 75 minutes \| \| | (approved, Luna pass 6)
| `docs.media.limits.9` | \| Length, sources above 1080p \| 30 minutes \| \| |
| `docs.media.limits.10` | \| Source size \| 40 GiB \| 10 GiB \| |
@@ -548,6 +548,17 @@ carries them yet (plan 3 writes it); the pack's price is left out.
| `docs.plans.media.notice` | Apart from the ceilings above (email, storage, bandwidth, PDFs and media minutes at twice their limits), whatever acts after grace starts only once grace has ended and an owner received notice at least 3 days earlier. (only the parenthesis changed) |
| `docs.readme.media` | For video and audio, [media conversion](docs/site/media-conversion.md) runs in the region of the app's store, and a store in a region with no conversion engine is refused rather than converted elsewhere. (README.md, after the PDF service sentence) |
+### LiveKit live streams page (spec §11 A9)
+
+`docs/site/live-streams-bring-your-own-livekit.md`, carried onto this
+branch from `docs-live-byo-livekit` (its own Luna pass:
+`LUNA-DOCS-BRIEF-live-byo-livekit.md`). Only the rows A9 changes are here.
+
+| Key | Text |
+|---|---|
+| `docs.livekit.convert.2` | Ask for `"class": "long"` when the recording is longer than 10 minutes. A short job converts up to 10 minutes and reports `needs_long_class` for anything longer. A video track above 1080p also needs the long class. A long job converts up to 3 hours of video up to 1080p. A room composite recording is 720p at 30 frames a second, with Opus sound, unless you ask for other encoding options. Media conversion reads that MP4. | (pending Luna pass 7; A9, was "up to 2 hours")
+| `docs.livekit.unsupported.long` | (removed by A9: the "Not yet supported" item "Converting recordings longer than 2 hours", which told streamers to stop and restart a recording before 2 hours) |
+
## The engine binary (plan 3)
**Approved 2026-11-19** by Luna pass 5, every row from here to the end of
diff --git a/docs/superpowers/specs/2026-11-16-video-conversion-design.md b/docs/superpowers/specs/2026-11-16-video-conversion-design.md
index 41f40162d..3ad784161 100644
--- a/docs/superpowers/specs/2026-11-16-video-conversion-design.md
+++ b/docs/superpowers/specs/2026-11-16-video-conversion-design.md
@@ -1212,6 +1212,14 @@ the outputs. Store destroy gains the refusal of §5.3.
payload version changes: an older image converts 3 hours from a newer
console, and an older console keeps sending 2 hours. A deployment
that sets `video_max` in `CARLOS_MEDIA_LIMITS` keeps its own value.
+ - **Open: a recording stopped at LiveKit's limit (unverified).** The
+ probe refuses a source 1 ms over the maximum. A room composite that
+ LiveKit ends at its 3-hour limit (`EGRESS_LIMIT_REACHED`) may report a
+ container duration a little over 3 hours, and would then be refused
+ `source_too_long`. One real recording run to the limit settles it.
+ If it runs over, the remedy is a small margin on `video_max` (the
+ unrounded rule at 5.85 allows 187 minutes), which is Paul's call; the
+ LiveKit page does not promise that a file at the limit converts.
## 12. Decisions for Paul