FFCreator
FFCreator copied to clipboard
请问使用new FFVideo,如何合成有透明通道的视频
问题描述: 使用new FFVideo传入一个无背景的video,合成的视频,结果会带有黑色背景。请问有解决方案吗?
cacheFormat: 'png',
outputOptions: ['vcodec', 'png'],
配置测试下来不生效
Transparent background can set mov, webm
解决了吗,是如何设置的呢? const fvideo2 = new FFVideo({ path: video2, width: width, height: 560, x: width / 2, y: height / 2-5, background:'transparent' }); 这样吗?
解决了吗,是如何设置的呢? const fvideo2 = new FFVideo({ path: video2, width: width, height: 560, x: width / 2, y: height / 2-5, background:'transparent' }); 这样吗?
如此不行,请问您这个问题解决了吗。
After setting the transparent background, it does not take effect, and the file format is mov
After setting the transparent background, it does not take effect, and the file format is mov
请问您这个问题解决了么? @u1s1hm
暂未解决
| | z403957883 | | @.*** | ---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2022年8月9日 16:34 | | 收件人 | @.> | | 抄送人 | @.> , @.> | | 主题 | Re: [tnfe/FFCreator] 请问使用new FFVideo,如何合成有透明通道的视频 (Issue #186) |
After setting the transparent background, it does not take effect, and the file format is mov
请问您这个问题解决了么? @u1s1hm
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
https://github.com/tnfe/FFCreator/blob/755121cc69ef1bf72d985cd575cf15e6d38e0f59/lib/node/video.js#L127
带有透明通道的视频需要指明decoder
感谢回复,
***@***.***
---- 回复的原邮件 ----
发件人
***@***.***>
发送日期
2023年5月24日 11:41
收件人
***@***.***>
抄送人
***@***.***>
,
***@***.***>
主题
Re: [tnfe/FFCreator] 请问使用new FFVideo,如何合成有透明通道的视频 (Issue #186)
https://github.com/tnfe/FFCreator/blob/755121cc69ef1bf72d985cd575cf15e6d38e0f59/lib/node/video.js#L127 带有透明通道的视频需要指明decoder
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>