These are the commands currently supported by TSReader's Control Server.

Command Parameters Description
?   Sends a list of commands supported by the server
AUDIO {stream-number} Without parameters sends the current audio streams in the mux. Followed by a number (starting from 1), selects an audio stream for recording and streaming. A value of 0 selects all audio streams and -1 selects all audio streams and as well as all other streams associated with the program.
CAPTION option {flags filename} In TSReader Pro, toggles the caption decoder on and off with CAPTION ON or CAPTION OFF. CAPTION LOG turns on loggin for the current caption session. The flags field is the sum of the options to enable:: 1 - Log raw user data 2 - log EIA-608 data 4 - log EIA-708 data 8- log PTS/DTS 16 - dump user data 32 - dump EIA-608 odd 64 - dump EIA-608 even 128 - dump EIA-708. This field is followed by the filename. Issuing a CAPTION LOG command without a filename while logging is turned on turns it off.
DISEQC message Sends a DiSEqC message on supported satellite interfaces. Each DiSEqC message byte should be two-character hex ascii. For example "DISEQC E0 10 38 C0" is used to select port 1 on an uncommited switch.
EXPORT mode filename Exports SI tables from TSReader. mode can be HTML, XML or XMLTV and filename equals the file to export. HTML (which exports all HTML tables) can be substituted with HTML-nnn - nnn is the ASCII HEX combination of these bit values to select which tables are exported (all in hex): 1-PAT, 2-PMT, 4-CAT, 8-NIT, 10-SDT, 20-EIT,40-SDT only for this mux,80-PID chart,100-thumbnails,200-MPEG-2 stats,400-source info. Leaving the filename blank causes the exported data to be sent over the control server socket.
FORWARD PIDFILTER
module ON/OFF
Enables and disables the forwarder function in TSReader Professional. The module is the name of the output device shown on the Forward menu. The PIDFILTER sub-command lists the PIDs to not forward - they are seperated by spaces and can be prefixed 0x for hexadecimal.
GRAPH mode Display graphs. Mode can be 0-hide any current graph, 1-Active PIDs by rate, 2-Active PIDs by PID, 3-PID usage 2D pie, 4-PID usage 3D pie, 5-Mux usage stacked area, 6-Mux usage line, 7-Video rate area, 8-Video rate line, 9-Program Usage, 10-Video Composition, 11-Signal strength. Also supported are REALTIME and AVERAGE to switch the graphing mode, REFRESH followed by the number of milliseconds between graph samples. The SAVE option (followed with a filename) saves the currently active graph as a PNG file and the SEND option sends the same PNG image of the chart over the control server connection. The PNG is sent as hex ASCII, two hex characters per byte with a final single line with a period character terminating the transmission.
HELP   Sends a list of commands supported by the server
INFO mode Sends information about TSReader. Modes are: SOURCE for info about the source and MPEG for statistics related to the transport stream.
LOG
mode on/off/name
Turns on logging mode for TSReader Pro. Mode can be either SCTE35 followed by the log filename or the word OFF or TSBITCOUNTER followed by ON or OFF
MANUALCHANNEL program pcr-PID es-type es-PID Defines a manual channel independant of the stream's PSI. All values except the program number are hex. For example to define program 1 with a PCR PID of 0x1ffe, an MPEG-2 video stream on PID 0x0030, MPEG-1 audio on PID 0x0031 and AC-3 audio on PID 0x0032, one would issue: MANUALCHANNEL 1 1ffe 02 0030 03 0031 81 0032.
PASSWORD
password
If the optional password function is used, this command must be sent before any other commands can be sent (other than QUIT).
PIDS   Lists active PIDs in the mux. Response contains PID (hex), continuity errors on PID, TEI errors on PID, percentage of mux, stream bitrate in Mbps and a description of the PID's usage. Version 2.8.46d adds the scrambled status of the PID (0 for clear, 1 for encrypted) to the end of the line.
PLAY  output Starts channel playback on the device indicated by output - Stradis, and VLC1 through VLC16 are supported.
PROGRAM {progam to select} Either selects the current program or returns a list of programs in the currently tuned mux.
QUIT   Terminates the server connection. Closing the socket has the same effect.
RECORD {mode filename} mode can be ALL or PROGRAM. Modes ALL and PROGRAM require a filename. With no parameters this returns the record state. TSReader Pro also supports the RECORD ALL PROGRAMS commands which starts the archiving mode - in this case, the filename option is not used.
RESET mask Resets the TSReader counters based on the decimal bitmask. Bit 0=Continuity Counters, bit 1=TEI Counters, bit 2=CRC Counters, bit 3=Section Counters, bit 4=PID chart counters.
SETTING {subparameter true-false} By itself, the SETTING command returns the status of the settings that can be changed by this command. Subparameter is the name of the parameter to change, true-false is the string "True" or "False" to turn the value on and off. See below for a list of settings that can be changed with this command.
SETVLC {configuration command} Displays or sets the VLC configuration. configuration is the VLC number (1 through 16) and command is the command-line to pass to VLC. Currently there's no way to update the VLC description.
SOURCE {sourcename} Changes the source in TSReader or returns a list of the currently available sources. To set the source name, follow SOURCE by the name of the source to set not including the Sources folder name - for example "SOURCE TSReader_Twinhan1020.dll". When SOURCE returns a list of available sources, TSReader sends the current source with an "*" at the end of the line. Once the source has been set, use the TUNE command to tune and restart TSReader.
STALL timeout {parameter} Stalls TSReader while it parses SI tables. Timeout is specified in 1/10ths of a second - STALL 300 would stall for 30 seconds maximum. The optional parameter is THUMBNAILS which tells TSReader to wait for both table decoding and thumbnail generation to complete.
STOP   Stops the current recording or playback
STREAMMONITOR
START
STOP
STATUS
ERRORS
Starts and stops the Stream Monitor function in TSReader Professional. The STATUS sub-command returns the status of each alarm and ERRORS reports any alarms generated since the last ERRORS sub-command was sent.
TERMINATE xyzzy Closes TSReader. You must specify the "xyzzy" sequence in lower case for the TERMINATE command to work - this is done to prevent accidental shutdowns.
THUMBNAIL program-number filename
command {option}
Writes the video thumbnail for the selected program to the filename specified or controls thumbnail settings. For saving thumbnail, always use a JPG extension since that's the format TSReader writes in. For controlling thumbnail generation, commands are OFF, LOW, NORMAL and HIGH (which reference the thumbnail priorities) and REFRESH n where n is the refresh rate for thumbnails in seconds.
TIMESYNC
Syncs the PC's time to the stream time.
TIMING START
START
Sends data related to the PCR, PTS and DTS for a program. This is the same as the Export/Log Video/Audio Timing function. Follow the TIMING command with either START or STOP. The actual data is followed by min, max and average statistic separated by a single line with a period. A sample of the data generated by this command is here.
TUNE varies Restarts TSReader's source after re-tuning with the parameters specified. Parameters are the same as the command-line interface for the source - the command-line documentation shows these parameters.
UDPFORWARD
ON
OFF
PROGRAM prog dest
MUX dest
STATUS
Enables and disables UDP forwarding in TSReader Professional. The PROGRAM command sets the destination and enables the program over UDP, i.e. UDPFORWARD PROGRAM 1 224.0.0.1:1234 enables program 1 and UDPFORWARD PROGRAM 1 with no destination disables the PROGRAM. The MUX version of this command has no program number and enables/disables forwarding of the entire mux. UDPFORWARD PROGRAM can be used even if the forwarder is already running - UDPFORWARD MUX requires the forwarder turned off first. STATUS returns the current status of the UDP forwarder.
WINDOW mode Manipulates the TSReader main window. Modes are: MAXIMIZE, MINIMIZE, RESTORE and FOREGROUND.


The SETTING command has a number of sub-commands - these are listed below.

Subparameter Name Menu Option Description/b>
IGNORE_EITSDT Ignore DVB SDT and EIT Controls if TSReader processes data in the SDT and EIT tables. Useful for looking at muxes with a lot of SDT/EIT entries on machines where little memory is available since TSReader stores all the SDT/EIT in memory.
SDT_CURRENT_MUX SDT only for current mux Tells TSReader to ignore SDT entries for channels on muxes other than the current one. Useful when using the HTML/XML export on networks where all channels in the network are defined.
PAST_EIT Keep past EIT data TSReader keeps entries in the EIT in memory. If left on a mux with valid EIT data over time, TSReader will run out of memory as new events are transmitted in the EIT. So TSReader checks all EIT entries each time a new EIT entry is added to see if any events are in the past - if they are, they're removed from memory. However, if looking at a recording of a stream, EIT events will inherently be in the past and if you wanted to analyze the EIT's transmitted in the recording, this option must be on.
IGNORE_CRC Ignore table CRC errors Many tables sent in MPEG-2 transport streams contain a CRC to ensure the data received is correct before it's processeed. By default TSReader will discard any sections sent in tables that have incorrect CRC. This can be overridden but beaware that this mode of operation is not supported and may result in TSReader crashing as it tries to parse what is potentially garbage data.
IGNORE_DCIIPMT80 Ignore DCII PMT ch. 80 Many Digicipher II muxes have a pseudo entry in the PAT pointing to channel 80, but there's never a PMT for the channel. If this option is enabled, TSReader will ignore the PMT for channel 80 on DCII networks speeding up parsing.
IGNORE_PMT_ABOVE_65500 Ignore PMTs above ch. 65500 Some PATs (particulally in Digicipher II muxes) have entries for channels higher than 65500 which point to non-existant PMTs. Turning on this option will cause TSReader to ingore any channels with the service number greater than 65500 which may speed up parsing.
PLAIN_CA_DESCRIPTORS Plain CA descriptor decoding When False, TSReader attempts to decode the operator ID tag that's embedded into the CAT on some networks. When True, TSReader will decode any descriptors in the CAT that are private as hex/ascii data.
KEEP_SPECIAL_XML Keep special XML characters When exporting to XML the colon character : is removed as it causes syntax errors in the XML. Turning this option on keeps this character.