Convert mov/mp4/etc to wmv high quality with ffmpeg

Alec Jacobson

July 06, 2011

weblog/

The following two ffmpeg commands worked well converting my animated movie (with OpenGL screen captures) from a quicktime .mov file to a high quality .wmv file.
ffmpeg -pass 1 -passlogfile ffmpeg2pass -g 1 -i input.mov  -b 16000k output.wmv
ffmpeg -pass 2 -passlogfile ffmpeg2pass -g 1 -i input.mov  -b 16000k output.wmv
The resulting wmv file is rather large but it doesn't look like total garbage, so I'm happy.