This is a complicated topic breeze. If size is not an issue then don't use compression at all. Just keep your files as WAV or AIFF. I need to know more about how you are listening to music to give you better advice.
From an archival standpoint I would get a pair of terabyte+ drives and dedicate them to audio (one for a backup of course) and rip all your music to them, uncompressed. Then, when you want to listen to an album on a media device with limited space and support for file formats, rip a copy of that album in a format for that device. This allows you preserve your originals while navigating the changing landscape of technology.
As far as the CBR vs VBR argument goes, I think it's a stupid argument. One mode is not inherently better than the other, it's just a matter of application. This is a file size versus quality issue, and that issue is now dead because storage space and bandwidth are not precious like they were in the 90s when this technology was developed.
I rip my music to mp3 because of the wide support for the format. I usually use 192kpbs CBR since I can't tell the difference in quality at higher values (I'm old and my ears are shot). This brings my to a final point: use what sounds best to you. However, some music I own sounds bad with
any level of lossy compression, regardless of bitrate.
There are lossless compression codecs (like FLAC) but support for them is sketchy.
breeze wrote:Example 1: I have a 128kbps mp3 file, which I think is CBR. I would like to run it through the encoder to encode it in VBR. (Plus, I like to edit the ID3 tags at the same time.) Would re-encoding it diminish the quality? I plan to use VBR, should I set the minimum bit rate so it doesn't try to take it higher than 128kbps, thereby attempting to invent information that's not there and presumably decreasing the quality? Or is the encoder smart enough to not do that?
You can't re-encode a compressed file to a higher quality. Re-encoding at all will likely damage the quality (severely even). If you take a 128kbps CBR file and re-encode to VBR with a 128kbps minimum you have exactly the same file size, but possibly worse sounding. Just leave the file as it is (or get an original copy and start over).
breeze wrote:Example 2: I have a FLAC file. I would like to encode it using VBR. Should I set a minimum (or maximum) bit rate when encoding? I don't want to diminish the quality if I don't select a minimum bit rate. I might be underestimating the intelligence of the encoder, but that's why I'm asking!
Going from FLAC to mp3 will diminish the quality no matter what the settings. FLAC is a
lossless format and mp3 is a
lossy format. But really, the quality is determined by your ears. Try encoding the file with different minimums until you hear a difference, then set the minimum
higher than that.
breeze wrote:Example 3: I have a 320kbps mp3 that I've ripped from a CD (I'm assuming it ripped with CBR). I have noticed on a test run if I encode it in VBR the bit rate for the file is something like 290kbps. Did it just go lower because it's calculating the average bit rate across the entire song? I could certainly keep them CBR if the quality will be better, but again I'm not sure if re-encoding diminishes the quality and I run them though the encoder to edit the ID3 tags as well. Yes, I know programs are available to do just that, but if re-encoding doesn't harm the quality then I might as well for convenience sake.
What you are seeing is an average. The "variable" bitrate changes many times a second. You wouldn't be able to read it in real time. Encoding a CBR file to VBR reduces the quality if the minimum VBR value is lower than the CBR value. Example: if a 160kpbs CBR file is encoded with a VBR of 128/320 min/max you are throwing information out without gaining anything. If you set the minimum VBR to 160 on the same file there is no reduction in file size. You gain nothing. So basically, don't do it.
No problem!