What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Help decode .wav

Help decode .wav
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Help decode .wav
quote:
Originally posted by Ezra
Stream 0

Media Type 0:
--------------------------
(...)

Media Type 1:
--------------------------
(...)


Maybe that helps :S
Those things are of no use though...
quote:
Originally posted by Ezra
If found another thread about that codec I was talking about: http://www.hydrogenaudio.org/forums/lofiversion/index.php/t14141.html
That thread is about something entirly different...
quote:
Originally posted by Ezra
EDIT: I have the codec, but still i'm unable to render the file :S
Yep, because the file has errors and improper coding information:

After checking the wave file myself manually:

The "fmt" chunck in the file has wrong (missing?) values...

  • FourCC: 0x0011
  • Wave Format (codec): DVI_ADPCM *Intel Corporation
  • Channels: 1 (=mono)
  • number of frames per second (Sample Rate): 8000 Hz
  • number of bytes per second (AvgBytesPerSecond): 0 (This is stored wrong AFAIK; this shouldn't be 0 and will render many playback software useless)
  • number of bytes per frame: (Block Alignment): 0 (This is stored wrong AFAIK; this shouldn't be 0)
  • number of bits per sample (BitsPerSample): 0 bps(This is stored wrong AFAIK; this shouldn't be 0, but in this case 3 or 4)
  • number of samples per block: (SamplesPerBlock): 0 bps (This is stored wrong AFAIK; although this value can also be calculated from the above values, this shouldn't be 0 as software can and will use this value to initialize buffers)

All this makes that the file will not be playable unless you know (and fix) the proper values first within the file. To do this you need to learn about the DVI_ADPCM fileformat and DVI_ADPCM decoding/encoding format and how to hexedit a file. This probably requires much guessing and also studying the data stored within the file to determine the original and proper values.

To find specific info about this particular format (and codec) I suggest to search for the very old "riffnew.doc" from microsoft, a file which can be found in some "Programmer's References" from MS-Press. I don't have the document anymore, but I remember it describes the RIFF wave format in all its details and it is quite possible you can find old references to it by searching google for "riffnew.doc" (eg: links to "MS development kits" or "SDK's" which contain this doc).

This post was edited on 05-06-2005 at 03:19 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
05-06-2005 02:43 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help decode .wav - by aNILEator on 04-01-2005 at 06:12 PM
RE: Help decode .wav - by Ezra on 04-01-2005 at 07:10 PM
RE: Help decode .wav - by RaceProUK on 04-01-2005 at 07:39 PM
RE: Help decode .wav - by Ezra on 04-01-2005 at 08:02 PM
RE: Help decode .wav - by TheGeek on 04-01-2005 at 08:46 PM
RE: Help decode .wav - by aNILEator on 04-01-2005 at 11:45 PM
RE: Help decode .wav - by aNILEator on 05-05-2005 at 11:51 PM
RE: Help decode .wav - by Concord Dawn on 05-06-2005 at 12:28 AM
RE: Help decode .wav - by CookieRevised on 05-06-2005 at 02:43 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On