DOKK / manpages / debian 12 / poc-streamer / mp3cut.1.en
MP3CUT(1) User Command MP3CUT(1)

mp3cut - cut and assemble MP3 files

mp3cut [ -o outputfile ] [ -T title ] [ -A artist ] [ -N album-name ] [ -t [hh:]mm:ss[+ms]-[hh:]mm:ss[+ms] ] mp3file [[ -t ... ] mp3file1 ...]

The mp3cut utility cuts and assembles MP3 files according to the time specifications given on the command line. The mp3 output is written to the outputfile. If no outputfile is given on the command-line, the name for the outputfile is created from the name of the first mp3 file by adding output.mp3 at the end. The -t flag specifies which part of the mp3 file following it will be extracted.

Specify where the output is to be written.
Specify the title ID3 tag for the output file.
Specify the artist ID3 tag for the output file.
Specify the album name ID3 tag for the output file.
Specify which part of the following mp3file will be included in the output file.


hh = hours
mm = minutes
ss = seconds
ms = milliseconds

If the starting time is omitted, 00:00:00+00 is used as starting time. If the ending time is omitted, the end of the MP3 file is used as ending time.

Cut the segment from 23 minutes, 42 seconds and 500 milliseconds to 1 hour, 23 minutes, 42 seconds and 750 milliseconds from input.mp3 and write the output to output.mp3.

Append the segments from input1.mp3, input2.mp3 and input3.mp3 and write the output to input1.output.mp3.

Manuel Odendahl <manuel@bl0rg.net>, Florian Wesch <dividuum@bl0rg.net>

February 2005