Process timeout
kfeng0806 opened this issue · comments
Hello,
I am facing The process xxx exceeded the timeout of 60 seconds.
error when converting a long video.
The Symfony Process package has default timeout limit to 60s
Thank you for your reporting. I have just fixed the bug and now you can set the timeout of process. But before you get started, you must update the package:
composer update aminyazdanpanah/php-shaka
After updating the package, you can pass an associative array of config to the initialize
method:
$config = [
'packager.binaries' => 'path/to/packager/binary',
'timeout' => 3600
];
$shaka = \Shaka\Shaka::initialize($config);
Thank you very much!