carta
tsfilter.tstools(1)

tsfilter.tstools1

Output a filtered or truncated version of a transport stream

Usage

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

Overview

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

-i in_file

Take input from this file and not stdin.

-o out_file

Send output to this file and not stdout.

-v, -verbose

Be verbose.

-m 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.

From tstools 1.13~git20151030-6 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.