[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

OT: flac splitting according to .cue file.



Good time of the day.


Excuse me for off topic, please.

I try to split a big flac file into separate tracks it contains
according to .cue file I have w/ this command:

$ shnsplit -o wav -f 1.cue 1.flac

when I get:

shnsplit: error: value not in bytes, m:ss, m:ss.ff, or m:ss.nnn format:

then I tried to do so w/

$ awk '/INDEX/{split($3,t,":"); printf
t[1]":"t[2]":%03d\n",t[3]*1000/75;}' 1.cue | shnsplit -o wav
1.flac

but it ends up w/ the following:

awk: /INDEX/{split(,t,":"); printf t[1]":"t[2]":%03d
awk:                       ^ syntax error
awk: fatal: 0 is invalid as number of arguments for split
shnsplit: error: no split points given -- nothing to do

I guess it should work...

The .cue file has such lines:

...
INDEX 01 00:00:00
INDEX 01 04:01:30
INDEX 01 06:54:50
...

If You have any suggestion, please share it w/ me. :)


Thanks for Your time.


Reply to: