tungs / timecut

Node.js program to record smooth movies of web pages with JavaScript animations
BSD 3-Clause "New" or "Revised" License
623 stars 72 forks source link

animation in the reverse [BUG] #71

Closed mtrud closed 1 year ago

mtrud commented 1 year ago

The SVG animation is from left to right, but after saving the video the dots in the animation are going from right to left. also the time of the animation is 4 seconds but in the video its much quicker

my command : ./node_modules/timecut/cli.js ex2.html --viewport="1280,720" --fps=24 --duration=5 \ --frame-cache --pix-fmt=yuv420p --output=video3.mp4

my file : https://github.com/mtrud/testings/blob/main/ex2.html

mtrud commented 1 year ago

any help?

tungs commented 1 year ago

hi @mtrud, thanks for your interest in this library. SVG animations are not supported. See #39 for more information.

tungs commented 1 year ago

Just also wanted to add, thanks for bring this to my attention again! I reread #39, and realized I haven't gotten around to trying out implementations for SVGs.