View Full Version : How to analyse structure or encoding of a wav file?
Novalis
16th February 2003, 19:51
Hi,
I've got a wav file and the only thing I know about it is that it's probably in 5.1 or DTS and sample rate is 48kHz. But not sure. I tried to transcode it with BeSweet several times into mp3, but without success. I'm not sure about settings etc. because I pretty new to this stuff.
First I'd like to know: Is there a tool to analyse the wav file to be sure about how it's encoded.
If it is a multichannel wav, what would be the settings in besweet to transcide it to mp3 or stereo wav.
I've tried this one:
"c:BeSweet.exe" -core( -input C:\input.wav" -output "C:\output.mp3" ) -ota( -fs 48000 ) -lame( -b 128 )
Thx
Novalis
DSPguru
17th February 2003, 20:06
cut the first 100bytes of that file and paste in here.
Novalis
17th February 2003, 20:16
well, here you go:
RIFFT.%.WAVEfmt ........D...........data0.%
then there are a couple of zeros and then binary code again.
thx
Novalis
DSPguru
17th February 2003, 20:22
could you please attach this part, so i can clearly read the binary parts.
Novalis
17th February 2003, 20:33
here are the first 2756 bytes of the file
thx
Novalis
<how does this att. stuff work. Where can I see/open it?>
Novalis
17th February 2003, 20:53
Maybe I should tell a bt more about the history of the files.
The wav's a generated by Nero during the attempt to burn the DTS CD from an cd-image. So I'm already not quite sure if that went ok. However, it seems that I get different result if I use Isobuster for extraction (see att.)
thx
Novalis
DSPguru
18th February 2003, 21:44
it seems like the first attachment (wavpart) is a ddwav :
http://forum.doom9.org/showthread.php?s=&threadid=42608
Novalis
18th February 2003, 23:33
Great, thank you!
The following worked for me:
BeSplit v0.9b4 by DSPguru.
--------------------------
Logging start : 02/18/03 , 23:27:30.
besplit -core( -logfile c:\besplit.log -input c:\tmp\ner71f37.wav -output test.ac3 -type ddwav -fix )
[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : c:\tmp\ner71f37.wav
[00:00:00:000] | Source Sample-Rate: 44.1KHz
[00:00:00:000] | Channels Count: 5, Bitrate: 640kbps
[00:00:00:000] | Output : test.ac3
[00:00:00:000] +---------------------
[00:03:49:215] | Writing test.ac3
[00:03:49:215] +---------------------
[00:03:49:215] Operation Completed !
[00:00:22:000] <-- Process Duration
Logging ends : 02/18/03 , 23:27:52.
It was a bit hard though to find v0.9b4. Everywhere 0.82 is linked. So I just guessed ;)
cheers
Novalis
Now I have to burn the ac3 as a ddwav on CD. I hope I'll find out how that works.
Novalis
19th February 2003, 08:55
Well, not that easy. I've done two output files now.
One is a 6-channel-wav that plays on winamp and is about 3 times the size it was before (I have no DD Hardware on my machine) and was generated like this:
BeSweet v1.4 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using Shibatch.dll v0.2 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Logging start : 02/19/03 , 00:32:04.
BeSweet.exe -core( -input test.ac3 -output C:\TMP\test.wav -6chwav -logfilea c:\BeSure.txt ) -azid( -g max -L -3db ) ) -ssrc( --rate 44100 )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Download\DTS-guano_apes_dontgivemenames_dd_5.1_48khz\test.ac3
[00:00:00:000] | Output: C:\TMP\test.wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 3/2, Bitrate: 640kbps
[00:00:00:000] | Total Gain: 8.542dB, Compression: None
[00:00:00:000] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] | Center mix level: BSI
[00:00:00:000] | Surround mix level: BSI
[00:00:00:000] | Dialog normalization: No
[00:00:00:000] | Rear channels filtering: No
[00:00:00:000] | Source Sample-Rate: 44.1KHz
[00:00:00:000] +---------------------
[00:03:49:215] Conversion Completed !
[00:03:49:215] Actual Avg. Bitrate : 4233kbps
[00:02:45:000] <-- Transcoding Duration
Logging ends : 02/19/03 , 00:34:49.
This file is not to burn with Nero -> Error reading the file
Thenn I created 6 single wav (1 for each channel) like this:
BeSweet v1.4 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using Shibatch.dll v0.2 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Logging start : 02/18/03 , 23:56:55.
BeSweet.exe -core( -input C:\test.ac3 -output C:\TMP\mono -6ch -logfile c:\BeSure.txt ) -azid( -g max -L -3db ) ) -ssrc( --rate 44100 )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Download\DTS-guano_apes_dontgivemenames_dd_5.1_48khz\test.ac3
[00:00:00:000] | Output: FL, FR, SL, SR, C, LFE
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 3/2, Bitrate: 640kbps
[00:00:00:000] | Total Gain: 8.542dB, Compression: None
[00:00:00:000] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] | Center mix level: BSI
[00:00:00:000] | Surround mix level: BSI
[00:00:00:000] | Dialog normalization: No
[00:00:00:000] | Rear channels filtering: No
[00:00:00:000] | Source Sample-Rate: 44.1KHz
[00:00:00:000] +---------------------
[00:03:49:215] Conversion Completed !
[00:02:55:000] <-- Transcoding Duration
Logging ends : 02/18/03 , 23:59:50.
and then put them togehther with SurCode. What I get is a 44KHz Stereo wav which, if I burn it on CD and play it on my DVD-Player, is only noise.
My DD-Receiver can decode DTS, yes.
any suggestions? Which one shohuld be the right file to burn? And did I produce it the right way?
DSPguru
19th February 2003, 21:09
test.ac3 was exrtacted correctly, to burn it into a dts-cd, you should use BeSure.
BUT!
you could burn the original wav. it's already a ddwav.
Novalis
19th February 2003, 22:47
If I use Besure to make a DTS-CD I get 6 mono wavs out of my ac3.
besweet -core( -input test.ac3 -output C:\TMP\mono -6ch -logfilea c:\tmp\BeSure.txt ) -ssrc( --rate 44100 )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\TMP\test.ac3
[00:00:00:000] | Output: FL, FR, SL, SR, C, LFE
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 3/2, Bitrate: 640kbps
[00:00:00:000] | Total Gain: 0.000dB, Compression: None
[00:00:00:000] | LFE levels: To LR -INF, To LFE 0.0dB
[00:00:00:000] | Center mix level: BSI
[00:00:00:000] | Surround mix level: BSI
[00:00:00:000] | Dialog normalization: No
[00:00:00:000] | Rear channels filtering: No
[00:00:00:000] | Source Sample-Rate: 44.1KHz
[00:00:00:000] +---------------------
[00:03:49:215] Conversion Completed !
[00:01:46:000] <-- Transcoding Duration
Logging ends : 02/20/03 , 18:52:19.
SurCode CD Pro DTS
-----------------------------------
Logging start : 20.02.2003 18:52:19
thx
Novalis
Novalis
20th February 2003, 23:36
I tried again to burn the CD with NERO and the wavs generated by the programm.
First attempt failed -> only noise from DVD-Player
Second attempt: I placed a totally different DTS-wav from a different album at the first position of my DD-CD. Burned it. In DVD player.
I can listen to all tracks
My receiver switches for the first track to DTS and plays the song. After that it switches to DD and plays the complete album it refused to do before.
Whats going on here? and how can I burn the CD correctly without the DTS wav? Why doesn't the receiver recognize the CD if I burn it only with the DD wavs?
thx
Novalis
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.