Is there a .net library to do this?
A:
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.
Paul Betts
2009-09-08 00:23:32
Thanks. I can't install codecs to the machine, but maybe in the setup. Basically this tool is gonna list the lengths of all movies in a particular directory. So I might have to do this for say 1000 movies.
Joan Venge
2009-09-08 00:25:38
+1
A:
There is an example here I think. Its part of the mkNETtools.
Downlods should be explained here: http://corp.koders.com/downloads
Preet Sangha
2009-09-08 01:42:03
Thanks, do you know how to download the whole branch from that site? Should use some kind of source control program?
Joan Venge
2009-09-08 12:36:19