Code:
ffmpeg -i input.xxx -sameq output.mpg
This is a simple syntax. The
xxx is extension of the input file. The
-sameq will preserve the aspect and quality of the input file.
Ffmpeg is an awesome tool with many variations to converting video files. A google/youtube search with ffmpeg examples and tutorial are available.
Other utilities to try are
avconv and
melt