2
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Thumbnail付きFLACファイルをALAC(Apple Lossless)に変換

Last updated at Posted at 2018-10-09

目的

FLAC形式でハイレゾ音源を購入したが、iTunesで扱うにはALAC(Apple Lossless)形式の方が都合がいいので変換する、、手順の備忘録。

環境

Macbook Pro / macOS X mojave

手順

必要になるツールをインストール

brew install ffmpeg 
brew install atomicparsley

コマンドの実行

まずオーディオ部分の形式の変換を以下の通り実行

ffmpeg -i 01-上を向いて歩こう.flac -vn -acodec alac 01-上を向いて歩こう.m4a

今回購入した音源はサムネイルがついていたのでその取り出し。

ffmpeg -i 01-上を向いて歩こう.flac artwork.jpg 

変換したALACファイルにサムネイルを付加

AtomicParsley 01-上を向いて歩こう.m4a --artwork artwork.jpg --overWrite

以上で画像もメタデータもそのままにFLACに変換できます。

2
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?