Skip to main content

Topic: EAC to ALAC (.M4A) using ffmpeg (Read 5879 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
EAC to ALAC (.M4A) using ffmpeg
just to let you know if you want to use EAC to output M4a files you can use ffmpeg to do this and get tagging.  The best command line I have come up with is:

-i %source% -metadata "ARTIST=%artist%" -metadata "TITLE=%title%" -metadata "ALBUM=%albumtitle%" -metadata "DATE=%year%" -metadata "TRACK=%tracknr%" -metadata "GENRE=%genre%" -metadata "ALBUM_ARTIST=%albuminterpret%" -metadata "COMPOSER=%composer%" -metadata "DISCNUMBER=%cdnumber%" -metadata "COMMENT=CRC:%TRACKCRC%" -metadata "TOTALTRACKS=%numtracks%" -acodec alac %dest%

Sorry if this is old news, if there are any better command lines, a link to the forum post would be appreciated.


  • butt257
  • [*]
EAC to ALAC (.M4A) using ffmpeg
Reply #1
Long time reader, first time poster at HA for me. Starting my lossless ALAC archive using EAC, used this command line from the wiki. However how do I modify it so it will embed album art?

Please forgive me, I have no clue when it comes to code; I tried adding -metadata "ARTWORK=%coverfile%". Do I need to use %hascover% anywhere?

I'm assuming that if I've done it right, the file icons in windows should change to the album art?
  • Last Edit: 05 March, 2013, 08:18:34 AM by db1989

  • themanuel
  • [*]
EAC to ALAC (.M4A) using ffmpeg
Reply #2
I have the same problem, except that I would also like to add lyrics from freedb.
Can anybody help with the command parameters necessary to achieve this with EAC and ffmpeg ALAC?
  • Last Edit: 05 March, 2013, 08:18:41 AM by db1989

  • themanuel
  • [*]
EAC to ALAC (.M4A) using ffmpeg
Reply #3
Never mind.
I could not get it to work and ffmpeg's documentation is not very helpful.

I used qaac instead, and instead and it works great.

  • marc2003
  • [*][*][*][*][*]
  • Developer
EAC to ALAC (.M4A) using ffmpeg
Reply #4
^or you could use refalac - from the same developer as qaac.

refalac is a win32 command line ALAC encoder/decoder based on open source reference implementation by Apple.

refalac shares much of codes and functionalities with qaac. Therefore, it is packed in the same archive with qaac. However, refalac doesn't require QuickTime or other Apple components. Under x64 environment, you can use refalac64.exe in the zip archive. It's a bit faster than 32bit version.