mkclean is a command line tool to clean and optimize Matroska files that have already been muxed.
Matroska is an audio/video container based on EBML. For more information on Matroska you can have a look at the Matroska specs.
You can also access the source directly from our SVN server via Subversion.