Chris Dolan > FLV-Info-0.24 > FLV::Splice

Download:
FLV-Info-0.24.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  1
View/Report Bugs
Module Version: 0.24   Source  

NAME ^

FLV::Splice - Concatenate FLV files into new files

ACKNOWLEDGMENTS ^

This feature was created with financial support from John Drago (CPAN:JOHND). Thanks!

LICENSE ^

See FLV::Info

SYNOPSIS ^

   use FLV::Splic;
   my $converter = FLV::Splice->new();
   $converter->add_input('first.flv');
   $converter->add_input('second.flv');
   $converter->save('output.flv');

DESCRIPTION ^

Concatenates compatible FLV movies into a single file. In this context, 'compatible' means that they have the same video and audio codec. It is possible that this tool will produce unplayable movies, for example concatenating AVC content will likely fail because each segment has its own binary configuration block.

This tool may also produce unplayable content if the segments have different framerates. That depends on the player implementation.

METHODS ^

$pkg->new()

Instantiate a converter.

$self->add_input($flv_filename)
$self->add_input($flv_instance)

Open and append the specified FLV file. Alternatively, you may pass an instantiated and parsed FLV::File instance.

$self->save($outfile)

Serialize the combined FLV to file.

AUTHOR ^

See FLV::Info

syntax highlighting: