ESMERGE(1)
π ESMERGE(1) π
okay bestie, pull up a chair, because this is the General Commands Manual entry for esmerge and it's about to be your whole personality for the next five minutes β¨
πΈ NAME πΈ
esmerge β merge the contents of two ES to make a TS
like... two Elementary Streams walk into a bar and leave as one Transport Stream. it's giving glow-up. π
π SYNOPSIS π
esmerge [-err stdout] [-err stderr] [-verbose | -v] [-quiet | -q] [-x]
[-h264 | -avs] [-vidrate video_hz] [-rate audio_hz | -cd | -dat]
[-adts | -l2 | -mp2adts | -mp4adts | -ac3]
[-patpmtfreq pat_freq] video_file audio_file out_file
that's the whole vibe in one code block, no cap π«Ά
π¦ DESCRIPTION π¦
so the whole point of this icon is: you take two Elementary Stream (ES) files β one with video data, one with audio β and you smoosh them together into one output file that's a Transport Stream (TS). matchmaker energy fr fr π
π Files π
- video_file β this is the ES file containing video. the visuals. the cinema. π¬
- audio_file β this is the ES file containing audio. the sound. the vibes. π§
- out_file β this is the resultant TS file. the baby. the main character. π
ποΈ Switches ποΈ
-err stdoutβ write error messages to standard output (this is the default, bestie)-err stderrβ write error messages to standard error (the Unix-traditional way, old-school cool π°οΈ)-stdinβ input from standard input, instead of a file. yes, it's a pipe situation. we love a pipe situation πͺ-v,-verboseβ output extra information about each audio/video frame. she's chatty, she's telling you everything π¬-q,-quietβ only output error messages. she's mysterious, she's silent, she's β¨selectively presentβ¨-xβ output diagnostic information. the tea β-h264β the video stream is H.264 (this is the default)-avsβ the video stream is AVS-vidratevideo_hz β video frame rate in Hz β defaults to25Hz.-rateaudio_hz β audio sample rate in Hertz β defaults to44100, i.e.,44.1KHz.-cdβ equivalent to-rate 44100(CD rate), the default. retro but make it classic πΏ-datβ equivalent to-rate 48000(DAT rate).-adtsβ the audio stream is ADTS (this is 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 = 0and PAT/PMT are inserted only at the start of the output stream. so if you leave it alone, they show up once at the beginning and then mind their own business π«Ά
π SEE ALSO π
(yes, there's a comma. yes, it's just vibing there alone. iconic, honestly π)
β οΈ BUGS β οΈ
for the moment, the video input must be H.264 or AVS, and the audio input must be ADTS, AC-3 ATSC or MPEG layer 2. also, the audio is assumed to have a constant number of samples per frame. no cap, that's the rule, don't come for me π
Debian π October 28, 2015 π that's the source, that's the version, that's the date β and that's the whole manpage, bestie. go merge something gorgeous. mwah πβ¨π
π¦ where this page comes from
- debian bookworm: tstools 1.13~git20151030-6 Β· MPL-1.1
- debian trixie: tstools 1.13~git20151030-6 Β· MPL-1.1
- ubuntu jammy: tstools 1.13~git20151030-5 Β· MPL-1.1
- ubuntu noble: tstools 1.13~git20151030-6 Β· MPL-1.1
- ubuntu questing: tstools 1.13~git20151030-7
- ubuntu resolute: tstools 1.13~git20151030-7build1 Β· MPL-1.1
- ubuntu stonking: tstools 1.13~git20151030-8 Β· MPL-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms