DOKK / manpages / debian 10 / tstools / esmerge.1.en
ESMERGE(1) User Commands ESMERGE(1)

esmerge - merge audio and video ES into a TS

esmerge [switches] <video-file> <audio-file> <output-file>
TS tools version 1.11, esmerge built Nov 11 2008 17:15:46
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).

<video-file>
is the ES file containing video.
<audio-file>
is the ES file containing audio.
<output-file> is the resultant TS file.

Only output error messages.
Output information about each audio/video frame.
Output diagnostic information.
The video stream is H.264 (the default)
The video stream is AVS
Video frame rate in Hz - defaults to 25Hz.
Audio sample rate in Hertz - defaults to 44100, i.e., 44.1KHz.
Equivalent to -rate 44100 (CD rate), the default.
Equivalent to -rate 48000 (DAT rate).
The audio stream is ADTS (the default)
The audio stream is MPEG layer 2 audio
The audio stream is MPEG-2 style ADTS regardless of ID bit
The audio stream is MPEG-4 style ADTS regardless of ID bit
The audio stream is Dolby AC-3 in ATSC
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.

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.

esmerge <video-file> <audio-file> <output-file>
TS tools version 1.11, esmerge built Nov 11 2008 17:15:46
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).

<video-file>
is the ES file containing video.
<audio-file>
is the ES file containing audio.
<output-file> is the resultant TS file.

Only output error messages.
Output information about each audio/video frame.
Output diagnostic information.
The video stream is H.264 (the default)
The video stream is AVS
Video frame rate in Hz - defaults to 25Hz.
Audio sample rate in Hertz - defaults to 44100, i.e., 44.1KHz.
Equivalent to -rate 44100 (CD rate), the default.
Equivalent to -rate 48000 (DAT rate).
The audio stream is ADTS (the default)
The audio stream is MPEG layer 2 audio
The audio stream is MPEG-2 style ADTS regardless of ID bit
The audio stream is MPEG-4 style ADTS regardless of ID bit
The audio stream is Dolby AC-3 in ATSC
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.

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.

The full documentation for esmerge is maintained as a Texinfo manual. If the info and esmerge programs are properly installed at your site, the command

info esmerge

should give you access to the complete manual.

November 2008 esmerge 1.11