Skip to content

Instantly share code, notes, and snippets.

View thekiba's full-sized avatar
🦊
What Does The Fox Say?

Reactive Fox thekiba

🦊
What Does The Fox Say?
View GitHub Profile
@thekiba
thekiba / gist:6943266
Last active February 14, 2018 11:28 — forked from vol4ok/gist:2587886
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