FLAC to Ogg & Use Existing Tags
Reply #3 – 2003-09-05 20:05:23
Yeah, this has been discussed before, its not a stupid question though. Because of the lossy change in audio information when encoding to Vorbis (which I am sure you meant and not Ogg), there is a chance that the dynamics will change, the peaks might change, the overall audio stream may become more compressed, etc...all this depends on how accurately the dynamics are encoded by Vorbis, and as such the amount of difference here can quite possibly be taken as being proportional to the quality setting one uses. The lower quality setting one uses, the better chance the ReplayGain setting will be way off the original. It really depends on where Vorbis has its priorities. I personally do not know how low you can go and still have a fairly equal loudness when compared to the original when using Vorbis. Let me note that they should be VERY similar. In my experience, it is not noticeable to use the FLAC ReplayGain values for Vorbis encodes. Actually, there is a fairly new idea that came up on the boards recently about doing just this. The idea is to find the ReplayGain values before encoding (of the lossless audio stream) and apply the gain as a scale factor when lossy encoding to effectively save bits. The feelings that came out of that thread were basically that in theory, it should work fine, but it would just have to be tested over time to confirm its validity. Until someone can come up with or theorize a problem sample that might break this process within reasonable bitrate or quality settings, I would say that it is perfectly fine. Again, it all comes down to what quality setting you are using in Vorbis. Also, to confrm that it is good theory, I don't think John33 will mind letting me note here that the next version of OggDropXPd will have an option with exactly this theory behind it, that when converting from FLAC to Vorbis, there will be an option to use the FLAC ReplayGain values that are in the tags to apply an indvidual scale factor to each of the encoded Ogg Vorbis files to save bits and also effectively allow ones Vorbis files to be equally gained on new hardware Vorbis players that do not support ReplayGain tags.