Sun-dried tomatoes' sundry thoughts

Sunday, September 01, 2024

DVD-Audio Discs (DVD-A)

 Step 1. Determine that you actually have a DVD-A disc.

DVD-Audio discs are a special format of disc that contains audio-only tracks, encoded using Meridian Lossless Packing (MLP).
MLP requires a special decoder, which is not supported by Media Center or most other players.
 
To determine whether the disc you are trying to rip is DVD-A, or a regular DVD video disc, open its AUDIO_TS folder.
If there is no AUDIO_TS folder, or the AUDIO_TS folder is empty, it's not a DVD-A disc.
 
If it's a DVD-A disc it will look something like this:


If it is a DVD-A disc, continue with this guide.
If it is not a DVD-A disc, you want this guide for ripping Music DVDs to audio tracks: https://yabb.jriver.com/interact/index.php/topic,119957.0.html


Step 2. Installing and configuring the software.

After confirming that it is a DVD-A disc, you need to download the required software.
You will need Foobar2000: http://www.foobar2000.org/download
And the DVD-A decoder component: https://sourceforge.net/projects/dvdadecoder/files/foo_input_dvda/

With Foobar2000 installed, open it and go to File > Preferences > Components, and install the DVD-A decoder component from there.
With the DVD-A decoder installed, open the preferences window again and navigate to Tools > DVD-Audio.
I recommend that you enable the "do not load stereo downmixes" option. If you only want to rip stereo tracks, you can set that as well.



Step 3. Rip the disc.

File > Add Files > AUDIO_TS.IFO will add the DVD-A tracks to the playlist in Foobar2000.
Depending on the disc, there may not be much if any metadata - the disc I used as a test imported like this:


Tracks are named in their encoded format:

  • Lf-Rf-Ls-Rs 24/48000 + C-LFE 24/48000 are multichannel 24-bit 48kHz tracks.
  • L-R 24/96000 are stereo 24-bit 96kHz tracks.

Select the tracks you want to rip, right-click the selection and use Convert > [..]
Select FLAC as the Output Format, with the output bit depth set to "Auto" and dither set to "lossy sources only".

Foobar2000 should convert your DVD-A tracks to FLAC, ready to be imported to Media Center and tagged.

Music DVD to audio tracks.

 https://yabb.jriver.com/interact/index.php?topic=119957.0

Step 2. Ripping the disc to MKV.

Converting a DVD to audio tracks involves two steps, first ripping the disc to MKV, and then extracting the audio track we want from that to make MKA files.
To rip the disc to MKV, use the free MakeMKV tool: https://www.makemkv.com/download/

When you open MakeMKV it will scan the disc, and present a list of titles:


Select the titles and tracks that you want. We're going to split these out later, so you really only need to select the title. The process will take a few minutes.


Step 3. Extracting the audio tracks.

For this we need to use MKV Merge, which is part of MKVToolNix: https://www.fosshub.com/MKVToolNix.html
Its interface might seem a bit overwhelming at first, but it's not too complicated.
 
Drag the newly created MKV file to the source file section of the input tab in MKV Merge.
This will scan the MKV and list the tracks it contains within.

Now deselect everything but the audio track you want to convert to MKA, and the chapter file.
Though it won't prevent you from selecting multiple tracks, I recommend that you only select one.

I have selected the 5.1 DTS track for this example:


Now switch to the output tab.
The only thing we need to change here is setting the split mode to "Before chapters" and telling it to split before "all" chapters.


Once this is set, click the "Start multiplexing" button at the bottom of the window.
A few seconds later, and MKV Merge should have split the MKV file into individual MKA audio tracks:


In this example, the ripped DVD is 2.33GB, and the extracted DTS 5.1 MKA audio tracks are only 466MB since we have discarded the unwanted video and audio tracks.
Now all you have to do is import the MKA tracks to Media Center and tag them.