MP3CHECK(1)
π NAME π
mp3check β check mp3 files for consistency π
β¨ SYNOPSIS β¨
mp3check [-03ABCEFGIKLMNPRSTWYZabcdefghlmopqrst] [--accept=LIST]
[--alt-color] [--anomaly-check] [--any-bitrate] [--any-crc]
[--any-emphasis] [--any-layer] [--any-mode] [--any-sampling]
[--any-version] [--ascii-only] [--color] [--compact-list] [--cut-junk-
end] [--cut-junk-start] [--cut-tag-end] [--dummy] [--dump-tag] [--dump-
header] [--dump-tag] [--edit-frame-byte=P] [--error-check]
[--error-check] [--filelist=FILE] [--fix-crc] [--fix-headers] [--help]
[--ign-bitrate-sw] [--ign-constant-sw] [--ign-crc-error] [--ign-junk-
end] [--ign-junk-start] [--ign-non-ampeg] [--ign-resync] [--ign-tag128]
[--ign-truncated] [--list] [--log-file=FILE] [--max-errors=NUM]
[--only-mp3] [--print-files] [--progress] [--quiet] [--raw-elem-sep=NUM]
[--raw-line-sep=NUM] [--raw-list] [--recursive] [--reject=LIST]
[--show-valid] [--single-line] [--version] [--xdev] [--] [FILES...]
π¦ DESCRIPTION π¦
Okay bestie, real talk: this manual page is a brief lil rundown of the mp3check command. It was written for the Debian GNU/Linux distribution because the original program literally doesn't have a manual page of its own β so we adopted it and gave it a glow-up. π«Ά
mp3check is that girl who checks your mp3 files for consistency and then prints a whole bunch of errors and warnings at you. It also lists your stream attributes (color π
). Currently supported: Layer 1, 2, 3 and mpeg1.0+2.0. There's CRC checking for layer 3. π₯
She's genuinely useful for spotting incomplete mp3s, because you can point her at your entire mp3 collection and she'll sniff out every single mp3 that isn't perfect. Great for use with Napster and other bulk downloading of mp3s. No cap. π
π OPTIONS π
These programs follow the usual GNU command line syntax, with long options starting with two dashes (-). Options can be specified in any order and mixed with files. Option scanning stops after a double dash (--) to allow files beginning with a dash. A summary of options is included below. π
πΈ mode:
-l,--listβ list parameters by examining the first valid header and size β¨-c,--compact-listβ list parameters of one file per line in a very compact format: version (l=1.0,L=2.0), layer, sampling frequency [kHz] (44=44.1), bitrate [kbit/s], mode (js=joint stereo,st=stereo,sc=single channel,dc=dual channel), emphasis (n=none,5=50/15 usecs,J=CCITT J.17), COY (has[C]rc,[O]riginal, cop[Y]right), length [min:sec], filename (poss. truncated) π-e,--error-checkβ check crc and headers for consistency and print several error messages π-m,--max-errors=<int>β with-e: set maximum number of errors to print per file (0==infinity) (range=[0..]) π€-a,--anomaly-checkβ report all differences from these parameters: layer 3, 44.1kHz, 128kbps, joint stereo, no emphasis, has crc-d,--dump-headerβ dump all possible header withsync=0xfffπ«-t,--dump-tagβ dump all possible tags of known version π·οΈ--raw-listβ list parameters in raw output format for use with external programs π--raw-elem-sep=NUMβ separate elements in one line by charNUM(numerical ASCII code) (default="0x09") β--raw-line-sep=NUMβ separate lines by charNUM(numerical ASCII code) (default="0x0a") β--edit-frame-byte=Pβ modify a single byte of a specific frame at a specific offset;Bhas the format'frame,offset,byteval', (use0xfffor hex or255for dec or0377for octal); this mode operates on all given files and is useful for your own experiment with broken streams or while testing this toll ;-) π
π§ fix errors:
--cut-junk-startβ remove junk before first frame βοΈ--cut-junk-endβ remove junk after last frame βοΈ--fix-headersβ fix invalid headers (prevent constant parameter switching), implies-e, use with care β οΈ--fix-crcβ fix crc (set crc to the calculated one), implies-e, use with care (note: it is not possible to add crc to files which have been created without crc) β οΈ
π disable error messages for -e --error-check:
-G,--ign-tag128β ignore 128 byte TAG after last frame π-R,--ign-resyncβ ignore invalid frame header π-E,--ign-junk-endβ ignore junk after last frame π-Z,--ign-crc-errorβ ignore crc errors π-N,--ign-non-ampegβ ignore non audio mpeg streams π-T,--ign-truncatedβ ignore truncated last frames π-S,--ign-junk-startβ ignore junk before first frame π-B,--ign-bitrate-swβ ignore bitrate switching and enable VBR support π-W,--ign-constant-swβ ignore switching of constant parameters, such as sampling frequency π--show-validβ print the message'valid audio mpeg stream'for all files which error free (after ignoring errors) π
π disable anomaly messages for -a --anomaly-check:
-C,--any-crcβ ignore crc anomalies π-M,--any-modeβ ignore mode anomalies π-L,--any-layerβ ignore layer anomalies π-K,--any-bitrateβ ignore bitrate anomalies π-I,--any-versionβ ignore version anomalies π-F,--any-samplingβ ignore sampling frequency anomalies π-P,--any-emphasisβ ignore emphasis anomalies π
π file options:
-r,--recursiveβ process any given directories recursively (the default is to ignore all directories specified on the command line) ποΈ-f,--filelist=FILEβ process all files specified inFILE(one filename per line) in addition to the command line π-A,--accept=LISTβ process only files with filename extensions specified by comma separatedLISTβ-R,--reject=LISTβ do not process files with a filename extension specified by comma separatedLISTβ-3,--only-mp3β same as--accept mp3,MP3π΅--xdevβ do not descend into other filesystems when recursing directories (doesn't work in Cygwin environment) π§--print-filesβ just print all filenames without processing them, then exit π¨οΈ
β¨ output options:
-s,--single-lineβ print one line per file and message instead of splitting into several lines π--no-summaryβ suppress the summary printed below all messages if multiple files are given π€«-g,--log-file=FILEβ print names of erroneous files toFILE, one per line π-q,--quietβ quiet mode, hide messages about directories, non-regular or non-existing files π€-o,--colorβ colorize output with ANSI sequences π-b,--alt-colorβ colorize: do not use bold ANSI sequences π¨--ascii-onlyβ generally all unprintable characters in filenames etc are replaced by'!'(ASCII 0-31) and'?'(ASCII 127-159), with this option present the range ASCII 160-255 (which is usually printable: e.g. ISO-8859) is also printed as'?'π€-p,--progressβ show progress information on stderr π
π common options:
-0,--dummyβ do not write/modify anything other than the logfile π«-h,--helpβ print this help message, then exit successfully π--versionβ print version, then exit successfully π
π«Ά AUTHOR π«Ά
This original manual page was written by Klaus Kettner <kk@debian.org>, for the Debian GNU/Linux system. The current version of this manpage is maintained by Johannes Overmann <overmann@iname.com>, the author of mp3check. π
Okay that's the whole thing, bestie β this was MP3CHECK(1) from the General Commands Manual, last touched up on March 1, 2001. Go forth and check those mp3s, you absolute icon. π
β¨π
π¦ where this page comes from
- debian bookworm: mp3check 0.8.7-4 Β· GPL-2.0-or-later
- debian trixie: mp3check 0.8.7-6 Β· GPL-2.0-or-later
- ubuntu jammy: mp3check 0.8.7-3.1 Β· GPL-2.0-or-later
- ubuntu noble: mp3check 0.8.7-5 Β· GPL-2.0-or-later
- ubuntu questing: mp3check 0.8.7-6
- ubuntu resolute: mp3check 0.8.7-6build1 Β· GPL-2.0-or-later
- ubuntu stonking: mp3check 0.8.7-6build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms