tnfe / FFCreator

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

透明通道的视频设置失效 #402

Open yangshen2000 opened 1 year ago

yangshen2000 commented 1 year ago

透明通道的视频设置失效

drawcall commented 1 year ago

https://github.com/tnfe/FFCreator/issues/186 https://github.com/tnfe/FFCreator/issues/157

yangshen2000 commented 1 year ago

hello,我都试了,还是黑色背景

msudomoikin commented 3 months ago

Hi try to add voImageExtra: 'png' in your FFVideo options

const fgVideo = new FFVideo({
  path: foregroundVideoPath,
  x: 1,
  y: 100,
  width: 1080,
  height: 1080,
  voImageExtra: 'png',
});