Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How does one embed artwork during FLAC → ALAC conversion?

ffmpeg -i track.flac -acodec alac track.m4a

transfers metadata but not artwork.

share|improve this question
up vote 4 down vote accepted

I think FFmpeg can't do that – M4A files store metadata in a strange way compared to FLAC, or MP3, or OGG. You can, however, use AtomicParsley as detailed in this answer to a very similar question. In summary:

ffmpeg -i input.flac -vn -c:a alac output.m4a cover.jpg
AtomicParsley output.m4a --artwork cover.jpg --overWrite
share|improve this answer
Is there a way to compel ffmpeg to dump the image file without converting it, no matter the format? (give us a png if the stream is png, and a jpeg if the stream is jpeg) – retrography May 23 '15 at 18:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.