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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th November 2006, 23:33   #141  |  Link
Skelsgard
foobaring my ass off
 
Skelsgard's Avatar
 
Join Date: Nov 2005
Location: Argentina
Posts: 618
Your output WAV PCM must be in this order for correct channel mapping: L-R-C-LFE-Ls-Rs.
What are you using for AAC --> WAV decoding?
If the tool doesn´t have a correct maping on decoding, it is gonna get you a while till you figure out what order is being used, as AAC is C-L-R-Ls-Rs-LFE (the LFE order might be wrong though, I don´t remember).
The AC3 encoder (i.e Aften) assumes that the order is right, so you get this:
C-L-R-Ls-Rs-LFE (a wrongly decoded WAV from AAC)
L-R-C-LFE-Ls-Rs (a correct WAV mapping)

So C goes to L, L to R, R to LFE, and so on and so forth.

Check your AAC decoding.
As last resource, strip into mono streams the 6-ch WAV (with Ww ), determine wich mono channel is wich, and remux with WAV order.

Cheers
__________________
"Damn, respect my authoritay!!" - E. Cartman
Skelsgard is offline   Reply With Quote
Old 15th November 2006, 00:47   #142  |  Link
Robot
Registered User
 
Join Date: Jun 2006
Posts: 19
This is the process I’ve been using.

1. I take the 6-channel AAC file (ripped from a QT file)

2. I put the AAC file into the Nero encoding tool and output it to a PCM WAV file.

3. I take the WAV and put it into Wavewizard (where I get stuck with the channel mapping).

4. I then take the newly created WAV and encode it to AC3 via Aften.

Thanks.
Robot is offline   Reply With Quote
Old 15th November 2006, 00:57   #143  |  Link
Skelsgard
foobaring my ass off
 
Skelsgard's Avatar
 
Join Date: Nov 2005
Location: Argentina
Posts: 618
Does the first WAV decoded thru Nero plays with correct mapping?
__________________
"Damn, respect my authoritay!!" - E. Cartman
Skelsgard is offline   Reply With Quote
Old 15th November 2006, 02:57   #144  |  Link
Robot
Registered User
 
Join Date: Jun 2006
Posts: 19
Quote:
Originally Posted by Skelsgard View Post
Does the first WAV decoded thru Nero plays with correct mapping?
Unfortunately, I don’t know. I don’t have a 5.1 system on my computer. I can only tell if the mapping is right if I burn to DVD.
Robot is offline   Reply With Quote
Old 15th November 2006, 11:16   #145  |  Link
raquete
Registered User
 
Join Date: Nov 2004
Location: Brazil
Posts: 745
if you have one wave(interleaved-6 channels),open in nero wave editor only to check the "map".
raquete is offline   Reply With Quote
Old 15th November 2006, 14:03   #146  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
does this help?
AAC
  1. center
  2. front left channel
  3. front right channel
  4. rear left channel
  5. rear right channel
  6. LFE
Wav
  1. front left
  2. front right
  3. front center
  4. LFE
  5. rear left
  6. rear right
oops never mind

Last edited by Ebobtron; 15th November 2006 at 14:05. Reason: to late
Ebobtron is offline   Reply With Quote
Old 15th November 2006, 15:59   #147  |  Link
Skelsgard
foobaring my ass off
 
Skelsgard's Avatar
 
Join Date: Nov 2005
Location: Argentina
Posts: 618
A fast way I use to see the mapping is to play the WAV thru AC3filter, wich has an equalizer that shows you the levels of each audio channel. This way avoids having to strip the channels and check each channel individually.
Usually the channel with little to no level througought the track is the LFE, the one that is almost always high specially on dialogs is the Center. Left and Right have normally the same levels at the same time, and peaks in the surround channels are not as frequent as the Frontal Left and Right, but there are still more than in the LFE. Also, Left comes always before Right. If u have channel 0 and channel 1, it´s bound to be that #0 is L and #1 is Right (the same with surround channels).
This might sound complicated but you only need to see it once and you´ll understand inmediately.

Cheers.
__________________
"Damn, respect my authoritay!!" - E. Cartman
Skelsgard is offline   Reply With Quote
Old 15th November 2006, 16:19   #148  |  Link
raquete
Registered User
 
Join Date: Nov 2004
Location: Brazil
Posts: 745
Quote:
This might sound complicated ..
is complicated and the levels of channels don't "obey" rules...less LFE of course,all depend of the source and his separations between channels..opening one short interleaved 6-channels in nero wave editor is easy to "see" the waveforms and to hear the channels(all together of separated)...will be faster and secure but...taste is taste. :-)
raquete is offline   Reply With Quote
Old 16th November 2006, 17:18   #149  |  Link
Skelsgard
foobaring my ass off
 
Skelsgard's Avatar
 
Join Date: Nov 2005
Location: Argentina
Posts: 618
Opening with AC3filter implies no need to trim, export, wait till the file is loaded into the audio app and peak-searched.
You just open it. It doesn´t get any faster, easier or less energy consuming than that.

Cheers.
__________________
"Damn, respect my authoritay!!" - E. Cartman
Skelsgard is offline   Reply With Quote
Old 16th November 2006, 17:28   #150  |  Link
raquete
Registered User
 
Join Date: Nov 2004
Location: Brazil
Posts: 745
right Skelsgard,seems easy to recognize when you know the source but for unknow...well,i like and use AC3filter but it only show me levels and not waveforms then again,for unknow sources is hard only whatching levels...i lose something in your hints? trust,i really want to know how you use in this case.thanks!
raquete is offline   Reply With Quote
Old 16th November 2006, 18:25   #151  |  Link
Skelsgard
foobaring my ass off
 
Skelsgard's Avatar
 
Join Date: Nov 2005
Location: Argentina
Posts: 618
Remember that there´s nothing absolute here. There are always opinions, wich can be discussed and shared, and hopefully never silenced.
Is not "you´re wrong and I´m right", just "I like more this way because... than this other way".
And about the "rules", they´re just meant to be general guidelines, nothing more.

About what i mean.
It´s something like this, I´ll give some examples:

The first image is a standard AC3 being decoded with AC3filter.
The channels in the levels panel seem to correspond to a portion of the movie with dialog (high level C), maybe some background music? (medium levels L and R, with almost equal loudness), birds ramdomly singing on the trees? (low level Ls and Rs), and nothing blowing up (null LFE).



Now the next pics belong to an apparently wrongly-mapped-when-decoded WAV.




Now we have a L channel with high level maintained in samples from different time (the upper and bottom images are 10 minutes apart from each other). SL and LFE have the same levels across the samples, might correspond to L and R. And so on.

Knowing this is a wrongly mapped decoded AAC, i can assume that the order is
C-L-R-Ls-Rs-LFE, instead of
L-R-C-LFE-Ls-Rs.
So I find the correlations: a high level L in dialogs wich would correspond to C, R and C sharing levels with similar overall levels wich would relate to L and R respectively. The same for LFE and Ls, relating to Ls and Rs respectively. And an almost null, low level for moments, Rs, relating to LFE.

This entire mental construction, as long as it seems, occurs in half a second.
You just click-open the WAV, check ac3filter´s properties and there you see it.

I feel this is parting away from the main issue of the thread wich is Wavewizard, maybe it can be continued in a new thread.

Cheers.
__________________
"Damn, respect my authoritay!!" - E. Cartman
Skelsgard is offline   Reply With Quote
Old 16th November 2006, 23:02   #152  |  Link
raquete
Registered User
 
Join Date: Nov 2004
Location: Brazil
Posts: 745
all clear,very clear.
this is the "bingo" part:
Quote:
The channels in the levels panel seem to correspond to a portion of the movie with dialog (high level C),
selecting one part with dialogue will be very easy...and fast of course.
thanks Skelsgard,your explanations are very complete and don't need any audio editor to check,AC3filter can do it easily following your hints.
raquete is offline   Reply With Quote
Old 17th November 2006, 00:02   #153  |  Link
Robot
Registered User
 
Join Date: Jun 2006
Posts: 19
OK, I'm lost now.
Robot is offline   Reply With Quote
Old 17th November 2006, 12:31   #154  |  Link
raquete
Registered User
 
Join Date: Nov 2004
Location: Brazil
Posts: 745
compilation...(resuming)
Quote:
Originally Posted by Robot View Post
I’m hoping someone can help me with this problem.

I have a 6-channel PCM wav that I’m trying to turn into an ac3 file. The problem I’m having is with the channel mapping. I cannot figure out how to map them correctly for ac3.
Quote:
Originally Posted by Skelsgard View Post
Your output WAV PCM must be in this order for correct channel mapping: L-R-C-LFE-Ls-Rs.
Quote:
Originally Posted by Skelsgard View Post
A fast way I use to see the mapping is to play the WAV thru AC3filter, wich has an equalizer that shows you the levels of each audio channel. This way avoids having to strip the channels and check each channel individually.
Quote:
Originally Posted by Skelsgard View Post
About what i mean.
It´s something like this, I´ll give some examples:

The first image is a standard AC3 being decoded with AC3filter.
The channels in the levels panel seem to correspond to a portion of the movie with dialog (high level C), maybe some background music? (medium levels L and R, with almost equal loudness), birds ramdomly singing on the trees? (low level Ls and Rs), and nothing blowing up (null LFE).



Now the next pics belong to an apparently wrongly-mapped-when-decoded WAV.




Now we have a L channel with high level maintained in samples from different time (the upper and bottom images are 10 minutes apart from each other). SL and LFE have the same levels across the samples, might correspond to L and R. And so on.

Knowing this is a wrongly mapped decoded AAC, i can assume that the order is
C-L-R-Ls-Rs-LFE, instead of
L-R-C-LFE-Ls-Rs.
So I find the correlations: a high level L in dialogs wich would correspond to C, R and C sharing levels with similar overall levels wich would relate to L and R respectively. The same for LFE and Ls, relating to Ls and Rs respectively. And an almost null, low level for moments, Rs, relating to LFE.

This entire mental construction, as long as it seems, occurs in half a second.
You just click-open the WAV, check ac3filter´s properties and there you see it.

I feel this is parting away from the main issue of the thread wich is Wavewizard, maybe it can be continued in a new thread.

Cheers.
now is very easy...
Skelsgard's posts are like a guide with pictures.
regards
raquete is offline   Reply With Quote
Old 12th December 2006, 12:02   #155  |  Link
DAKnn
Registered User
 
Join Date: Feb 2006
Location: Russia
Posts: 10
where download ssrcdll.dll ?? for starting wavewizard.exe
..
Wavewizard uses ssrc_hp to resample. Look at the forum for the latest release ..
Im not found ssrcdll.dll and ssrc_hp for download..
DAKnn is offline   Reply With Quote
Old 12th December 2006, 17:45   #156  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by DAKnn View Post
where download ssrcdll.dll ?? for starting wavewizard.exe
..
Wavewizard uses ssrc_hp to resample. Look at the forum for the latest release ..
Im not found ssrcdll.dll and ssrc_hp for download..
ssrcdll.dll is with Wavewizardv0.54b package.

I don't need any file ssrc_hp to resample with wavewizardv0.54.
tebasuna51 is offline   Reply With Quote
Old 19th December 2006, 01:19   #157  |  Link
Robot
Registered User
 
Join Date: Jun 2006
Posts: 19
How do you use AC3filter to check the mapping? I see no way to open a file with it.

What am I missing?
Robot is offline   Reply With Quote
Old 19th December 2006, 09:39   #158  |  Link
Skelsgard
foobaring my ass off
 
Skelsgard's Avatar
 
Join Date: Nov 2005
Location: Argentina
Posts: 618
Open the AC3 in a Directshow player and check for the filters used to render the file. There it should be AC3Filter.
Or if you use MPC, be sure to have AC3filter doing the decoding instead of MPC´s built-in filters.
Don´t know if VLC accepts AC3filter as decoding filter.

Cheers.
__________________
"Damn, respect my authoritay!!" - E. Cartman
Skelsgard is offline   Reply With Quote
Old 21st December 2006, 21:43   #159  |  Link
Robot
Registered User
 
Join Date: Jun 2006
Posts: 19
OK, I used MPC and AC3filter to play the 6-Channel wav. This is what I got:



I'm not sure I understand what I'm looking at. How do I re-map this using WW?

Thanks again for all your help!
Robot is offline   Reply With Quote
Old 22nd December 2006, 03:27   #160  |  Link
Skelsgard
foobaring my ass off
 
Skelsgard's Avatar
 
Join Date: Nov 2005
Location: Argentina
Posts: 618
From the pic you posted, SR and LFE seem to be switched.
If you decode that stream to 6 mono WAV, you get a SR probably containing LFE and viceversa.
Load the 6 mono streams in this order to get a proper WAV:
L-R-C-SR-SL-LFE
and play it again.
Post two pics of the results if possible, a few minutes apart from each other.

Cheers.
__________________
"Damn, respect my authoritay!!" - E. Cartman
Skelsgard is offline   Reply With Quote
Reply


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 09:17.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.