version 1.2, 2001/07/12 10:01:39
|
version 1.3, 2003/08/15 00:21:43
|
Line 3
|
Line 3
|
.\" Copyright (C) 2001, Convergence Integrated Media GmbH |
.\" Copyright (C) 2001, Convergence Integrated Media GmbH |
.\" Author: Oskar Schirmer |
.\" Author: Oskar Schirmer |
.\" |
.\" |
.TH repeatts 1 "May 14th, 2001" "0.0.2" "Multiplexer" |
.TH repeatts 1 "Aug 15th, 2003" "1.0.0" "Multiplexer" |
.SH NAME |
.SH NAME |
repeatts \- repeater for ISO 13818 transport streams |
repeatts \- repeater for ISO 13818 transport streams |
.SH SYNOPSIS |
.SH SYNOPSIS |
repeatts [delay time filename] |
repeatts [\fB-i\fR] [\fB-d delay\fR] [\fB-t time\fR] [\fIfilename\fR] |
.SH DESCRIPTION |
.SH DESCRIPTION |
Take a regular file containing an ISO 13818-1 conforming transport stream |
Take a regular file containing an ISO 13818-1 conforming transport stream |
and send it periodically to \fIstdout\fR. |
and send it periodically to \fIstdout\fR. |
|
When a \fIfilename\fR is given, \fBdelay\fR or \fBtime\fR must |
|
be given, too. |
|
When no \fIfilename\fR is given, \fB-i\fR is obligatory. |
|
The transport stream data from \fIfilename\fR is sent to \fIstdout\fR |
|
within \fBtime\fR msec, evenly distributed, split up into |
|
transport stream packets of 188 bytes each. |
|
.P |
|
The following options are accepted: |
|
.TP |
|
\fB\-\-help\fR |
|
Display this help. |
|
.TP |
|
\fB\-i\fR |
|
During operation, accept commands from stdin, in form of a tupel: |
|
\fBdelay\fR, \fBtime\fR, \fIfilename\fR. Here, \fBdelay\fR may be |
|
set to 0 to suppress repeatition, to -1 to quit the program. |
When feeding another \fBdelay time filename\fR tuple to \fIstdin\fR, |
When feeding another \fBdelay time filename\fR tuple to \fIstdin\fR, |
the file currently processed will be replaced by the next file, as |
the file currently processed will be replaced by the next file, as |
soon as the current file is completely processed. |
soon as the current file is completely processed. |
.P |
|
The following tuples may be given as command line parameters |
|
or may be fed to \fIstdin\fR: |
|
.TP |
|
\fBdelay time filename\fR |
|
Open the file \fBfilename\fR, |
|
split it into blocks of 188 bytes each, |
|
send these blocks evenly distributed within \fBtime\fR msec, |
|
and infinitely repeat sending the same file every \fBdelay\fR msec |
|
(with \fBdelay\fR>0). |
|
.TP |
.TP |
\fB0 time filename\fR |
\fB\-d delay\fR |
Open the file \fBfilename\fR, |
The requested operation shall be repeated every \fBdelay\fR msec. |
split it into blocks of 188 bytes each, |
When omitted, the data is sent only once. |
send these blocks evenly distributed within \fBtime\fR msec. |
|
Do not repeat this process. |
|
.TP |
.TP |
\fB-1\fR |
\fB\-t time\fR |
Quit this program. |
The transport stream data shall be sent evenly distributed within |
|
\fBtime\fR msec. |
|
The default value for \fBtime\fR is \fBdelay\fR. |
|
\fBtime\fR must not be greater than \fBdelay\fR. |
.SH EXAMPLE |
.SH EXAMPLE |
To send file \fIexample.TS\fR every 5 seconds, |
To send file \fIexample.TS\fR every 5 seconds, |
with the whole file sent within 2 seconds (and thus |
with the whole file sent within 2 seconds (and thus |
thereafter 3 seconds of inactivity): |
thereafter 3 seconds of inactivity): |
.IP |
.IP |
$ repeatts 5000 2000 example.TS > some.pipe |
$ repeatts -d 5000 -t 2000 example.TS > some.pipe |
.PP |
.PP |
.SH DETAILS |
.SH DETAILS |
Whenever a tuple is given via \fIstdin\fR, this overrides any |
Whenever a tuple is given via \fIstdin\fR, this overrides any |
Line 50 to be detected.
|
Line 57 to be detected.
|
.BR ISO\ 13818-1 , |
.BR ISO\ 13818-1 , |
.BR iso13818ts (1). |
.BR iso13818ts (1). |
.SH AUTHOR |
.SH AUTHOR |
Oskar Schirmer (oskar@convergence.de). |
Oskar Schirmer (oskar@scara.com). |