• Stars
    star
    174
  • Rank 219,104 (Top 5 %)
  • Language
    Go
  • License
    The Unlicense
  • Created about 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A command line utility for joining MP3 files.

MP3Cat

MP3Cat is a simple command line utility for concatenating MP3 files without re-encoding.

Download

You can download a pre-compiled binary from the releases page.

Build

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

go install github.com/dmulholl/mp3cat@latest

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

Usage

Run mp3cat --help to view the command line help:

Usage: mp3cat [files]

  This tool concatenates MP3 files without re-encoding.

Arguments:
  [files]                 List of files to merge.

Options:
  -d, --dir <path>        Directory of files to merge.
  -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.
  -v, --version           Display the version number.

You can specify the input as a list of filenames, e.g.

$ mp3cat one.mp3 two.mp3 three.mp3

Or, using globbing, e.g.

$ mp3cat *.mp3

Alternatively, you can specify an entire directory of .mp3 files to concatenate, e.g.

$ mp3cat --dir /path/to/directory

The output filename defaults to output.mp3 but you can specify a custom filename using the -o/--out option, e.g.

$ mp3cat *.mp3 -o joined.mp3

This utility works most reliably with constant-bit-rate input — it will add a VBR header if it detects multiple bit-rates in the input files but variable-bit-rate MP3s have patchy player support and should generally be avoided if at all possible.

Status

This application is in maintenance mode — it's intentionally simple and I'm not planning to add any extra features. If you need something more complex check out mp3binder which is an active fork with additional functionality.

License

This work has been placed in the public domain.

More Repositories

1

ironclad

A command line password manager.
Go
124
star
2

ark

A static website generator for people who enjoy the simpler things in life.
Python
96
star
3

vimv

A command line utility for batch-renaming files.
Rust
57
star
4

args

An argument-parsing library for C.
C
53
star
5

syntext

A markdownish markup language.
Python
50
star
6

argslib

An argument-parsing library for Python.
Python
43
star
7

argspp

An argument-parsing library for C++.
C++
40
star
8

mp3lib

A simple Go library for parsing MP3 files.
Go
22
star
9

janus

An argument-parsing library for Go.
Go
22
star
10

pymatrix

A lightweight matrix library in Python.
Python
20
star
11

argparser

An argument-parsing library for Swift.
Swift
20
star
12

arguably

A minimalist argument-parsing library for Rust.
Rust
19
star
13

shortcodes

A customizable shortcode parser in Python.
Python
18
star
14

ibis

A template engine for people who enjoy the simpler things in life.
Python
16
star
15

holly

A blog-engine plugin for Ark.
Python
12
star
16

kash

Demonstration code for a tutorial on building a command line shell in C.
C
12
star
17

pyro

A scripting language for people who enjoy the simpler things in life.
C
7
star
18

hexbomb

A hexdump utility with style.
Rust
6
star
19

hex

A command line hexdump utility.
Python
5
star
20

intspector

An integer conversion utility.
Rust
4
star
21

hexdump-tutorial

Demonstration code for a tutorial on building a simple hexdump utility in C.
C
4
star
22

termline

A simple Bash script for drawing coloured lines.
Shell
3
star
23

int

A simple integer conversion utility.
Python
3
star
24

latex

A pair of clean, simple LaTeX templates for articles and reports.
TeX
3
star
25

ipsedixit

Lorem ipsum on steroids.
Python
3
star
26

dotfiles

My dotfiles.
Vim Script
2
star
27

djindjo

Demonstration code for a tutorial on building a simple template language in Python.
Python
2
star
28

termutils

A terminal utilities library for Swift.
Swift
1
star
29

outline

A clean, responsive, text-focused theme for Ivy.
CSS
1
star
30

argo

An argument-parsing library for Go.
Go
1
star
31

pyro-bench

Benchmarking scripts for Pyro.
Python
1
star
32

algorithms

Algorithms and data structures.
Python
1
star
33

language-monk

Syntax highlighting for Monk files in Atom.
1
star
34

vanilla

A simple, single-column theme for Ivy.
CSS
1
star
35

twentyfifteen

A blog-style theme for Ivy based on the classic WordPress theme of the same name.
CSS
1
star
36

termcalc

An interactive command line calculator, written in Swift.
Swift
1
star
37

ivy_toml

This Ivy plugin adds support for TOML file headers.
Python
1
star
38

lox

Bob Nystrom's Lox programming language implemented in Python and C.
C
1
star
39

pyro-lexer

A Pygments lexer for the Pyro programming language.
Python
1
star
40

hexdump

Hexdump command line utility implemented in a variety of languages.
Assembly
1
star