diff --git a/CLAUDE.md b/CLAUDE.md index be0f117..0ddb169 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -42,10 +42,19 @@ JSON shapes mirror the Tauri Rust bridge exactly — don't change one side alone (15 min · 2^n, max 24 h) and saves fall back to the legacy per-request path. - `gen` is in the filename and URL (`/api/media/?g=`): a URL never serves different bytes. A replaced gen is kept 30 min so in-flight Range playback survives. -- **Compression lane**: niced x264 `-preset slow -crf 28 -fpsmax 30`, audio copied, - kept only if ≥15% smaller. Measured: YouTube's 720p avc1 is already ~0.6–0.7 Mbps, so - CRF 24 made files *bigger*; CRF 28 ≈ −20% video at SSIM 0.994. Lyric videos usually - keep the original. HEVC/AV1/10-bit are smaller but don't play in iOS `