HydrogenAudio

Lossy Audio Compression => AAC => AAC - Tech => Topic started by: TranceVibes on 2007-03-24 16:41:59

Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: TranceVibes on 2007-03-24 16:41:59
Hi everybody,


I've a problem for encoding from AC3 5.1 to HE-AAC 5.1 ...
Everything seems to be working... but one audio channel is missing!
I can't hear the sound in HE-AAC for the rear left speaker! 
I use BeLight 0.2.2.0 beta9 + BeSweet 1.5b31.

My BeLight config :
http://tadd.free.fr/temp/stayOnline/beligh...ight-config.jpg (http://tadd.free.fr/temp/stayOnline/belight/belight-config.jpg)
My dll for aac :
http://tadd.free.fr/temp/stayOnline/beligh...ght-aac-dll.zip (http://tadd.free.fr/temp/stayOnline/belight/belight-aac-dll.zip)
My AC3 sample : (note : wait until 15sec... more 3D effets!)
http://tadd.free.fr/temp/extraits/I_say_L-R-C-LFE-SL-SR.ac3 (http://tadd.free.fr/temp/extraits/I_say_L-R-C-LFE-SL-SR.ac3)
The generated he-aac :
http://tadd.free.fr/temp/extraits/I_say_L-...SL-SR_wrong.mp4 (http://tadd.free.fr/temp/extraits/I_say_L-R-C-LFE-SL-SR_wrong.mp4)

Any idea?? 


Thank you in advance! 
a+
Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: kurtnoise on 2007-03-24 19:56:42
Please, update your package to the last build (http://coreforge.org/projects/belight/) or here (http://kurtnoise.free.fr/BeLight/) for the complete installer. Nero dlls have been dropped and replaced by the command line tool (http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html)...
Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: TranceVibes on 2007-03-25 00:54:57
Hi kurtnoise, thank you for answering!

Please, update your package to the last build (http://coreforge.org/projects/belight/) or here (http://kurtnoise.free.fr/BeLight/) for the complete installer.

But I've already the latest version... (BeLight 0.2.2.0 beta9)


Nero dlls have been dropped and replaced by the command line tool (http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html)...

OK so what am I supposed to do with this?
NeroDigitalAudio.zip contains neroAacDec.exe, neroAacEnc.exe, neroAacEnc_SSE32.exe, neroAacTag.exe ...
Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: kurtnoise on 2007-03-25 08:35:29
But I've already the latest version... (BeLight 0.2.2.0 beta9)

The last one is the RC1 build (Release Candidate 1)...

OK so what am I supposed to do with this?
NeroDigitalAudio.zip contains neroAacDec.exe, neroAacEnc.exe, neroAacEnc_SSE32.exe, neroAacTag.exe ...

NeroAAcEnc is the compressor...Just put it in the BeSweet directory.
Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: TranceVibes on 2007-03-26 22:04:22
I just discovered that there is no missing channel,
but in fact the channels are misplaced!

(before) -> (after)
=====================
front left -> center
front right -> front left
center -> front right
LFE -> rear left
rear left -> rear right
rear right -> LFE


The last one is the RC1 build (Release Candidate 1)...
NeroAAcEnc is the compressor...Just put it in the BeSweet directory.
OK I will try this tomorrow.
Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: TranceVibes on 2007-03-28 09:24:36
Can you tell me if you hear the same thing as me please?

I say in this order :
-L = front left ("avant gauche" in French)
-R = front right (avant droite)
-C = center (milieu)
-LFE = bass (basse)
-SL = rear left (arrière gauche)
-SR = rear right (arrière droite)


AC3 5.1 works.
=> I_say_L-R-C-LFE-SL-SR.ac3 (http://tadd.free.fr/temp/extraits/I_say_L-R-C-LFE-SL-SR.ac3)
Ogg 5.1 works.
=> I_say_L-R-C-LFE-SL-SR.ogg (http://tadd.free.fr/temp/extraits/I_say_L-R-C-LFE-SL-SR.ogg)
He-Aac 5.1 "works" but with a manipulation.
Instead of giving while encoding this order L-R-C-LFE-SL-SR, I give as input this order C-FL-FR-SL-SR-LFE...
=> I_say_L-R-C-LFE-SL-SR.mp4 (http://tadd.free.fr/temp/extraits/I_say_L-R-C-LFE-SL-SR.mp4)

Can you tell me if for the last one you here all the sounds in the right channel please?
Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: menno on 2007-03-28 10:03:31
It's a decoding problem. Your AAC decoder outputs in the standard AAC order, it should convert that to MS ordering.

Try decoding it with neroAacDec.exe from the package and see if the output wav file still has incorrect order.
Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: TranceVibes on 2007-03-28 18:36:02
Try decoding it with neroAacDec.exe from the package and see if the output wav file still has incorrect order.

I tried :
Code: [Select]
D:\Programmes\Audio\BeSweet+BeLight_>
neroaacdec -if d:\temp\AC3\kirdee.mp4 -of d:\temp\AC3\kirdee_out.wav
But the following error is generated...
Code: [Select]
moov box not found
The paths are correct... 


Well, can you download the He-Aac sample just above and tell me if you here the channels in the right order please ?????????
Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: menno on 2007-03-29 06:54:33
First of all it's an AAC file, not an MP4 file
I decoded it and it seems the channels are encoded in the wrong order. Probably the encoder used (FAAC I guess) requires input in AAC order instead of MS order. Blame the frontend
Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: TranceVibes on 2007-03-29 08:08:36
Blame the frontend

OK cool, thanks!
The problem is an incorrect channel order given in the mux file?
So if I'm correct, this order is false :
Code: [Select]
FL-FR-C-LFE-SL-SR
... and should be ...
Code: [Select]
C-FL-FR-SL-SR-LFE
Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: TranceVibes on 2007-03-29 16:50:51
OK so this time I tried a new order within my MUX file :
Code: [Select]
B-16B-C.wav
B-16B-FL.wav
B-16B-FR.wav
B-16B-SL.wav
B-16B-SR.wav
B-16B-LFE.wav


This time I hear the channels in the right order. 
http://tadd.free.fr/temp/extraits/I_say_L-R-C-LFE-SL-SR.mp4 (http://tadd.free.fr/temp/extraits/I_say_L-R-C-LFE-SL-SR.mp4)
Do you also hear it in the right order?
Title: [BeLight: AC3 5.1 -> HE-AAC 5.1] One audio channel is missing!
Post by: audiotools on 2007-05-02 22:27:09
i do not use any frontends so i can not say exactly whats going wrong here.
what will work: use NeroAAcEnc.exe + latest bsn.dll + besweet.exe and make a bat file like

Code: [Select]
besweet.exe -core( -input "V:\AUDIO_TRACKS_TEST\I_say_L-R-C-LFE-SL-SR.ac3" -output "V:\AUDIO_TRACKS_TEST\AudioTrack001-de.mp4" -logfile "V:\AUDIO_TRACKS_TEST\BeSweetLog.txt" ) -ota( -norm 0.950 ) -azid( -c normal ) -bsn( -vbr 0.200 -aacprofile_he -6chnew )


the import thing is the -6chnew switch in the bsn section.
you should take a serious look on the code your favorite frontend generates!