Changeset 7ecbefc in Klonkt for src/views/pages

Timestamp:
06/30/2026 05:56:01 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
1c33804
Parents:
857a06f
Message:

fix(video-cover): composite partial animated-WebP frames (fixes torn/tiled MP4)

node-webpmux getFrameData(i) returns only frame i's own sub-region, NOT the composited canvas.
Real tool-made animated WebPs use partial frames of varying size, so concatenating them at a fixed
-s WxH desynced ffmpeg's rawvideo stream -> a torn/tiled video (and a garbled "GIF" on Mastodon).
Now composite each sub-region onto a persistent WxH canvas (honoring blend + dispose) and emit full
frames. Verified visually: a partial-frame webp now converts to a clean, correctly-framed MP4.

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

(No files)

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