Linux-DVB-DVBT-TS

 view release on metacpan or  search on metacpan

script/dvbt-ts-cut  view on Meta::CPAN


=head1 SYNOPSIS

dvbt-ts-cut [options] filename cutfile outfile

Options:

       -debug level         set debug level
       -verbose level       set verbosity level
       -help                brief help message
       -man                 full documentation
       -split               split file
       
=head1 OPTIONS

=over 8

=item B<-help>

Print a brief help message and exits.

=item B<-man>

Prints the manual page and exits.

=item B<-verbose>

Set verbosity level. Higher values show more information.

=item B<-debug>

Set debug level. Higher levels show more debugging information (only really of any interest to developers!)

=item B<-split>

Instead of deleting the cut regions, split the source file into multiple files at the cut region boundaries

=back

=head1 DESCRIPTION

Script that uses the perl Linux::DVB::DVBT::TS package to provide transport stream video file functions.
 
Runs the transport stream cut utility on a file, creating a new file (or files) with the specified regions
removed. Alternatively, using the -split option, splits the file at each start and end boundary.

The cut file format is in the form of lines containing:

	ad=[start packet]:[end packet]

Each line specifies an advert region in transport stream packet numbers. 

for example, the following defines 4 advert regions (the first region starting at the start of the video):

	ad=0:344787
	ad=970972:1417421
	ad=2085377:2477139
	ad=3472767:3856038


In -split mode, the specified B<outfile> name will be used but suffixed with a count starting at 1.  


=head1 FURTHER DETAILS

For full details of the DVBT functions, please see L<Linux::DVB::DVBT::TS>:

   perldoc Linux::DVB::DVBT::TS
 
=cut

	



( run in 2.993 seconds using v1.01-cache-2.11-cpan-71847e10f99 )