feat(media): media put seals durationMs, width and height measured by ffprobe

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-10-20 00:03:38 +02:00
parent 8c7b8800fa
commit 6f67bad97e
5 changed files with 78 additions and 2 deletions

View File

@@ -5,6 +5,14 @@ All notable changes to Shade are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
- **`media put` records length and picture size.** Video, audio and images
are measured with ffprobe (after `--web`, so the numbers match the sealed
file) and sealed with `durationMs`, `width` and `height` in their meta. A
viewer can show a film's length on a tile and reserve its shape without
fetching a byte. Without ffprobe the fields are left out, as before.
## [4.15.0] — 2026-10-18 — Media: films, video, images, audio and live streams, end to end
New package **`@shade/media`** — see `docs/media.md`.