I have been having trouble with converting video with I just was going to use ffmpeg to move the file after in finishes converting it but I have been playing with the code trying to make it work, the two commented out line are the ones making it crash but when I comment them back in the script runs like it did before (I just have to upload FLV) Any ideas? Oh server is OpenSuSe 11.4 and it has ffmpeg install along with php5 and MySQL and I ran the ffmpeg line in the terminal no pro I type the names but thats the only difference.
move_uploaded_file($_FILES[“file”][“tmp_name”],
“upload/tmp/” . $_FILES[“file”][“name”]);
$upsus = “1”;
//$run = ‘ffmpeg -i upload/tmp/’ . $_FILES[“file”][“name”] ‘-ar 22050 -b 500 -s 1280x960 upload/ ‘$_FILES[“file”][“name”]’.flv’;
//exec($run);
echo "
Video File " . $_FILES[“file”][“name”] . " was uploaded " . date(“F j, Y”) . “
”;echo “
Thank You for your upload!
Use the links below to navigate back to the main site.
”;
Thank you to who responds.