Thanks for the instructions!
Now I will just run ffmpeg in command prompt and learn it and see if it works.
Now if it does how do I translate this to run it off php to while uploading and converting?
I have to do some programming like system(C:\ffmpeg\etc)?
Followed by the parameters -a -b -c in php something like that?
google PHP execute, this should work, it basicly allows you to execute a batch programm so would be pretty much like typing in the command window.
I have had some trouble with exec because if the command prompt doesn't close within 60 seconds you get a script timeout error. I suppose the command prompt stays open though :P.
Take a look at using cron jobs after the file is uploaded.
Basicly upload the file and upon completion give them a message saying, we are currently checking the file or whatnot we will email you when it's done.
Then update the mysql database and when the cron job next runs it will convert the file stated in the mysql database from the current file extension to flv for instance. When this cron job finishes you could say change a field from 1 (needs converting) to 2 (needs the user to be notified) , this means you can have another cron job checking for user notifications, and when it finds one it sends the email then changes the field to 3 (done).
You could also add …