TSFILTER(1)
π TSFILTER(1) π
okay bestie, pull up a chair, because this is tsfilter from section 1 of the General Commands Manual, and she is that girl when it comes to slicing up transport streams β¨
πΈ NAME πΈ
tsfilter β spits out a filtered or truncated version of a transport stream, no cap π
π¦ SYNOPSIS π¦
tsfilter [-verbose | -v] [-i in_file] [-o out_file]
[-max max_pkts | -m max_pkts] [-! | -invert] pid_no [pid_no]
...
β¨ DESCRIPTION β¨
So here's the vibe: it filters the pid_nos you hand it out of stdin, and writes the result onto stdout. That's it, that's the whole main character moment π«Ά
The flags, one by one, because we don't gatekeep:
-iin_fileβ take the input from this file instead of stdin. bye stdin π-oout_fileβ send the output to this file instead of stdout. stdout could never π-v,-verboseβ be verbose. tell me everything, I wanna know π£οΈ-mmax_pkts,-maxmax_pktsβ every packet after the *n*th one gets treated like it matches no pids at all. so past that point, nothing is "in the list" anymore π-!,-invertβ flips whatever decision you just made before it gets applied. so the output holds only the pids that are NOT in your list up to max packets, and then literally all the packets in the input from that point on. full uno reverse π
π SEE ALSO π
mwah π that's the whole page, and it came to you straight from Debian, dated October 28, 2015. go filter something iconic, bestie ππ¦β
π¦ where this page comes from
- debian bookworm: tstools 1.13~git20151030-6 Β· MPL-1.1
- debian trixie: tstools 1.13~git20151030-6 Β· MPL-1.1
- ubuntu jammy: tstools 1.13~git20151030-5 Β· MPL-1.1
- ubuntu noble: tstools 1.13~git20151030-6 Β· MPL-1.1
- ubuntu questing: tstools 1.13~git20151030-7
- ubuntu resolute: tstools 1.13~git20151030-7build1 Β· MPL-1.1
- ubuntu stonking: tstools 1.13~git20151030-8 Β· MPL-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms