I created a valid MP4 file (without the progressive download fix) and a test script and put them in the main folder.
My test script looks exactly like this:
PHP Code:
<?php
$command = escapeshellcmd('qt-faststart input.mp4 output.mp4');
exec($command,$output,$return_value);
echo($command.'<br /><br />');
print_r(array_values($output));
echo('<br /><br />'.$return_value);
?>
And the output of this script:
Code:
qt-faststart input.mp4 output.mp4
Array ( )
127
Not sure yet what that 127 means; I'm guessing "fail" because 'output.mp4' was not created.
However, executing the same line of code in the SSH (same username/directory) results in a successful 'output.mp4'.
Bookmarks