View Full Version : LPCM lossless conversion from DVD
doom7
2nd April 2009, 08:18
Hello, I have decrypted a few DVDs which have LPCM audio tracks and I am looking for a way to losslessly convert them to wav or flac, which i would be able to mux into an mkv along with a re-encoding of the video.
operating systems:
ubuntu
vista
Inspector.Gadget
2nd April 2009, 15:25
DVD Decrypter will output LPCM files as WAVs. Compress losslessly with FLAC using FLAC frontend or foobar2000 and you're ready to mux.
doom7
6th April 2009, 20:55
thanks for the reply, i've been looking into it and this is all i could come up with: http://forum.doom9.org/archive/index.php/t-36207.html
does anyone know of an easier process?
Inspector.Gadget
6th April 2009, 23:01
That's outdated. DVD Decrypter does in fact demux to WAV.
doom7
7th April 2009, 00:45
i'm confused. i have the last release of handbrake, but i dont see an option. i see "stream processing" but that doesnt break it up into chapters and i dont think that option allows you to save to wav.
my first thought was to decrypt the .VOBs and open them in mkvtoolnix since i use mkv as my format of choice, but mkvtoolnix doesnt recognize the lpcm stream (whereas vlc does for playback from hard drive).
needless to say, i've already spent some time googling with no payoff.
Inspector.Gadget
7th April 2009, 00:51
Don't use handbrake for the audio. Do the following:
1) Rip the audio and video from the DVD with DVD Decrypter: make sure to check "demux" for the audio. You will have a VOB file containing MPEG-2 video and a separate .WAV file losslessly made from the LPCM audio with a delay value in the filename.
2) Use FLAC via the FLAC frontend or foobar2000 to compress the WAV file to FLAC, which can be muxed to MKV.
3) Encode the video however you want.
4) Mux the video and the FLAC audio to a Matroska file with mkvmergeGUI. You can also add the chapters at this point if you wish. Alternately, mux as you otherwise would and use the chapters as the timecodes in the "split by timecodes" dialogue if you want one file per chapter.
doom7
7th April 2009, 00:52
thanks! i will give this a try
edit: tried it, works fine. dvddecrypter is in Mode: IFO and i can rip chapters individually. mkvmergeGUI automatically detects audio/video offset.
edit 2: its a lot easier to just rip the video along with it then re-encode than trying to rip it with handbrake when dealing with different aspect ratios between chapters and you need to crop the video.
I tried using DVD Decrypter but there must be a something missing in my workflow. I selected the 24/48 LPCM audio track and demuxed that from the Stream menu. That created separate audio and video files. They were both named .VOB but I assumed that the audio file was really just WAV.
That audio file plays fine with VLC and the code information matches what I expect it to be. Unfortunately that same audio file is not accessible with either Foobar or Audacity; both programs report that the format is unrecognized.
I ran the file through eac3to and it seems to be just fine.
Music Fan
8th July 2011, 13:45
They were both named .VOB but I assumed that the audio file was really just WAV.
You can verify the real container of a file with Mediainfo.
If it's wave with a vob extension, you can simply change the extension to wav.
If the container is actually vob, you have to extract the sound to get a proper wav.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.