Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40074

Re: mp3

Newsgroups comp.lang.python
Date 2013-02-27 14:02 -0800
References <512e816b$0$1216$ba4acef3@reader.news.orange.fr>
Message-ID <bb01ab6f-531d-4810-8a40-ef47dbe1f284@googlegroups.com> (permalink)
Subject Re: mp3
From Rick Johnson <rantingrickjohnson@gmail.com>

Show all headers | View raw


On Wednesday, February 27, 2013 3:58:03 PM UTC-6, fabriceS wrote:
> Is anybody know how to get the lenght (in seconds) of a mp3 file ?

Well Mp3's have a huge header with tons of info stuffed inside. And i remember seeing a nice recipe on the Python cookbook (or maybe SO) for parsing the data. I am sure the duration will be in there somewhere. Hopefully the mp3 is encoded in CBR, if however it was VBR; who the heck knows what to believe!

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

mp3 fabriceS <fabrice.sincere@wanadoo.fr> - 2013-02-27 22:58 +0100
  Re: mp3 Rick Johnson <rantingrickjohnson@gmail.com> - 2013-02-27 14:02 -0800
  Re: mp3 alex23 <wuwei23@gmail.com> - 2013-02-27 16:07 -0800
    Re: mp3 fabriceS <fabrice.sincere@wanadoo.fr> - 2013-02-28 12:03 +0100
  Re: mp3 Tony the Tiger <tony@tiger.invalid> - 2013-03-03 16:31 -0600

csiph-web