根据cue文件分割ape和flac的方法

本来在ubuntu-cn的blog上发了,但是好像那个blog系统换了,以前的日志也没有了。

今天瓣瓣问了才想起来这个,还好在其他论坛发过一份,还能找到。

现在再弄回来,以便以后用到。

=========================================

因为习惯用quod libet,而它不支持ape,偏偏我很多用驴子down下来的无损都是ape
而且,我的Meizu mp3可以支持flac,不支持ape,而且,整轨的flac我的mp3也放不了。
所以,就开始折腾,把整轨的ape分轨成flac输出来。
查了很多资料,终于搞定了!

先下载这个,是monkey’s audio cadec
http://forum.ubuntu.org.cn/download/file.php?id=44380
然后编译安装,这个很简单.

./configure
make
make install

我编译的时候没发现什么依赖问题,一路顺利!

下面的方法其实也是别人blog的,忘了是哪位大虾的了,先感谢一下。

需要的工具有flac,shntool ,ubuntu下安装:

$sudo apt-get install flac shntool

然后
$ shntool split -t “%n.%p-%t” -f example.cue -o ape example.ape -d output

-d 指定分轨后的falc文件的输出目录,不指定的话在当前目录生成
-t 指定输出文件的文件名格式,%n是音轨号,%p是演奏者/艺术家, %t标题

哈哈,爽了!

fox@fox-laptop:/media/Media/音乐/中文/云之南2$ shntool split -t “%n – %t” -f 群星.-.\[云之南2峡谷圣诗\].专辑.\(ape\).cue -o flac 群星.-.\[云之南2峡谷圣诗\].专辑.\(ape\).ape
shntool [split]: warning: discarding initial zero-valued split point
Splitting [群星.-.[云之南2峡谷圣诗].专辑.(ape).ape] (66:16.35) –> [01 – 云之南.flac] (5:00.62) : 100% OK
Splitting [群星.-.[云之南2峡谷圣诗].专辑.(ape).ape] (66:16.35) –> [02 – 峡谷圣诗(僳粟族).flac] (6:17.63) : 100% OK
Splitting [群星.-.[云之南2峡谷圣诗].专辑.(ape).ape] (66:16.35) –> [03 – 孔雀公主(傣族).flac] (5:09.12) : 100% OK
Splitting [群星.-.[云之南2峡谷圣诗].专辑.(ape).ape] (66:16.35) –> [04 – 小河淌水(汉族).flac] (5:49.15) : 100% OK
Splitting [群星.-.[云之南2峡谷圣诗].专辑.(ape).ape] (66:16.35) –> [05 – 茶马古道(滇西北).flac] (6:34.70) : 100% OK
Splitting [群星.-.[云之南2峡谷圣诗].专辑.(ape).ape] (66:16.35) –> [06 – 绿风(哈尼族).flac] (7:19.65) : 100% OK
Splitting [群星.-.[云之南2峡谷圣诗].专辑.(ape).ape] (66:16.35) –> [07 – 美丽的瑞丽江(傣族).flac] (5:48.45) : 100% OK
Splitting [群星.-.[云之南2峡谷圣诗].专辑.(ape).ape] (66:16.35) –> [08 – 玉龙雪山(纳西族).flac] (5:40.35) : 100% OK
Splitting [群星.-.[云之南2峡谷圣诗].专辑.(ape).ape] (66:16.35) –> [09 – 摇篮曲(独龙族).flac] (4:37.65) : 100% OK
Splitting [群星.-.[云之南2峡谷圣诗].专辑.(ape).ape] (66:16.35) –> [10 – 太阳神祭(景颇族).flac] (5:10.05) : 100% OK
Splitting [群星.-.[云之南2峡谷圣诗].专辑.(ape).ape] (66:16.35) –> [11 – 香格里拉之梦(藏族).flac] (8:47.48) : 100% OK

Join the Conversation

3 Comments

  1. ape2flac 理论上是无损的。但是切割完后,估计又是损失……现在我都整轨听了

    ubuntu的blog原来的还在,只是域名换了old.blog.ubuntu.org.cn

    好像是这个,论坛管理有公告的。

    1. 损了多少。。但是至少损失之后也算是有损的无损吧,超过320k mp3没问题吧?

Leave a comment

Leave a Reply to Lavande Cancel reply

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