SamuelScheit/puppeteer-stream

Issue in ffmpeg.js example

yashkhandelwal05 opened this issue · 2 comments

https://github.com/SamuelScheit/puppeteer-stream/blob/main/examples/ffmpeg.js

In this example ffmpeg.kill() is not working in many cases. Due to this I am not able to play the file. Can you please help me debug this issue?

you could try closing the input stream, to let ffmpeg automatically close itself:

ffmpeg.stdin.destroy()

Still it's not working