This question already has an answer here:
- Grep equivalent for Windows 7? 13 answers
Every answer I've found to get a video's duration with ffmpeg contains
cmd doesn't natively have.
I know there's a "Grep for windows" thing, but I'd rather use a function that comes with the command line.
So when I do
ffmpeg -i input I get
Input #0, flv, from 'vid_test001.flv': Metadata: creationdate : Fri Sep 19 15:58:17 Duration: 00:00:12.44, start: 0.000000, bitrate: 806 kb/s Stream #0:0: Video: flv1, yuv420p, 320x240, 1k tbr, 1k tbn, 1k tbc Stream #0:1: Audio: nellymoser, 22050 Hz, mono, flt
I'd like to to get the Duration from this, which is "00:00:12.44" in this case