DOKK / manpages / debian 11 / tstools / esreverse.1.en
ESREVERSE(1) General Commands Manual ESREVERSE(1)

esreverseReport on the contents of an ES

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

Output a reversed stream derived from the input H.264 (MPEG-4/AVC) or H.262 (MPEG-2) elementary stream.

If output is to an H.222 Transport Stream, then fixed values for the PMT PID (0x66) and video PID (0x68) are used.

in_file
is the input elementary stream.
out_file
is the output stream, either an equivalent elementary stream, or an H.222 Transport Stream (but see Fl stdout No and Fl host below).

Write error messages to standard output (the default)
Write error messages to standard error (Unix traditional)
, -verbose
Output additional (debugging) messages
, -quiet
Only output error messages
Write output to <stdout>, instead of a named file. Forces -quiet and -err stderr.
host[:port]
Writes output (over TCP/IP) to the named <host>, instead of to a named file. If <port> is not specified, it defaults to 88. Implies -tsout.
max_frames | max_frames
Maximum number of frames to read
frame_freq
Specify the frequency of frames to try to keep when reversing. Defaults to 8.
Output H.222 Transport Stream
, -ts
The input file is TS or PS, to be read via the PES to ES reading mechanisms
Also output as normal forward video as reversal data is being collected. Implies -pes and -tsout.
Temporary extra debugging information

If 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. This process may occasionally come to the wrong conclusion, in which case the user can override the choice using the following switches.

, -avc
Force the program to treat the input as MPEG-4/AVC.
Force the program to treat the input as MPEG-2.

esdots(1),

October 28, 2015 Debian