Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] how to read movie clip duration in console?
Date: Sat, 05 Nov 2011 00:11:57
Message-Id: CAK2H+ecOJBhOccegJsSe=o2kQV9wKsyrasFKtYKcxP02oHf9xA@mail.gmail.com
In Reply to: [gentoo-user] [OT] how to read movie clip duration in console? by Francisco Ares
1 On Fri, Nov 4, 2011 at 2:05 PM, Francisco Ares <frares@×××××.com> wrote:
2 > Hi, All
3 >
4 > Sorry for the OT, but Gentoo'ers are way above medium linux users.
5 >
6 > I have a bunch of movie clips and I wanted to build a table of contents
7 > including clip duration. Instead of opening one at a time, is there any
8 > application that I could user for a script?
9 >
10 > I though on mplayer, but I could not find a way for it to tell me the
11 > duration of a clip.
12 >
13 > Thanks
14 > Francisco
15 > --
16 > "If you have an apple and I have an apple and we exchange apples then you
17 > and I will still each have one apple. But if you have an idea and I have one
18 > idea and we exchange these ideas, then each of us will have two ideas." -
19 > George Bernard Shaw
20 >
21
22 Another possibility, assuming you have ffmpeg installed, is
23
24 ffmpeg -i FILE
25
26 and then look at the Duration field.
27
28 - Mark