DOKK / manpages / debian 11 / tstools / esreport.1.en
ESREPORT(1) General Commands Manual ESREPORT(1)

esreportReport on the contents of an ES

esmerge [-err stdout] [-err stderr] [-verbose | -v] [-quiet | -q] [-frames | -findfields | -afd | -es] [-framesize] [-frametype] [-x] [-max max-units | -m max_units] [-pes | -ts] [-pesreport] [-h264 | -avc | -h262 | -avs] in_file | -stdin

Report on the content of an elementary stream containing H.264 (MPEG-4/AVC), H.262 (MPEG-2) or AVS video data.

in_file
is the Elementary Stream file (but see -stdin below)

The default is to report on H.262 items, AVS frames or H.264 NAL units. Other choices are:

Report by frames. The default for AVS.
Report on any fields in the data. Ignored for AVS.
Report (just) on AFD changes in H.262. Ignored for the other types of file.
Report on ES units.

Reporting on frames may be modified by:

Report on the sizes of frames (mean, etc.).
Report on the numbers of different type of frame.

(in fact, both of these imply -frame).

Write error messages to standard output (the default)
Write error messages to standard error (Unix traditional)
Input from standard input, instead of a file
, -verbose
For H.262 data, output information about the data in each MPEG-2 item. For ES units, output information about the data in each ES unit. Ignored for H.264 data.
, -quiet
Only output summary information (i.e., the number of entities in the file, statistics, etc.)
Show details of each NAL unit as it is read.
Take input from <stdin>, instead of a named file
max_units, -m max_units
Maximum number of NAL units/MPEG-2 items/AVS frames/ES units to read. If -frames, then the program will stop after that many frames. If reading 'frames', MPEG-2 and AVS will also count sequence headers and sequence end.
, -ts
The input file is TS or PS, to be read via the PES to ES reading mechanisms
Report on PES headers. Implies -pes and -q.

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

If input is from standard input (via -stdin), then it is not possible for the program to make its own decision on the input stream type. Instead, it defaults to H.262, and relies on the user indicating if this is wrong.

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

esdots(1),

October 28, 2015 Debian