FLV::ToSWF - Convert an FLV file into a SWF file



NAME

FLV::ToSWF - Convert an FLV file into a SWF file


LICENSE

See the FLV::Info manpage


SYNOPSIS

   use FLV::ToSwf;
   my $converter = FLV::ToSWF->new();
   $converter->parse_flv($flv_filename);
   $converter->save($swf_filename);

See also the flv2swf manpage.


DESCRIPTION

Transcodes FLV files into SWF files. See the the flv2swf manpage command-line program for a nice interface and a detailed list of caveats and limitations.


METHODS

$pkg->new()

Instantiate a converter and prepare an empty SWF.

$self->parse_flv($flv_filename)

Open and parse the specified FLV file. If the FLV file lacks onMetadata details, that tag is populated with duration, framerate, video dimensions, etc.

$self->save($swf_filename)

Write out a SWF file. Note: this is usually called only after parse_flv(). Throws an exception upon error.


AUTHOR

See the FLV::Info manpage