aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-09 13:53:56 -0700
committerAdam Soltys <[email protected]>2026-10-09 13:53:56 -0700
commitf264cf4679d58d965215bd0081a77cdaccc803f0 (patch)
treea9f38edbd77ecc7004cb3823bd2dd9c0d00c0b24 /tools
parent2454b9a4c12ad1ae403a20b2793b4c03b1164651 (diff)
downloadcoinosv3-f264cf4679d58d965215bd0081a77cdaccc803f0.tar.gz
coinosv3-f264cf4679d58d965215bd0081a77cdaccc803f0.zip
Video stills: past a black opening. vmedia took its still at half a second, and a clip that fades in from black (7 of the 68 made in three hours) gave a black tile. Each frame's mean brightness now comes out of ffmpeg (signalstats YAVG on pipe:2 — /dev/stderr can't be opened from a Bun-spawned pipe), and a dark one sends it further in (2, 5, 10, 20, 40 s) for the first bright frame; a clip dark all the way through (a night scene, a boot screen) gets its brightest frame with the levels stretched (normalize). Stills are made again under a new key and URL (v=4), so neither the server's nor the CDN's black copies are served.
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3
Diffstat (limited to 'tools')
-rw-r--r--tools/video-fallback-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/video-fallback-test.js b/tools/video-fallback-test.js
index 66becc2..85250c0 100644
--- a/tools/video-fallback-test.js
+++ b/tools/video-fallback-test.js
@@ -93,7 +93,7 @@ try {
console.log('\n[no poster in the post]');
const p0 = await player('garden');
- check('the server\'s still is the poster', p0.poster === 'https://v3.coinos.io/vmedia/thumb.jpg?u=' + encodeURIComponent(CLIP.saved), p0.poster);
+ check('the server\'s still is the poster', p0.poster === 'https://v3.coinos.io/vmedia/thumb.jpg?v=4&u=' + encodeURIComponent(CLIP.saved), p0.poster);
console.log('\n[waiting for a tap]');
await page.evaluate(new Function(`${box('garden')}.scrollIntoView({ block: 'center' })`));