Eric Gillespie
2004-Oct-27 20:37 UTC
[Flac] Solution to single-file CD archiving, with cue sheets
I discovered FLAC earlier this year, and wrote flac-archive to
archive my CDs to single FLAC files. I've been archiving my
collection for months now, and have gotten it to a reasonable
level of stability and robustness. I recently looked over this
list's archive and saw a number of questions about doing this,
with no clear solution emerging. So, here i am to offer my
meager tools.
http://diplodocus.org/projects/audio/
At first i used cdrdao to generate the cue sheets, as some others
have talked about doing. However, it crashes on a number of my
discs. I took the TOC-reading code from MusicBrainz and turned
it into mkcue, which works on all the discs i've fed it.
flac-archive now uses this to generate cue sheets.
Also included is flac2mp3, which transcodes one of these
single-file FLAC archives into one VBR MP3 per track. This means
you can play FLAC files on your home equipment, and MP3s on your
PowerBook and iPod.
You can download both flac-archive and mkcue from the web page
above. You will need Perl >= 5.6, the MusicBrainz::Client Perl
module, cdparanoia, and GNU make. flac2mp3 additionally requires
LAME.
Hopefully people will find this of use.
--
Eric Gillespie <*> epg@pretzelnet.org
Josh Coalson
2004-Nov-02 16:07 UTC
[Flac] Solution to single-file CD archiving, with cue sheets
--- Eric Gillespie <epg@pretzelnet.org> wrote:> At first i used cdrdao to generate the cue sheets, as some others > have talked about doing. However, it crashes on a number of my > discs. I took the TOC-reading code from MusicBrainz and turned > it into mkcue, which works on all the discs i've fed it. > flac-archive now uses this to generate cue sheets.heh, I did the same thing (adapting the musicbrainz code) except mine generates a different output for the rest of my custom metadata system. it also has a little bit better hash than CDindex (which doesn't use all bits of the TOC). I offered to publish it a while back but nobody asked for it.> Also included is flac2mp3, which transcodes one of these > single-file FLAC archives into one VBR MP3 per track. This means > you can play FLAC files on your home equipment, and MP3s on your > PowerBook and iPod.there is a new option --cue in flac 1.1.1 that can replace the tedious --skip and --until calculation: http://flac.sourceforge.net/documentation.html#flac_options_cue Josh __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com
Eric Gillespie
2004-Dec-05 14:01 UTC
[Flac] Solution to single-file CD archiving, with cue sheets
I have made another flac-archive release. If this is considered
off-topic or people don't want to see it, please let me know. It
seems appropriate to me, but list culture can vary drastically.
Changes:
* Add support for running a post-processor hook after encoding to
flac is finished; this can be handy for automatically running
flac2mp3, moving the output to another location, etc.
* Support TITLE[1] .. TITLE[n] tag style in flac2mp3.
* Catch errors from flac or lame in flac2mp3.
* Fix quoting in how flac2mp3 runs flac and lame.
* New --quiet and --verbose options for flac2mp3, which are passed
on to flac and lame in the appropriate form.
* New flac2mp3 option, --lame-options, for passing additional
options to lame; --preset standard is now only the default rather
than hard-coded behavior.
--
Eric Gillespie <*> epg@pretzelnet.org