mp3 file length in time
Paul Rubin
http
Sun Sep 17 11:20:00 EDT 2006
"Jay" <jaysherby at gmail.com> writes:
> In python, I know there are a couple of modules for getting id3 info,
> but what about the length of an mp3 file in time? Is there a way to
> aquire that info? Most of my MP3s don't have id3 tags. I don't care
> for them. But I need to use python to get their file lengths. How?
You have to count the frames. Lots of mp3 files use variable bit
rates, so you can't go by the file length.
More information about the Python-list
mailing list