Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FLV::FromSWF(3)	      User Contributed Perl Documentation      FLV::FromSWF(3)

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

LICENSE
       See FLV::Info

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.

CAVEATS
       Content in the SWF other	than audio or video data is currently ignored
       silently.  I should add warning messages	when significant
       non-audio/video content appears.	 For example, I've seen	some screen
       video which mixes video,	bitmaps	and shapes to optimize the SWF file
       size.  <http://rt.cpan.org/Ticket/Display.html?id=22095>

AUTHOR
       See FLV::Info

perl v5.32.1			  2009-03-14		       FLV::FromSWF(3)

NAME | LICENSE | SYNOPSIS | DESCRIPTION | METHODS | CAVEATS | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=FLV::FromSWF&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help