FFmpeg conver cue-ape to splitted flac: различия между версиями

Материал из AlexNook
Перейти к навигацииПерейти к поиску
(Новая страница: «Если есть условный CD диск, который захватили в ape+cue формате, когда все аудио дорожки размещены в одном файле-контейнере, и требуется получить из него все аудиотреки каждый в своём файле, то можно воспользоваться связкой ffmpeg + shnsplit Для этого используем с...»)
 
Строка 5: Строка 5:
Для этого используем следующие две команды
Для этого используем следующие две команды


<syntaxhighlight lang="bash" line start="1" line="GESHI_FANCY_LINE_NUMBERS" enclose="div">
# convert APE to FLAC:
# convert APE to FLAC:
ffmpeg -i cd.ape cd.flac
ffmpeg -i cd.ape cd.flac
Строка 15: Строка 16:
# tool is fucking awesome, but you need the "mac" encoder. This is a pain in the ass to get
# tool is fucking awesome, but you need the "mac" encoder. This is a pain in the ass to get
# on ubuntu and ffmeg has the ability to convert APE, so I just show that way here.
# on ubuntu and ffmeg has the ability to convert APE, so I just show that way here.
</syntaxhighlight>


Мы сперва конвертируем APE во FLAC, а затем вторая команда режет его на отдельные файлики с треками.
Мы сперва конвертируем APE во FLAC, а затем вторая команда режет его на отдельные файлики с треками.
Строка 21: Строка 24:


==Ссылки==
==Ссылки==
[https://gist.github.com/a-r-d/f4b3304cfba87dcadf01|How to take an annoying APE + CUE file cd rip and convert it into a set of FLAC or MP3 files on ubuntu.]
[https://gist.github.com/a-r-d/f4b3304cfba87dcadf01 How to take an annoying APE + CUE file cd rip and convert it into a set of FLAC or MP3 files on ubuntu]


[[Category:Index]]
[[Category:Index]]
[[Category:Video]]
[[Category:Video]]

Версия 15:19, 8 сентября 2025

Если есть условный CD диск, который захватили в ape+cue формате, когда все аудио дорожки размещены в одном файле-контейнере, и требуется получить из него все аудиотреки каждый в своём файле, то можно воспользоваться связкой

ffmpeg + shnsplit

Для этого используем следующие две команды

# convert APE to FLAC:
ffmpeg -i cd.ape cd.flac

# Now, split your FLAC file. Credits for method go to the arch linux wiki:
# https://wiki.archlinux.org/index.php/CUE_Splitting
shnsplit -f cd.cue -t "%n %t" -o flac cd.flac 

# one more note, you can go directly from APE -> FLAC with shnsplit because that
# tool is fucking awesome, but you need the "mac" encoder. This is a pain in the ass to get
# on ubuntu and ffmeg has the ability to convert APE, so I just show that way here.


Мы сперва конвертируем APE во FLAC, а затем вторая команда режет его на отдельные файлики с треками.


Ссылки

How to take an annoying APE + CUE file cd rip and convert it into a set of FLAC or MP3 files on ubuntu