Display debug ffmpeg stdout/stderr
This commit is contained in:
parent
d29ae17f30
commit
dd9c7929e6
|
@ -620,7 +620,9 @@ async function runCommand (command: ffmpeg.FfmpegCommand, onEnd?: Function) {
|
||||||
rej(err)
|
rej(err)
|
||||||
})
|
})
|
||||||
|
|
||||||
command.on('end', () => {
|
command.on('end', (stdout, stderr) => {
|
||||||
|
logger.debug('FFmpeg command ended.', { stdout, stderr })
|
||||||
|
|
||||||
if (onEnd) onEnd()
|
if (onEnd) onEnd()
|
||||||
|
|
||||||
res()
|
res()
|
||||||
|
|
Loading…
Reference in New Issue