Here's a website for reference:
http://www.animemusicvideos.org/guides/avtech/audio3b.html
There was another easier to use guide, but the page has been down for quite sometime. It used Smartripper to extract the audio and HeadAC3he to transcode AC3 to WAV. No support for DTS soundtracks though.