phaux/node-ffmpeg-stream

Is there a "Process completed" event?

dushyantbangal opened this issue · 1 comments

I need to know when the video conversion is completed.
I was not able to find any example for it.

Also, is there a way to get some sort of live progress, or atleast whatever messages ffmpeg CLI tool prints?

phaux commented

I need to know when the video conversion is completed.

converter.run()
  .then(() => console.log(`Conversion completed`))
  .catch(err => console.error(`Conversion failed: ${err}`))

Also, is there a way to get some sort of live progress, or atleast whatever messages ffmpeg CLI tool prints?

Currently no