Looking for a LPCM to wav converter
|
|
squeegs
Newbie
|
15. July 2003 @ 01:27 |
Link to this message
|
trying to find one with no luck. i need to get a lpcm file (48k/24bit) extracted from a dvd down to cd (44/16) thanks in advance :)
|
Advertisement
|
  |
|
tigre
Moderator
|
15. July 2003 @ 02:18 |
Link to this message
|
You can use SmartRipper to save the LPCM audio to a .wav file (48/96).
Use foobar2000 for resampling. Free @ very good quality. http://foobar2000.hydrogenaudio.org
HOWTO:
(0. Run foobar2000 installer)
1. Load the audio file(s) you want to convert to playlist (e.g. drag'n'drop to fb2k window)
2. Highlight the file(s) you want to convert, Right-click -> Convert -> Settings:
- choose a output directory with enough space
- leave filename as it is (you'll delete the file anyway after your audio CD is written - right?)
- choose Output format: WAV (PCM 16bit dithered)
- check all "Processing" options.
3. Highlight the file you want to convert, Right-Click -> Replaygain -> Scan per-file track gain
4. Foobar2000 -> Preferences -> Playback:
- Replaygain mode: "use Track gain".
:: The pre-set replaygain preamp value is 89dB which is a good choice to avoid clipping
:: but might be too low if you want to use your CD e.g. with a too-low powered car stereo.
:: Best would be to leave it alone, but If you want a "louder" CD and you set it to higher values
:: you shouldn't go > 95dB.
- "Use peak info to scale down tracks ..." should be checked
5. Foobar2000 -> Preferences -> Playback -> DSP manager:
- Move "Resampler (SSRC)" to active DSPs
-> Resampler:
- Target sample rate: 44100 S/s
- "Slow mode" checked
- Internal precision: 64bit
Close Preferences.
6. Right-click on the highlighted files in playlist again -> Comvert -> Run conversion
|
squeegs
Newbie
|
15. July 2003 @ 21:17 |
Link to this message
|
thank you for ur response, i got the wav file from SmartRipper though one problem is that foobar only recognises the file as a 48k 16bit stream, when i am sure is is 48k 24bit. i got this by going to the file info option
bitrate = 1536
samplerate = 48000
channels = 2
codec = PCM
bitspersample = 16
that bitrate seems much to high to be a 48/16 stream which is 187kb/s
any ideas ?
|
tigre
Moderator
|
15. July 2003 @ 21:36 |
Link to this message
|
48kHz/16bit/stereo:
1 Sample = 2x16 = 32 bits
1 Second = 48000 Samples = 1536000 bits
Seems like you confused bits with bytes.
|
squeegs
Newbie
|
15. July 2003 @ 22:01 |
Link to this message
|
agreed my bad, but the fact reamains every aplication tends to think this is a 16bit 48k wav file despite
the output filename from smart ripper is "vts_02_([0xA0]_Audio_English_LPCM(2Ch)_48kHz_24bit__)_Delay_-273ms.wav"
the track goes 3:49secs or 229 secs
and the file size is 63.2 meg
this is all very confusing. i am confident it is 24 bit 48k, when i try and play the file i get harsh static, although i can hear some of the song faintly mixed in
could it be that smart rippper automatically labels the wav information as 16 bit and something i need to fix, or could the wav be still be multiplexed in an mpg stream ?
regards keegan
All countries have the governments they deserve
|
tigre
Moderator
|
16. July 2003 @ 10:38 |
Link to this message
|
IIRC there are programs that can convert .wav to .pcm (without header containing information about sampling rate, bit depth, mono/stereo) and pcm back to wav. In this step you have to tell the program sampling rate/bit depth. Unfortunately I can't remember the name, so here's another possibility:
0. Create a security copy of the file
1. Open the file in a Hex editor, e.g. XVI32: http://www.chmaas.handshake.de/
2. The beginning of your file should look like this (Hex view):
52 49 46 46 mm mm mm mm 57 41 56 45 66 6D 74 20 10 00 00 00 01 00 02 00 nn nn 00 00 oo oo oo 00 pp 00 qq 00 64 61 74 61 rr rr rr rr
Some Explanations (all numbers are big endian byte order; 00 01 h = 256 d):
mm ... mm = <file length> (bytes) starting after last m
nn nn = <Sampling rate> (samples/second). Should be 80 BB in your file
oo oo oo = <Byterate> (Bytes/second). Should be 00 EE 02 in your file
pp = <Bytes/sample> (Bytes). Should be 04 in your file
qq = <bits/sampe (1 channel)> (bits). Should be 10 in your file
rr ... rr = <file length> (bytes) starting after last r
Now you have to change
oo oo oo to 00 65 04
pp to 06 and
qq to 18.
Hope it helps.___
This message has been edited since posting. Last time this message was edited on 16. July 2003 @ 10:45
|
squeegs
Newbie
|
17. July 2003 @ 03:52 |
Link to this message
|
thanks heaps tigre, although im not there yet
i used xvi32 to edit the hex on the wav file, i inserted the values and saved the new file
i tried playing it in windows media and got no audio although the indicator bar moved, this seemed alot better then getting static
i opened it in a few programs such as foobar, headache and awave and both recognise it as a 48k 24bit wav file (finally)
but i tried converting with foobar and headache to 48/16 and i still got a wav file of white noise with some audio barely decernable under the noise.
id liike to view the 24bit wav file with a wav editor to see if it is static or it looks like a normal wav, meybe the converters are doing there job and converting static or maybe the converters cant handle 24bit ???
|
tigre
Moderator
|
17. July 2003 @ 05:32 |
Link to this message
|
foobar2000 is definitely capable of playing back and processing 24/48 audio correctly. So there's something still wrong with the file. Maybe SmartRipper changed the Byte order - but I don't see why there should be silence then.
Wave editors: give Cool Edit Pro (30 day trial) or Audacity (free) a try.
If you want you can upload the beginning of the file (~ 1-2 MB) somewhere or email it to me and I'll have a look at it. (PM me if so.)
Maybe it'd be easier to ask at afterdawn DVD ripping forum if someone knows another program like SmartRipper that extracts 24/48 audio stream correctly ...
|
squeegs
Newbie
|
17. July 2003 @ 21:01 |
Link to this message
|
yeah i got audacity and had a look at the wav ... and no good
i was going to suggest if i could put some of the files on an ftp or something
how much can i send u (mb) and what format ?
i was thinking a complete VOB stream to see if u could get anything out of it from scratch
All countries have the governments they deserve
|
tigre
Moderator
|
17. July 2003 @ 21:37 |
Link to this message
|
Don't send me the complete VOB. It should be enough to cut 2 MB from the beginning of the extracted .wav file - use something like Maxsplitter or a Hex Editor (cut + paste to a new file).
|
squeegs
Newbie
|
29. July 2003 @ 00:50 |
Link to this message
|
sorry tigre had to wait and re hire the dvd as my wav files got corrupted
i have cleany extracted some new wavs and cut one down
so where/how can i send u the file ?
|
Senior Member
|
31. July 2003 @ 02:03 |
Link to this message
|
|
sfgecko
Newbie
|
2. August 2003 @ 20:23 |
Link to this message
|
i too am having the same issue when ripping an LPCM track. i use DVD Decrypter to rip the .VOB file to the HD. stream log file info:
0xA0 - Audio - LPCM / 2ch / 48kHz / 24bit / English / LBA: 234133 / PTS: 00:08:06.803 / Delay: -283ms
both the picture and audio play fine when i open it w/ my dvd playing software. i use BeSweet to extract the 0xA0(PCM) substream to Wave-Stereo .WAV file. When i try to play the wave file in WinAmp or WMP, all i hear is a loud hiss, and barely audible correct audio.
i'm not sure why the audio is not converting from LPCM to WAV correctly. any help would be appreciated.
|
noee
Newbie
|
8. August 2003 @ 20:37 |
Link to this message
|
You guys ever get a resolution to this? I've got a similar problem, trying to rip 24/96 DVD-video and get to 24/96 WAV. Every ripper I've tried sticks it to 16/48.
EDIT: Nevermind, figured it out with vStrip(demux) and LPCM24.
This message has been edited since posting. Last time this message was edited on 8. August 2003 @ 22:19
|
Advertisement
|
  |
|
squeegs
Newbie
|
21. August 2003 @ 18:34 |
Link to this message
|
EDIT: Nevermind, figured it out with vStrip(demux) and LPCM24.
ok i know vstrip but what do u mean by lpcm24 ??? is it a function in vstrip or another program ? thank you ....
|