- file formats - http://support.microsoft.com/kb/316992/en-us - .asf, .wma, .wmv and .wm have been supported in XP pretty much since the beginning
- codecs - http://support.microsoft.com/kb/291948/en-us - there are several that have been around for a long time. To use the .wmv extension the video and audio should be encoded using windows media video and windows media audio codecs so I chose those.
First download download ffmpeg. There is no installer so just extract it to a directory.
In case you don't have mpeg2 codecs installed, download and install the klite codec pack.
ffmpeg is a command-line utility. To use it, open a command prompt and change to the ffmpeg\bin directory.
To convert from .MOD to .wmv:
ffmpeg -i mov001.MOD -f asf -vcodec wmv1 -acodec wmav1 mov001.wmv
This will convert using default settings for bitrate; ffmpeg tries to convert in a way that preserves as much video and audio quality as possible. However, you may find the quality less than stellar. In this case, you'll want to increase the bitrate. One way to do this is
ffmpeg -i mov001.MOD -f asf -vcodec wmv1 -acodec wmav1 -sameq mov001.wmv
This file will be pretty big since it forces ffmpeg to use the same quality as the input.
To determine which file formats, video codecs and audio codecs are installed on your machine:
ffmpeg -formats > formats.txt
This will dump all the formats into a file called formats.txt. In the doc directory the General documentation has descriptions of each of the formats and codecs. The names in the General documentation are not the same as the values passed to ffmpeg on the command line. To get those values you'll need to look at the formats.txt file.
ffmpeg has a bunch of other features, all of which are accessed from command line switches. See the ffmpeg docs in the doc directory.
No comments:
Post a Comment