Background to this problem:
这个问题的背景:
I am using FFmpeg to convert videos - it is working fine. I am sending the FFmpeg requests to the command line using exec() in PHP. I am also using node.js and socket.io to deliver real time updates to my users- this is also working fine. I would like to be able to send a real time alert when the video has completed its conversion.I am u