ESREPORT(1)
π ESREPORT(1) π
ok bestie so this is esreport, a General Commands Manual page, and it's literally about reporting on the contents of an ES. yes that's the whole vibe. let's get into it β¨
π¦ SYNOPSIS π¦
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
(and yes, the synopsis really does say esmerge β I'm not touching it, that's what it says, character for character, periodt π
)
πΈ DESCRIPTION πΈ
So what does it do? It reports on the content of an elementary stream, and that elementary stream can have H.264 (aka MPEG-4/AVC), H.262 (aka MPEG-2) or AVS video data in it. That's it. That's the job. and it does it well π«Ά
π Files π
in_fileβ this is your Elementary Stream file. but like, see-stdinbelow, because sometimes the file isn't a file at all, iykyk π
π What to report π
By default it reports on H.262 items, AVS frames or H.264 NAL units. But you have choices, bestie. Other options are:
-framesβ report by frames. this is the default forAVS, no cap.-findfieldsβ report on any fields in the data. lowkey ignored forAVS.-afdβ report (just) onAFDchanges inH.262. ignored for the other types of file, so don't come crying to it aboutH.264π-esβ report on ES units.
Reporting on frames may be modified by these two iconic little switches:
-framesizeβ report on the sizes of frames (mean, etc.)-frametypeβ report on the numbers of different type of frame.
ngl, in fact, both of these imply -frame. that's just how it is π«Ά
β¨ Switches β¨
-err stdoutβ write error messages to standard output. this is the default β¨-err stderrβ write error messages to standard error (the Unix traditional way, very vintage of you π )-stdinβ input from standard input, instead of a file.-v,-verboseβ forH.262data, output information about the data in eachMPEG-2item. for ES units, output information about the data in each ES unit. ignored forH.264data. (it said what it said π)-q,-quietβ only output summary information (i.e., the number of entities in the file, statistics, etc.). the low-info girlie mode πΈ-xβ show details of each NAL unit as it is read. every single one. it's giving thorough π-stdinβ take input from<stdin>, instead of a named file. (yes, again. it's listed twice. I'm keeping both, that's the rule and I respect the rule π)-max 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-2andAVSwill also count sequence headers and sequence end. so like, count carefully bestie π§-pes,-tsβ the input file isTSorPS, to be read via the PES to ES reading mechanisms. fancy π-pesreportβ report on PES headers. this one implies-pesand-q. it's an all-in-one, we love efficiency π₯
π Stream type π
Okay so here's the situation: 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. but β and this is the important part β this process may occasionally come to the wrong conclusion. π in which case the user can override the choice using the following switches.
And 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. so like, speak up bestie, the program is trusting you π«Ά
-h264,-avcβ force the program to treat the input asMPEG-4/AVC.-h262β force the program to treat the input asMPEG-2.-avsβ force the program to treat the input asAVS.
π« SEE ALSO π«
and that's the whole page bestie, you ate that π β¨
this absolute banger of a manpage comes from Debian, dated October 28, 2015 β iconic behavior, honestly, she's been serving since 2015 and she's still here πππ¦
π¦ where this page comes from
- debian bookworm: tstools 1.13~git20151030-6 Β· MPL-1.1
- debian trixie: tstools 1.13~git20151030-6 Β· MPL-1.1
- ubuntu jammy: tstools 1.13~git20151030-5 Β· MPL-1.1
- ubuntu noble: tstools 1.13~git20151030-6 Β· MPL-1.1
- ubuntu questing: tstools 1.13~git20151030-7
- ubuntu resolute: tstools 1.13~git20151030-7build1 Β· MPL-1.1
- ubuntu stonking: tstools 1.13~git20151030-8 Β· MPL-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms