eva使用心得

Linux下用shntool通过cue实现无损音乐的分割

dcy posted @ 2009年12月16日 05:10 in Linux , 9107 阅读

ape和flac都是无损音乐格式,音质当然比mp3好很多了,没有杂音。因为最近想在手机上听ape或者flac的歌,所以在电驴上下了一些,不过速度超慢,没办法,教育网。

下载的都是整张专辑了的,要通过cue分割。

首先安装工具sudo apt-get install flac shntool;

再用gedit把cue另存为utf-8,不然乱码;

 

分割flac:

shntool split -t "%n.%p-%t" -f xxx.cue -o flac xxx.flac -d output

-d 指定分轨后的falc文件的输出目录,不指定的话在当前目录生成

-t 指定输出文件的文件名格式,%n是音轨号,%p是演奏者/艺术家, %t标题;feng

 

分割ape:

shntool split -t "%n.%p-%t" -f xxx.cue -o ape xxx.ape -d output

 

分割加转换:

 

shnsplit -f CDImage.cue -i ape -t '%t' -o flac CDImage.a

-f 后面为cue文件,保存分段信息 -i 为输入格式 可以是ape wav flac等

-t 后面是输出文件名 '%t'表示用cue中的"标题"来命名输出文件名(这个%t,%n等等与标准的tag表示相同) -o flac表示输出flac格式

 

 

 

转换:

 

shnconv -i ape -o flac xxx.ape
shnconv -i flac -o ape xxx.flac
flac temp.wav example.flac

 

 

weakish 说:
2013年7月14日 17:59

> 再用gedit把cue另存为utf-8,不然乱码

批量轉的話可以考慮用iconv,方便寫腳本。

Alyssa 说:
2022年12月18日 20:50

Good to see the details shared here regarding the lossless music segmentation peter veres breast cancer doctor details shared here. Through this post, you will get a simple code associated with it. I am looking for more details associated with these and keep sharing more details here. Keep up the good work.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter