TSSERVE(1)

πŸ’– TSSERVE(1) πŸ’–

okay bestie, welcome to the tsserve page β€” it lives in the General Commands Manual, and it's literally the girl who gets you info about the streams inside a transport stream. no cap. πŸŽ€


✨ NAME ✨

tsserve β€” get info about the streams within a transport stream


🌸 SYNOPSIS 🌸

tsserve [-details] [-err stdout] [-err stderr] [-quiet | -q]
        [-verbose | -v] [-port port_no] [-noaudio] [-pad filler_pkts]
        [-noseqhdr] [-prepeat pat_freq] [-h264 | -avc | -h262]
        [-dolby dvb | atsc] [-0] file0 [-1 file1] [-2 file2] ...

πŸ’… DESCRIPTION πŸ’…

so basically, tsserve acts as a server that plays the file you give it (a file containing Transport Stream or Program Stream data, mwah 🫢). and the output? always Transport Stream. always always. no exceptions, periodt.


πŸ¦‹ Input πŸ¦‹

  • infile β€” an H.222.0 TS or PS file to serve to the client. it gets treated as file 0 (more on that in a sec, iykyk πŸ‘‡)
  • -0 file0 .. -9 file9 β€” the way this works is you can specify files 0 through 9, and you select them with the command characters 0 through 9. the lowest numbered file is the default one for display. iconic behavior fr fr ✨

🌈 General Switches 🌈

  • -details β€” prints out more detailed help info, including some of the less common options. the deep lore, bestie πŸ“–
  • -err stdout β€” write error messages to standard output (this is the default)
  • -err stderr β€” write error messages to standard error (the Unix-traditional choice, very old money πŸ’…)
  • -v, -verbose β€” output extra diagnostic messages. she's chatty, we love that πŸ—£οΈ
  • -q, -quiet β€” suppress informational and warning messages. she's giving mysterious 🀫
  • -port port_no β€” listen for a client on port port_no. default is 88 πŸšͺ
  • -noaudio β€” ignore any audio data. sorry to the audio, she said not today πŸ™ˆ
  • -pad filler_pkts β€” pad the start of the output with filler_pkts filler TS packets, so the client can synchronize with the datastream. default is 8 πŸ›‹οΈ
  • -noseqhdr β€” do not output sequence headers for fast forward/reverse data. only relevant to H.262 data, so if you're not on H.262, this one's just standing there πŸ’€

πŸŽ€ Program Stream Switches πŸŽ€

  • -prepeat pat_freq β€” output the program data (PAT/PMT) after every pat_freq PS packs. default is 100 πŸ”
  • -h264, -avc β€” force the program to treat the input as MPEG-4/AVC
  • -h262 β€” force the program to treat the input as MPEG-2
both of these affect the stream type of the output data, so pick your fighter wisely πŸ‘‘

if the audio stream being output is Dolby (AC-3), then the stream type used to output it is different for DVB (European) and ATSC (USA) data. you can specify it like this:

  • -dolby dvb β€” use stream type 0x06. this is the default 🌍
  • -dolby atsc β€” use stream type 0x81 πŸ‡ΊπŸ‡Έ

and for info on using the program in other modes, see -details β€” she told you, she's got range πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

tsinfo(1), pcapreport(1)


k that's the whole page bestie, you ate. this one's from Debian, dated October 28, 2015 β€” go forth and serve those streams, main character energy only πŸ’–βœ¨πŸ‘‘