Log in

View Full Version : dvi adpcm converting bug using LAME ACM.


phrentec
16th February 2004, 01:28
Hello. I am trying to play back a wav file created by this mp3 player's recording function. MediaPlayerClassic returns this info:

Stream 0
Wave Parser

Media Type 0:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {00000011-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 256
cbFormat: 20

WAVEFORMATEX:
wFormatTag: 0x0011
nChannels: 1
nSamplesPerSec: 8000
nAvgBytesPerSec: 4055
nBlockAlign: 256
wBitsPerSample: 4
cbSize: 2 (extra bytes)




based on the guid, {00000011-0000-0010-8000-00AA00389B71} , can someone please let me know which directshow audio codec I need to play this wav file. MPC, WMP9, and Realplayer couldn't direct me to the appropriate one. I have uploaded a sample clip here.

http://www.geocities.com/nvet8//REC_0001.WAV

Thanks.

phrentec
16th February 2004, 02:28
problem solved. I tried three codec packs and came down to acemega codec pack which had it. Gspot returned "dvi_adpcm (0x0011) Intel Corporation". But im still now sure which individual file it is using.

ac-chan123
16th February 2004, 02:34
For future problem use this list of fourCC(Video) and TwoCC(Audio):
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/registeredfourcccodesandwaveformats.asp

AC-Chan(Robert Vincenz)

phrentec
16th February 2004, 03:52
thanks but what other ways are there to find out the TwoCC of an audio file is?

ac-chan123
16th February 2004, 05:10
-in VirtualDub(Mod): "File" -> "File Information" Audio Tag
-in Winamp: Left mouse click "File Info"

Hexeditor position:0x20


see also:
Wav file format:
-http://ccrma-www.stanford.edu/courses/422/projects/WaveFormat/

for a more complete TwoCC list:
-http://kibus1.narod.ru/frames_eng.htm?sof/abcavi/twocc.htm


AC-Chan(Robert Vincenz)

phrentec
16th February 2004, 08:59
The wav files I have were shown to fall under the category of nonpcm. I have spent a few hours now on this. I am now trying to find a decent program to cut the wav file into segments directly without converting/reencode. Do you know of any wav cutter that can cut this file? I have tried WBias the Bsplit GUI but it all just returned corrupt/unplayable wav files in the output directory.

Thanks again for your reply.

phrentec
19th February 2004, 08:47
I used several lame acm versions to convert my dvi adpcm wav file using microsoft's sound recorder. So far I have tried to convert it to 8.khz 32bit and 40bit mono and what I have recieved is a file that is a few minutes longer than the original file. Also the outputed mpeg-3 wav file has a lot more artifacts. However when I disable lame acm and use the default windows fraunhofer acm it come out perfect with only a deviation of one second from the source and the quality is up to par with the original wav file without any noticable artifacts unlike the lame. But, I really want to use the lame acm because it supports the frequency and bitrate that I want. The fraunhofer acm doesn't have many bitrates to choose from at 8. khz mono.

Can someone direct me to a more workable lame acm, maybe an older version will do because I've already tried the newer versions, I haven't found any sites that host the older versions of the lame acm. Thanks.