Reading matroska format-specific properties The GroupDocs.Metadata API supports extracting format-specific information from MKV files.
The following are the steps to read native MKV Metadata.
Load an MKV video Get the root Metadata package Extract the native Metadata package using the MatroskaRootPackage.getMatroskaPackage method Read the Matroska Metadata properties on different levels of the format structure advanced_usage.managing_Metadata_for_specific_formats.video.matroska.MatroskaReadNativeMetadataProperties
try (Metadata Metadata = new Metadata(Constants.InputMkv)) { MatroskaRootPackage root = Metadata.getRootPackageGeneric(); // Read the EBML header System....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...