In Windows, is there a way to get the duration (e.g. in seconds) of an AVI file from the command line?
I'm fine with using 3rd party tools - the more common, the better.
MediaInfo is a great tool for extracting such information, there's both a GUI and CLI version. Here is a summary of its basic command line options, you'll probably want to pass it just the filename or include a