Linux下ape切分并转换为mp3

#转化为flac
ffmpeg -i test.ape  test.flac
# 分割
iconv -f gbk -t utf8 test.cue > test_utf8.cue
shntool split -t "%n.%p.%t" -f test.cue -o flac test.flac -d output
# flac转为mp3
flac -cd test.flac  | lame  --preset insane test.mp3

也可以flac直接分割成mp3

shntool split -t "%n.%p.%t" -f CD01.cue -o "cust ext=mp3 lame -b 320 - %f" CD01.flac -d output

 

Leave a Reply

Your email address will not be published. Required fields are marked *