aboutsummaryrefslogtreecommitdiff
path: root/multimedia/tstools/man/ts2es.1
blob: 2f7b58cc5d91217d2c5f27f18a0339c2b1a59149 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
.TH TS2ES "1" "November 2008" "ts2es 1.11" "User Commands"
.SH NAME
ts2es \- extract a single (elementary) stream from a TS (or PS)
.SH SYNOPSIS
.B ts2es
[\fIswitches\fR] \fI<infile>\fR \fI<outfile>\fR
.SH DESCRIPTION
.IP
TS tools version 1.11, ts2es built Nov 11 2008 17:15:45
.IP
Extract a single (elementary) program stream from a Transport Stream
(or Program Stream).
.SS "Files:"
.TP
<infile>
is an H.222 Transport Stream file (but see \fB\-stdin\fR and \fB\-pes\fR)
.IP
<outfile> is a single elementary stream file (but see \fB\-stdout\fR)
.SS "Which stream to extract:"
.TP
\fB\-pid\fR <pid>
Output data for the stream with the given
<pid>. Use \fB\-pid\fR 0x<pid> to specify a hex value
.TP
\fB\-video\fR
Output data for the (first) video stream
named in the (first) PMT. This is the default.
.TP
\fB\-audio\fR
Output data for the (first) audio stream
named in the (first) PMT
.SS "General switches:"
.TP
\fB\-stdin\fR
Input from standard input, instead of a file
.TP
\fB\-stdout\fR
Output to standard output, instead of a file
Forces \fB\-quiet\fR.
.TP
\fB\-verbose\fR, \fB\-v\fR
Output informational/diagnostic messages
.TP
\fB\-quiet\fR, \fB\-q\fR
Only output error messages
.TP
\fB\-max\fR <n>, \fB\-m\fR <n>
Maximum number of TS packets to read
.TP
\fB\-pes\fR, \fB\-ps\fR
Use the PES interface to read ES units from
the input file. This allows PS data to be read
(there is no point in using this for TS data).
Does not support \fB\-pid\fR, \fB\-stdin\fR or \fB\-stdout\fR.
.IP
TS tools version 1.11, ts2es built Nov 11 2008 17:15:45
.IP
Extract a single (elementary) program stream from a Transport Stream
(or Program Stream).
.SS "Files:"
.TP
<infile>
is an H.222 Transport Stream file (but see \fB\-stdin\fR and \fB\-pes\fR)
.IP
<outfile> is a single elementary stream file (but see \fB\-stdout\fR)
.SS "Which stream to extract:"
.TP
\fB\-pid\fR <pid>
Output data for the stream with the given
<pid>. Use \fB\-pid\fR 0x<pid> to specify a hex value
.TP
\fB\-video\fR
Output data for the (first) video stream
named in the (first) PMT. This is the default.
.TP
\fB\-audio\fR
Output data for the (first) audio stream
named in the (first) PMT
.SS "General switches:"
.TP
\fB\-stdin\fR
Input from standard input, instead of a file
.TP
\fB\-stdout\fR
Output to standard output, instead of a file
Forces \fB\-quiet\fR.
.TP
\fB\-verbose\fR, \fB\-v\fR
Output informational/diagnostic messages
.TP
\fB\-quiet\fR, \fB\-q\fR
Only output error messages
.TP
\fB\-max\fR <n>, \fB\-m\fR <n>
Maximum number of TS packets to read
.TP
\fB\-pes\fR, \fB\-ps\fR
Use the PES interface to read ES units from
the input file. This allows PS data to be read
(there is no point in using this for TS data).
Does not support \fB\-pid\fR, \fB\-stdin\fR or \fB\-stdout\fR.
.SH "SEE ALSO"
The full documentation for
.B ts2es
is maintained as a Texinfo manual.
Please check http://tstools.berlios.de for more information.