Giter Site home page Giter Site logo

chase2v / checkmate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sjord/checkmate

0.0 0.0 0.0 339 KB

Checkmate MP3 Checker is a free program that checks MP3 files for errors.

Home Page: http://checkmate.gissen.nl/

License: GNU General Public License v2.0

Makefile 0.33% Shell 19.70% M4 0.43% C 75.69% C++ 1.99% Roff 0.91% Objective-C 0.94%

checkmate's Introduction

Checkmate MP3 checker

Checkmate MP3 Checker is a free program that checks MP3 files for errors. It scans MP3 files to see if the frames are where they are supposed to be, whether the frame headers are correct and whether the frame headers are consistent throughout the file. It reports some information on each file and an indication whether the file is good or bad.

There are two interfaces available:

  • Checkmate MP3 Checker, a Windows interface that looks like Windows Explorer;
  • mpck, a command line program that runs on multiple platforms.

Download the latest release.

Checkmate MP3 Checker

Checkmate MP3 Checker is a Windows interface to check MP3 files:

Checkmate MP3 Checker screenshot

You can download the Windows executable on the releases page.

Mpck

Example:

$ mpck '001 Katy Perry - Dark Horse (feat. Juicy J).mp3'
SUMMARY: 001 Katy Perry - Dark Horse (feat. Juicy J).mp3
    version                       MPEG v1.0
    layer                         3
    bitrate                       320000 bps
    samplerate                    44100 Hz
    frames                        8250
    time                          3:35.510
    unidentified                  0 b (0%)
    errors                        none
    result                        Ok

Building

If your release does not have configure, first run

./autogen.sh

After that, it is the normal build method:

./configure
make
make install

For Windows there is a Visual Studio project in the vc++ directory.

Usage

Usage: mpck [OPTION]... [FILE]...

Verbosity:
   -v, --verbose        print some extra info
   -q, --quiet          print only Ok or Bad per file
   -B, --badonly        only report bad files
Other options:
   -R, --recursive      check directories recursively
   -e, --extention=EXT  only check files ending on .EXT
   -r                   short for -R -e mp3
   -m, --maxname=NUM    report bad for filenames which exceed NUM characters
   -n, --namecheck      check for strange characters in the filename
   -x, --xmloutput      output results in XML
   -h, --help           print this help, then exit
   -V, --version        print version information

Output

If all is well, mpck will output something like this:

SUMMARY: mp3/test.mp3
    version                       MPEG v1.0
    layer                         3
    bitrate                       128000 bps
    samplerate                    44100 Hz
    frames                        7271
    time                          3:09.936
    unidentified                  0 b (0%)
    errors                        none
    result                        Ok

Occasionally, something goes wrong and mpck prints an error. It has one of the following formats:

  1. mpck: stat on blah failed
  2. mpck:bla: foo bar error
  3. mpck:bla:34003: yet another error

Number 1 indicates a general error. Number 2 means an error occured in file bla. Number 3 says an error occured in file bla, at offset 34003 (decimal).

Exit status

mpck returns one of the following values:

0               Everything went OK and no broken files were found.
1               Everything went OK, but at least one broken file was found.
2 (ENOENT)      File or directory not found, stat failed.
4 (EINTR)       The program received a SIGINT.
5 (EIO)         Read error.
12 (ENOMEM)     Malloc failed due to memory shortage.
21 (EISDIR)     The given file is a directory.
22 (EINVAL)     Invalid argument, no filename supplied.
36 (ENAMETOOLONG) File extention or file name is too long.

License

Both Checkmate mpck and Checkmate MP3 checker are licensed under the GNU General Public License, which gives you permission to modify and distribute the software as you like, as long as you include the source code.

checkmate's People

Contributors

sjord avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.