transitive-bullshit / puppeteer-lottie

Renders Lottie animations via Puppeteer to image, GIF, or MP4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Single frame of transparency in valid animations

Stumblinbear opened this issue · comments

If you export an animation from After Effects with the layers the exact same length as the animation (i.e. 3 second animation time, each layer takes up 3 seconds of time) the final frame of the resulting video is completely transparent. Extending the layers a single frame past the "real animation time" (making it take up 3 seconds plus one frame) fixes the problem. If an "animation" only takes up one frame, nothing is rendered at all.

This issue does not occur in any other Lottie previewer I checked.

While there is a workaround, this makes me think you're accidentally skipping the first frame of the animation when rendering the animation. Is this something you could look in to?