Skip to content

Instantly share code, notes, and snippets.

@willsthompson
Last active November 1, 2024 21:31
Show Gist options
  • Save willsthompson/a4ececdee9cbc4e369eb923e136a8243 to your computer and use it in GitHub Desktop.
Save willsthompson/a4ececdee9cbc4e369eb923e136a8243 to your computer and use it in GitHub Desktop.
SACD Ripping Guide

SACD Ripping

Prerequisites

  1. Firmware-compatible Bluray/SACD player. See threads below:

  2. AutoScript files. These will root the player and allow raw read access over a network.

  3. SACD ripping software

    • Everything centers around one command line-based ripping app, sacd-ripper (forked from the original PS3-based ripper).
    • There are two Java-based GUIs built on top of this tool:
      1. From the same author of the fork, SACDExtractGUI. (Note: I couldn't get this GUI to successfully run the app on macOS 10.15.2)
      2. Sonore ISO2DSD
    • Ripper will extract DFF or DSD files, or generate an ISO (for archiving)
  4. DFF/DSF postprocessing tools. These will convert from DSD to PCM.

    • dsd2flac command line tool
    • Sonore DSD2FLAC GUI (which uses dsd2flac)
    • ffmpeg (DSD-to-PCM output quality unclear)
    • DSD Master, a commercial macOS app (from the makers of BitPerfect). Claims to be higher quality, with more accurate normalization.

Steps

  1. Connect Bluray player to local network, and note its IP address.
  2. Enable player "Quick Start" mode. *
  3. Copy AutoScript folder to FAT16/32-formatted USB drive. AutoScript should be the only directory in the root of the drive.
  4. Insert USB drive into the port on the Bluray player. This should cause it to eject the disk tray.
  5. Insert SACD into tray, and power off the player (without closing the tray). The player should close the tray, enter sleep mode, and AutoScript will gain root access.*
  6. Wait while player flashes "OFF", and remove USB drive.*
  7. Rip to DSF/ISO with ripping tool using the IP address of the Bluray player, which should be accessable over the network (firewalls notwithstanding).*
  8. Use DSF tool to convert to FLAC (or other PCM format).
  9. Apply additional postproccessing to signal/container.*

Notes

  1. Sleep mode is only required with Sony brand units. See: https://hifihaven.org/index.php?threads/rip-sacd-with-a-blu-ray-player.3652/post-69340
  2. Recent versions of macOS restrict access to unsigned apps, including the GUI and command line tools. It may not be obvious that the command line tool is being restricted because it is run by the GUI. Right click on the sacd_extract file, select Open, and allow the exception for the file.
  3. Quadraphonic SACDs will probably encode quadraphonic recordings as 5.1 with empty Center and LFE channels. It may be preferable to encode the PCM audio container without the empty channels (i.e. so your amp has the option to use the sub). Drop the two empty channels using an ffmpeg filter:
    for i in *.flac; do ffmpeg -i "$i" -filter_complex "channelmap=0|1|4|5:channel_layout=quad" "./quad_mix/$i"; done;
    
@willsthompson
Copy link
Author

Thanks for including your script, and happy you found this helpful!

@rolandomotadelcampo
Copy link

I have some mono SACDs, when ripping to DSF I see that the files that I got from sacd-ripper where in stereo. Is there a way to rip to mono?

@willsthompson
Copy link
Author

@rolandomotadelcampo Maybe the SACD duplicated the mono track into stereo? You should be able to use options in the command line tool to override the 2-channel output default.

@netfoo
Copy link

netfoo commented Jun 24, 2023

In SACDExtractGUi client, ping passes, Test is also successful. I follow steps 1-6 above. When I hit run, I get back an immediate DONE. It doesn't even stutter.

@lavadrop
Copy link

You are leaving a VERY important detail: the USB drive from step number 3 has to be formatted with an msdos/MBR partition table, otherwise the rooting will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment