I want to rip only the audio stream of an intro from a DVD. The audio stream is LPCM 2ch 48k 16-bit. In DVD Decrypter 3.1.3.0, I choose IFO (I) mode, then the title set / PGC where the video is in, switch to the stream processing tab and enable it, uncheck the video, highlight the audio (0xA0) and select Demux. I get a pcm file, which if I rename it to wav is not playable... I tried with SmartRipper 2.41 and there was no problem, the wav file is just fine! I noticed that the pcm file I got from DVDDec is slightly shorter than the wav file of SR (12,211,200 vs 12,211,244). Don't know if this matters, the DVD is not encrypted. 1. Any idea why this happens to DVDDec? 2. Btw, what is the "Raw" mode radio button for?
Compare the two in a hex editor. I expect smartripper appends a wav header or something. I didnt think a pcm was a wav. to make a pcm a wav you have to append a wav header. pcm is the raw data. Or thats what I thought anyway :) The 'raw' radio button makes DVD Decrypter strip the entire sector containing the packet of the select stream instead of just the packet itself.
--------------------- 02 M3 Steel Gray / Imola My Pics
Thanx for the quick reply. I did not compare the two files in a hex editor, but I did try to append a wav header with BeSweet. Alas, it seems there is a bug in BS with this transcoding, check the thread in the Audio section. 1. Couldn't you include the wav extraction in DVDDec itself? How are we supposed to work with a pcm file? 2. As far as the "raw" mode concerns, how can the extraction of the entire sector be useful?
--------------------- ::1995 Cosmos M3 Coupe Lux/5spd::
Raw is (kind of) useful for subtitle streams. It saves programs like subrip from having to read the entire vob file so it reads like 10 meg instead of 1 gig. How you work with a pcm file isnt really of any interest to me. So few dvds have pcm streams its not really a big deal. Im sure your everyday sound editing program can handle pcm. If I knew exactly what goes into a wav header I might consider implementing it, but I dont. I'll tell you what, you get the details and I'll do it. :)
I checked the PCM file that DVDDec produces once more, this time with Cool Edit Pro 2.0 When I open it, Cool Edit asks for some help on how the data is formatted. If I choose 16-bit Intel PCM (LSB, MSB) then I get just awful noise; on the contrary, if I open it as 16-bit Motorola PCM (LSB, MSB), then it plays fine ;) And, of course, Cool Edit can save it as wav file, adding these 44 header bytes. Nevertheless, thanx for the input and pity that you do not intend to support wav extraction. I'll continue the discussion at the Audio encoding section.
Its not that I wont support adding the wav header, its just that I dont know how to build one up! Im sure you have to encode the length of the file into it somewhere and i dont know where / how to. If I could find the structure of a wav header some place, I'd be glad to do it. Im sure it wouldnt take me long.
--------------------- Where have I been? Astral projecting.