mp4mux is a tool that multiplexes one or more elementary streams (H264, AAC) into an MP4 file.

Running the tool without any argument will print out a summary of the tool’s command line options and parameters.


MP4 Elementary Stream Multiplexer - Version 1.0
(Bento4 Version
(c) 2002-20014 Axiomatic Systems, LLC

usage: mp4mux [options] --track [<type>:]<input>[#<params] [--track [<type>:]<input>[#<params] ...] <output>

Supported types:
  h264: H264/AVC NAL units
    optional params:
      frame_rate: floating point number in frames per second (default=24.0)
  aac:  AAC in ADTS format
  mp4:  MP4 track(s) from an MP4 file
    optional params:
      track: audio, video, or integer track ID (default=all tracks)

If no type is specified for an input, the type will be inferred from the file extension

  --verbose: show more details