From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-130575-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RMTrY-0000vM-Sb
	for garchives@archives.gentoo.org; Sat, 05 Nov 2011 00:11:57 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 05D9721C04E;
	Sat,  5 Nov 2011 00:11:44 +0000 (UTC)
Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 1E52221C031
	for <gentoo-user@lists.gentoo.org>; Sat,  5 Nov 2011 00:10:38 +0000 (UTC)
Received: by gyd10 with SMTP id 10so3871595gyd.40
        for <gentoo-user@lists.gentoo.org>; Fri, 04 Nov 2011 17:10:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=mG9DKG9TxZwzxVsF/I2uNiOZKtjW9Q9tSKuLmqEUDXw=;
        b=RCU96gd14wCRdbvBPP5rvmBY7ZbVbeoIWjZ+VHR3SACUOnVaRB2OLIYzN5lH7T3Pe3
         wET9S+iZlXaXXMzg6YPdQLJz73pn49FID2HIkydgwEQSSP/4kLjtc8zbY0NBihH8CATR
         FDniYB6KOAe8d9DtFetW7KhXvecyy5O5deQUc=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.182.202.68 with SMTP id kg4mr3515602obc.21.1320451838361; Fri,
 04 Nov 2011 17:10:38 -0700 (PDT)
Received: by 10.182.149.33 with HTTP; Fri, 4 Nov 2011 17:10:38 -0700 (PDT)
In-Reply-To: <CAHH9eM5OrMKp3QZmLmLwX=1gXL_axq0x5_7xRZMpqY2jyOX4Cg@mail.gmail.com>
References: <CAHH9eM5OrMKp3QZmLmLwX=1gXL_axq0x5_7xRZMpqY2jyOX4Cg@mail.gmail.com>
Date: Fri, 4 Nov 2011 17:10:38 -0700
Message-ID: <CAK2H+ecOJBhOccegJsSe=o2kQV9wKsyrasFKtYKcxP02oHf9xA@mail.gmail.com>
Subject: Re: [gentoo-user] [OT] how to read movie clip duration in console?
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 1fdc382f-642a-4d71-8798-29d957451463
X-Archives-Hash: 25db2bc9015ae7ff8767aadcb2ecf7fb

On Fri, Nov 4, 2011 at 2:05 PM, Francisco Ares <frares@gmail.com> wrote:
> Hi, All
>
> Sorry for the OT, but Gentoo'ers are way above medium linux users.
>
> I have a bunch of movie clips and I wanted to build a table of contents
> including clip duration. Instead of opening one at a time, is there any
> application that I could user for a script?
>
> I though on mplayer, but I could not find a way for it to tell me the
> duration of a clip.
>
> Thanks
> Francisco
> --
> "If you have an apple and I have an apple and we exchange apples then you
> and I will still each have one apple. But if you have an idea and I have one
> idea and we exchange these ideas, then each of us will have two ideas." -
> George Bernard Shaw
>

Another possibility, assuming you have ffmpeg installed, is

ffmpeg -i FILE

and then look at the Duration field.

- Mark