summaryrefslogtreecommitdiffstats
path: root/multimedia/tstools/man/esmerge.1
blob: 6fa50cd029c4174914427e5d8a76399eacf910ec (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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
.TH ESMERGE "1" "November 2008" "esmerge 1.11" "User Commands"
.SH NAME
esmerge \- merge audio and video ES into a TS 
.SH DESCRIPTION
.SS "Usage:"
.IP
esmerge [\fIswitches\fR] \fI<video\-file>\fR \fI<audio\-file>\fR \fI<output\-file>\fR
.IP
TS tools version 1.11, esmerge built Nov 11 2008 17:15:46
.IP
Merge the contents of two Elementary Stream (ES) files, one containing
video data, and the other audio, to produce an output file containing
Transport Stream (TS).
.SS "Files:"
.TP
<video\-file>
is the ES file containing video.
.TP
<audio\-file>
is the ES file containing audio.
.IP
<output\-file> is the resultant TS file.
.SS "Switches:"
.TP
\fB\-quiet\fR, \fB\-q\fR
Only output error messages.
.TP
\fB\-verbose\fR, \fB\-v\fR
Output information about each audio/video frame.
.TP
\fB\-x\fR
Output diagnostic information.
.TP
\fB\-h264\fR
The video stream is H.264 (the default)
.TP
\fB\-avs\fR
The video stream is AVS
.TP
\fB\-vidrate\fR <hz>
Video frame rate in Hz \- defaults to 25Hz.
.TP
\fB\-rate\fR <hz>
Audio sample rate in Hertz \- defaults to 44100, i.e., 44.1KHz.
.TP
\fB\-cd\fR
Equivalent to \fB\-rate\fR 44100 (CD rate), the default.
.TP
\fB\-dat\fR
Equivalent to \fB\-rate\fR 48000 (DAT rate).
.TP
\fB\-adts\fR
The audio stream is ADTS (the default)
.TP
\fB\-l2\fR
The audio stream is MPEG layer 2 audio
.TP
\fB\-mp2adts\fR
The audio stream is MPEG\-2 style ADTS regardless of ID bit
.TP
\fB\-mp4adts\fR
The audio stream is MPEG\-4 style ADTS regardless of ID bit
.TP
\fB\-ac3\fR
The audio stream is Dolby AC\-3 in ATSC
.TP
\fB\-patpmtfreq\fR <f>
PAT and PMT will be inserted every <f> video frames.
by default, f = 0 and PAT/PMT are inserted only at
the start of the output stream.
.PP
Limitations
===========
For the moment, the video input must be H.264 or AVS, and the audio input
ADTS, AC\-3 ATSC or MPEG layer 2. Also, the audio is assumed to have a
constant number of samples per frame.
.IP
esmerge <video\-file> <audio\-file> <output\-file>
.IP
TS tools version 1.11, esmerge built Nov 11 2008 17:15:46
.IP
Merge the contents of two Elementary Stream (ES) files, one containing
video data, and the other audio, to produce an output file containing
Transport Stream (TS).
.SS "Files:"
.TP
<video\-file>
is the ES file containing video.
.TP
<audio\-file>
is the ES file containing audio.
.IP
<output\-file> is the resultant TS file.
.SS "Switches:"
.TP
\fB\-quiet\fR, \fB\-q\fR
Only output error messages.
.TP
\fB\-verbose\fR, \fB\-v\fR
Output information about each audio/video frame.
.TP
\fB\-x\fR
Output diagnostic information.
.TP
\fB\-h264\fR
The video stream is H.264 (the default)
.TP
\fB\-avs\fR
The video stream is AVS
.TP
\fB\-vidrate\fR <hz>
Video frame rate in Hz \- defaults to 25Hz.
.TP
\fB\-rate\fR <hz>
Audio sample rate in Hertz \- defaults to 44100, i.e., 44.1KHz.
.TP
\fB\-cd\fR
Equivalent to \fB\-rate\fR 44100 (CD rate), the default.
.TP
\fB\-dat\fR
Equivalent to \fB\-rate\fR 48000 (DAT rate).
.TP
\fB\-adts\fR
The audio stream is ADTS (the default)
.TP
\fB\-l2\fR
The audio stream is MPEG layer 2 audio
.TP
\fB\-mp2adts\fR
The audio stream is MPEG\-2 style ADTS regardless of ID bit
.TP
\fB\-mp4adts\fR
The audio stream is MPEG\-4 style ADTS regardless of ID bit
.TP
\fB\-ac3\fR
The audio stream is Dolby AC\-3 in ATSC
.TP
\fB\-patpmtfreq\fR <f>
PAT and PMT will be inserted every <f> video frames.
by default, f = 0 and PAT/PMT are inserted only at
the start of the output stream.
.PP
Limitations
===========
For the moment, the video input must be H.264 or AVS, and the audio input
ADTS, AC\-3 ATSC or MPEG layer 2. Also, the audio is assumed to have a
constant number of samples per frame.
.SH "SEE ALSO"
The full documentation for
.B esmerge
is maintained as a Texinfo manual.  If the
.B info
and
.B esmerge
programs are properly installed at your site, the command
.IP
.B info esmerge
.PP
should give you access to the complete manual.