NAME
FLV::ToMP3 - Convert audio from a FLV file into an MP3 file
LICENSE
Copyright 2006 Clotho Advanced Media, Inc., <cpan@clotho.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SYNOPSIS
use FLV::ToMP3;
my $converter = FLV::ToMP3->new();
$converter->parse_flv($flv_filename);
$converter->save($mp3_filename);
See also flv2mp3.
DESCRIPTION
Extracts audio data from an FLV file and constructs an MP3 file. See the flv2mp3 command-line program for a nice interface and a detailed list of caveats and limitations.
METHODS
- $pkg->new()
-
Instantiate a converter.
- $self->parse_flv($flv_filename)
-
Open and parse the specified FLV file.
- $self->save($mp3_filename)
-
Write out an MP3 file. Note: this is usually called only after
parse_flv()
. Throws an exception upon error.
AUTHOR
Clotho Advanced Media Inc., cpan@clotho.com
Primary developer: Chris Dolan