transitive-bullshit / puppeteer-lottie

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix output rate when rendering to mp4

ioctl-user opened this issue · comments

On my system ffmpeg set incorrect framerate by default: 25 instead of 60. It's better to specify it obviously. Could you please add one more -r parameter at the end of the ffmpegArgs.push definition to fix it.