资 源 简 介
NAME
lossless2mp3 - a tiny Python script for batch conversion of APE and FLAC sound files to lossy MP3 format.
SYNOPSIS
lossless2mp3 START_DIRECTORY
DESCRIPTION
The script walks through the whole subtree from a specified directory, looks for FLAC and APE files, converts them to WAV first, and then to single MP3 files. After that a CUE file is used to split large MP3s into separate tracks.
Uses the standard Unix tool "nice" to prioritize processing.
lossless2mp3 has the following dependencies:
* Python 2.6/2.7
* flac to decompress FLAC files
* jmac to decompress APE files
* lame to compress WAV to MP3
* mp3splt for track splitting using CUE files
* nice for process prioritization (background/foreground). By default the script will run with the lowest priority (nice -n 19).
lossless2mp3 takes the first CUE file it finds in each directory. No conversion is done if no CUE file is found.
To i