FLV::ToSWF - Convert an FLV file into a SWF file
See FLV::Info
use FLV::ToSwf; my $converter = FLV::ToSWF->new(); $converter->parse_flv($flv_filename); $converter->save($swf_filename);
See also flv2swf.
Transcodes FLV files into SWF files. See the flv2swf command-line program for a nice interface and a detailed list of caveats and limitations.
Instantiate a converter and prepare an empty SWF.
Open and parse the specified FLV file. If the FLV file lacks onMetadata details, that tag is populated with duration, framerate, video dimensions, etc.
onMetadata
Write out a SWF file. Note: this is usually called only after parse_flv(). Throws an exception upon error.
parse_flv()
To install FLV::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FLV::Info
CPAN shell
perl -MCPAN -e shell install FLV::Info
For more information on module installation, please visit the detailed CPAN module installation guide.