Any reasons NOT to use FLAC?, Time to rerip my CD collection. Fun! |
![]() ![]() |
Any reasons NOT to use FLAC?, Time to rerip my CD collection. Fun! |
Nov 13 2012, 22:45
Post
#1
|
|
|
Group: Members Posts: 153 Joined: 22-July 12 Member No.: 101637 |
Last year - when I didn't know any better - I decided to "archive" my entire CD collection as high-quality MP3s. Now that I realize archiving with a lossy encoder is a very bad idea, I'm going back to do it the right way.
I'm planning to use FLAC since it's free, seems to have pretty wide support, and the version of LAME I use for MP3 encoding supports FLAC inputs. Are there any good reasons NOT to go this route: CD --> Exact Audio Copy (WAV) --> FFmpeg (FLAC), retained FLAC --> LAME (MP3), retained --> MP3Gain --> album art embedder For example, is there any way to rip CDs directly to FLAC with EAC? If so, would it be possible to simultaneously create the FLAC and MP3? Will I be able to pass the album art (and other ID3 tags) from EAC to FLAC to LAME? |
|
|
|
Nov 13 2012, 22:51
Post
#2
|
|
|
Group: Members Posts: 3081 Joined: 1-September 05 From: SE Pennsylvania Member No.: 24233 |
By all means skip the intermediate wav file and go directly to FLAC.
There are tools to create both FLAC and MP3 simultaneously, but that really doesn't save you that much over creating the FLAC files and then bulk encoding them to MP3. Since you are starting a fairly large task, I would recommend that you first take a look at dBpoweramp. It's not free, but it may save you some time in the long run. This post has been edited by pdq: Nov 13 2012, 22:52 |
|
|
|
Nov 13 2012, 23:00
Post
#3
|
|
|
Group: Members Posts: 457 Joined: 16-September 06 From: United States Member No.: 35261 |
+1 on dbpoweramp. Excellent for ripping and metadata (tagging) sources, including high quality artwork. Can also do bulk conversion of your FLAC files to mp3 (or other lossy files). Best $38 I ever spent.
|
|
|
|
Nov 13 2012, 23:05
Post
#4
|
|
|
Group: Members Posts: 153 Joined: 22-July 12 Member No.: 101637 |
Thanks for the tip on dbpoweramp; I've never looked at it. Does it have a built-in method for minimizing errors on badly scratched CDs like EAC does? (Aside from AccurateRip, which I would assume they both can use.)
|
|
|
|
Nov 13 2012, 23:07
Post
#5
|
|
|
Group: Members Posts: 457 Joined: 16-September 06 From: United States Member No.: 35261 |
Thanks for the tip on dbpoweramp; I've never looked at it. Does it have a built-in method for minimizing errors on badly scratched CDs like EAC does? (Aside from AccurateRip, which I would assume they both can use.) yes. secure ripping, ultrasecure, use of Accuraterip, etc. I'd say the two most recommended secure rippers are EAC and dbpa. (I could be wrong, but I thought that Spoon, creator of dbpa, is the creator or accuraterip as well.) and by the way, ripping to FLAC is a good idea in my opinion. I'm about half way through ripping my ~10,000 CD collection, using dbpa. you'll want the reference edition, and there is a free trial. http://www.dbpoweramp.com/cd-ripper.htm This post has been edited by garym: Nov 13 2012, 23:12 |
|
|
|
Nov 14 2012, 00:28
Post
#6
|
|
|
Group: Members Posts: 431 Joined: 11-February 12 Member No.: 97076 |
Mentioning free ones, foobar2000 and CueTools/CueRipper use AccurateRip as well and they are perfectly fine with encoding/transcoding.
I like CueTools a little better than foobar2000 just for CD ripping because of the EAC log that it creates (and the Cue sheet if you need it). This post has been edited by eahm: Nov 14 2012, 00:29 |
|
|
|
Nov 14 2012, 00:49
Post
#7
|
|
![]() Group: Members Posts: 358 Joined: 3-April 05 Member No.: 21165 |
I used EAC and REACT to rip to FLAC and LAME mp3s in the past. Worked perfectly.
CK |
|
|
|
Nov 14 2012, 03:48
Post
#8
|
|
|
Group: Members Posts: 153 Joined: 22-July 12 Member No.: 101637 |
|
|
|
|
Nov 14 2012, 04:43
Post
#9
|
|
![]() Group: Members Posts: 560 Joined: 1-December 02 From: India Member No.: 3948 |
REACT2 is a plug-in for EAC that allows you to simultaneously rip CDs into multiple formats.
Sadly, it is no longer actively developed and does not work with new versions of EAC. |
|
|
|
Nov 14 2012, 05:53
Post
#10
|
|
|
Group: Members Posts: 153 Joined: 22-July 12 Member No.: 101637 |
Heh, -1 to myself for not checking the wiki first. Thanks.
|
|
|
|
Nov 14 2012, 16:12
Post
#11
|
|
![]() Group: Super Moderator Posts: 9264 Joined: 1-April 04 Member No.: 13167 |
Probably the most common method was not explicity mentioned: rip to flac via EAC, convert to lossy as needed.
This post has been edited by greynol: Nov 14 2012, 16:14 -------------------- Everything sounds the same until it is proven otherwise.
|
|
|
|
Nov 14 2012, 16:42
Post
#12
|
|
|
Group: Members Posts: 58 Joined: 4-October 11 From: VA Beach, VA Member No.: 94145 |
http://freac.org is an excellent tool, and is also able to encode to Vorbis, AAC, WMA, and a quirky speech-oriented codec called Bonk (which I haven't seen supported by any players, AFAIK.) I use it daily.
This post has been edited by FreaqyFrequency: Nov 14 2012, 16:49 -------------------- FLAC -2 w/ lossyWAV 1.3.0i -q X -i
|
|
|
|
Nov 14 2012, 22:05
Post
#13
|
|
|
Group: Members Posts: 153 Joined: 22-July 12 Member No.: 101637 |
Another reason to switch from MP3 to FLAC: it turns out my portable audio player, which is a Blackberry business phone, natively supports both FLAC and OGG files. Who knew?
OK, a follow-up question: I'm still learning about all the commandline options etc. available with FLAC. Right now, I'm planning to use -8 (the strongest compression available), because I don't care how long the music takes to compress; I'd rather compress it as tightly as possible. But, I don't want to compress it so much that some players have trouble playing it. Is it possible to compress a FLAC so tightly that a system has trouble streaming it? This post has been edited by BFG: Nov 14 2012, 22:07 |
|
|
|
Nov 14 2012, 22:10
Post
#14
|
|
|
Group: Members Posts: 457 Joined: 16-September 06 From: United States Member No.: 35261 |
Another reason to switch from MP3 to FLAC: it turns out my portable audio player, which is a Blackberry business phone, natively supports both FLAC and OGG files. Who knew? OK, a follow-up question: I'm still learning about all the commandline options etc. available with FLAC. Right now, I'm planning to use -8 (the strongest compression available), because I don't care how long the music takes to compress; I'd rather compress it as tightly as possible. But, I don't want to compress it so much that some players have trouble playing it. Is it possible to compress a FLAC so tightly that a system has trouble streaming it? In the past I've had trouble with a few players dealing with -8 FLAC files. But these were 24/96 files as well. And in my case, these players no longer have this problem due to firmware upgrades. I personally use -5. No good reason, but the file size difference between -8 and -5 is almost nothing, and in the past I had no issues with my problematic player when using -5. |
|
|
|
Nov 14 2012, 22:23
Post
#15
|
|
|
Group: Members Posts: 457 Joined: 16-September 06 From: United States Member No.: 35261 |
seems odd to use FLAC on a blackberry. Maybe create FLAC files for home and archival use. Then create a mirror of lossy files (OGG?) for use on blackberry. I do this (FLAC for home, mp3 copies for portables)
|
|
|
|
Nov 14 2012, 22:27
Post
#16
|
|
|
Group: Members Posts: 58 Joined: 4-October 11 From: VA Beach, VA Member No.: 94145 |
The difference in encode/decode time and the absolutely negligible difference between -8 and -5 compression makes -5 a no-brainer for me. You should definitely take a look at the comp ratio comparison charts.
If you really want to get the tightest compression possible while retaining transparency, look into lossyWAV. Otherwise, as Gary suggested, Vorbis is the way to go for portable usage. Smaller files, fewer resources needed for decoding, and at q6, lossless stereo channel coupling (and I don't think I've ever ABX'd a q6 from a lossless reference.) This post has been edited by FreaqyFrequency: Nov 14 2012, 22:36 -------------------- FLAC -2 w/ lossyWAV 1.3.0i -q X -i
|
|
|
|
Nov 14 2012, 22:47
Post
#17
|
|
|
Group: Members Posts: 153 Joined: 22-July 12 Member No.: 101637 |
QUOTE (garym @ Nov 14 2012, 15:23) Stuff Yeah, I probably won't actually play FLACs on the go - but it's nice to have that option in case I get lazy and decide not to create MP3s for future albums. The difference in encode/decode time and the absolutely negligible difference between -8 and -5 compression makes -5 a no-brainer for me. You should definitely take a look at the comp ratio comparison charts. Wow, you're right. Triple the encode time (-V8 versus -V5) for 0.4% better compression? That hardly seems worthwhile. I also noticed that -V5 had the least decode time of any of the modes - even better than -V0. That's pretty surprising. In reality, I'll probably do some testing and choose a compression mode that allows FLAC to take roughly the same amount of time to compress as it takes for EAC to rip a CD. This post has been edited by BFG: Nov 14 2012, 22:50 |
|
|
|
Nov 14 2012, 22:51
Post
#18
|
|
|
Group: Members Posts: 986 Joined: 19-November 06 Member No.: 37767 |
Otherwise, as Gary suggested, Vorbis is the way to go for portable usage. Smaller files, fewer resources needed for decoding, (emphasis mine). Do you have a cite for that? Now Rockbox may not be the end-all-be-all of decoders, but Vorbis takes 2-3x as much CPU to decode as FLAC on ARM. I'm quite curious if you have better numbers. http://www.rockbox.org/wiki/CodecPerformanceComparison -------------------- Creature of habit.
|
|
|
|
Nov 14 2012, 23:10
Post
#19
|
|
|
Group: Members Posts: 58 Joined: 4-October 11 From: VA Beach, VA Member No.: 94145 |
Do you have a cite for that? Good call, I hadn't seen that link. I was going by my experience monitoring playback CPU performance in foobar, which was by no means controlled. This post has been edited by FreaqyFrequency: Nov 14 2012, 23:12 -------------------- FLAC -2 w/ lossyWAV 1.3.0i -q X -i
|
|
|
|
Nov 14 2012, 23:42
Post
#20
|
|
|
Group: Members Posts: 144 Joined: 1-March 11 Member No.: 88621 |
Again, FLAC encoding time is basically irrelevant.. You only encode 1 time, and I don't know about your machine but even at -8 it encodes faster than my drive can read the CD. Since that is the case the difference in encoding speed between -0 and -8 means nothing since either way I'm waiting for the CD drive.
Decoding time for any FLAC level is very fast and efficient, to the point that the differences are not enough to care about. Here is the decode time, on a single core of an AMD A6-3650 CPU of a 16/44.1 23 minute file compressed at -8: real 0m3.743s user 0m3.412s sys 0m0.296s 3.7 seconds.. to fully decode a 23 minute song. I have to say I no longer care about FLAC decode speed. While I do love Vorbis and use it everywhere I can, it takes a lot more heavy lifting to decode.. The same song as above, decoded on the same machine from Vorbis -q6: real 0m7.264s user 0m5.748s sys 0m0.820s Again, pretty fast but that illustrates it's basically double the work to decode the Vorbis file versus the FLAC. For reference here is the same song, decoded from lame -V3 using lame on the same machine: real 0m9.237s user 0m8.997s sys 0m0.236s You draw your own conclusions from that. This post has been edited by yourlord: Nov 14 2012, 23:46 |
|
|
|
Nov 15 2012, 00:15
Post
#21
|
|
![]() lossyWAV Developer Group: Developer Posts: 1722 Joined: 11-April 07 From: Wherever here is Member No.: 42400 |
Now Rockbox may not be the end-all-be-all of decoders, but Vorbis takes 2-3x as much CPU to decode as FLAC on ARM. I'm quite curious if you have better numbers. http://www.rockbox.org/wiki/CodecPerformanceComparison -------------------- lossyWAV -q X | FLAC -8 ~= 308kbps
SGS III (Rooted) + 64GB |
|
|
|
Nov 15 2012, 01:19
Post
#22
|
|
![]() Group: Members Posts: 1468 Joined: 30-November 06 Member No.: 38207 |
Thanks for the tip on dbpoweramp; I've never looked at it. Does it have a built-in method for minimizing errors on badly scratched CDs like EAC does? (Aside from AccurateRip, which I would assume they both can use.) dBpoweramp is very good on that. But make sure you have a drive that supports C2 error pointers. And, you cannot count on them passing through USB (or Firewire ... I have a device where EAC manages to get C2 and dBp doesn't) – if you want an external drive, use eSATA. I have been using dBpoweramp for years. Since then there is a new gun in town too, namely CUERipper. I would have given that a serious consideration if I were to start the job over again. Feature table (a bit outdated): http://wiki.hydrogenaudio.org/index.php?ti...n_of_CD_rippers -------------------- geocities.com/hydrogenaudio: http://goo.gl/tqYZj
|
|
|
|
Nov 15 2012, 05:59
Post
#23
|
|
|
Group: Members Posts: 153 Joined: 22-July 12 Member No.: 101637 |
OK, I've finally settled on ripping directly to FLAC via EAC, and then following up with a FLAC-enabled version of LAME. But I have two questions before proceeding further, both on metadata:
(1) Is there a list somewhere of all the tag options (TOTALTRACKS, etc.) that FLAC supports? I haven't had any luck finding one. (2) What's the best way to batch convert from FLAC to MP3 via LAME, preserving (sub)directory structure, FLAC tags (as ID3 tags) and album art? |
|
|
|
Nov 15 2012, 10:01
Post
#24
|
|
|
Group: Members Posts: 947 Joined: 6-September 04 Member No.: 16817 |
1. FLAC supports Vorbis tags so put what you want in there, it's up to the player to decide what to do with them and how to display I guess
2. If you're doing batch conversion you'd be far better using something like foobar as it'll do all this for you |
|
|
|
Nov 15 2012, 10:30
Post
#25
|
|
![]() Group: Members Posts: 1062 Joined: 4-May 04 From: France Member No.: 13875 |
(1) Is there a list somewhere of all the tag options (TOTALTRACKS, etc.) that FLAC supports? I haven't had any luck finding one. http://wiki.xiph.org/VorbisComment#Recommended_field_names -------------------- Save my friend from going homeless: http://outpost.fr/url/308w
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 19:57 |