esreverse(1)

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

Section 1 tstools bookworm source

Description

ESREVERSE(1) General Commands Manual ESREVERSE(1)

NAME

esreverse — Report on the contents of an ES

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

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.

Files

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).

Switches

-err stdout

Write error messages to standard output (the default)

-err stderr

Write error messages to standard error (Unix traditional)

-v, -verbose

Output additional (debugging) messages

-q, -quiet

Only output error messages

-stdout

Write output to <stdout>, instead of a named file. Forces -quiet and -err stderr.

-host 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 max_frames | -m max_frames

Maximum number of frames to read

-freq frame_freq

Specify the frequency of frames to try to keep when reversing. 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

-server

Also output as normal forward video as reversal data is being collected. Implies -pes and -tsout.

-x

Temporary extra debugging information

Stream type:

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.

-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), GNU October 28, 2015 ESREVERSE(1)