DOKK / manpages / debian 12 / tstools / tsreport.1.en
TSREPORT(1) General Commands Manual TSREPORT(1)

tsreportget info about the streams within a transport stream.

tsinfo [-err stdout] [-err stderr] [-verbose | -v] [-timing | -t] [-max max_read | -m max_read] [-data] file | -stdin

tsinfo -buffering | -b [-err stdout] [-err stderr] [-verbose | -v] [-quiet | -q] [-max max_read | -m max_read] [-o csv_file [-32]] [-cnt] [-prog prog_no] [-tfmt time_format] [-tafmt time_format] file | -stdin

tsinfo -justpid pid [-err stdout] [-err stderr] [-max max_read | -m max_read] file | -stdin

Report on the streams in a Transport Stream. In general the most useful inforation is returned by the -b option.

Write error messages to standard output (the default)
Write error messages to standard error (Unix traditional)
, -verbose
Output extra information about packets
, -quiet
Output less information
max_scan, -max max_scan
max_scan is the Number of TS packets to scan. Defaults to the entire file.
Input from standard input, instead of a file
file
The transport stream file to get info on. If -stdin is specified then no file is expected

Report on the differences between PCR and PTS, and between PCR and DTS. This is relevant to the size of buffers needed in the decoder. Also reports bitrates; the max bitrate is calculated over 0.5sec

csv_file [-32]
Output timing in to a CSV file called csv_file. If -32 is used as well then the timing ifo is restricted to the bottom 32 bits
pid
Check values of continuity_counter for pid pid. Writes all the values of the counter to a file called continuity_counter.txt.
prog_no
Report on program prog_no [default = 1] (hopefully default will be 'all' in the future)
time_format
Specify format of time differences.
time_format
Specify format of absolute times.

time_format is one of

[Default] show as 90KHz timestamps (suffix 't' on the values: e.g., 4362599t).
Show as 27MHz timestamps (similar, e.g., 25151:000t).
Show as 90KHz timestamps, but only the low 32 bits.
Show as milliseconds.
Show as hours/minutes/seconds (H:MM:SS.ssss, the H can be more than one digit if necessary)

Just show data (file offset, index, adaptation field and payload) for TS packets with the given PID. PID 0 is allowed (i.e., the PAT)

tsinfo(1), pcapreport(1)

October 28, 2015 Debian