carta
tsserve(1)

tsserve1

Get info about the streams within a transport stream

Usage

tsserve [-details] [-err stdout] [-err stderr] [{-quiet | -q}] [{-verbose | -v}] [-port port_no] [-noaudio] [-pad filler_pkts] [-noseqhdr] [-prepeat pat_freq] [{-h264 | -avc | -h262}] [{-dolby dvb | atsc}] [-0] file0 [-1 file1] [-2 file2] ...

Overview

Act as a server which plays the given file (containing Transport Stream or Program Stream data). The output is always Transport Stream.

Input:

infile

An H.222.0 TS or PS file to serve to the client. This will be treated as file 0 (see below).

-0 file0 .. -9 file9

Specify files 0 through 9, selectable with command characters 0 through 9. The lowest numbered file will be the default for display.

General Switches:

-details

Print out more detailed help information, including some less common options.

-err stdout

Write error messages to standard output (the default)

-err stderr

Write error messages to standard error (Unix traditional)

-v, -verbose

Output additional diagnostic messages

-q, -quiet

Suppress informational and warning messages

-port port_no

Listen for a client on port port_no [default = 88]

-noaudio

Ignore any audio data

-pad filler_pkts

Pad the start of the output with filler_pkts filler TS packets, to allow the client to synchronize with the datastream. [default = 8]

-noseqhdr

Do not output sequence headers for fast forward/reverse data. Only relevant to H.262 data.

Program Stream Switches:

-prepeat pat_freq

Output the program data (PAT/PMT) after every pat_freq PS packs. [default = 100]

-h264, -avc

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

-h262

Force the program to treat the input as MPEG-2.

Both of these affect the stream type of the output data.

If the audio stream being output is Dolby (AC-3), then the stream type used to output it differs for DVB (European) and ATSC (USA) data. It may be specified as follows:

-dolby dvb

Use stream type 0x06. [default]

-dolby atsc

Use stream type 0x81

For information on using the program in other modes, see -details.

History

  • Debian 13 (Trixie) to Debian 11 (Bullseye): the text shown here
  • Debian 10 (Buster) to Debian 6.0 (Squeeze)

-err since Debian 11 (Bullseye).

From tstools 1.13~git20151030-6 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.