mp3splt

Aus Mikiwiki
Wechseln zu: Navigation, Suche

Der Shell-Befehl mp3splt ist ein Audioeditor (engl. audiosplitter, cue splitter), der unter anderem mit mp3wrap aneinandergehängte MP3-Dateien auseinanderschneiden kann. Das mp3splt-Projekt schrieb die auch die Bibliothek "libmp3splt" aus mp3splt 2.1und die GTK-Benutzerschnittstelle "mp3splt-gtk", welche diese Bibliothek verwendet.

Installation

Vorbedingungen.

  • libmad
  • libogg (optional)
  • libvorbis (optional)

SUSE Linux 10.0

Das Kompilieren verursachte folgenden Fehler.

In file included from mp3splt.c:46:
splt.h:96: error: array type has incomplete element type

In der Datei "splt.h" wurde deshalb die Zeile 96:

int parse_outformat (char *s, char format[][], int cddboption);

ersetzt durch:

int parse_outformat (char *s, char format[OUTNUM][MAXOLEN], int cddboption);

Danach funktionierte das Kompilieren.

$ tar xzf mp3splt-2.1c-src.tar.gz
$ cd mp3splt-2.1c
$ vi splt.h
int parse_outformat (char *s, char format[OUTNUM][MAXOLEN], int cddboption);
$ ./configure
$ make
# checkinstall
# yast -i /usr/src/packages/RPMS/i386/mp3splt-2.1c-1.i386.rpm

Ubuntu 12.04 Precise Pangolin

$ sudo apt-get install mp3splt

Syntax

USAGE (Please read man page for complete documentation)
      mp3splt [OPTIONS] FILE... [BEGIN_TIME] [END_TIME...]
      TIME FORMAT: min.sec[.0-99], even if minutes are over 59.
OPTIONS
 -w   Splits wrapped files created with Mp3Wrap or AlbumWrap.
 -l   Lists the tracks from file without extraction. (Only for wrapped mp3)
 -e   Error mode: split mp3 with sync error detection. (For concatenated mp3)
 -f   Frame mode (mp3 only): process all frames. For higher precision and VBR.
 -c + file.cddb, file.cue or "query". Get splitpoints and filenames from a
      .cddb or .cue file or from Internet ("query"). Use -a to auto-adjust.
 -t + TIME: to split files every fixed time len. (TIME format same as above).
 -s   Silence detection: automatically find splitpoint. (Use -p for arguments)
 -a   Auto-Adjust splitpoints with silence detection. (Use -p for arguments)
 -p + PARAMETERS (th, nt, off, min, rm, gap): user arguments for -s and -a.
 -o + FORMAT: output filename pattern. Can contain those variables:
      @a: artist, @p: performer (only CUE), @b: album, @t: title, @n: number
 -d + DIRNAME: to put all output files in the directory DIRNAME.
 -k   Consider input not seekable (slower). Default when input is STDIN (-).
 -n   No Tag: does not write ID3v1 or vorbis comment. If you need clean files.
 -q   Quiet mode: do not prompt for anything and print less messages.

Verwendung

Anzeige der Syntax für mp3splt.

$ mp3splt

Weblinks

Herausgeber Sprache Webseitentitel Anmerkungen
country US.gif Mp3splt Project eng Mp3splt Project Homepagewbm Offizielle Homepage
country US.gif Wikipedia eng Mp3spltwbm Enzyklopädischer Artikel