Encoding Tip: Windows Compatibility

The support that Microsoft Windows provides for Video Codecs per default is pathetic, fortunatly ffmpeg can create files that work with Windows out of the Box:

ffmpeg -i input.avi -f asf -vcodec wmv2 -b 8000k -acodec wmav2 -ab 192k output.wmv

Those settings should create a file with resonable quality that should play back under any recent Windows machine.

If you want to convert DV video created from a standard camcorder, you can use the following command line, which also deinterlaces and scales the image to compensate for the slightly non-square pixels of DV. (This example works for PAL, NTSC has a slightly different resolution)

ffmpeg -i input.avi -deinterlace -f asf -vcodec wmv2 -b 8000k -acodec wmav2 -ab 192k -cropleft 10 -cropright 10 -s 768x576 output.wmv

Cheers
-Richard

One Response to “Encoding Tip: Windows Compatibility”

  1. markd Says:

    Nice to see a new news item! I’m sure this’ll be helpful to a bunch of people too. Looking forward to the next release. Til then, cheers.

Leave a Reply