You may not have configured (or incorrectly configured) the constant PHPVIDEOTOOLKIT_FFMPEG_BINARY ; it must be installed on the full path of the ffmpeg command. For instance:
define('PHPVIDEOTOOLKIT_FFMPEG_BINARY', '/usr/bin/ffmpeg');
To determine the correct path, run the command which ffmpeg .
If you are using PHP5, you can find an example using the getFFmpegInfo() function in the examples / php5 / example09.php script.
Before running the example scripts, you need to edit the configuration file examples / example-config.php and configure various define using the correct paths for your system.
See the DEMOS file for a description of what each example does.
user1419445
source share