Andrew Mobbs (mobbsy) wrote,
Andrew Mobbs

HOWTO: DVD re-encoding with 5.1 AC3 audio for PS3 on OSX

Since I've spent a while googling and experimenting, here's a method for getting a rip of a DVD using OSX that will play on a PS3 with good quality audio:

  1. Download and install Handbrake
  2. Download and install Darwine (WINE for OSX)
  3. Download mkv2vob (a Windows program that repackaged MKV files into something a PS3 will accept).
  4. Run the mkv2vob installer (WINE should automatically pick it up and allow you to run it), accept the default options
  5. Attempting to run the newly installed mkv2vob will result in an error. You need to download MSVBVM60.DLL (a Visual Basic 6.0 runtime library)
  6. Open a window, unzip to extract the DLL file from the download, then cp MSVBVM60.DLL ~/.wine/drive_c/windows/system32/msvbvm60.dll to put it in the correct location.
  7. To prevent another error from mkv2vob, you need to move its install files around a little. Again, in the Terminal window: mv ~/.wine/drive_c/Program Files/mkv2vob/tools ~/.wine/drive_c/Program Files
  8. Finally, everything is prepared to rip the files.

    1. Start Handbrake
    2. Insert your DVD.
    3. Open the disk with Handbrake
    4. I suggest starting using the Film preset
    5. Ensure the format is MKV
    6. Ensure video codec is H.264
    7. I suggest putting the target file on the Desktop, as this will make it easy to find later
    8. Set the bitrate as desired
    9. On the Audio & Subtitles tab, use a AC3 source (DTS didn't work for me, and preferably a 5.1 channel, or why bother with this effort), and use the AC3 Passthru "codec"
    10. If desired select the appropriate Subtitles
    11. Check the Advanced tab, the Film preset should give high quality options. Tweak if desired, however the PS3 seems quite capable of handling the advanced settings.
    12. Start the rip

  9. When it has finished, there'll be an MKV file. Start mkv2vob
  10. Browse to the source file. If you put it on the Desktop, it should be obvious, otherwise it could be a little confusing with the WINE interpretation of the OSX filesystem.
  11. Add the file
  12. It shouldn't need to transcode, there'll be a .mpg file on the desktop. This should now play quite happily on the PS3, giving H.264 quality video and original quality multichannel AC3 audio.

The second best option is to use Handbrake to re-encode the AC3 5.1 as AAC "6-channel discrete", and use an MP4 container. The PS3 can play this natively, and it avoids faffing around with converting MKV files with Windows apps running on WINE. However, you obviously lose some audio quality as the sound is recompressed with another lossy compression algorithm.

  • (no subject)

    Last week I poured the cremated remains of my father into a river. From there, that material will flow through the town he lived in, into the sea,…

  • Moving house!

    We're moving house soon… details to follow in a less public post, or email me. However, we're getting rid of some bits and pieces of…

  • (no subject)

    Yesterday, I made sausages. This was sufficiently exciting to cause me to actually write something on LJ for once. One of our wedding gifts was a…

  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment