diff --git a/docs/source/index.rst b/docs/source/index.rst index d976670..0432ae0 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -82,6 +82,34 @@ Basic Usage ->extractImage(12, 'second-screenshot.jpg') ->close(); +Process Timeout +--------------- + +PHP-FFMpeg runs ffmpeg commands to processs your medias. A default timeout of +60 seconds is set, but you can override this by passing a second argument load : + +.. code-block:: php + + getTimeOut(); + +You can also set and get the timeout with the appropriate getter and setter : + +.. code-block:: php + + setTimeout(200); + + // 200 + echo $ffmpeg->getTimeOut(); + +.. note:: + + To disable timeout, set its value to 0. + Recipes -------