es2ts.1 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
  2. .TH ES2TS "1" "November 2008" "es2ts 1.11" "User Commands"
  3. .SH NAME
  4. es2ts \- convert ES to TS
  5. .SH SYNOPSIS
  6. .B es2ts
  7. [\fIswitches\fR] \fI<infile>\fR \fI<outfile>\fR
  8. .SH DESCRIPTION
  9. .IP
  10. TS tools version 1.11, es2ts built Nov 11 2008 17:15:46
  11. .IP
  12. Convert an elementary video stream to H.222 transport stream.
  13. Supports input streams conforming to MPEG\-2 (H.262), MPEG\-4/AVC
  14. (H.264) and AVS. Also supports MPEG\-1 input streams, insofar as MPEG\-2
  15. is backwards compatible with MPEG\-1.
  16. .IP
  17. Note that this program works by reading and packaging the elementary
  18. stream packages directly \- it does not parse them as H.262 or H.264
  19. data.
  20. .SS "Files:"
  21. .TP
  22. <infile>
  23. is a file containing the Elementary Stream data
  24. (but see \fB\-stdin\fR below)
  25. .TP
  26. <outfile>
  27. is an H.222 Transport Stream file
  28. (but see \fB\-stdout\fR and \fB\-host\fR below)
  29. .SS "Switches:"
  30. .TP
  31. \fB\-pid\fR <pid>
  32. <pid> is the video PID to use for the data.
  33. Use '\-pid 0x<pid>' to specify a hex value.
  34. Defaults to 0x68.
  35. .TP
  36. \fB\-pmt\fR <pid>
  37. <pid> is the PMT PID to use.
  38. Use '\-pmt 0x<pid>' to specify a hex value.
  39. Defaults to 0x66
  40. .TP
  41. \fB\-verbose\fR, \fB\-v\fR
  42. Output summary information about each ES packet
  43. as it is read
  44. .TP
  45. \fB\-quiet\fR, \fB\-q\fR
  46. Only output error messages
  47. .TP
  48. \fB\-stdin\fR
  49. Take input from <stdin>, instead of a named file
  50. .TP
  51. \fB\-stdout\fR
  52. Write output to <stdout>, instead of a named file
  53. Forces \fB\-quiet\fR.
  54. .TP
  55. \fB\-host\fR <host>, \fB\-host\fR <host>:<port>
  56. Writes output (over TCP/IP) to the named <host>,
  57. instead of to a named file. If <port> is not
  58. specified, it defaults to 88.
  59. .TP
  60. \fB\-max\fR <n>, \fB\-m\fR <n>
  61. Maximum number of ES data units to read
  62. .SS "Stream type:"
  63. .IP
  64. When the TS data is being output, it is flagged to indicate whether
  65. it conforms to H.262, H.264 or AVS. It is important to get this right,
  66. as it will affect interpretation of the TS data.
  67. .IP
  68. If input is from a file, then the program will look at the start of
  69. the file to determine if the stream is H.264, H.262 or AVS. This
  70. process may occasionally come to the wrong conclusion, in which case
  71. the user can override the choice using the following switches.
  72. .IP
  73. If input is from standard input (via \fB\-stdin\fR), then it is not possible
  74. for the program to make its own decision on the input stream type.
  75. Instead, it defaults to H.262, and relies on the user indicating if
  76. this is wrong.
  77. .TP
  78. \fB\-h264\fR, \fB\-avc\fR
  79. Force the program to treat the input as MPEG\-4/AVC.
  80. .TP
  81. \fB\-h262\fR
  82. Force the program to treat the input as MPEG\-2.
  83. .TP
  84. \fB\-avs\fR
  85. Force the program to treat the input as AVS.
  86. .IP
  87. TS tools version 1.11, es2ts built Nov 11 2008 17:15:46
  88. .IP
  89. Convert an elementary video stream to H.222 transport stream.
  90. Supports input streams conforming to MPEG\-2 (H.262), MPEG\-4/AVC
  91. (H.264) and AVS. Also supports MPEG\-1 input streams, insofar as MPEG\-2
  92. is backwards compatible with MPEG\-1.
  93. .IP
  94. Note that this program works by reading and packaging the elementary
  95. stream packages directly \- it does not parse them as H.262 or H.264
  96. data.
  97. .SS "Files:"
  98. .TP
  99. <infile>
  100. is a file containing the Elementary Stream data
  101. (but see \fB\-stdin\fR below)
  102. .TP
  103. <outfile>
  104. is an H.222 Transport Stream file
  105. (but see \fB\-stdout\fR and \fB\-host\fR below)
  106. .SS "Switches:"
  107. .TP
  108. \fB\-pid\fR <pid>
  109. <pid> is the video PID to use for the data.
  110. Use '\-pid 0x<pid>' to specify a hex value.
  111. Defaults to 0x68.
  112. .TP
  113. \fB\-pmt\fR <pid>
  114. <pid> is the PMT PID to use.
  115. Use '\-pmt 0x<pid>' to specify a hex value.
  116. Defaults to 0x66
  117. .TP
  118. \fB\-verbose\fR, \fB\-v\fR
  119. Output summary information about each ES packet
  120. as it is read
  121. .TP
  122. \fB\-quiet\fR, \fB\-q\fR
  123. Only output error messages
  124. .TP
  125. \fB\-stdin\fR
  126. Take input from <stdin>, instead of a named file
  127. .TP
  128. \fB\-stdout\fR
  129. Write output to <stdout>, instead of a named file
  130. Forces \fB\-quiet\fR.
  131. .TP
  132. \fB\-host\fR <host>, \fB\-host\fR <host>:<port>
  133. Writes output (over TCP/IP) to the named <host>,
  134. instead of to a named file. If <port> is not
  135. specified, it defaults to 88.
  136. .TP
  137. \fB\-max\fR <n>, \fB\-m\fR <n>
  138. Maximum number of ES data units to read
  139. .SS "Stream type:"
  140. .IP
  141. When the TS data is being output, it is flagged to indicate whether
  142. it conforms to H.262, H.264 or AVS. It is important to get this right,
  143. as it will affect interpretation of the TS data.
  144. .IP
  145. If input is from a file, then the program will look at the start of
  146. the file to determine if the stream is H.264, H.262 or AVS. This
  147. process may occasionally come to the wrong conclusion, in which case
  148. the user can override the choice using the following switches.
  149. .IP
  150. If input is from standard input (via \fB\-stdin\fR), then it is not possible
  151. for the program to make its own decision on the input stream type.
  152. Instead, it defaults to H.262, and relies on the user indicating if
  153. this is wrong.
  154. .TP
  155. \fB\-h264\fR, \fB\-avc\fR
  156. Force the program to treat the input as MPEG\-4/AVC.
  157. .TP
  158. \fB\-h262\fR
  159. Force the program to treat the input as MPEG\-2.
  160. .TP
  161. \fB\-avs\fR
  162. Force the program to treat the input as AVS.
  163. .SH "SEE ALSO"
  164. The full documentation for
  165. .B es2ts
  166. is maintained as a Texinfo manual.
  167. Please check http://tstools.berlios.de for more information.