Darren Mulholland

Occasional coder.

MP3Cat

A fast command line utility for merging MP3 files.


MP3Cat is a fast command line utility for merging MP3 files without re-encoding. It supports both constant bit rate (CBR) and variable bit rate (VBR) MP3 files.

Usage

Run mp3cat --help to view the application's command line help:

Usage: mp3cat [FLAGS] [OPTIONS] [ARGUMENTS]

  This tool concatenates MP3 files without re-encoding. It
  can join constant bit-rate (CBR) files, variable bit-rate
  (VBR) files, or a mixture of both.

  If a set of input CBR files share the same bit-rate, the
  output file will also be CBR; if the input files have
  different bit-rates, the output file will be VBR.

Arguments:
  [files]                 List of files to merge.

Options:
  -d, --dir <path>        Directory of files to merge.
  -i, --interlace <path>  Interlace a spacer file.
  -o, --out <path>        Output filepath.

Flags:
  -f, --force             Overwrite an existing output file.
  -h, --help              Display this help text and exit.
  -q, --quiet             Run in quiet mode.
  -t, --tag               Copy the first ID3 tag.
  -v, --version           Display the version number.

Files to be merged can be specified as a list of filenames:

$ mp3cat one.mp3 two.mp3 three.mp3

Alternatively, an entire directory of .mp3 files can be merged:

$ mp3cat --dir /path/to/directory

Source

MP3Cat is written in Go. If you have a Go compiler installed you can run:

$ go get github.com/dmulholland/mp3cat

This will download, compile, and install the latest version of the application to your $GOPATH/bin directory.

You can find the source files on Github.

License

This work has been placed in the public domain.