So I want to use FFMpeg library and found standalone PHP version, I used this before on Laravel and installed composer but now in this case, I am trying to install this library on a shared hosting, I just upload src folder and start with this:
<?php
$ffmpeg = FFMpeg\FFMpeg::create(array(
'ffmpeg.binaries' => 'FFMpeg/FFMpeg.php',
'ffprobe.binaries' => 'FFMpeg/FFProbe.php',
'timeout' => 3600,
'ffmpeg.threads' => 12,
));
$video = $ffmpeg->open('video.mpg');
?>
But got error:
PHP Fatal error: Uncaught Error: Class 'FFMpeg\FFMpeg' not found in...
So how can I use FFMpeg
on a shared hosting and install it manually (without composer)