summaryrefslogtreecommitdiffstats
path: root/multimedia/tstools/man/ts_packet_insert.1
blob: eb0ff1909dca0a20b5297362950d30572e8a0fa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
.TH TS_PACKET_INSERT "1" "November 2008" "ts_packet_insert 1.11" "User Commands"
.SH NAME
ts_packet_insert \- insert packets into a Transport Stream
.SH DESCRIPTION
.SS "Usage:"
.IP
ts_packet_insert [\fIswitches\fR] \fI<infile>\fR [\fIswitches\fR]
.IP
Insert TS packets into a Transport Stream at a positions
specified by the user.
.SS "Input:"
.TP
<infile>
A H.222.0 TS stream.
.SS "Switches:"
.TP
\fB\-p\fR [positions]
This a a colon (':') delimited string of numbers
between 0 and 1, representing how far through to put
each ts packet.  E.g.  \fB\-p\fR 0.1:0.4:0.7:0.9 will insert
4 packets at 10%, 40%, 70% and 90% through the file.
.TP
\fB\-pid\fR [pid]
The inserted packets will have the pid specfied.
.TP
\fB\-s\fR [string]
The inserted packets will contain [string] as it's
payload.
.TP
\fB\-o\fR [output file] The new TS file will be written out to the file
specified. (defaults to out.ts)
.TP
\fB\-h\fR (\fB\-\-help\fR)
This message.
.SS "Example:"
.IP
ts_packet_insert \fB\-p\fR 0.3:0.6 \fB\-o\fR out.ts \fB\-pid\fR 89 \fB\-s\fR "AD=start" in.ts
.IP
ts_packet_insert [switches] <infile> [switches]
.IP
Insert TS packets into a Transport Stream at a positions
specified by the user.
.SS "Input:"
.TP
<infile>
A H.222.0 TS stream.
.SS "Switches:"
.TP
\fB\-p\fR [positions]
This a a colon (':') delimited string of numbers
between 0 and 1, representing how far through to put
each ts packet.  E.g.  \fB\-p\fR 0.1:0.4:0.7:0.9 will insert
4 packets at 10%, 40%, 70% and 90% through the file.
.TP
\fB\-pid\fR [pid]
The inserted packets will have the pid specfied.
.TP
\fB\-s\fR [string]
The inserted packets will contain [string] as it's
payload.
.TP
\fB\-o\fR [output file] The new TS file will be written out to the file
specified. (defaults to out.ts)
.TP
\fB\-h\fR (\fB\-\-help\fR)
This message.
.SS "Example:"
.IP
ts_packet_insert \fB\-p\fR 0.3:0.6 \fB\-o\fR out.ts \fB\-pid\fR 89 \fB\-s\fR "AD=start" in.ts
.SH "SEE ALSO"
The full documentation for
.B ts_packet_insert
is maintained as a Texinfo manual.
Please check http://tstools.berlios.de for more information.