Two-Mix has a great DVD out featuring their awesome "White Reflection" track set to very nicely done anime style animation. I'd first encountered this video through an MPEG1 file I downloaded and it was more than enough to hook me; I already loved the song and the anime was just too cool. I immediately purchased the region 2 DVD and set about making a higher quality file for playback on my PowerBook G4 (which lacks an RPC-1 DVD-ROM). Sure I could burn a new copy of the DVD without region encoding, but I was really only interested in this single track.
Unfortunately I wasn't able to simply rip the VOB for the White Reflection video and play that back through QuickTime as is, even though the filesize wasn't extravagant. PCM 48KHz 2-channel audio was used during the authoring process, and QuickTime refused to play it back with sound. What follows are the steps I went through to get a nice QuickTime compatible MPEG2 file without re-encoding the video.
Originally I used OSEX 0.0101b to extract the separate .m2v (video) and .pcm (audio) elements with the intention of converting the .pcm to .mpa and then remuxing. I used two approaches to converting the .pcm file into a standard 2-channel audio file (wav/aiff). The first attempt was with an older Mac OS 9 program called PCMtoAIFF. Attempts to run the converter via Classic under Mac OS X failed much to my chagrin. After a reboot into OS 9 (I hate rebooting into OS 9) I was able to utilize the program, which produced an audio file that sounded okay barring an annoying rhythmic clicking noise through the length of the track. Not acceptable. Back to OS X. My second attempt was to compile SoX and run the PCM file through that. Same clicking sound. Obviously OSEX was doing bad things to the PCM track during the demux.
I then used OSEX to simply extract the VOB and ran that through a52decX which produced a nice clean .aiff file which I subsequently converted to .wav using QuickTime's export function. I then turned to MJPEGTools (compiled via Fink), first converting the .wav to .mpa using mp2enc and finally remuxing the project with mplex. Success; works beautifully under QuickTime with the full glory of the original MPEG2 video!!