Hi guys I was just wondering if any of you could help me as I am currently developing a html5 video sharing site dedicated towards gaming and technology. Anyway basically I use wamp server to test all of my code. I have just set up ffmpeg and the upload form and on my local computer it uploads it and then converts it to a .mp4 format. So I decided to go ahead and try the site by putting my PC's local IP into another computer on the network, so everything works I can upload stuff but it just won't convert it.
Here is my code:
<?php
$random = $_FILES["video"]["name"] . rand(1, 100000000) . ".mp4";
$video = "raw/" . $_FILES["video"]["name"];
move_uploaded_file($_FILES["video"]["tmp_name"],
"raw/" . $_FILES["video"]["name"]);
exec('C:\ffmpeg\ffmpeg.exe -i ' . $video . ' videos/' . $random);
echo 'C:\ffmpeg\ffmpeg.exe -i ' . $video . ' videos/' . $random;
?>
I just can't see why it will only work on my host machine.