quote:
Originally posted by Weyzza
What I meant with "anything" was the output file
I thought that might be the case, but still, there should be some kind of error message if it fails...
quote:
Anyways, I added an echo there, and it's still the same.
It even doesn't say whether the library/command is unavailable or something.
Try a simple test...
code:
<?php
$output = shell_exec("ffmpeg -formats");
echo "<pre>";
print_r($output);
echo "</pre>";
?>
If successful, that should display info about the formats FFmpeg supports, and confirm that you can run it. If it doesn't work, I'm not sure what the problem is... maybe you have to specify the absolute path to the FFmpeg binary or something.
quote:
I have a strange feeling that I have to call it in another way (creating a new object, etc.).
I doubt it... the ffmpeg-php extension is only "for accessing and retrieving information from video and audio files." It doesn't do conversion. Besides, that script I linked to in the shoutbox simply calls shell_exec()...