Ffmpeg libx264

Has anyone got it to work on a shared server? I want to be able to convert movies to mp4 (h264) to be played in a flash player.

We’ve actually got a copy of ffmpeg/x264 already built and installed at /dh/bin/ffmpeg — it’s got most of the useful formats compiled in, so that’s probably easier than rolling your own.

So i should be able to use -vcodec libx264?

e.g. ffmpeg -i INFILE -acodec libfaac -ab 96k -vcodec libx264 -vpre slow -crf 22 -threads 0 OUTPUT.mp4

as found on http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/

Yes, that should work. There’s a full rundown of the settings we use for video conversion at: