Code: Select all
exec('ffmpeg -i uploads/videos/original/video7.mpg -an -ss 3 -t
00:00:01 -r 1 -y -vcodec mjpeg -f mjpeg uploads/videos/original/vids.jpg')Are there any other settings or anything that can be used with exec that may cause problems?
Moderator: General Moderators
Code: Select all
exec('ffmpeg -i uploads/videos/original/video7.mpg -an -ss 3 -t
00:00:01 -r 1 -y -vcodec mjpeg -f mjpeg uploads/videos/original/vids.jpg')Code: Select all
exec("command", $output);
echo '<pre>';
print_r($output);
echo '</pre>';