Xuggler

Xuggler uses ffmpeg to convert any media files to any media files.

/usr/local/xuggler/bin/ffmpeg -y -threads 2 -i  source.avi -vcodec libx264 -fpre   video-high.ffpreset         ‘output.mp4’