Where is ffmpeg mencoder

In order to check where is the ffmpeg and mencoder just upload a .php file with the following code:

PHP:
<?php 
$output 
shell_exec('whereis ffmpeg'); 
echo 
"<pre>".$output."</pre>"
echo 
""

$output shell_exec('whereis mencoder'); 
echo 
"<pre>".$output."</pre>"
echo 
""
?>

It will show the complete path of ffmpeg and mencoder, if not that's mean the server does not have installed it.

Comments
Only verified clients can post comments on our community. If you have any questions feel free to contact us here.
mostlymom wrote at January 3, 2012, 7:19 pm
0 Votes

does this work with shell_exec disabled? if not...is there another way?

mostlymom