Reputation: 331280
Is there a .net library to do this?
Upvotes: 2
Views: 2727
Reputation: 1222
I recently posted NEbml library sources somewhere on the Net. Google this name. It contains the sample for editing attributes and I'm going to add another sample for reading whole file data.
Upvotes: 1
Reputation: 65526
There is an example here I think. Its part of the mkNETtools.
Downlods should be explained here: http://corp.koders.com/downloads
Upvotes: 2
Reputation: 74682
Do you control the machine (i.e. can you install the Matroska codec on it?) If so, the easiest way might be to load the movie in WPF's video control or another playback framework on Windows and query the length, rather than hardcoding something via the raw container format. More dependencies, but likely useful if you want to go further, like generating thumbnails.
Upvotes: 0