PSREPORT(1)

πŸ‘‘ PSREPORT(1) β€” the manual, but make it cute

okay so bestie, we're in General Commands Manual territory and this is psreport, she's a whole queen at looking at what's inside a PS. no cap. let's go πŸ’…


✨ NAME ✨

psreport β€” Report on the contents of a PS 🫢


🌸 SYNOPSIS 🌸

psreport [-err stdout] [-err stderr] [-verbose | -v]
         [-max max_pkts | -m max_pkts] [-dvd | -notdvd | -nodvd] in_file
         | -stdin

πŸ’– DESCRIPTION πŸ’–

so basically she reports on the packets in a Program Stream. that's the whole vibe. πŸ¦‹

πŸ“ Files πŸ“

  • in_file β€” this is an H.222 Program Stream file. yes, a real one. (but peep -stdin below if you wanna pipe instead, iykyk πŸ‘€)

πŸŽ€ Switches πŸŽ€

  • -err stdout β€” sends error messages to standard output. this is the default, so if you do nothing, this is what you get. iconic default energy ✨
  • -err stderr β€” sends error messages to standard error instead. this is the Unix traditional way, very old-school cool of you honestly 🧚
  • -stdin β€” input comes from standard input instead of a file. no file name needed, just vibes and a pipe 🌈
  • -v, -verbose β€” also outputs the packet data, not just the report. she's chatty now, she's giving main character πŸ’…
  • -stdin β€” take input from <stdin>, instead of a named file. yes bestie she's listed twice in the source, and honestly? double the -stdin, double the slay. not me pointing it out, just saying πŸ™ˆ
  • -max max_pkts, -m max_pkts β€” caps how many PS packets get read. maximum number. a limit. boundaries, we love to see it πŸŽ€
  • -dvd β€” the PS data is from a DVD. this is the default btw. lowkey important caveat: this switch has no effect on MPEG-1 PS data. none. zero. it simply does not care 😭
  • -notdvd, -nodvd β€” the PS data is not from a DVD. here's the tea: the DVD spec stores AC-3 (Dolby), DTS and other audio in a specialised manner inside private_stream_1. so if it's not a DVD, you tell her that, and she handles it right πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯

esdots(1), πŸ‘‘


and that's the whole page, bestie. this one's from Debian, dated October 28, 2015 β€” so she's been serving accurate packet reports since before some of us could read. respect the elders. periodt. πŸ’œβœ¨