mkvalidator is a simple command line tool to verify Matroska and WebM files for spec conformance. It checks the various bogus or missing key elements against the EBML DocType version of the file and reports the errors/warnings in the command line.
The program is licensed with the BSD license. So you can modify it in any way you want. However we ask that you generously give back your enhancements to the community if you think it can help.
mkvalidator depends on libebml2 (BSD) and libmatroska2 (BSD) that themselves rely on Core-C (BSD) which adds an object API on top of the C language.