apeinfo is CLI (command line interface) program designed to display tag data and audio format information for APE (Monkey's Audio) files.
Monkey's Audio is a lossless audio compression format, similar to FLAC. It's become fairly popular, but suffers from two primary limitations; very limited cross-platform support (only Windows is officially supported), and a non-free license (note: this may have recently changed). As a result, I wanted an easy way to convert APE files to the FLAC format, which is my preferred lossless compression format. There are no available CLI APE tag readers available for Linux at the time of this writing, so I modified a sample program included in the MAC distribution to output this information. I then use this information in my Convert to FLAC script to migrate the APE tags to the new FLAC file.
apeinfo is written in C++, and utilizes the MAC (Monkey's Audio Codec non-win32 ports) libraries written by Matthew T. Ashland. Also, special thanks to Bill Anderson for his much appreciated assistance with developing and troubleshooting apeinfo.
apeinfo 1.1 (64-bit) binary (140.3 KB) - This is a 64-bit compiled version of apeinfo. It was compiled on a Kubuntu Linux system with GCC 4.3.3 and glibc 2.9.
apeinfo 1.0 (32-bit) binary (127.54 KB) - This is a 32-bit compiled version of apeinfo. It was compiled on a Gentoo Linux system with GCC 3.4.4 and glibc 2.3.5.
apeinfo 1.1 source (6.75 KB) - This is the apeinfo source code. If you receive any error messages when trying to run the binary version, try using this instead. To compile it, also download the MAC source code and follow the instructions below.
ChangeLog - apeinfo development details
Installation of the apeinfo binary is simple:
chmod a+x /usr/local/bin/apeinfo)
Try executing apeinfo after installation. If it returns usage information, then you're good to go. If you get any error messages, then you'll likely need to follow the compilation instructions below.
To compile apeinfo, follow these steps
./configure --disable-shared --enable-static && make
mac-<version>/src/Examples/Analyze/Sample1/apeinfoto a directory in your $PATH (eg,
apeinfo to verify that compilation and installation was successful. Once apeinfo is installed, you can delete the MAC source code if you'd like.
apeinfo -h to display the apeinfo help information. This will describe the syntax for running the program and list all available options. Depending on which option is used, apeinfo will display detailed information about the given APE file, or will display a list of all tags in VORBISCOMMENT format. The VORBISCOMMENT tags can be be applied to another file using a separate program, such as Convert to FLAC.