tldr/pages/common/mp4box.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

461 B

mp4box

MPEG-4 Systems Toolbox: muxe streams into MP4 container. More information: https://gpac.wp.imt.fr/mp4box.

  • Display information about an existing MP4 file:

mp4box -info {{path/to/file}}

  • Add an SRT subtitle file into an MP4 file:

mp4box -add {{input_subs.srt}}:lang=eng -add {{input.mp4}} {{output.mp4}}

  • Combine audio from one file and video from another:

mp4box -add {{input1.mp4}}#audio -add {{input2.mp4}}#video {{output.mp4}}