Open Ekliptor opened 6 years ago
Oh actually I think we're just missing the stdoutRing/stderrRing arguments on line 159 :confused:
I stumpled upon the same problem today and I made a simple fix for it: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/pull/883
This happens in my aws lambda, no idea what causes it. If anyone could share a workaround, I'd really appreciate it.
This happens in my aws lambda, no idea what causes it. If anyone could share a workaround, I'd really appreciate it.
Solved with : https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/935
I am using ffmpeg for screenshot generation and video transcoding on many servers. Sometimes a task doesn't finish, so I added a code to abort it using
setTimeout()
This works 99% of the time, however sometimes I get crashes with stacktraces telling me that stdErr is undefined
Since the lines above 159 already check for process exit, I suggest adding a check if stdErr is undefined or a try-catch.