From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.help Subject: Re: Estimating track length Date: Wed, 25 Aug 2010 22:44:38 +0000 (UTC) Organization: U.C. Berkeley Math. Department. Message-ID: References: <87tymi5z5r.fsf@kanis.fr> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1291868496 7003 80.91.229.12 (9 Dec 2010 04:21:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 04:21:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 05:21:32 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQY0Y-000815-7N for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 05:21:30 +0100 Original-Received: from localhost ([127.0.0.1]:40983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQY0X-0006mX-6g for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 23:21:29 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Injection-Date: Wed, 25 Aug 2010 22:44:38 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="LlLjF8LevGdIZWbTvv+SXA"; logging-data="26918"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dZZNbgyiYv8RFFjZH4i1h" User-Agent: slrn/0.9.8.1pl1 (Linux) Cancel-Lock: sha1:CmH9bm/TsVdFkDTD5ujWbhri4Bw= Original-Xref: usenet.stanford.edu gnu.emacs.help:180965 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76633 Archived-At: On 2010-08-25, tossel@gmail.com wrote: >>> Hello, everybody! I need to estimate length of audio file in seconds >>> from emacs. Is such function already implemented in some package? One >>> obvious candidate is EMMS, but I couldn't find information about how >>> to do it. I'd be grateful for any suggestions. > mp3, ogg, wav, wma etc. - the more formats the better. > It's a good idea to find an external program to do this task, but > could not find any either. My mp3info2 is not yet up to the task (oggs are hard beasts to measure length; the rest should works); the same goes for exiftool. The mplayer incantation in the other message would probably work (although the rest of that message is not very trustworthy). You should also try mediainfo. Hope this helps, Ilya