User User name Password  
   
Sunday 20.7.2025 / 10:42
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital audio > audio > looking for a lpcm to wav converter
Show topics
 
Forums
Forums
Looking for a LPCM to wav converter
  Jump to:
 
Posted Message
squeegs
Newbie
_
15. July 2003 @ 01:27 _ Link to this message    Send private message to this user   
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    Send private message to this user   
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    Send private message to this user   
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    Send private message to this user   
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    Send private message to this user   
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    Send private message to this user   
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    Send private message to this user   
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    Send private message to this user   
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    Send private message to this user   
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    Send private message to this user   
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    Send private message to this user   
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    Send private message to this user   
Try using DVD Decrypter as an alternative to snart ripper.
It's on these pages at
http://www.afterdawn.com/software/video_software/dvd_rippers/dvd_decrypter.cfm
I've found this to be a top app, and very good quality obtainable too.
HTH
sfgecko
Newbie
_
2. August 2003 @ 20:23 _ Link to this message    Send private message to this user   
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    Send private message to this user   
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    Send private message to this user   
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 ....
afterdawn.com > forums > digital audio > audio > looking for a lpcm to wav converter
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork