OK, to qualify this, you might call it Off Topic, but the result could also be a Cool New Use for Perl...
What I'm trying to figure out here is how I can programatically determine the length of an MP3 file. That is to say, the 'playing time' of the sound clip - as opposed to the file size. Clearly it can be done somehow - bringing up an MP3 file in most players will list the run-time in the standard display.
Upon hitting up Super-Seach I've found references to Apache::MP3, and the like - but no relevant info on this specific topic.
This might be useful for displaying a list of MP3's on a web site, generating statistics on uploaded MP3's that could be stored in a database, etc..
I'm wondering if someone might be able to point me in the right direction?
- Gregor42
Wait! This isn't a Parachute, this is a Backpack!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.