How to read length and other information about MKV movie files in C #?

Is there a .net library for this?

+2


source to share


3 answers


Here's an example here I think. Part of it is mkNETtools .



The footers should be explained here: http://corp.koders.com/downloads

+2


source


I recently posted the NEbml library sources somewhere on the web. Google is the name. It contains a sample for editing attributes, and I'm going to add another sample for reading the data of the entire file.



+1


source


You are in control of the machine (i.e. can you install the Matroska codec on it?). If so, the easiest way might be to load the movie as a WPF video control or other playback environment on Windows and request the length rather than hardcoding something through the raw container format. More dependencies, but probably useful if you want to go further, such as creating thumbnails.

0


source







All Articles