TSReader Version 2.3 README
Updated March 18, 2004
What's Here
Changes between versions
Version 2.3, build 24:
- Option to hide TSReader when minimized - icon is created
in the tray area.
- New -M option to startup TSReader minimized
- New -i option to control instances of TSReader - with this
option TSReader will check to see if another instance is running
and if it is will shut it down prior to it's startup.
- Fixed a bug with detecting modulation mode and exporting
to XMLTV format
- Corrected a possible crash with certain network tables
- Support for DVB-C delivery descriptors
- Full support for the Nebula Electronics USB 2.0 DVB-T interface
- Added -X option for automatic XML:TV export
- Fixed a bug where if you have record program mode set to
program-stream, streaming into VLC, the Stradis or D-VHS interfaces
would fail.
- Corrected a crash when drawing thumbnails on muxes that have
an empty SDT for the channel
- Corrected thumbnail display when the MPEG video encoder is
generating only P-frames.
- The internal HTTP server (used to stream into VLC) now sends
a (bogus) file length when the remote client connects. As a result,
more programs including Windows Media 9 can now connect reliably
to the TSReader HTTP server and stream video.
Version 2.3, build 23:
- Fixed a problem with the NIT and SDT decoders where not all
descriptors were displayed.
- Added support for logical channel descriptors. These are
used on DVB-T networks in the UK and Australia. TSReader still
refers to the channel by it's MPEG program number, but the overlay
put onto thumbnails now contains both the MPEG program number
and logical channel number.
- New option to bypass PMT parsing for channel numbers above
65500. Many DCII networks have a bogus entry in the PAT pointing
to a non-existant PMT. This prevents TSReader spending about
30 seconds waiting for the PMT to come along.
- Corrected a problem with all the tuner dialogs so that the
parameters aren't overwritten by the last selected mux item.
- Added a warning to the satellite tuner dialog if the LNB
frequency is zero.
- Added an option to force ATSC compatible PIDs when recording
to D-VHS.
- All command-line switches that use filenames now support
spaces in the filename provided the name is surrounded by double-quote
marks, i.e. "C:\My Documents\A Recording.ts".
- Fixed a problem with the command-line for DVB-T Twinhan sources.
- Added an option to show the continuity error count for each
PID in the PID chart.
- Corrected a problem where a PAT with only an NIT entry entry
(no real programs) could cause TSReader to continuously loop
thinking it was decoding a new PMT.
- New -d option. This disables elementary stream parsing and
thumbnail decoding for the current TSReader session. Add this
to recording scripts with the -a and -r options and you won't
have to keep turning thumbnails back on.
- Fixed some issues with -a and -r switches being parsed correctly.
- Changed the file source to search up to 512MB into an MPEG-2
transport stream file for the sync pattern.
- New -v option. This selects a stream and automatically starts
it playing via a VLC configuration.
- Now prompts to save manual channels when you quit without
saving them.
- Added support for LPCM audio streams. These are either streams
with a type of 0x06 and a format descriptor of BSSD or have a
type of 0x83. TSReader will record programs with these streams
as type 0x83 with a BSSD format descriptor. Currently we haven't
found any software (including VLC) that plays them correctly
- although VLC gets close.
- Corrected a problem with the TechnoTrend Budget DVB-C source
- now fully operational.
- Added support for exporting program guide info (from the
DVB EIT table) into XMLTV format for use with myHTPC. There is
a plugin coming for myHTPC that will interface with TSReader.
- Hopefully made some improvements to the reliability of the
Stradis decoder interface.
Version 2.3, build 22:
- Fixed shut-down lockup on B2C2 sources
- Added ability to save thumbnails continuously to the same
filename. Very useful for monitoring muxes remotely since a web-page
can be pointed at the generated JPEG files. These images can
also be saved as resized thumbnails or full broadcast size pictures.
- Whenever the EIT is displayed or exported, the data in the
table is now sorted by date. Although most DVB systems send the
EIT in date order, there was a possibility that TSReader would
receive them out of order.
- DiSEqC and tone-burst switch options now get enabled correctly
depending on the source. For example, Twinhan cards don't support
tone-burst switches (they do support DiSEqC switches however),
so now when the Twinhan source is used, the tone-burst options
in the tune dialog are disabled.
- Corrected a problem with the source selection dialog when
TSReader was already running.
- Cleaned up support for the Nebula range of DVB-T receivers
- Added the ability to change the PID used for the EIT. This
is very useful on some DBS services such as Dish Network that
transmit a long-range event table on a special PID. To enable
this function you need to create a DWORD registry entry with
the PID to substitute called "EITPID" in HKEY_CURRENT_COMPUTER\Software\COOL.STF\TSReader.
There are two sample .reg files provided that switch TSReader's
parser between 0x0012 and 0x0300 on Dish Network. Their long
range EIT is carried at 110 west on 12.632 GHz RHCP 20MSps. Keep
in mind that the Dish Network long-range event table carries
data for all their channels out to nine days - this means you
need a fast processor to keep up with the stream and a lot of
RAM in your PC; it takes about 300 MB to buffer 9 days worth
of data.
- Two new thumbnail options both related to the "Save
all thumbnails" function. There's a new option to save the
thumbnails at transmitted size (by default, they're scaled down
to true thumbnails) and another option to force TSReader to name
each thumbnail generated over time with the same filename. This
is useful for remote monitoring a mux and having a webpage pointed
to the JPEG files generated by the "Save all thumbnails"
function.
Version 2.3, build 21 (private beta - not released):
- Preliminary support for the Nebula Electronics line of DVB-T
receivers (PCI and USB 2.0)
- Corrected a bug with the -m and -r/-R switches being used
simultaneously
- Changed the filenames used when recording a single PID to
remove the space - for example "PID 0x0400.bin" is
now called "PID_0x0400.bin"
- Started cleanup of the satellite data files supplied with
TSReader. This prevents DSS carriers showing up when using DVB
sources (and vice-versa) and also adds support for advanced modulation
carriers for some hardware we know is on it's way. Take a look
at Satellites\2500.ini for a good example.
- Added support for tone-burst satellite switches.
Version 2.3, build 20 (private beta - not released):
- Added -t switch to select the audio track when doing an automatic
command-line recording with the -r or -R switch.
- Fixed a bug that caused the tree-view of the tables to get
totally screwed up when switching between IP/DVB and MPEG-2 modes.
- Added support for DVB-T (terrestrial) and DVB-C (cable) B2C2-based
cards.
- Bug fixes in the Twinhan 1020 source to support more variantions
of this card.
- A new TSReader NoTune source - useful for non-standard Twinhan
cards that don't tune correctly with TSReader. You need to first
tune the card using another program and then switch to TSReader
to process the data from the mux.
- Corrected a problem that caused the TDT (Time Definition
Table) to not show up when TSReader's source is restarted.
Version 2.3, build 19 (private beta - not released):
- Correct operation with a wider range of MD plugins including
BISS.dll.
- Correct operation with the newly released VLC 0.7.
- The thumbnail decoder now supports 4:2:2 profile MPEG-2 video.
This also has the benefit of now displaying 4:2:0 encoded material
when the chroma type field isn't set correctly.
- Up to 16 VLC configurations can now be stored. This allows
you to prebuild command-line parameters for VLC and run them
at will just as if you were to use VLC for playback. For example
you can setup a VLC configuration to take video data from TSReader,
decode it locally in VLC, write it to the hard drive in a number
of different formats plus multicast it onto your network. Nifty.
- Added a looping file source. This is just like the normal
file source (reads MPEG-2 transport stream files) but loops when
it reaches the end of the file. This is useful for looking at
small transport stream captures and there isn't enough data available
to decode the stream correctly without multiple passes of the
stream.
- Some internal buffer sizes can now be specified using the
Buffer Sizes item added to the Settings menu. This is primarily
for people experimenting with solving buffer overrun problems
that sometimes occur when streaming to devices like D-VHS where
the CPU must load a ton of components to get the video streaming.
- Added support for TechnoTrend-based DVB-C cards.
- Changed the way single program streams (and therefore streaming
to output devices) generate tables. Previously, tables would
be added to the output stream when they appear in the input stream.
These tables (PAT/PMT and perhaps SDT) are now inserted every
100ms per the MPEG-2 specifications (1000ms for the SDT packets).
- Added a new -a/-A switch to automatically record the entire
transport stream. See documentation below for more info.
Version 2.3, build 18 (private beta - not released):
- Added support for the Twinhan DTT (DVB-T) card.
- Added support for B2C2-based cards like the SkyStar 2 and
Air2PC-ATSC. Please read this note for more
information about support in TSReader for these cards.
- Added tuning support for the Twinhan 1030/1030a cards.
- Fixed a bug that would cause TSReader to crash when recording
in program stream format with certain encoders.
- Continuous thumbnail export function added. With this function
enabled, each time TSReader generates a thumbnail it will be
saved to a unique JPG file stamped with the date and time. Great
for IDing video streams that don't have an on-screen logo and
you don't want to watch the program continuously.
- XML export function now exports event date and time in both
UTC and local formats.
- Spectrum inversion and bandwidth settings for DVB-T cards
are now saved.
- Command-line options can now be specified in any order.
- New -m switch to pre-load manual channels.
Version 2.2, build 17:
- Changed TSReader into two products. The registered version
has all functionality enabled and is available to everyone that's
purchased TSReader. TSReader Lite limits some features and is
free.
- Tweaks to the TechnoTrend DVB-T source for compatibility
with the Australian 7MHz system.
- Now understands Dolby AC3 audio when sent on pure DVB systems
like DVB-T in Australia.
- Removed the "old" Twinhan source since it's no
longer supported.
- Changed the File source to allow reading of DIRECTV streams.
- Fixed a problem with the Twinhan polarity voltage.
Version 2.2, build 16 (private beta - not released):
- In the TechnoTrend DVB-T source, you can now tune in 100KHz
steps - previously this was limited to 1MHz.
- Added support for real-time decoding on the PC using VLC
from videolan.org. As
part of this, TSReader also now has an internal HTTP server which
can stream the currently selected program. So you can receive
TV from a PC with a satellite card and then stream the video
over to another PC by connecting to the TSReader HTTP server.
If both TSReader and VLC are on the same PC, TSReader will control
VLC so channel changes happen right.
Version 2.2, build 15 (private beta - not released):
- Finally got a source written for the Twinhan 1020/1020a card
that tunes properly. Users of these cards should stop using the
"old" Twinhan source (although it's still provided)
- Added very initial support for the DIRECTV system. You see
the PIDs (called SCIDs in DIRECTV parlence), but there's no table
decoding since I have no idea how the tables are structured.
You can record the transport stream or individual PIDs but that's
about all. If you know anything about DIRECTV tables, please
let me know! This works on Twinhan 1020a (red) cards only.
- Added a new source for the Twinhan 1030/1030a. This source
doesn't tune yet, but does transfer data perfectly once tuned
by another application.
Version 2.1, build 14:
- Cleaned up some packet loss issues with the TechnoTrend Budget
PCI Satellite card. If you experience continuity errors with
the satellite card, try turning off LNB power and power the LNB
from another source.
- Added support for the TechnoTrend PCI Terrestrial card (DVB-T)
- Changed the PAT scanner to look for the latest PAT version
- this was causing issues on Nimiq 2 at 82w where two PATs (one
old and one new) are being sent
- Changes to the DVB NIT parser to handle systems other than
DVB-S. The parser now supports DVB-S and DVB-T network tables
- if you have a cable TechnoTrend card, please contact us!
- Added an activity indicator to the main window. I was running
TSReader for hours and it was very hard to see that it was still
alive, so every time 1MB of satellite data is processed by TSReader,
the indicator changes.
Version 2.0, build 13:
- Added support for XBox Media Center streaming with the XNS
protocol.
Version 2.0, build 12:
- Re-wrote the data source code in TSReader. Now there's a
DLL for each of the input sources (like the Twinhan card) and
now there's only one program - TSReader.exe.
- Setup program included - no more dealing with ZIP files
- Channels that are not indexed by MPEG-2 tables (like the
WB mux on Galaxy 11 at 91 degrees West) can now be defined with
manual channels (on the File menu). There's a sample included
for that WB mux.
- Automatic recording from the command line can now write to
the D-VHS deck. This is acomplished by setting the record filename
to "d-vhs" or "D-VHS".
- The TechnoTrend Budget line of satellite cards is now supported.
If you have a cable or terrestrial version of one of these cards,
please contact me!
- A new interface for the Twinhan series of satellite cards
is available. This should eventually support all their cards,
but has been tested with the 1020 and 1030. Currently, this source
cannot tune properly, so you have to use another application
(like WinDVB which came with the card) to tune, close that application
and launch TSReader. We're working on getting the tuning working
and all cards supported.
- Please note that version 2.0 does not include a DirectShow
decoder. We have to re-write this and will include it with the
next version of TSReader.
Version 1.1, build 11 (private beta - not released):
- Added ability to record a program as either program or transport
stream. Program stream recording multiplexing isn't quite right
yet, so for the timebeing we suggest staying with transport streams.
- Added a option to record a program directly to a D-VHS deck
via FireWire. This requires the right drivers loaded (see this
website for more information) and also requires Windows XP.
Since D-VHS records the transport stream you can use this to
record either SD or HD material from the currently tuned mux.
For this option to work, you also need the DirectShow filter
TSP2SP.ax loaded on your system. Easiest way to do this is to
install the excellent DVHSTool utility.
- Added compatibility with MyTheatre satellite and multiplex
files for tuning the Twinhan version of TSReader. To make this
work, download and install MyTheatre (easily found on the Internet)
and then copy the Satellites folder from the MyTheatre installation
folder into TSReader's folder. The Twinhan tune dialog will then
display all the satellites and multiplexes defined in the MyTheatre
files.
- Fixed problems with the Twinhan tune dialog
- Fixed a problem with generating thumbnails on some HD channels
- Added a dialog to select the interval at which thumbnails
are generated
Version 1.1, build 10 (private beta - not released):
- When using the PID record function, if an output file can't
be opened (in use in an editor for example), TSReader now shows
an error message.
- A number of memory leaks have been plugged.
- Corrected satellite polarity control (voltage level on the
LNB connector) on Twinhan cards.
- Fixed DiSEQc switch input labels - inputs are now correctly
1 through 4 and not 0 through 3.
- PID recording can now either record the data from each PID
to a seperate file (that's how it's done it until now) or to
a single file in the order in which the packets from those PID(s)
were received.
- Removed the function buttons - TSReader now uses a normal
menu.
- Menu options added to re-tune the Twinhan, open a different
file or restart TSReader from a new ASI source (depending on
version).
- Option to save the thumbnails generated by TSReader as JPEG
files.
- Fixed the flicker problem in the tree display.
- There are now options to set the priority of the threads
responsible for reading data, processing the data and decoding
the thumbnails. If you experience continuity errors that are
not signal related, try adjusting the thread priorities to see
if it resolves the errors or disable the thumbnail thread.
- When selecting a new channel with the Stradis Professional
MPEG-2 decoder active, TSReader will now setup the new channel
correctly.
- Added very preliminary DirectShow playback - this
will probably crash TSReader and use way too much CPU time but
it does decode. Please read the support
page first for information on setting up DirectShow playback.
- Added playback via XNS which is a protocol used by the XBox Media Player. This allows TSReader to
demux a stream and send it over the network to the XBox for real-time
playback.
- Added support for MultiDec plugins - see the support
page for more information.
- Added an option to expire EIT events in the past. This will
reduce memory loading when TSReader is run for a long period
of time.
- Added memory tracking to catch any memory leaks. Don't turn
this option on unless we tell you!
Version 1.0, build 9:
- Fixed problem that caused an access fault when closing the
Linear Systems version of TSReader.
- Fixed a problem that caused an error indicating the Stradis
decoder couldn't be located each time TSReader started on a system
without a Stradis card.
- Turbo-coded QPSK transponders in the NIT are now decoded
correctly (Dish Network DBS system in the USA uses these).
- The automatic text export mode has been replaced with automatic
and manual XML export. See here
for details.
Version 1.0, build 8:
- Fixed a bug that caused the stream decoder built into TSReader
to fail if the tables pointed to a non-existant stream
- The internal MPEG decoder now only attempts to decode profiles
it can handle - previously it would attempt to decode 4:2:2 encoded
streams although the decoder can't currently process these.
- Real-time output to Stradis
Professional MPEG decoder cards is now supported.
Version 1.0, build 7:
- When making a split recording, the size at which TSReader
switches to a new file can now be specified. Previously it was
set at 4GB. Please note that as a result, the -R option now takes
an additional parameter. See below for details.
- When making a single program recording, TSReader now adds
an SDT to the recorded stream containing the date and time the
recording was made and user specified text. If you have a bunch
of MPEG files and can't remember what they contain, just drop
them into the file version of TSReader and look at the SDT decode.
- An experimental mode has been added to allow possible reception
via the Twinhan COFDM terrestrial card. To enable this mode,
set a DWORD value of 1 called DontTune to HKEY_CURRENT_USER\Software\COOL.STF\TSReader.
You can also double click on the notune.reg file in the explorer
to enable this mode.
- If your version of TSReader has expired and you'd like to
try the new features for a futher month, please email
me and I can send you a special unlock code for the extended
evaluation.
- MPEG video stream decoding is now semi-continuous. After
all the clear MPEG video streams are decoded, TSReader pauses
video decoding for five seconds and then decodes the video streams
again. This results in lighter CPU load than decoding continuously
and still gives you an idea of what's on each channel. If you
prefer faster updates, create a DWORD value called ESParsingCounterReload
with a value of 1 in HKEY_CURRENT_USER\Software\COOL.STF\TSReader.
Version 1.0, build 6:
- Finally corrected the internal buffering bug that caused
false continuity errors. TSReader should now record streams perfectly
provided the signal level is high enough.
- Unscrambled video elementary streams are now decoded and
displayed. Switching between the PMT entries puts the current
channel at the top of the image list.
- If no command-line is specified in the Twinhan version, a
tuning dialog is now displayed.
Version 1.0, build 5:
- Updated to reflect correct Digital River sales page.
Version 1.0, build 4:
- Not released - internal use only
Version 1.0, build 3:
- Decodes MPEG video, MPEG audio and AC3 elementary stream
headers. When one of these streams is selected (and it's not
scrambled), TSReader will display data about the stream. Note:
the MPEG audio decode is a little broken right now and may result
in bizzare results.
- Small internal bug fixes based on testing TSReader with some
European streams.
- Updated internal CA table with Canal Plus, RAS and SkyPilot
CA systems now displayed correctly.
- ATSC MGT table now decoded.
- In file mode if no filename is specified on the command-line,
TSReader now uses the standard Windows dialog to select the file.
- Also in file mode, TSReader now acts as a drop target for
files. If you want to analyze another recorded MPEG-2 transport
stream, you can drop the file from the Windows Explorer onto
TSReader which will then switch to that stream.
- Understands HiPix .ts files. These are generated by the HiPix ATSC PCI
card and record one minute of transport stream per file. As each
file is processed, TSReader will switch to the next file in sequence.
- All options are now saved and restored each time TSReader
starts.
- Corrected a bug that caused erroneous continuity errors when
duplicate packets were detected.
- If continuity errors are detected, TSReader will indicate
which PIDs have these errors by appending a * to the bitrate
shown for each PID in the graph.
Version 1.0, build 2:
- Added button to select all Export to HTML options.
- Added PID recording capability. Up to eight different PIDs
can be recorded to individual files.
Version 1.0, build 1:
- TSReader is now released. You get 28 days to use TSReader
for free then it must be registered.
- 8PSK modulation in the NIT is now decoded correctly.
- -t option added for automatic text export
Beta Version Build 7:
- Added PID usage chart to output HTML file.
Beta Version Build 6:
- Added option to sort PID chart by PID number as well as bitrate
- Added option to allow the PID chart to be sorted both ascending
and decending
- When recording, a new option allows files to be split when
they are greater than 4GB in size. This allows continuous recording
on file-systems like FAT32 which restrict the file size.
- New command-line option to allow automatic recording. See
below.
- Handles incomplete SDT segments found on some material encoded
with Tandberg gear (specifically CBC's 8PSK mux on Anik F1).
- Estimated bitrate is now shown on all PIDs (provided the
bitrate can be calculated from one of the stream's time-stamps).
To indicate that the bitrate is estimated, the percentage of
the stream and bitrate are seperated by the ~ character whereas
if the bitrate for a PID is calculated from the PCR, the - character
is used to seperate percentage and rate.
Beta Version Build 5:
- Still looks the same, but internally changes are being made.
Added support for DiSEqC 1:2 and 1:4 swiches on the Twinhan card.
Beta Version Build 4:
- No major visible changes. Internally, TSReader has had a
lot of window related work done, but this wasn't complete for
this beta with the result that the display looks identical -
next month's will look a lot different.
Beta Version Build 3:
- Now handles compressed EIT program name and description on
Dish Network
Cards with demultiplexers
TSReader was designed around hardware interfaces that send
all packets from the transport stream. Some cards, such as those
using the B2C2 control chip, cannot send the entire transport
stream over to the PC but instead only allow a certain number
of PIDs from the mux active at any one time. TSReader does support
these cards but with a few restrictions:
- The calculate bitrates will be inaccurate. TSReader calculates
the mux and PID bitrates based on the arrival time of packets.
Since the demux is not letting all packets through, TSReader
can't accurately calculate the rate.
- There is a limit of 39 active PIDs on the B2C2 cards. TSReader
will decide automatically which PIDs are active and setup the
demux correctly, but this may not work for all cases. We obviously
welcome feedback if you're having a problem receiving a particular
channel.
- In the PID chart, you may notice that with cards using a
demux there are not only red/green PIDs (scrambled/clear) but
also dark-red/dark-green. The darker PID indicators indicate
that the PID is active, but currently the demux isn't processing
any packets from this PID.
- TSReader currently only supports muxes with correct tables
on cards with demultiplexers. If you tune a mux without MPEG-2
tables, TSReader has no way to decide which PIDs to enable in
the demux. We will resolve this in a future version by scanning
for active PIDs.
Command-Line Parameters
Note: This section applies only to the registered version of
TSReader - command-line interface is not supported by TSReader
Lite.
TSReader can be run from the command-line prompt or from programs
such as the Windows Scheduler. Typically with sources like satellite
cards, TSReader will provide a dialog to allow you to setup the
parameters associated with the TSReader session. By supplying
these parameters on the command-line, you can make TSReader run
automatically.
TSReader has two sets of parameters. The first are parameters
for TSReader itself. These are options like automatic recording.
Following these parmeters on the command-line are parameters specific
to the source currently selected by TSReader. So for example:
TSReader -x nbc.txt
3860 H 26670
5150 0
The text in blue is a TSReader
parameter and the green is specific
to the selected source - in this case, parameters for a satellite
card.
Parameters surrounded with { } characters are optional. The
parameters are:
TSReader parameters
Automatic Recording
TSReader supports automatic recording from the command-line.
When used with the Windows Scheduler, this allows for unattended
recording.
To use this function, add the following to the start of the
command-line:
-r service file length
-R splitsize service file length
|
splitsize |
Only used with the -R option. Specifies the size in MB of each
file to be recorded. Once files recorded by TSReader get larger
than this size, a new file will be generated. |
|
service |
The MPEG service number from the Program Association Table |
|
file |
The name of the file to record |
|
length |
The number of seconds to record |
When -r is used, a single file
is generated. When -R is used,
the file split mechanism is used to ensure files don't get bigger
than the specified size.
As an example, this records half an hour of programming from
NBC Central on AMC4 from a satellite card and the second example
records channel 10 for 30 minutes, splitting the recording into
120MB files. Since there are no parameters, one must assume that
the source doesn't need any parameters - the Linear Systems ASI
source is an example.
TSReader -r 10 c:\mpeg\nbc.mpg 1800
3860 H 26670 5150 0
TSReader -R 120 10 c:\mpeg\nbc.mpg 1800
Automatic Recording Audio Track Selection
If the program being recorded contains multiple audio tracks,
the -t switch is used to select between them:
-t audio-track
|
track |
The number of the audio track to record. To find this value launch
TSReader in non-automatic mode, select the appropriate program
and use the Record/Record Program menu. The audio tracks shown
on the Record Program dialog use the same order as this switch
- for example, -t 2 would select the second audio stream listed. |
This switch has no effect unless the -r or -R switches are
also used.
Automatic Transport Stream Recording
The -r/-R switches record a single program - the -a/-A switches
are used to record the entire transport stream:
-a service file length
-A splitsize service file length
|
splitsize |
Only used with the -A option. Specifies the size in MB of each
file to be recorded. Once files recorded by TSReader get larger
than this size, a new file will be generated. |
|
service |
The MPEG service number from the Program Association Table |
|
file |
The name of the file to record |
|
length |
The number of seconds to record |
When -a is used, a single file
is generated. When -A is used,
the file split mechanism is used to ensure files don't get bigger
than the specified size.
As an example, this records half an hour of transport stream
from NBC on AMC4 from a satellite card and the second example
records channel 10 for 30 minutes, splitting the recording into
120MB files. Since there are no parameters, one must assume that
the source doesn't need any parameters - the Linear Systems ASI
source is an example.
TSReader -a 10 c:\mpeg\nbc.mpg 1800
3860 H 26670 5150 0
TSReader -A 120 10 c:\mpeg\nbc.mpg 1800
Note that the service number still needs to be specified although
the entire mux is received. This is done so that any installed
plugins can correctly set themselves up for the recording. If
you don't use plugins for the recording session, simply set the
service number to zero.
Automatic Table Decoding
TSReader can automatically decode DVB tables and then export
the data to a XML file that can be parsed by external programs.
Since the MPEG and DVB systems doesn't have any flags to indicate
"you've got all the data", TSReader will process tables
and determine when it's got all the data it needs, write the file
and then quit. Obviously this means that the time spent running
will vary depending on the rate at which tables are sent in the
mux. This code
sample shows how to enumerate processes on Windows 2000 and
greater to see if TSReader is still doing it's stuff.
To use this function, add the following to the start of the
command-line:
-x filename
|
filename |
The name of the file to write tables to |
As an example, this will decode tables for NBC on AMC4 to "nbc.xml"
and then exit:
TSReader -x nbc.txt 3860 H 26670
5150 0
For documentation on the exported files, please follow
this link.
Automatic XMLTV Export
This option behaves just like the -x option but exports in
XMLTV format for use with the myHPTC program.
-X filename
|
filename |
The name of the file to write EPG data in XMLTV format |
Automatic Manual Channel Loading
The -m switch tells TSReader to load a manual channel file
before starting processing. This switch is useful with the -r
option when you want to record from a mux that doesn't carry proper
MPEG-2 tables.
-m filename
|
filename |
The name of the TMC file created by TSReader to load |
Resetting the TSReader Source
The -s switch resets the source TSReader will use for the session.
This is useful to add to all automatic functions to ensure TSReader
is using the source you expect. For example if you switch to the
File source to look at an existing transport stream, you'll need
to reset back to your hardware interface for recording new streams
-s source-filename
|
source-filename |
The name of the source DLL to switch to. |
For example:
TSReader -s TSReader_Twinhan1030.dll
-r 10 c:\mpeg\nbc.mpg 1800 3860 H 26670 5150 0
Disabling thumbnails and stream parsing
The -d switch disables thumbnails and stream parsing for the
current TSReader session. Useful if you want thumbnails enabled
when using TSReader interactively but want all processing overhead
turned off when TSReader is performing automatic recording.
-d (no additional parameters)
Automatic playback via VLC
The -v switch forces TSReader to automatically start playing
a selected stream through VLC.
-v service VLC-configuration
|
service |
The MPEG service number from the Program Association Table |
|
VLC-configuration |
The VLC configuration number. This parameter is in the range
1-16 and represents a VLC configuration in TSReader. Typically
1 will be used for live playback. |
For example this command will play NASA-TV from Dish Network
at 119 west:
TSReader -v 213 1 12297 L 20000 11250
0
Starting TSReader Minimized
The -M switch causes TSReader to startup minimized. Useful
when performing an automatic recording or playback via VLC and
you don't want the TSReader window showing up. Additionally if
TSReader's option to hide when minimized is set TSReader's window
will be hidden with an icon placed on the taskbar notification
area.
-M (no additional parameters)
Controlling TSReader Instances
The -i switch forces TSReader to close any other instance of
TSReader already running.
-i (no additional parameters)
Source Parameters
DVB-S/DSS satellite cards
TSReader {TSReader-options} {freq
pol sr lnbf 22khz {DiSEqC}}
|
freq |
The frequency to tune in MHz (for example 11.700 GHz would be
11700) |
|
pol |
The polarity to set. This actually controls the voltage on the
coax so if you're using a big dish, you'll need to set the polarity
manually. |
|
sr |
The symbol rate to use. |
|
lnbf |
The frequency of the local oscillator in the LNB. For C-Band,
this is 5150, for the FSS Ku-Band, it's 10750 and for the DBS
band 11250. |
|
22khz |
Turns the 22KHz tone on with a value of 1. Useful to switch between
signals with an external switch. |
|
DiSEqC |
Optional. Sends DiSEqC command to select LNB input on a DiSEqC
switch. Valid values are 1-4. |
DVB-C cable cards
TSReader {TSReader-options} {freq
sr QAM inversion bandwidth}
|
freq |
frequency to tune in 10ths of MHz (i.e. 5000 = 500.0MHz 5005
= 500.5MHz) |
|
sr |
The symbol rate to use |
|
QAM |
The QAM mode to use: 0=QAM-16 1=QAM-32 2=QAM-64 3=QAM-128 4=QAM-256 |
|
inversion |
inverted spectrum (0 or 1) |
|
bandwidth |
bandwidth of signal (0 = 6, 1 = 7, 2 = 8 MHz) |
DVB-T terrestrial cards
TSReader {TSReader-options} {freq
inversion bandwidth}
|
freq |
frequency to tune in 10ths of MHz (i.e. 5000 = 500.0MHz 5005
= 500.5MHz) |
|
inversion |
Spectrum inversion. Set to 0 or 1 as appropriate for your area |
|
bandwidth |
Bandwidth of the COFDM transmission. 0 = 6 MHz 1 = 7 MHz 2 =
8 MHz |
ATSC terrestrial cards
TSReader {TSReader-options} {freq}
|
freq |
frequency to tune in 10ths of MHz (i.e. 5000 = 500.0MHz 5005
= 500.5MHz) |
Full-mode satellite card (DVB-S/Turbo/DCII)
TSReader {TSReader-options} {freq
pol sr lnbf 22khz mode fec {DiSEqC}}
|
freq |
The frequency to tune in MHz (for example 11.700 GHz would be
11700) |
|
pol |
The polarity to set. This actually controls the voltage on the
coax so if you're using a big dish, you'll need to set the polarity
manually. |
|
sr |
The symbol rate to use. |
|
lnbf |
The frequency of the local oscillator in the LNB. For C-Band,
this is 5150, for the FSS Ku-Band, it's 10750 and for the DBS
band 11250. |
|
22khz |
Turns the 22KHz tone on with a value of 1. Useful to switch between
signals with an external switch. |
|
mode |
Modulation mode to select. 0 = DVB QPSK, 1 = Turbo QPSK, 2 =
Turbo 8PSK, 3 = Turbo 16QAM, 4 = DCII combo QPSK, 5 = DCII split
QPSK I, 6 = DCII split QPSK Q, 7 = DCII OQPSK |
|
fec |
FEC selection - varies depending on mode. See table below for
details. |
|
DiSEqC |
Optional. Sends DiSEqC command to select LNB input on a DiSEqC
switch. Valid values are 1-4. |
FEC Rate Table
|
Mode |
Rate |
Value |
|
DVB QPSK |
1/2 |
0 |
|
|
2/3 |
1 |
|
|
3/4 |
2 |
|
|
5/6 |
3 |
|
|
7/8 |
4 |
|
|
Auto |
5 |
|
Turbo QPSK |
1/4 |
0 |
|
|
1/2 |
1 |
|
|
3/4 |
2 |
|
Turbo 8PSK |
2/3 |
0 |
|
|
3/4 I |
1 |
|
|
3/4 II |
2 |
|
|
5/6 |
3 |
|
|
8/9 |
4 |
|
Turbo 16QAM |
3/4 |
0 |
|
DCII modes |
5/11 |
0 |
|
|
1/2 |
1 |
|
|
3/5 |
2 |
|
|
2/3 |
3 |
|
|
3/4 |
4 |
|
|
4/5 |
5 |
|
|
5/6 |
6 |
|
|
7/8 |
7 |
|
|
Auto |
8 |
File version (File and File-loop sources)
TSReader {TSReader-options} {file}
|
file |
Optional. The name of the file containing the transport stream.
If not provided, TSReader will prompt |
The input transport stream file can contain either 188 or
204 byte transport stream packets. If TSReader generates a single
program stream or PID recording is used, TSReader will always
write 188 byte packets.
Linear Systems DVB/ATSC Master source
TSReader {TSReader-options}
There are no parameters for this card - the first card in
the system is always used. The card receives in "Auto 204/188"
mode where 204 byte packets sent to TSReader get stripped of
their Reed-Solomon code resulting in 188 byte streams recorded
by TSReader.
Support
If you need support or have comments, please email me at [email protected]. You also may
want to visit our TSReader Support
Page.