ES2TS(1) | General Commands Manual | ES2TS(1) |
es2ts
— Convert an
ES video stream to H.222 TS
es2ts |
[-err stdout ] [-err
stderr ] [-verbose |
-v ] [-quiet |
-q ] [-pid
pid_no] [-pmt
pmt_pid_no] [-host
host[:port]]
[-max max_units |
-m max_units]
in_file | -stdin
out_file | [-stdout ] |
Convert an elementary video stream to H.222 transport stream. Supports input streams conforming to MPEG-2 (H.262), MPEG-4/AVC (H.264) and AVS. Also supports MPEG-1 input streams, insofar as MPEG-2 is backwards compatible with MPEG-1.
Note that this program works by reading and packaging the elementary stream packages directly - it does not parse them as H.262 or H.264 data.
-err
stdout
-err
stderr
-v
,
-verbose
-q
,
-quiet
-pid
pid_no-pmt
pmt_pid_no-max
max_units, -m
max_units-stdin
-stdout
-host
host[:port]When the TS data is being output, it is flagged to indicate whether it conforms to H.262, H.264 or AVS. It is important to get this right, as it will affect interpretation of the TS data.
If input is from a file, then the program will look at the start of the file to determine if the stream is H.264, H.262 or AVS. This process may occasionally come to the wrong conclusion, in which case the user can override the choice using the following switches.
If input is from standard input (via -stdin), then it is not possible for the program to make its own decision on the input stream type. Instead, it defaults to H.262, and relies on the user indicating if this is wrong.
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.
October 28, 2015 | Debian |