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

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.

use FLV::FromSwf; my $converter = FLV::FromSWF->new(); $converter->parse_swf($swf_filename); $converter->save($flv_filename);
See also swf2flv.

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

Instantiate a converter and prepare an empty FLV.
Open and traverse the specified SWF file, creating FLV data as we find video and audio nodes.
Write out an FLV file. Note: this should be called only after parse_swf(). Throws an exception upon error.

Clotho Advanced Media Inc., cpan@clotho.com
Primary developer: Chris Dolan