1) Install FFMPEG
2) Set up the following script
echo "Input: " . $input."
";
echo "Output: " . $output . "
";
echo "Directory: ".$currentD ."
";
echo "Converting your file now....
";
if ($handle = opendir($currentD)) {
$cmd="ffmpeg -i ". $input . " ". $output;
$return1=system($cmd);
closedir($handle);
}
echo "Convert is complete....";
echo $return1;
?>
TIP: REPLACE [] WITH STANDARD HYPERTEXT PROTOCOL.
TIP: REPLACE WHATEVER IS BETWEEN THE [] WITH YOUR INFORMATION.
Hope that helps!
2) Set up the following script
echo "Input: " . $input."
";
echo "Output: " . $output . "
";
echo "Directory: ".$currentD ."
";
echo "Converting your file now....
";
if ($handle = opendir($currentD)) {
$cmd="ffmpeg -i ". $input . " ". $output;
$return1=system($cmd);
closedir($handle);
}
echo "Convert is complete....";
echo $return1;
?>
TIP: REPLACE [] WITH STANDARD HYPERTEXT PROTOCOL.
TIP: REPLACE WHATEVER IS BETWEEN THE [] WITH YOUR INFORMATION.
Hope that helps!