Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 (Canon) 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 wandering the Monastery: (17)
As of 2015-07-01 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (16 votes), past polls