# How small can text in a paused video be and still be read?

Run `2026-11-26-viallo-video-frame-detail`, tier Standard. [This line of the frozen file described the internal request behind the run and is withheld from the public copy; every other line is unchanged.]

## 1. Question

When you keep a moment from a paused video, how small can text in that moment be and still be read, and how does that depend on how the moment is kept: a screenshot of a player of a given size on screen, or the frame saved at the video's own size?

## 2. Method

### 2.1 Scenes (a random draw, not a choice)
- Pool: every file returned on 26 November 2026 by Wikimedia Commons file searches for `trailhead sign`, `interpretive sign`, `information sign national park`, `wayside exhibit sign`, `park sign text`, `visitor information board` (filetype bitmap, first 200 results each), licence Public domain or CC0, at least 3840 × 2160 and landscape: 107 files, listed with SHA-1 in `pool/pool.json`.
- Order: titles sorted, then shuffled with Python `random.Random(20261126)`. Files are taken in that order.
- Inclusion, checked per file in order until 24 are included: at most one file per title stem (the title with any trailing parenthesised id and file extension removed); after the crop in 2.2, Tesseract 5 (`--psm 11`, English) on the full-resolution original finds at least 3 text lines with mean word confidence ≥ 90 and at least 4 letters or digits inside the crop. Those lines, their boxes and their text are the scene's reference lines; their text is what every later reading is compared with. Every skipped file is logged with its reason.

### 2.2 Videos
- Crop: full width of the photo, 16:9 high, centred vertically on the median centre of the reference lines, clamped to the photo.
- Each scene becomes three H.264 videos (libx264, CRF 18, yuv420p, 30 fps, 60 frames, 2 s): 1280 × 720, 1920 × 1080 and 3840 × 2160. The crop window moves down by `frame × H / 1080` pixels of the video, so every frame differs; the crop is taken with that margin so the window stays inside the photo.
- A 7-bit frame marker sits in the top-left corner, scaled with the video.
- 72 videos. Each file's SHA-256 goes into `clips/manifest.json`.

### 2.3 Lab captures (Playwright, headless, offline)
- Engines: Chromium (Chrome for Testing 155.0.8059.84), WebKit and Firefox in the Playwright 1.63 builds; versions recorded per row.
- A player is set to a width of `W` device pixels, height `W × 9/16`, at device scale 1, for W in 320, 480, 640, 960, 1280, 1920, 2560, 3840.
- Device-scale check, 1080p only: W = 960 also at device scale 2 (CSS 480) and 3 (CSS 320).
- Frames 15 and 45, each paused mid-frame after the video reports the presented frame. For every pause: a screenshot of the player at device scale, taken twice and required byte-identical; for each engine, video and frame once: the frame drawn to a canvas at the video's own size (the export).
- An engine that cannot decode H.264 is recorded as such and dropped from the lab part; it is not given VP9 instead, because that changes two things at once.

### 2.4 Real-device captures (6 scenes: the first six included, at 1080p and 4K)
- iPhone 17 Simulator, iOS 27.0, Safari: the video in a page at the phone's width (upright) and full screen sideways; screenshot with `xcrun simctl io booted screenshot`.
- iPhone 17 Simulator, iOS 27.0, Photos: the video added with `simctl addmedia`, paused, More, Save Video Frame as Photo; the saved photo is copied out of the simulator's library. Also a screenshot of the paused video in Photos, upright and sideways.
- Pixel 7 emulator, Android 14 (API 34), Chrome: upright and full screen sideways; screenshot with `adb exec-out screencap -p`. Google Photos' Export frame only if the image carries Google Photos; otherwise recorded as not available.
- This Mac's own screen (Retina, macOS screenshot `screencapture -l` of a Chrome for Testing window): a 480-CSS-pixel player and the window filled.
- Pauses in native players cannot be set to a frame; the frame marker in each picture decides which reference frame it is scored against. A picture whose marker cannot be read is reported and not scored.
- These are simulators and an emulator, not physical phones; the article says so.

### 2.5 Reading
- For each picture and each reference line visible in it: the line box (from the original, scaled to the picture's video area and shifted for the frame), padded by 15 % of its height on every side, enlarged or reduced with Lanczos so the box is 48 pixels high, read with Tesseract 5 `--psm 7`.
- Character error rate: Levenshtein distance between the reading and the reference text after upper-casing and removing everything but letters and digits, divided by the reference length. **Readable = error rate ≤ 0.10.**
- Text height in the picture = line box height in the original × picture video-area width / photo width.
- Text of record: every reference line's text is checked by eye against its crop from the full-resolution original before any capture, and corrected where the OCR misread it; a line that cannot be read by eye on the original is dropped. This check is done by the orchestrating model, not by a person, and is recorded per line.
- Reference filter, once for all resolutions: a line enters the analysis only if it is readable on the FFmpeg decode of the 3840 × 2160 clip in both frames 15 and 45. The same lines are then used at every resolution; the readable share of the 720p and 1080p decodes is reported as its own result. Counts removed are reported.
- Same-moment check: the marker read from each picture must equal the paused frame (lab).

### 2.6 Analysis
- Model: logit P(readable) = a + b · log(text height in pixels), fitted on line-level screenshot readings, per engine and pooled; calibration reported as the Brier score. Sensitivity: the same with linear height.
- Thresholds: h50, h80 and h90 (the heights at which the fitted share is 50, 80 and 90 %).
- Intervals: two-level cluster bootstrap (resample scenes, then lines within each drawn scene), 10 000 resamples, 95 % percentile interval; the same for engine differences.
- Sensitivity, Chromium at 1080p only: lines normalised to 24 and 96 pixels instead of 48; readable at error rate ≤ 0.05 and ≤ 0.20 instead of 0.10.
- Headline rule: the article leads with h90 only if its interval is narrower than 8 pixels and the Brier score is below 0.15; otherwise it says there is no single usable threshold and shows the shares by height instead.
- Frame check: the marker is compared with the browser's reported presented media time; pictures whose marker fails are reported by route and width and, in a sensitivity run, counted as unreadable.
- Text height is the line's ink box (cap or ascender top to baseline or descender bottom), in pixels of the saved picture. It depends on the typeface; the article says so and does not translate it into a point size.

## 3. Expectations
- E1. The marker equals the paused frame in at least 99 % of lab pictures.
- E2. In the exports, at least 95 % of reference-filtered lines are readable, in every engine.
- E3. In screenshots, the share of readable lines rises with the text's height in the picture, and the height at which half of the lines are readable (h50, logistic fit on line-level outcomes, 95 % bootstrap interval resampling scenes, 10 000 resamples) lies between 6 and 16 pixels.
- E4. h50 differs between Chromium and WebKit by less than 2 pixels (cluster bootstrap interval of the difference inside ±2). Firefox did not launch in this environment (`Could not find profile folder`, 26 Nov 2026) and is not part of the run; the article names two engines.
- E5. At the same device-pixel width, device scale 1, 2 and 3 give readable shares within 5 percentage points.
- E6. The photo saved by iOS Photos has exactly the video's pixel dimensions and a PSNR of at least 40 dB against the FFmpeg decode of the frame its marker names. The device arm yields only counts of readings inside or outside the lab 95 % band at their text heights, never a per-device threshold.

## 4. Falsifiers
Any expectation not met is reported as not met, with its numbers. In particular: h50 outside 6 to 16 pixels, or a share that does not rise with height, refutes E3; an engine difference interval reaching beyond ±2 pixels refutes E4; a saved iPhone frame smaller than the video refutes E6.

## 5. Abandonment
- Fewer than 60 reference-filtered lines at 1080p across all scenes: the reading method is declared unusable (`METHOD_BROKEN` for the legibility part); the article then reports pixel counts and pictures only.
- Fewer than 24 included scenes after the whole pool: the run proceeds with what it has and says so; fewer than 12 ends it as `NOT_MEASURABLE`.
- A real-device route that cannot be automated is recorded as not done, with the reason, and the lab part stands alone.

## 6. Estimate
- What it needs from the owner: nothing. Inputs are public-domain downloads; the simulators are already installed.
- Machine time: about 3 hours; money: none.

## Replication (independent derivation uses the model in 2.6)
- Re-execution: a separate session reruns the lab capture for a random 6 of the 24 scenes (seed 1126) and the reading script unchanged; line-level readable/unreadable must agree in at least 97 % of line readings.
- Independent derivation: a separate session that has not seen any result writes its own reader from sections 2.5 and 3 and computes h50 per engine; it must agree within 1 pixel, or the disagreement is reported.

## Adversary, before data (26 November 2026)
Accepted: text of record checked by eye on the original (by the model, recorded as such; no person is available, which the article states); the population named as clean high-resolution photographs of printed park signs, with the funnel per query reported; one reference filter at 4K for all resolutions; the unit stated as the line's ink height and its typeface dependence; normalisation and error-threshold sensitivity; two-level cluster bootstrap; logit on log height with Brier score and a linear sensitivity; h50, h80, h90 with a headline rule; marker compared with presented media time and drops reported; two engines named as Playwright builds, not as Safari or Chrome releases; device arm reduced to counts and the saved iPhone frame checked by dimensions and PSNR.
Declined: a human-reading arm and human transcription (no person in this run; stated in the article); a degraded-input arm (out of scope; stated as a limit); angular size at viewing distance (the article states pixels only).

## Promises
- [P-1] The article states the threshold as a text height in pixels of the saved picture, with its interval, and that it was read by text-recognition software, not by people (h90 row, or the no-single-threshold sentence under the headline rule).
- [P-2] The article states that the iPhone Simulator and the Android emulator are not physical phones and that the device arm is a check, not a measurement per device.
- [P-3] The article states how the scenes were chosen (random draw from a public-domain pool) and how many lines entered.

## Amendment 1 — 2026-11-26T08:43Z, written before any device picture of the study clips was read (post-hoc: false for the device arm; lab results had been seen)
- Device pictures: the video is located by normalised template matching against the decoded frame (a coarse search over sizes, then a fine search), on a screenshot padded with mid-grey so a player that runs off the screen can still be located. A line whose box is not wholly on the screen is recorded as not visible and not scored.
- The frame a device picture shows is the decoded frame (18 to 47) that correlates best with the located picture, because player controls cover the corner marker in several routes; the marker reading is recorded beside it.
- Player controls and the dimming some players draw over a paused video stay in the picture: they are part of what a screenshot holds.
- E2 as written expected 95 % readable in every export. The protocol's single 4K reference filter makes that impossible by construction at 720p and 1080p, where the video itself holds less; the export is therefore also compared with the FFmpeg decode of the same resolution, and E2 is reported as written and as not met at 720p and 1080p.
- The re-execution replication session and the independent-derivation session could not write Markdown; their reports were saved by the orchestrator from their replies.
- The lab reader's 48-pixel line height was made settable through an environment variable for the 24 and 96 pixel sensitivity run only; the default is unchanged.
