On Sat, Apr 21, 2012 at 2:27 PM, <[email protected]> wrote: > Hi, > > is there a way to determine the playing length of a video file in > minutes without playing the while file?
Depends on the file. If the file has an index and/or sufficient metadata, yes. If not, you'll have to decode the sequence of frames and sum each frame's display time. (Videos whose framerate changes halfway through suck...) Either way, I'd suggest looking at 'ffmpeg' manpage. There may be a better tool for your purposes...what's the context? -- :wq

