ESREVERSE(1)

✨ ESREVERSE(1) ✨

okay bestie, welcome to esreverse, a page from the General Commands Manual section, and it is literally giving "make my video go backwards" energy πŸ’… iykyk


πŸ’– NAME πŸ’–

esreverse β€” bestie it reports on the contents of an ES (that's an elementary stream, keep up 🫢)


🌸 SYNOPSIS 🌸

esreverse [-err stdout] [-err stderr] [-verbose | -v] [-quiet | -q]
          [-host host[:port]] [-max max_frames | -m max_frames]
          [-freq frame_freq] [-tsout] [-pes -|-ts] [-server] [-x]
          [-h264 | -avc | -h262] in_file out_file | -stdout

πŸ¦‹ DESCRIPTION πŸ¦‹

So the whole vibe: it outputs a reversed stream derived from the input H.264 (MPEG-4/AVC) or H.262 (MPEG-2) elementary stream. yes. backwards. iconic behaviour honestly ✨

If the output is going to an H.222 Transport Stream, then it uses fixed values for the PMT PID (0x66) and the video PID (0x68). no cap, those are the numbers πŸŽ€

πŸ“ Files πŸ“

  • in_file β€” this is the input elementary stream, the lil guy you're feeding in πŸ“
  • out_file β€” this is the output stream, and it can be either an equivalent elementary stream or an H.222 Transport Stream β€” but bestie, peep -stdout and -host below, because they change everything πŸ’€

πŸŽ€ Switches πŸŽ€

  • -err stdout β€” write error messages to standard output. this is the default, the one the program just does 🫢
  • -err stderr β€” write error messages to standard error. the Unix traditional choice, old school, kind of a serve honestly πŸ‘‘
  • -v, -verbose β€” output additional (debugging) messages. for when you're nosy, and valid for it πŸ”₯
  • -q, -quiet β€” only output error messages. minimalism. main character energy, no filler πŸ’…
  • -stdout β€” write output to <stdout> instead of a named file. heads up: this forces -quiet and -err stderr, so it's not asking, it's telling 😭
  • -host host[:port] β€” writes output (over TCP/IP) to the named <host> instead of to a named file. if <port> isn't specified it defaults to 88. this one implies -tsout ✨
  • -max max_frames | -m max_frames β€” maximum number of frames to read. that's the cap, periodt πŸ›‘
  • -freq frame_freq β€” specify the frequency of frames to try to keep when reversing. it defaults to 8 🌈
  • -tsout β€” output H.222 Transport Stream πŸ“¦
  • -pes, -ts β€” the input file is TS or PS, to be read via the PES to ES reading mechanisms. different pipeline, same dreams 🧚
  • -server β€” also output as normal forward video as reversal data is being collected. this one implies -pes and -tsout 🌸
  • -x β€” temporary extra debugging information. it's giving "temporary", so don't get attached πŸ™ˆ

πŸ” Stream type: πŸ”

If the input is from a file, then the program will look at the start of the file to determine if the stream is H.264 or H.262 data.

⚠️ bestie listen: this process may occasionally come to the wrong conclusion. lowkey embarrassing for it. in which case you, the user, can override the choice using the following switches πŸ’ͺ
  • -h264, -avc β€” force the program to treat the input as MPEG-4/AVC ⭐
  • -h262 β€” force the program to treat the input as MPEG-2 πŸ’œ

πŸ‘€ SEE ALSO πŸ‘€

esdots(1),


and that's the whole page bestie, go reverse something πŸŽ€βœ¨

this lil gem comes from the Debian fam, dated October 28, 2015 β€” so yeah, it's been slaying since 2015 and honestly? still iconic πŸ’– bye πŸ¦‹