tags:

views:

277

answers:

2

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
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
+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
Thanks, do you know how to download the whole branch from that site? Should use some kind of source control program?
Joan Venge