FLV::Splice - Concatenate FLV files into new files
This feature was created with financial support from John Drago (CPAN:JOHND). Thanks!
See FLV::Info
use FLV::Splic; my $converter = FLV::Splice->new(); $converter->add_input('first.flv'); $converter->add_input('second.flv'); $converter->save('output.flv');
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.
Instantiate a converter.
Open and append the specified FLV file. Alternatively, you may pass an instantiated and parsed FLV::File instance.
Serialize the combined FLV to file.
To install FLV::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FLV::Info
CPAN shell
perl -MCPAN -e shell install FLV::Info
For more information on module installation, please visit the detailed CPAN module installation guide.