歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> Linux下用shntool通過cue實現無損音樂的分割

Linux下用shntool通過cue實現無損音樂的分割

日期:2017/3/1 16:22:13   编辑:關於Linux
Linux下用shntool通過cue實現無損音樂的分割 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
Copyright © Linux教程網 All Rights Reserved