![]() |
![]()
| ![]() |
![]()
NAMEFLV::Cut - Extract FLV segments into new files LICENSESee FLV::Info SYNOPSISuse FLV::Cut; my $converter = FLV::Cut->new(); $converter->add_output('first_ten_sec.flv', undef, 10_000); $converter->add_output('middle_ten_sec.flv', 20_000, 30_000); $converter->add_output('tail.flv', 40_000, undef); $converter->parse_flv('input.flv'); $converter->save_all; DESCRIPTIONEfficiently extracts segments of an FLV into separate files. WARNING: this tool does not help you find keyframes! If you pick a cut time that is not on a keyframe, you will see unpleasant video artifacts in the resulting media. For many input FLVs, you can use the following to find the keyframe times: my $flv = FLV::File->new; $flv->parse; $flv->populate_meta; # optional my @times = @{ $flv->get_meta('keyframe')->{times} }; METHODS
AUTHORSee FLV::Info
|