FLV::ToMP3 - Convert audio from a FLV file into an MP3 file
use FLV::ToMP3;
my $converter = FLV::ToMP3->new();
$converter->parse_flv($flv_filename);
$converter->save($mp3_filename);
See also flv2mp3.
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.
- $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.