I want to convert some GIFs to mp4. I tried to use CloudConvert, but when I installed the packages and configure the curl.cainfo I get that message that says
FatalErrorException in CurlFactory.php line 271:
Maximum execution time of 120 seconds exceeded
The video encoding process may need several minutes conversion time. To avoid such CURL timeout issues you should use an asynchronous implementation:
# Script: sendConversion
CloudConvert::file('/a/path/to/file.gif')
->callback('http://myserver.com/save_file.php')
->convert('mp4');
And in "save_file.php":
# Script: saveFile
CloudConvert::useProcess($_REQUEST['url'])
->save('/path/converted.mp4');