I have a dedicated server with ffmpeg and the x264 tool installed. I can encode any video and works really well. But now I need to encode videos to play on iPads, iPhones... the format needs to be mp4 and using the h.264 codec.
I'm using PHP to enconde videos, I'm just looking for an exec command to do the above encoding. what I'm using for the other videos is:
exec("ffmpeg -i movie.mov -sameq -acodec mp3 -ar 22050 -ab 32 -f flv -s 1280x720 movie.flv");
I just need something similar to that for encoding mp4 by the way, I can't use libx264. I can only use the x264 tool
Cheers