问题描述
版本信息
- fluent-ffmpeg 版本:最新
- ffmpeg 版本:最新,今天安装
- 操作系统:Windows 10
重现代码
console.log("Starting to merge...")
a = new ffmpeg(files[0])
files.forEach(file => {
if(file !== files[0]){
a.input(file)
}
})
a.on('error',function(err) {
console.log('An error occurred: ' + err.message);
})
a.on('end',function() {
console.log('Merging finished !');
})
a.mergetoFile(out);
(注意:如果问题仅发生在某些输入上,请包含指向此类输入文件的链接) 不,伙计
预期结果
将“files”数组中的文件放入out.avi
观察结果
Starting to merge...
An error occurred: ffmpeg exited with code 1: Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #7:0
Conversion Failed!
注意
所有文件的大小和长度都不同。 它们都是 .avi,因为当我做 mp4 时我的内核死了
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)