I had to use ffmpeg for .wmv videos.

The quality was really awful with mencoder.

So, I use:

Code:
$convert_wmv = $cmd_ffmpeg;
Now I have to finetune the bitrates to get the optimal quality/size...