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:

  • -i in_file β€” take the input from this file instead of stdin. bye stdin πŸ‘‹
  • -o out_file β€” send the output to this file instead of stdout. stdout could never 😭
  • -v, -verbose β€” be verbose. tell me everything, I wanna know πŸ—£οΈ
  • -m max_pkts, -max max_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 🌈

esdots(1),


mwah πŸ’‹ that's the whole page, and it came to you straight from Debian, dated October 28, 2015. go filter something iconic, bestie πŸŽ€πŸ¦‹β­