【文件属性】:
文件名称:scenejs-render::clapper_board: 通过scenejs制作CSS动画电影
文件大小:13.32MB
文件格式:ZIP
更新时间:2021-05-30 06:05:34
nodejs css ffmpeg mp4 animation
@scenejs/渲染
通过制作 CSS 动画电影。
为了能够使用此模块,请确保您的系统上安装了 (包括所有必要的编码库,如 libmp3lame 或 libx264)。
ffmpeg必须已安装并且在PATH中可用。
或者,如果它在本地文件夹中,请设置ffmpegPath 。 $ render --ffmpegPath ./ffmpeg
安装
$ npm install @scenejs/render
用法
# export mp4
$ render -i index.html --name scene
# export only mp3
$ render -i index.html --name scene -o output.mp3
# export mp3 file and mp4 file
$ render -i index.html --name scene -o ou
【文件预览】:
scenejs-render-master
----rollup.config.js(522B)
----src()
--------types.ts(571B)
--------processVideo.ts(2KB)
--------Renderer.ts(4KB)
--------utils.ts(2KB)
--------index.ts(96B)
--------capture.ts(5KB)
--------subcapture.ts(961B)
--------processMedia.ts(3KB)
--------render.ts(2KB)
--------consts.ts(278B)
----.npmignore(255B)
----tsconfig.test.json(228B)
----tsconfig.declaration.json(180B)
----examples()
--------index.html(6KB)
--------motion.mp4(1.49MB)
--------clapper.mp4(815KB)
--------circleburst.mp4(1.52MB)
--------background.mp3(4.38MB)
--------motion.webm(887KB)
--------clapper.webm(621KB)
--------snow.webm(1.03MB)
--------snow.mp4(1.19MB)
--------circleburst.webm(894KB)
--------clapper2.mp4(785KB)
----tsconfig.json(378B)
----tslint.json(714B)
----README.md(4KB)
----.editorconfig(270B)
----test2.html(6KB)
----.gitignore(218B)
----index.js(1KB)
----package-lock.json(44KB)
----test.html(3KB)
----package.json(2KB)