Ffmpeg libx264

apps

#1

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.


#2

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.


#3

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/


#4

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

http://wiki.dreamhost.com/Converter_settings