FLV::Splice - Concatenate FLV files into new files
This feature was created with financial support from John Drago (CPAN:JOHND). Thanks!
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.