FLAC

From: ANT_THOMAS15 Jun 2015 09:56
To: graphitone 3 of 18
And there's this:


Since I've seen so many "DVD Audio" rips around that are transcodes made with DVD Audio Ripper, I thought I'd write this little guide. First we'll talk about regular DVDs, then DVD-Audio discs.

The first thing you should do is familiarise yourself with the types of audio found on DVDs. The four types found on regular DVDs are:

Dolby Digital (aka AC3, A/52) - The most common, found on essentially every DVD. Often presented in 2.0 or 5.1 channels.
DTS - A high bitrate codec commmonly used for high quality 5.1 material.
MPEG-2 Audio (MP2) - Not very popular, but you might see it on a few European DVDs. It can also be 2.0 or 5.1.
LPCM (aka PCM Stereo) - This is the only audio format on standard DVDs that is lossless. Due to its high bitrate (it is uncompressed, like an Audio CD) it is only ever stereo. Most of the time its 16-bit 48kHz, but some discs (such as Queen - A Night At The Opera) feature 24-bit and/or 96kHz LPCM tracks.

AC3, DTS, and MP2 are lossy codecs. Converting them to MP3 is transcoding. Running them through Surcode is transcoding. Unless your DVD contains an LPCM track, you should not convert to any other format and upload it here. Just because the audio track is in stereo does not mean it is PCM Stereo. Your DVD player will tell you what format the audio track is. If you are ripping the disc with DVD Decrypter, it will tell you. If you are using DVD Audio Ripper, it will tell you.

http://i.imgur.com/kA9kP.png
This disc should not be transcoded to MP3, FLAC, etc. as there are no lossless audio tracks.

http://i.imgur.com/zu83b.png
You can do what you like with LPCM track on this disc. Converting to the format of your choice and/or downsampling to 44.1kHz is fine.

If you upload ripped audio from a DVD to OiNK, it is a good idea to mention that you ripped the content from the PCM track.

Ripping AC3/DTS

So what if you want to share the content of a disc without an LPCM track? Don't transcode it, and upload it in AC3 or DTS format.

The easiest way to do this is to rip the disc in DVD Decrypter.

The first thing you should do is to go into DVD Decrypter's settings and tell it to split by chapter when in IFO mode, which will ensure you get one file per song and don't need to split it up later.

http://i.imgur.com/3D3ua.png

Now use the Stream Processing tab to deselect everything except the audio track you wish to keep, which you should select to Demux.

http://i.imgur.com/1gUTs.png

When DVD Decrypter is finished ripping you should have seperate .AC3 or .DTS tracks for each chapter on the DVD, which should correlate to songs.

http://i.imgur.com/veSsQ.png

Spend a few minutes renaming the files to reflect their song titles and you should be good to go.

Other rippers on OS X and Linux should be capable of the same thing. As long as you can extract the AC3 or DTS.

Can't I just select AC3 as my output profile in DVD Audio Ripper?
No, that will just perform an AC3->AC3 transcode.

So how do I play DTS/AC3?
Most players will handle DTS or AC3 either natively or with a plugin.

Depending on your DVD Authoring program, you may be able to create a DVD with the audio tracks you have extracted.

And you can always transcode and make a DTS Audio CD, or transcode to MP3 (or preferably FLAC) for your own private use. But never, ever share the files or upload them to OiNK.

So all DTS audio CDs are transcoded?
No, but pretty much anything taken from a DVD source is. Going from a 1536kbps 48kHz DTS to a 1411kbps 44.1kHz DTS suitable for burning to Audio CD is a DTS->DTS transcode. But those that were ripped correctly from a DVD-Audio disc, Audio CD, or other lossless source are likely to be fine.

DVD-Audio discs (The Complex Part)

DVD-Audio discs are not just standard DVDs or DVDs with music content on them. DVD-Audio discs contain high resolution audio, compressed losslessly using MLP. If you can manage to rip it, you can downsample and convert it to any format you wish. DVD-Audio discs should contain a DVD-Audio logo and a "High Resolution" logo.

The majority of DVD-Audio discs also contain standard DVD material. For example, in addition to high-resolution 2.0 and 5.1 mixes, they may include standard AC3 or DTS soundtracks as well, bonus videos, etc.

Programs such as DVD Audio Ripper do not rip DVD-Audio discs. They rip the audio from standard DVDs. If I insert my DVD-Audio disc into DVD Audio Ripper I am greeted with this:

http://i.imgur.com/GtvEs.png

DVD Audio Ripper can only see the 2 standard DVD tracks, that is, the lossy Dolby Digital tracks and not the lossless DVD-Audio tracks. The same rules apply as before. If its not LPCM, don't transcode it.

So how do you rip DVD-Audio? It's a somewhat long and involved (but not difficult) process, you'll need the DVD Audio ripping tools, and a copy of WinDVD 5/6/7, and you'll need to use the command line. The DVD-A ripping tools are located here.

http://i.imgur.com/xmFXr.png

We're going to use PPCMRipper to rip the lossless audio files to WAV. If you just want to capture 2-channel content, feel free to skip the next few steps and rip directly from the DVD-A with PPCMRipper instead the ISO we're going to make.

PPCMRipper can not capture
…[Message Truncated] View full message.
From: 99% of gargoyles look like (MR_BASTARD)15 Jun 2015 10:33
To: ALL4 of 18
TLDR
From: ANT_THOMAS15 Jun 2015 10:34
To: 99% of gargoyles look like (MR_BASTARD) 5 of 18
Ditto. Doesn't look quite as straight forward as sticking a disc in and churning out some FLACs.
EDITED: 15 Jun 2015 10:35 by ANT_THOMAS
From: graphitone15 Jun 2015 10:55
To: ANT_THOMAS 6 of 18
Wow, above and beyond dude, thanks for that. :J

I've read the first one, and will have another go with the Audio Extractor tonight. I'll work my way through the 2nd bit this aft if it's quiet here.

It can be a bit niche, but does anyone here have any DVD-As and if you have, what've you got?

 
From: graphitone17 Jun 2015 09:04
To: ANT_THOMAS 7 of 18
I've tried the first way again through the DVD Audio Extractor and it's created a multichannel FLAC file. The music sounds good, though there's something niggling that's not quite right when compared with the original disc. It is minimal though, so not too bothered at the moment.

I've tried the second, more involved way, but stumbled at the first hurdle - that link to the DVD ripping tools doesn't work and I couldn't find PPCMRipper anywhere.

I'm now onto ripping the DVDs and blu-rays. I tried out ripping the first LOTR film using Aiseesoft's blu-ray ripper (which does both formats) and it's working well, it took around an hour a disc to complete though. The audio's spot on, but had to fiddle around getting the subwoofer set up, the yamaha's auto YPAO setup was a bit conservative with with the dB levels, to the point it was effectively off.

 
EDITED: 17 Jun 2015 09:10 by GRAPHITONE
From: ANT_THOMAS17 Jun 2015 09:22
To: graphitone 8 of 18
Is there something different with the hardware you're playing it back on? (or in your head?) Since it is lossless.

I'd just download a high quality rip with master audio or a full blu-ray rip. Someone else has no doubt already done what you're trying to do.
EDITED: 17 Jun 2015 09:22 by ANT_THOMAS
From: graphitone17 Jun 2015 09:54
To: ANT_THOMAS 9 of 18
That's not a bad idea, but I like trying to do this stuff myself. It could well be in my head - I was off sick yesterday with a migraine (it was weirdly painless, but kept feeling sick and getting the aura thing, which was a first for me), so probably not in the best frame of mind for it. :J

It could be an amp setting I've not found yet. I'm playing the original DVD-A through a player connected to the amp via an optical cable, whereas the rip is streamed from my PC via the HDMI on the Pi. It could be a difference in the modes set up for each of those interfaces.

Even though it's lossless the ripping software gives me different sample rates to rip it at, would that not affect the quality?!
From: 99% of gargoyles look like (MR_BASTARD)17 Jun 2015 10:01
To: ANT_THOMAS graphitone 10 of 18
quote: graphitone
Even though it's lossless the ripping software gives me different sample rates to rip it at,

Does that even make sense for lossless?

From: ANT_THOMAS17 Jun 2015 10:11
To: 99% of gargoyles look like (MR_BASTARD) 11 of 18
FLAC is encoded, rather than a direct data copy and put in a different container, so samples rates do kinda make sense. But I've never played with FLAC so I don't really know.
From: graphitone17 Jun 2015 10:15
To: 99% of gargoyles look like (MR_BASTARD) 12 of 18
From the second, lengthy tutorial above:
 
Quote: 
Not all DVD-As are 96kHz. Some stereo tracks are 192kHz, and a lot of digitally-produced albums can have odd/low sample rates.
:/

Given the option of a sample rate, what do I go for if a 'same as source' isn't available? I'm doing all this from memory, so I'll screenshot the relevant stuff tonight.
From: 99% of gargoyles look like (MR_BASTARD)17 Jun 2015 12:14
To: ANT_THOMAS graphitone 13 of 18
OIC. I only rip to ALAC using iTunes. It doesn't give bitrate options. But that may simply be Apple trying to keep it simple for the dumbarses. Like me.
From: graphitone17 Jun 2015 22:56
To: ANT_THOMAS 99% of gargoyles look like (MR_BASTARD) 14 of 18
Here's the thing. Sample rate and bits per sample all affect file size as you'd expect. I've been using the highest settings, which unsuprisingly chuck out the biggest files sizes.

 
Attachments:
From: koswix17 Jun 2015 23:45
To: graphitone 15 of 18
Surely you want the settings to match the source material?
From: Chris (CHRISSS)18 Jun 2015 07:04
To: koswix 16 of 18
But which one?
Attachments:
From: ANT_THOMAS18 Jun 2015 09:02
To: graphitone 17 of 18
From what I can tell the bitrate doesn't matter. It will still be lossless. The only thing that changes with a lower bitrate is the time it takes to encode.

Your sauce file isn't working. But you want to have the same sample rate at the original material. No point going higher.
From: graphitone18 Jun 2015 09:09
To: koswix 18 of 18
Yep, the thing now is to find where I find the place that that info can be found.