codingtcher.com
Theme Night
Home
Login

Check if ffmpeg is installed on the system

$ffmpeg = trim(exec('which ffmpeg'));

if(empty($ffmpeg)){
echo 'ffmpeg not available';
}
else{
echo 'ffmpeg exists on server';
}

Related Code