Clotho Advanced Media > FLV-Info-0.17 > FLV::FromSWF

Download:
FLV-Info-0.17.tgz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  1
View Bugs
Report a bug
Module Version: 0.17   Source   Latest Release: FLV-Info-0.24

NAME ^

FLV::FromSWF - Convert a SWF file into an FLV 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::FromSwf;
   my $converter = FLV::FromSWF->new();
   $converter->parse_swf($swf_filename);
   $converter->save($flv_filename);

See also swf2flv.

DESCRIPTION ^

Transcodes SWF files into FLV files. See the swf2flv 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 FLV.

$self->parse_swf($swf_filename)

Open and traverse the specified SWF file, creating FLV data as we find video and audio nodes.

$self->save($flv_filename)

Write out an FLV file. Note: this should be called only after parse_swf(). Throws an exception upon error.

AUTHOR ^

Clotho Advanced Media Inc., cpan@clotho.com

Primary developer: Chris Dolan