-
-
Save thekiba/6943266 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install flac ffmpeg cuetools # ставим нужные пакеты | |
# скачиваем cuetag.sh скрипт, например отсюда https://github.com/gumayunov/split-cue/blob/master/cuetag | |
ffmpeg -i 1.ape 1.flac # конвертируем во flac, так как libmac для APE не ставится на osx | |
cuebreakpoints 1.cue | shnsplit -o flac 1.flac #нарезаем на треки | |
cuetag 1.cue split-track*.flac #прописываем тэги (cuetag.sh ставится отдельно отдельно) | |
#конвертируем в ALAC | |
for f in *.flac | |
do | |
ffmpeg -i "$f" -acodec alac "${f%.flac}.m4a"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment