Oriiginal source is concert DVD.
Extracted dolby digital as single file.
Converted to 16/48 stereo wav with ffmpeg
Created cue sheet based on chapters (multiplied fractions of second by 75 to get two digit frame)
compressed wav with flac importing the cue sheet primarily as a test of the cue sheet.
But now I want to split the wav according the cue sheet. How do I do that in Linux?
Oddly I did not see an option in sox for that. Search of the man page for cue only brought up earwax.
There has to be some CLI utility that will split a wav file according to a cue sheet. There's gotta be something.
I looked at the http://wiki.hydrogenaudio.org/index.php?ti...sheet#Splitting (http://wiki.hydrogenaudio.org/index.php?title=Cue_sheet#Splitting) page but every app I looked at seems to be Windows.
Thanks.
I use the following command:
cuebreakpoints sample.cue | shnsplit -o wav sample.wav
You need to have cuetools and shntool installed. Shntool also handles flac input files natively and can output to flac using "-o flac".
I use the following command:
cuebreakpoints sample.cue | shnsplit -o wav sample.wav
You need to have cuetools and shntool installed. Shntool also handles flac input files natively and can output to flac using "-o flac".
Thanks!
``shnsplit: error: m:ss.ff format can only be used with CD-quality files''
I guess it doesn't like 48000 but I'm guessing I can use m:ss:nnn - I think though I'm on the right track now. Thanks!
I'm guessing I can use m:ss:nnn - I think though I'm on the right track now. Thanks!
Indeed, that worked. Simple text file with mm:ss.nnn - one for each split point - cat that and pipe the output to shnsplit worked.
Thanks!
Odd that m:ss.ff only works with CD-quality audio, but I'm glad you made it work! :-)
E: Or maybe it isn't so odd after all. the .fff must refer to frame number, which signifies 6 samples in Red Book audio. So it wouldn't make a lot of sense in a 48000hz context.