My digital camera can also produce movies, like most camera’s these
days. It saves them in AVI format, with relatively poor
compression and uncompressed sound.
So I wrote this python script to convert these AVI files to Theora / Vorbis streams in a matroška container. It takes the video files named on the command line, and then launches ffmpeg to do the conversion.
To speed up the processing of multiple files, this script runs the conversions in parallel on all the cores that your machine has.
The vid2mkv.py script can be downloaded from github.