Video for use in Keynote

  1. Open a Terminal/Command Prompt window
  2. Change to the directory with your source video
  3. Use the following command:

ffmpeg.exe -i INVIDEO.MOV -f mp4 -vcodec libx264 -b 8000k OUTVIDEO.MP4

You must leave the OUTVIDEO format as MP4. The INVIDEO.MP4 can be any format, any extention (eg INVIDEO.MOV, INVIDEO.AVI, INVIDEO.MPG). Youtube videos can also be converted (INVIDEO.FLV). You can increase or decrease the - b 8000k number if you want to improve quality or decrease size. Size of file is proportional to quality of video. You can combine this with cropping by adding the cropping flag, read more here.