FLAC. It's lossless. What goes in, comes out and it doesn't waste space like uncompressed lossless formats, like WAV. Any ripping software will work because the compression algorithm is a standard.
As a former software engineer who has written compression algorithms, once you understand how compression, decompression and bits work, you don't worry about this kind of stuff. You just do what's most efficient.