HydrogenAudio

Lossless Audio Compression => Lossless / Other Codecs => Topic started by: simonmcnair on 2012-08-29 12:25:44

Title: EAC to ALAC (.M4A) using ffmpeg
Post by: simonmcnair on 2012-08-29 12:25:44
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
Title: EAC to ALAC (.M4A) using ffmpeg
Post by: butt257 on 2013-02-23 10:07:36
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?
Title: EAC to ALAC (.M4A) using ffmpeg
Post by: themanuel on 2013-03-05 02:37:35
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?
Title: EAC to ALAC (.M4A) using ffmpeg
Post by: themanuel on 2013-03-07 05:32:00
Never mind.
I could not get it to work and ffmpeg's documentation is not very helpful.

I used qaac (http://www.avsforum.com/t/1376017/exact-audio-copy-eac-and-apple-lossless-alac) instead, and instead and it works great.
Title: EAC to ALAC (.M4A) using ffmpeg
Post by: marc2003 on 2013-03-07 13:58:51
^or you could use refalac - from the same developer as qaac.

https://github.com/nu774/qaac/wiki/refalac-usage (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.