Inkscape: animated SVG to video?

前端 未结 4 871
南笙
南笙 2021-02-14 23:35

i created an animated presentation with the Sozi plugin for Inkscape. It looks great, however, not all browsers support SVG animations (Chrome for instance does not like the Ink

4条回答
  •  抹茶落季
    2021-02-15 00:07

    There is a node package called timecut which uses Chromium to record an SVG into an MP4 video file. https://github.com/tungs/timecut

    Installation

    $ cd project
    $ npm install timecut
    

    Usage

    $ cd project
    $ ./node_modules/timecut/cli.js Animation.svg
    

    This creates a file named video.mp4.

    timecut has quite a number of options, like frame rate, pixel format, etc.

提交回复
热议问题