NAME
dvbt-ts-cut - Chop up a transport stream file
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
OPTIONS
- -help
-
Print a brief help message and exits.
- -man
-
Prints the manual page and exits.
- -verbose
-
Set verbosity level. Higher values show more information.
- -debug
-
Set debug level. Higher levels show more debugging information (only really of any interest to developers!)
- -split
-
Instead of deleting the cut regions, split the source file into multiple files at the cut region boundaries
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 outfile name will be used but suffixed with a count starting at 1.
FURTHER DETAILS
For full details of the DVBT functions, please see Linux::DVB::DVBT::TS:
perldoc Linux::DVB::DVBT::TS