TSPLAY(1)

πŸ’– TSPLAY ✨

okay so bestie, welcome to tsplay β€” the manual page for the little command that streams a file πŸ’… it's from the Debian General Commands Manual besties, and honestly? she's iconic. let's get into it πŸŽ€


🌸 NAME 🌸

tsplay β€” stream a file πŸ¦‹


✨ SYNOPSIS ✨

tsplay -help [subject]
tsplay [-details] [-err stdout] [-err stderr] [-quiet | -q]
       [-verbose | -v] [-loop] [-max max_pkts | -m max_pkts]
       [-mcastif mcast_if | -i mcast_if] [-tcp | -udp] in_file | -stdin
       host[:port] | -output out_file | -o out_file | -stdout

πŸ‘‘ DESCRIPTION πŸ‘‘

so basically, tsplay is out here acting as a server that plays the given file for you πŸ’« and like, that file can contain Transport Stream or Program Stream data. but here's the tea β€” the output is always Transport Stream. no cap. periodt. πŸ”₯

πŸ“ Input πŸ“

  • in_file β€” input comes from the named H.222 TS file bestie πŸ’œ
  • -stdin β€” input is coming straight from standard input ✨

πŸ¦‹ Output πŸ¦‹

  • host[:port] β€” normally the output goes to a named host. if you don't specify a port, it just defaults to 88 like it's no big deal πŸ’… and the output defaults to UDP.
  • -o out_file, -output out_file β€” output goes to the file out_file instead πŸŽ€
  • -tcp β€” output to the host is via TCP πŸ”₯
  • -udp β€” output to the host is via UDP. [default] ✨
  • -stdout β€” output goes to standard output. and the way that it forces -quiet and -err stderr?? obsessed 😭
  • -i mcast_if, -mcastif mcast_if β€” okay so IF the output is via UDP, and the host is a multicast address, then mcast_if is the IP address of the network interface to use πŸ¦‹ ngl though β€” this may not be supported on some versions of Windows πŸ™ˆ

πŸ’œ General Switches πŸ’œ

  • -details β€” prints out more detailed help info, including some of the less common options πŸ‘€ iykyk
  • -err stdout β€” write error messages to standard output (this is the default btw) ✨
  • -err stderr β€” write error messages to standard error (the Unix traditional way, vintage queen πŸ’…)
  • -v, -verbose β€” outputs additional diagnostic messages 🫢
  • -q, -quiet β€” suppresses informational and warning messages (shhh 🀫)
  • -help β€” summarises the subjects that can be specified
  • -help subject β€” show help on a particular subject 🌸
  • -m max_pkts, -max max_pkts β€” maximum number of TS/PS packets to read. peep -details for more information bestie πŸ’–
  • -loop β€” play the input file repeatedly πŸ” and yes, it can be combined with -max ✨

🌈 SEE ALSO 🌈

tsinfo(1), pcapreport(1) β€” go give these icons a read too, fr fr πŸ’…


Debian 🌸 October 28, 2015 πŸŽ€ that's the vibe, that's the date, that's the whole source bestie β€” now go stream something iconic πŸ’–βœ¨πŸ¦‹