View Single Post
Old 14th October 2008, 23:41   #640  |  Link
NanoBot
Registered User
 
Join Date: Sep 2003
Posts: 209
Hi again,

as an exception, I will answer my own posting because I found the reason for my problems. If one of the moderators would be so kind, he might move all postings related to this subject to a new thread, perhaps in the audio encoding forum.

First of all, reripping the DTS audio CDs was not the solution, because the ripped dtswav files were okay. The problem was caused by the programs which are used to convert dtswav files to dts files. I tried three different programs, that's wav2dts, besplit and DTSParser, and for some reason, all of them set the frame size in newly produced dts files to 3585 byte instead of 3584 byte by mistake. I found that by comparing the DTS headers of one of the defective files to another DTS file, which are working fine. The informations on that website were helpful for me to point out the error:

http://wiki.multimedia.cx/index.php?title=DTS

Correct DTS file headers:

Code:
Frame Type		1		normal
NumOfSamples - 1	11111		31
CRCPresent		0		no
NumOfBlocks		0011111		31
FrameSize - 1		00110111111111	3583
ChannelConfig		001001		L,C,R,SL,SR,LFE
SampleRate		1000		44100Hz
BitRate			10110		1411,2 kBit/s
DownMix			0
DynamicRange		0
TimeStamp		0
AuxData			0
HDCD			0
External Descr		000
External coding		0
ASPF			1
LFE 			10
Predictor history	1
Header CRC		not present
Multirate inter		0
Version			0111
Copy history		01
Source PCM resolution	000		16 bit
Front sum		0
Surround sum		0
Dialog normalization	0000		none
Defective DTS file header:

Code:
Frame Type		1		normal
NumOfSamples - 1	11111		31
CRCPresent		0		no
NumOfBlocks		0011111		31
FrameSize - 1		00111000000000	3584
ChannelConfig		001001		L,C,R,SL,SR,LFE
SampleRate		1000		44100Hz
BitRate			10110		1411,2 kBit/s
DownMix			0
DynamicRange		0
TimeStamp		0
AuxData			0
HDCD			0
External Descr		000
External Coding		0
ASPF			1
LFE			10
Predictor History	1
Header CRC		not present
Multirate inter		0
Version			0111
Copy history		01
Source PCM resolution	010		20 bit
Front sum		0
Surround sum		0
Dialog normalization	0000		none
Is it possible that the authors of all three programs did not notice that the relevant header field must contain the frame size - 1 ?

C.U. NanoBot

Last edited by NanoBot; 14th October 2008 at 23:45. Reason: Typo
NanoBot is offline