Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

module for swf music to mp3 conversion

by spmlingam (Scribe)
on Dec 29, 2008 at 12:06 UTC ( #733005=perlquestion: print w/ replies, xml ) Need Help??
spmlingam has asked for the wisdom of the Perl Monks concerning the following question:

Hi Friends,
Is there any cpan module available for converting swf music files into mp3 music files.

Comment on module for swf music to mp3 conversion
Re: module for swf music to mp3 conversion
by ww (Bishop) on Dec 29, 2008 at 12:20 UTC
    Have you searched CPAN with such obvious terms as "swf" and/or "mp3" (and/or the far wider flung net of "convert")?
Re: module for swf music to mp3 conversion
by balakrishnan (Monk) on Dec 29, 2008 at 13:22 UTC
    there are modules that you can use to achieve this i think,
    1.swf2flv
    2.flv2mp3

    first u can convert your swf file to flv and then you have to convert that into mp3.
Re: module for swf music to mp3 conversion
by idsfa (Vicar) on Dec 29, 2008 at 15:24 UTC

    Again, not a perl answer, but swftools runs on most platforms, and swfextract has a flag specifically for extracting the mp3 stream from an swf file.


    The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon
Re: module for swf music to mp3 conversion
by leocharre (Priest) on Dec 29, 2008 at 22:10 UTC

    Use lame. Use the command line for this. The command line is your friend. The command line loves us.

    Using perl to do this would be using a wrapper for something else. What we would be wrapping is likely already outfitted to do your bidding.

    You can still call it from perl, drop it on a cron, etc.

Re: module for swf music to mp3 conversion
by spmlingam (Scribe) on Dec 30, 2008 at 05:59 UTC
    Thanks for your help friends.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2014-07-25 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (170 votes), past polls