From e0ef1dee77b4f52fcda991678f55adc677403028 Mon Sep 17 00:00:00 2001 From: Anthony GAEREMYNCK <1@anthony.sh> Date: Tue, 11 Aug 2026 15:12:51 +0200 Subject: [PATCH] docs: add design spec for 4K quality support --- .../specs/2026-08-11-4k-support-design.md | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 docs/superpowers/specs/2026-08-11-4k-support-design.md diff --git a/docs/superpowers/specs/2026-08-11-4k-support-design.md b/docs/superpowers/specs/2026-08-11-4k-support-design.md new file mode 100644 index 0000000..747379b --- /dev/null +++ b/docs/superpowers/specs/2026-08-11-4k-support-design.md @@ -0,0 +1,53 @@ +# 4K support in video downloads + +## Purpose + +Add 4K (2160p) and 2K (1440p) as selectable download quality tiers, and update marketing +copy that currently caps the advertised resolution at 1080p. + +## Context + +The download pipeline already resolves quality generically: + +- `src/lib/ytdlp-options.ts` exports `QUALITIES`, a fixed list consumed by the probe + (`src/lib/ytdlp-probe.ts`) to compute which qualities are actually available for a given + source video (filtered against the max height yt-dlp reports), and by the UI + (`src/components/SubmitForm.tsx`, via `capabilities.availableQualities`) to render the + quality `