libebml is a C++ libary to parse EBML files. It is available in LGPL license as a source code that should compile on many platforms including Windows, Linux, Mac OSX and BeOS.
For more information on EBML you can have a look at the Matroska specs, the EBML RFC or check the Sourceforge website.
You can also access the source directly from our SVN server via Subversion.