FLV::Splice - Concatenate FLV files into new files


FLV-Info documentation  | view source Contained in the FLV-Info distribution.

Index


NAME

Top

FLV::Splice - Concatenate FLV files into new files

ACKNOWLEDGMENTS

Top

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

LICENSE

Top

See FLV::Info

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

$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

Top

See FLV::Info


FLV-Info documentation  | view source Contained in the FLV-Info distribution.