alchemy-fr/PHP-FFmpeg — pull request #37 by gizmola (2013-05-17 21:07:20+00:00)
Title: Fix issue where process timeout is never set

I discovered that the timeout setting was not being passed through to the symfony process component. The timeout setting needs to be passed either as an option at process create time or using the setTimeout() method of the builder. Because this did not work correctly, the default timeout of 60 seconds is applied.

There also seems to be an issue in that, at least for video encoding, a process timeout exception never appears. I tried to verify whether this is a PHP-FFmpeg problem or one in the symfony process component, but I haven't completed my inquiry into that question. Currently, there is nothing to help a user of FFmpeg understand when ffmpeg was killed due to the process being ended. FFMpeg seems to return a cryptic errorcode of '9' when this happens.