DOKK / manpages / debian 12 / tstools / tsfilter.tstools.1.en
TSFILTER(1) General Commands Manual TSFILTER(1)

tsfilterOutput a filtered or truncated version of a transport stream

tsfilter [-verbose | -v] [-i in_file] [-o out_file] [-max max_pkts | -m max_pkts] [-! | -invert] pid_no [pid_no] ...

Filter the given pid_nos out of stdin and write the result on stdout.

in_file
Take input from this file and not stdin.
out_file
Send output to this file and not stdout.
, -verbose
Be verbose.
max_pkts, -max max_pkts
All packets after the nth are regarded as not matching any pids.
, -invert
Invert whatever your decision was before applying it - the output contains only pids not in the list up to max packets and all packets in the input from then on.

esdots(1),

October 28, 2015 Debian