ES2TS(1)

NAME
es2ts - convert ES to TS

SYNOPSIS
es2ts [switches] <infile> <outfile>

DESCRIPTION

    TS tools version 1.11, es2ts built Nov 11 2008 17:15:46

    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.

  Files:

<infile>
    is a file containing the Elementary Stream data (but see -stdin below)

<outfile>
    is an H.222 Transport Stream file (but see -stdout and -host below)

  Switches:

-pid <pid>
    <pid> is the video PID to use for the data. Use '-pid 0x<pid>' to specify a hex value. Defaults to 0x68.

-pmt <pid>
    <pid> is the PMT PID to use. Use '-pmt 0x<pid>' to specify a hex value. Defaults to 0x66

-verbose, -v
    Output summary information about each ES packet as it is read

-quiet, -q
    Only output error messages

-stdin
    Take input from <stdin>, instead of a named file

-stdout
    Write output to <stdout>, instead of a named file Forces -quiet.

-host <host>, -host <host>:<port>
    Writes output (over TCP/IP) to the named <host>, instead of to a named file. If <port> is not specified, it defaults to 88.

-max <n>, -m <n>
    Maximum number of ES data units to read

  Stream type:

    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.

-h264, -avc
    Force the program to treat the input as MPEG-4/AVC.

-h262
    Force the program to treat the input as MPEG-2.

-avs
    Force the program to treat the input as AVS.

    TS tools version 1.11, es2ts built Nov 11 2008 17:15:46

    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.

  Files:

<infile>
    is a file containing the Elementary Stream data (but see -stdin below)

<outfile>
    is an H.222 Transport Stream file (but see -stdout and -host below)

  Switches:

-pid <pid>
    <pid> is the video PID to use for the data. Use '-pid 0x<pid>' to specify a hex value. Defaults to 0x68.

-pmt <pid>
    <pid> is the PMT PID to use. Use '-pmt 0x<pid>' to specify a hex value. Defaults to 0x66

-verbose, -v
    Output summary information about each ES packet as it is read

-quiet, -q
    Only output error messages

-stdin
    Take input from <stdin>, instead of a named file

-stdout
    Write output to <stdout>, instead of a named file Forces -quiet.

-host <host>, -host <host>:<port>
    Writes output (over TCP/IP) to the named <host>, instead of to a named file. If <port> is not specified, it defaults to 88.

-max <n>, -m <n>
    Maximum number of ES data units to read

  Stream type:

    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.

-h264, -avc
    Force the program to treat the input as MPEG-4/AVC.

-h262
    Force the program to treat the input as MPEG-2.

-avs
    Force the program to treat the input as AVS.

SEE ALSO

The full documentation for es2ts is maintained as a Texinfo manual. Please check http://tstools.berlios.de for more information.