video-maker
video-maker copied to clipboard
Error: spawn /Applications/Adobe After Effects CC 2019/aerender ENOENT
talvez isso ajude
na função renderVideoWithAfterEffects
async function renderVideoWithAfterEffects() {
return new Promise((resolve, reject) => {
const aerenderFilePath = 'C:\\Program Files\\Adobe\\Adobe After Effects CS6\\Support Files\\aerender.exe'
const templateFilePath = `${rootPath}/templates/1/template.aep`
const destinationFilePath = `${rootPath}/content/output.mov`
console.log('> Starting After Effects')
const aerender = spawn(aerenderFilePath, [
'-comp', 'main',
'-project', templateFilePath,
'-output', destinationFilePath
],
{
env: {
PATH: path.dirname(aerenderFilePath)
}
}
)
aerender.stdout.on('data', (data) => {
process.stdout.write(data)
})
aerender.on('close', () => {
console.log('> After Effects closed')
resolve()
})
})
}
No meu deu problema com template porque a versão é a cs6 e o template foi feito numa versao mais recente então nao rolou mas pra vc deve funcionar.
Alguem podia por favor converter o template para dar suporte para versoes mais antigas do after effects?
Rodei aqui e consegui gerar o video, mas ele fica com mais de 700MB mesmo? e .MOB?
@agenciatsantosi Ainda está com o problema? Posso fechar o issue?