Changeset e276d03 in Klonkt for src/routes

Timestamp:
07/16/2026 12:20:51 PM (8 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
226b563
Parents:
a85f539
git-author:
Robin <roboburr@…> (07/12/2026 10:31:19 PM)
git-committer:
Robin <roboburr@…> (07/16/2026 12:20:51 PM)
Message:

Fix: remote video thumbnails for moov-at-end files (Loops.video)

The poster-frame path fetched only the first 4MB, which decodes only a
faststart mp4. Loops.video and phone exports put the moov atom at the end,
so the head lacked it and ffmpeg produced no thumbnail (looked like a
'long video' regression). Now fetch the whole file when content-length is
within a 64MB cap (works regardless of moov position), falling back to an
8MB head only when the size is unknown or very large. The post-fetch 12MB
cap is scoped to images so it no longer rejects valid video buffers.

Co-Authored-By: Claude Opus 4.8 <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.