Homepage: http://nyaochi.sakura.ne.jp/xoops/modules/...write/tc_6.html
Download URL: http://nyaochi.sakura.ne.jp/xoops/modules/...id=1&lid=14
Cuesheet Processor (CueProc) is a command-line tool for converting audio CD images into another format such as WAV, MP3, Ogg Vorbis, MP4, MPC, WMA, etc. The functions of this tool can be summarized:
- Parse a cuesheet (a .cue or audio file with the cuesheet embedded). Field values in a cuesheet (e.g., TITLE, PERFORMER, REM DATE, etc) will be used by the latter job.
- Read audio data in a CD image (supported format: FLAC, Monkey's Audio, WavPack, WAVE).
- Extract tracks in a CD image to individual WAVE files.
- Execute an external encoder with predefined command-line arguments for each track. CueProc sets appropriate command-line arguments (e.g., naming for output files, tagging, etc) automatically by specifying a codec.
- Execute an external encoder with configurable command-line arguments.
- Send audio stream of each track to STDIN of the external encoder.
- Enumerate cuesheets recursively under a directory.
- Process multiple cuesheets at a time, which is useful for converting an audio collection into a lossy format.
- Skip encoding when the corresponding output file exists, which is useful for converting new CD images only.
CODE
> cueenc.bat -c oggenc -p "-q4" CDImage.cue
> cueenc.bat -c lame -p "-V5 --vbr-new" CDImage.wv
> cueenc.bat -c neromp4 -p "-br 128000" --target list.txt
> cueenc.bat -c lame -p "-V5 --vbr-new" CDImage.wv
> cueenc.bat -c neromp4 -p "-br 128000" --target list.txt
Pros of CueProc over ACDIR
- Most part of the source code is written in Python. Audio extraction program (getaudio.exe) is written in C/C++ for faster decoding-speed.
- Predefined command-line patterns for Ogg Vorbis encoder (oggenc.exe), LAME MP3 encoder (lame.exe), Fraunhofer IIS MP3 Surround Commandline Encoder V1.2 (mp3sencoder.exe with tag.exe), Helix MPEG Layer III audio encoder v5.1 (hmp3.exe with tag.exe), MusePack encoder (mppenc.exe), Microsoft ® Windows Media Encoder Command Line Script Utility (WMCmd.vbs via cscript.exe), AACPlus v2 Encoder using Winamp 5.3 enc_aacplus.dll (enc_aacplus.exe, mp4box.exe, neroaactag.exe), Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder (neroaacenc_sse2.exe, neroaactag.exe).
- Simplified and reasonable syntax of variables and conditions. Variables are now expressed wither ${variable} or $variable. Conditions, #if{condition}-#elif{condition}-#else-#endif are now expressed in Python code snippets.
- Comprehensible variables. Try --show-variables option with your cuesheet to see the list of variable values.
- Full Unicode support internally even though we still can't pass UTF-8 values properly in a command line (without Win32 UTF-8 locale).
- Configurable character encoding (-w option) to parse cuesheets. CueProc can read cuesheet in any character encoding supported by Python 2.5, as well as UTF-8 cuesheets.
- Much larger binary size because it is compiled by py2exe.
