Posts Tagged ‘wmv’

Ffmpeg to wmv bitrate parameter order gotcha

Tuesday, July 3rd, 2012

I had been using:


ffmpeg -pass 1 -passlogfile ffmpeg2pass -g 1 -b 16000k -i input.mov output.wmv
ffmpeg -pass 2 -passlogfile ffmpeg2pass -g 1 -b 16000k -i input.mov output.wmv

which at one point gave me an error on the second pass:


[msmpeg4 @ 0x7fde41844e00] requested bitrate is too low

I tried increasing 16000k to 32000k, but this did not make the error go away. Turns out I just needed to switch the order of the parameters:


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

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

Wednesday, July 6th, 2011

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.