Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: EAC to ALAC (.M4A) using ffmpeg (Read 8214 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.

Regards
Simon

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?

 

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?

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.

EAC to ALAC (.M4A) using ffmpeg

Reply #4
^or you could use refalac - from the same developer as qaac.

https://github.com/nu774/qaac/wiki/refalac-usage

Quote
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.