Comments (4)
this.renderer.on('error', destroy);
this.renderer.on('complete', destroy);
渲染结束会自动destroy无需手动操作
from ffcreator.
@drawcall 你好,我现在的场景是需要按需取消生成,因为有些视频渲染过长,我需要手动操作取消生成,不然任务会堆集
from ffcreator.
使用FFCreatorCenter控制吗?
我可以在里面加一个 stop. 或者你有什么好想法
from ffcreator.
@drawcall 我设想是希望有一个方法,可以让FFCreator实例停止生成并且不会让进程挂掉,重新触发start,ffmpeg也能跑起来,现在主要问题是FFCreator这个实例调了destroy,整个进程就会挂掉了,我尝试改源码,将kill的传参加成SIGSTEAM,发现进程不会挂掉,但是ffmpeg起不来了,重新调用start也无法跑起来
from ffcreator.
Related Issues (20)
- 使用图片元素的时候,部分图片元素没有合成进去 HOT 4
- 透明通道的视频设置失效 HOT 2
- FFchart生成的图表背景是黑色的, 代码如下,请问怎么弄成透明背景 HOT 1
- 不支持显示 webp 类型的图片
- Creating outputDir with the FFCreator instance HOT 3
- FFVideo实例的setLoop方法调用之后,永远不会触发FFCreator实例的complete事件 HOT 1
- 只要合成时有gif,当次合成能成功,之后任何合成都失败,重启后继续这样... HOT 4
- 求问addAnimate方法中rotate属性的单位 HOT 1
- FFImage的path不能加载中文路径的图片 HOT 1
- Windows字体加载出错 HOT 1
- 你好,能不能帮忙更新下lottie的版本,我看现在用的lottie-canvas是5.5.101版本的,而这个版本是4年前发布的 HOT 2
- 能否对FFNode的子类,比如FFImage,用glsl做效果? HOT 2
- 能加一些shader效果吗? HOT 1
- ffvideo如何导入一个透明视频 HOT 1
- 为什么我使用新增字体无效,你们有没有遇到呢 HOT 1
- FFSubtitle 的 srt 方式,字幕与配音不同步 HOT 2
- RTL Direction
- 字体乱码是怎么回事? HOT 5
- lottie 文字动画 如果不嵌入graph, 就无法渲染, HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffcreator.