If you decide to explore Lame (and EAC) for your ripping and encoding needs this link should be helpful.