schaermu/node-fluent-ffmpeg — pull request #77 by cjbest (2012-10-04 00:15:10+00:00)
Title: Kill ffmpeg process when outputs stream closes

Notice if you use the express-stream sample & you kill the stream part way (say, close the browser tab mid video) the ffmpeg process keeps running until its done, or the timeout is hit.

This change proactively kills the ffmpeg proc when the output stream fires "close".