tnfe / FFCreator

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

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

Open yangshen2000 opened 11 months ago

yangshen2000 commented 11 months ago

透明通道的视频设置失效

drawcall commented 11 months ago

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

yangshen2000 commented 11 months ago

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

msudomoikin commented 2 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',
});