Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Perl module to get a sample from mp3 file, say, for 30 seconds

by Doctrin (Beadle)
on Jul 24, 2013 at 19:56 UTC ( #1046193=perlquestion: print w/ replies, xml ) Need Help??
Doctrin has asked for the wisdom of the Perl Monks concerning the following question:

Hello dear Monks. I am looking for a Perl module (if any) to retreive, say, first 30 seconds from an mp3 file. Does anyone know such a module? Thanks

Comment on Perl module to get a sample from mp3 file, say, for 30 seconds
Re: Perl module to get a sample from mp3 file, say, for 30 seconds
by hardburn (Abbot) on Jul 24, 2013 at 20:15 UTC

    Perhaps FFmpeg::Command. I don't know that there's one implemented in Pure Perl or that links into a C library. There's some other ffmpeg modules, but they all seem focused on video or simply deparsing the container format.


    "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

Re: Perl module to get a sample from mp3 file, say, for 30 seconds
by choroba (Abbot) on Jul 24, 2013 at 21:40 UTC
    A colleague of mine once wrote Audio::aKodePlayer when we needed to play short parts of mp3's. It might still work.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1046193]
Approved by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-07-28 23:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (210 votes), past polls