Options --skip and --until are useful to extract a
partial audio stream in an input audio. However, they
are not handy to extract individual tracks from a FLAC
file representing the whole CD image since audio CDs
employ mm:ss:ff format where ff ranges from 0 to 74 and
1/75 is 0.0133... Even though FLAC supports embedded
cuesheet, some users don't like an embedded cuesheet
for several reasons (compatibility, editablity, etc).
This patch enhance --skip and --until options to accept
"mm:ss:ff" format as well as "mm:ss.ss" format. This will
enable to extract individual tracks in an audio CD simply
by writing a small script with a cuesheet parser. The
patch is against flac 1.1.2.
I'm an author of ACDIR (Audio CD Image Reader):
http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_2.html
This patch was created while preparing the next
generation of ACDIR. I hope this patch will be of help
for other programs using the FLAC command-line tool.
Best wishes,
Nyaochi
Naoaki Okazaki
2006-09-10
Patch against flac 1.1.2
Josh Coalson
2006-11-10
Josh Coalson
2007-07-26
Logged In: YES
user_id=78173
Originator: NO
the problem is that frames only make sense for CD rate (44.1kHz) but --skip and --until syntax has to work for any rate, e.g. what if someone uses mm:ss:ff on a 16kHz file? I still need to figure out the best way to handle it.