alchemy-fr/PHP-FFmpeg — pull request #38 by gizmola (2013-05-22 20:29:50+00:00)
Title: Fixed issue where process timeout is not 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.