dvbt-ts-cut - Chop up a transport stream file
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
Print a brief help message and exits.
Prints the manual page and exits.
Set verbosity level. Higher values show more information.
Set debug level. Higher levels show more debugging information (only really of any interest to developers!)
Instead of deleting the cut regions, split the source file into multiple files at the cut region boundaries
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 outfile name will be used but suffixed with a count starting at 1.
For full details of the DVBT functions, please see Linux::DVB::DVBT::TS:
perldoc Linux::DVB::DVBT::TS
To install Linux::DVB::DVBT::TS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Linux::DVB::DVBT::TS
CPAN shell
perl -MCPAN -e shell install Linux::DVB::DVBT::TS
For more information on module installation, please visit the detailed CPAN module installation guide.