Gordian Knot is the ripping software of choice.
The quality you'll end up with depends on
a) the quality of your source material
b) the ripping methods/filters you use
It takes some trial and error to figure that stuff out.
You can find all sorts of guides/software on:
http://www.doom9.org