mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
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)
|
||||
})
|
||||
|
||||
command.on('end', () => {
|
||||
command.on('end', (stdout, stderr) => {
|
||||
logger.debug('FFmpeg command ended.', { stdout, stderr })
|
||||
|
||||
if (onEnd) onEnd()
|
||||
|
||||
res()
|
||||
|
Loading…
Reference in New Issue
Block a user