FLAC to M4A conversion
Does anyone know if iTunes will automatically convert FLAC to M4A.
Thanks
Rick
4GHz Core i7 12 Gig Ram RAID Water Cooled, Windows 7
4GHz Core i7 12 Gig Ram RAID Water Cooled, Windows 7
If you are not command-line averse, I have put together a little iTunes for Windows automation script that converted all my FLAC library to Apple Lossless in a couple of hours.
Beware that the current (as of Feb 2012) version has some limitations:
Do not hesitate to drop me a line if you run into a bug or need any of the above limitations addressed, or fork my script on GitHub if you are into IT yourself.
trikki69 wrote:
Hi, as per title really.
Does anyone know if iTunes will automatically convert FLAC to M4A.
Thanks
Rick
trikki69 wrote:
Hi, as per title really.
Does anyone know if iTunes will automatically convert FLAC to M4A.
you can use the program MAX-(http://sbooth.org/Max/) its very user friendly, free and is a great program. you can convert to apple lossless. the only problem i have is when the files come with cue sheet (queue) it will import without any labels
i use two programs when i use a converter program on my computer it is free audio converter be aware it only converts to one lossless format besides and that format is wav because wav has not metadata you will you have to get the track numbers and add puncuation, removes the numbers infront of the track numbersand maybe get album name but a soon as you do that you go to edit then prefrences then import settings the click apple lossless or aac (you could also convert the files to aac within free audio converter so this is mostly for apple lossless) once you do that high light the songs then press create apple lossless version then delete all the wav files. there will be no loss in quality in this conversion because they are both lossless. if you want to convert with a program that converts very easy and converts it straight to apple lossless with no loss of track names get dbpoweramp. be aware this program cost money but is very easy to use and you can even rip cds in many formats. the link to free audio converter is http://download.cnet.com/Free-Audio-Converter/3000-2140_4-10893961.html
the link to db power amp is http://www.dbpoweramp.com/
Hi Dmitry,
I try out your script and it work beautifull but it can not handle the file name with blank.
Use flac.exe -d "name with blank" and it work .
Try to put comment in your website and it wont let me keep ask me to inpout password .
Any chance to improve "js" script - i look at it and did not understand it well with all parsing
Hi louist1,
I have fixed the comment issue in my blog theme - thanks for pointing me to the problem!
However, I do not understand the issue you are having with the script, as it does put double quotes around all pathnames. In fact, almost all files I have converted had blanks in their pathnames. Can you please elaborate so that I could reproduce the issue?
Dmitry
http://www.hootech.com/formats/alac/convert-flac-to-alac.htm
You should let people know that the trial version will only convert 60% of the source file. Would like to know stuff like this before downloading software and installing it on my computer.
iTunes will not convert it for you... but you can easily do it yourself using ffmpeg.
http://ffmpeg.org/download.html
Here is an example:
M:\flac>ffmpeg -i "M:\flac\Left Side.flac" -acodec alac "M:\flac\Left Side.m4a"
The solution is so simple, Apple rather keep to their own proprietory formats instead of actually providing a service to their customers to pay loads of money for their hardware.
It seems that iTunes does not support FLAC at all, let alone to automatically convert FLAC to M4A. If you prefer to convert FLAC to M4A, you need a FLAC to M4A Converter to help you. There are many converters online. You can choose one that suits you.
From an articl which informs us how to convert FLAC to M4A without any quality loss, I learn that:
FLAC (Free Lossless Audio Codec) is an audio coding format for lossless compression of digital audio. Because of the nature of royalty-free and lossless high quality, FLAC is quite popular today. Unfortunately, the playback support of FLAC format is limited in portable audio devices, especially iTunes, iPhone, iPod and iPad.
Compared with FLAC, M4A file is a MPEG-4 Audio File with AAC or ALAC codec, and has a much better compatibility with Apple devices, since it is developed by Apple. What's more, the size of M4A file is smaller than FLAC. Better still, converting FLAC to M4A (with AAC codec) will not loss too much quality, or without any quality loss if you convert FLAC to M4A with ALAC codec. That's why more and more people choose to convert FLAC to M4A.
Scouring the interwebs, I found some methods of converting from FLAC to m4a if you don't mind using the command-line in Terminal. With both options make sure Homebrew is installed which is a package manager that will allow you to install the requisite tool.
Using ffmpeg
Make sure ffmpeg is installed (google Homebrew to install) and type:
ffmpeg -i [infile].flac -acodec alac [outfile].m4a
(There are a few shell script gists on Github named flac2alac which use ffmpeg and will preserve tags: https://gist.github.com/)
Using flac and afconvert
Make sure flac is installed (google Homebrew to install) and type:
flac -s -d --force-aiff-format -o [tempfile].aiff [infile].flac
afconvert -f m4af -d alac [tempfile].aiff [outfile].m4a
(This shell script gist was helpful: https://gist.github.com/mlen/4379799)
This will convert to a temporary loss-less aiff file, then using Apple's command-line utility afconvert, to loss-less m4a. You can then delete the temporary aiff file.
The limitation of this approach is that the temporary aiff file generated has a maximum capacity of 2GB, which one of my files would have exceeded. So I needed to use another approach for this file.
Using flac only
I was also able to convert directly from FLAC to m4a using flac only, but the resulting files were twice as large. It seems flac doesn't apply any compression, whereas afconvert and ffmpeg compress the resulting files.
Regards,
D.
dbpoweramps always has work for me and it converts and rips very fast and al the files ive converted with it has been accepted by itunes
as per above db poweramp is my favourite. Note: DO NOT use Foxtab audio coverter for mp3s as it will only convert at 64 kbps
FLAC to M4A conversion