logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

esmerge — Merge the contents of two ES to make a TS

Bugs

       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.

Debian                                          October 28, 2015                                      ESMERGE(1)

Description

       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).

   Filesvideo_file
               is the ES file containing video.

       audio_file
               is the ES file containing audio.

       out_file
               is the resultant TS file.

   Switches-errstdout
               Write error messages to standard output (the default)

       -errstderr
               Write error messages to standard error (Unix traditional)

       -stdin  Input from standard input, instead of a file

       -v, -verbose
               Output extra information about each audio/video frame

       -q, -quiet
               Only output error messages

       -x      Output diagnostic information.

       -h264   The video stream is H.264 (the default)

       -avs    The video stream is AVS

       -vidratevideo_hz
               Video frame rate in Hz - defaults to 25Hz.

       -rateaudio_hz
               Audio sample rate in Hertz - defaults to 44100, i.e., 44.1KHz.

       -cd     Equivalent to -rate44100 (CD rate), the default.

       -dat    Equivalent to -rate48000 (DAT rate).

       -adts   The audio stream is ADTS (the default)

       -l2     The audio stream is MPEG layer 2 audio

       -mp2adts
               The audio stream is MPEG-2 style ADTS regardless of ID bit

       -mp4adts
               The audio stream is MPEG-4 style ADTS regardless of ID bit

       -ac3    The audio stream is Dolby AC-3 in ATSC

       -patpmtfreqpat_freq
               PAT  and  PMT will be inserted every pat_freq video frames.  By default, pat_freq = 0 and PAT/PMT
               are inserted only at the start of the output stream.

Name

       esmerge — Merge the contents of two ES to make a TS

See Also

esdots(1),

Synopsis

esmerge [-errstdout] [-errstderr] [-verbose | -v] [-quiet | -q] [-x] [-h264 | -avs] [-vidratevideo_hz]
               [-rateaudio_hz  | -cd | -dat] [-adts | -l2 | -mp2adts | -mp4adts | -ac3] [-patpmtfreqpat_freq]
               video_fileaudio_fileout_file

See Also