how to check path of ffmpeg or mencoder in linux in php?

<?php
$output = shell_exec(‘whereis ffmpeg’);
echo “<pre>”.$output.”</pre>”;
echo “”;

$output = shell_exec(‘whereis mencoder’);
echo “<pre>”.$output.”</pre>”;
echo “”;
?>

Output in browser :


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *