tnfe / FFCreator

A fast video processing library based on node.js (一个基于node.js的高速视频制作库)
http://tnfe.github.io/FFCreator/
MIT License
2.82k stars 399 forks source link

Lottie无法实现打印动画 #353

Open Chen-haiqing opened 1 year ago

Chen-haiqing commented 1 year ago

使用AE实现文字打印特效并导出对应json'文件,在lottie-web测试文件可用,可以正常显示,但是在FFCreator中使用FFLottie生成的视频没有打印特效,请问是什么原因?

drawcall commented 1 year ago

mark

galipmedia commented 1 year ago

FFcreator uses node-lottie which uses node-canvas. The canvas version of lottie is the least powerful, it has much less features than svg or html version. It also cannot do dynamic text. So if you want to put text you need to make sure "glyphs" is checked in your AE export settings. That will turn the text into vector graphics. If there is a lot of text and particularly Chinese characters the json file will get very large but I don't think that is an issue in node js.

galipmedia commented 1 year ago

One way to test quickly if it will work is to go into your demo web-lottie html file and switch the rendering mode from svg to 'canvas'. If you see the text there you should see it in ffCreator.

Vinlic commented 11 months ago

我想我可以推荐一下WebVideoCreator 它可以渲染任何基于HTML5的动画。