Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Display Modes
Old 19th December 2001, 21:54   #1  |  Link
kinonet
HD Nerd
 
Join Date: Dec 2001
Location: Bremen, Germany
Posts: 4
Probs with AC-3 on CD (DD5.1 via SoftEncode)

Hi there,

first: Thanks to everyone for these inspiring threads. I learned so much out of it without even bothering to ask anyone else. Big hug to all you "maniacs" out there

But now to my problem:

Following the guide for DD5.1 on Audio-CD (e.g. found on dvd.box.sk or digital-digest) using mostly softencode to produce a 44.1/DD.wav track with 5.1 channels in it.

Worked fine sofar. My DVD-Player (an early Pioneer 505) puts out the track to the Onkyo (set-top) DD-decoder which lights up all 6 channel indicators "perfectly"...

BUT: The sound comes out stutterted (channel lights flashes in same rythm) like the data stream is breaking every few milliseconds.

The DD.wav is definetly 44.1 and the mono-channel-wavs for each channel are absolutely ok. (tried even selfmade testtones from cooledit)

I am confused that the dd.wav is always the same size no matter what kind of encode-settings in softencode i choose. I expected the size to shrink when i omit channels and drop in resolution (tried from min to max 640k) --> nothing helped.


Unfortunately i don't have a chance to check the dd-cd with other equipement.

So this is my call for help/suggestions/comments on this procedure.

My aim is clearly to produce a 6 channel encoded Dolby Digital Audio CD. I checked the forums and other resources on the net, but this is not as good documented as one should think. (or did i miss something )

well, anyway, have a great holiday season
(only a few days to go and Santa will give me great new toys like an A03 and a lots of DVD-RW <yipiiiee> )

thanks
kinonet
kinonet is offline   Reply With Quote
Old 19th December 2001, 22:09   #2  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
Quote:
BUT: The sound comes out stutterted (channel lights flashes in same rythm) like the data stream is breaking every few milliseconds
possibly data was interleaved within 5644bytes blocks instead of 6144. that would keep the music speed correct, but will add stuttering noise.

if you have HexEditor, you could check to see where zero padding ends (before address 6000 or after).

I believe DarkAvenger might know more about it.


Quote:
I am confused that the dd.wav is always the same size no matter what kind of encode-settings in softencode i choose. I expected the size to shrink when i omit channels and drop in resolution (tried from min to max 640k) --> nothing helped.
it will ALYWAYS take 1411200bits/seconds. that's the CDDA format, and it doesn't matter what payload it holds (lpcm/ac3/dts).

Last edited by DSPguru; 19th December 2001 at 22:13.
DSPguru is offline   Reply With Quote
Old 19th December 2001, 23:55   #3  |  Link
kinonet
HD Nerd
 
Join Date: Dec 2001
Location: Bremen, Germany
Posts: 4

wow, thanks for the very fast reply.

Thanks for clearing the mist around the filelength-"mystery". I should have known it (well where is my donkey-hat )

I checked each of my resulting test dd.wavs for the zero-paddings.
Each data-block is padded to a total length of exactly 6144 bytes.
Rechecked on different file-positions just to make sure i don't make dump readingmistakes.

So it looks like the padding is right (if i did understand it right: 6144 is ok, lower is not ok)

I even tested with things like motorola-order or intel-byteorder in softencode, so whatever i change (or not change) it will result in the same thing.

I found a way to use another "reader". I will use the digital output of my Pioneer LD-Player to be feed into the DVD-Digital-in of the decoder. So the "CD-Audio"-Stream should reach the decoder. With this test i could proof that it's not simply the dvd-player. But this will take extensive reconnecting, so more on this test tomorrow.

Thanks again to DSPguru for your fast advise.

have a good one
kinonet
kinonet is offline   Reply With Quote
Old 20th December 2001, 13:53   #4  |  Link
ChristianHJW
Guest
 
Posts: n/a

... you know i'm principially a fan of 44.1 KHz ( ) but doesnt AC3 5.1 DD have to be 48 KHz in any case ?
  Reply With Quote
Old 20th December 2001, 18:52   #5  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506

the standard supports 32khz,44.1khz,48khz (just like mp3).
DSPguru is offline   Reply With Quote
Old 20th December 2001, 21:39   #6  |  Link
kinonet
HD Nerd
 
Join Date: Dec 2001
Location: Bremen, Germany
Posts: 4

Good afternoon everybody.

I rechecked the the files for the header and framepaddings. All is absolutely to the norm. 6144 byte each frame (zero padded). The WAV Fileheader is exactly the same as on a 2-channel-pcm-testtone-wav made with cooledit.

On all files the length is 10sec of a440 testtone (in the DD5.1 the lfe is -10db on lfe to secure my subwoofers

The resulting length from the pcm-wav differs from the dd-wav by 6 Bytes, so i would think that i can't be any kind of unsufficient data-delievery-speed from the dvd-player. The player should be able to hold the single-speed-audio-cd-stream at any time. The dd5.1.wav file isn't any longer so the player shouldn't have any problems with reading and delievering it in realtime.

I will make up another test-cd to go to a shop tomorrow to see how other amps react on these streams. Hopefully i'll find a way so i can document it in a foolproof howto.

Any other suggestions or ideas on what to check or test?

Thanks and regards
kinonet
kinonet is offline   Reply With Quote
Old 20th December 2001, 22:07   #7  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506

did you check the quality of the waves you're inputting Soft-Encoder ?
DSPguru is offline   Reply With Quote
Old 20th December 2001, 23:48   #8  |  Link
kinonet
HD Nerd
 
Join Date: Dec 2001
Location: Bremen, Germany
Posts: 4
@DSPguru

yeap...
i think they are ok.

all waves are saved as Microsoft WAV
44.1 mono at 16bit
for each single-channel-wave
(that should be ok, right?)

when importing into softencode the type-dropdown is set on Microsoft WAV. The composed 6channel sound can be heard intact when pressing "play" in softencode. So i presume that they are all ok.

But you just brought up an idea. Instead of opening it as Microsoft WAV, i could try RAW with the appropriate settings (1channel, 44.1)

Gotta try if that'll make a difference (after some hours of descent sleep

I'll give feedback tomorrow about my testtrip to my local hifi-shop and about the result of this new test.

Thanks again
kinonet

PS: something else i just thought about: If i export it to DD.ac3 instead of DD.wav the resulting DD.ac3 file can be played perfectly well, ok and with the right timing via PowerDVD 4xp. So that would be in my opinion another proof that the step up to there are ok and with it the wavs i use.

Last edited by kinonet; 20th December 2001 at 23:55.
kinonet is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:17.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.