ffmpeg info";
$ffmpegPath = whereis("ffmpeg");
echo "path: " . $ffmpegPath . "
";
$version = @shell_exec($ffmpegPath . " -version"); $version = explode("\n", $version); $version = $version[0]; $version = explode(" ", $version); $version = $version[1];
echo "version: " . $version . "
";
echo "codecs:
" . @shell_exec($ffmpegPath . " -codecs 2>&1") . "
" . @shell_exec($ffmpegPath . " -formats") . "