SamuelScheit / puppeteer-stream

A Library for puppeteer to retrieve audio and/or video streams
MIT License
333 stars 105 forks source link

Issue in ffmpeg.js example #127

Closed yashkhandelwal05 closed 11 months ago

yashkhandelwal05 commented 11 months ago

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?

SamuelScheit commented 11 months ago

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

ffmpeg.stdin.destroy()
yashkhandelwal05 commented 11 months ago

Still it's not working