File:  [DVB] / multiplexer / repeatts.1
Revision 1.1: download - view: text, annotated - select for diffs
Mon May 14 19:29:17 2001 UTC (23 years ago) by oskar
Branches: MAIN
CVS tags: HEAD
Use memmove in command processing
Add tiny tool 'repeatts' to allow sending a TS-file (containing e.g. DSMCC)
repeatedly and with a simple timing. The tool also allows changing the current
file on the fly by giving a new command to stdin. See man page for details.

.\" Man page for repeatts
.\"
.\" Copyright (C) 2001, Convergence Integrated Media GmbH
.\" Author: Oskar Schirmer
.\"
.TH repeatts 1 "May 14th, 2001" "0.0.2" "Multiplexer"
.SH NAME
repeatts \- repeater for ISO 13818 transport streams
.SH SYNOPSIS
repeatts [delay time filename]
.SH DESCRIPTION
Take a regular file containing an ISO 13818-1 conforming transport stream
and send it periodically to \fIstdout\fR.
When feeding another \fBdelay time filename\fR tuple to \fIstdin\fR,
the file currently processed will be replaced by the next file, as
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
\fB0 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.
Do not repeat this process.
.TP
\fB-1\fR
Quit this program.
.SH EXAMPLE
To send file \fIexample.TS\fR every 5 seconds,
with the whole file sent within 2 seconds (and thus
thereafter 3 seconds of inactivity):
.IP
$ repeatts 5000 2000 example.TS
.PP
.SH DETAILS
Whenever a tuple is given via \fIstdin\fR, this overrides any
tuple given to \fIstdin\fR earlier, that is not yet worked on, i.e. only
one tuple is memorized at a time.
.SH BUGS
to be detected.
.SH "SEE ALSO"
.BR ISO\ 13818-1 ,
.BR iso13818ts (1).
.SH AUTHOR
Oskar Schirmer (oskar@convergence.de).

LinuxTV legacy CVS <linuxtv.org/cvs>