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 28th March 2007, 19:50   #1  |  Link
Raven2x
Registered User
 
Join Date: Aug 2004
Posts: 42
4 Channel AC3 to 4 Channel AAC

Alright I am attempting to encode a film's 4.0 AC3 track in MeGui but it always ends up converting it to 2.0. 5.1 tracks and 2.0 tracks convert without any channel losses. Can anyone tell me what could possibly be wrong.
Raven2x is offline   Reply With Quote
Old 28th March 2007, 21:46   #2  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
What encoder you use? Nero or CT? and what settings you use in MeGUI, did you select keep original channels? Probably you are i just ask
shon3i is offline   Reply With Quote
Old 29th March 2007, 01:53   #3  |  Link
Raven2x
Registered User
 
Join Date: Aug 2004
Posts: 42
Quote:
Originally Posted by shon3i View Post
What encoder you use? Nero or CT? and what settings you use in MeGUI, did you select keep original channels? Probably you are i just ask
Nero
Force Decoding Through Directshow (unchecked)
Keep Original Channels
Increase Vol Auto (Check)
Improve Accuracy etc (Check)
Delay Correction No
Variable Bitrate = Q=.3
AAC Profile = Automatic
Raven2x is offline   Reply With Quote
Old 31st March 2007, 02:45   #4  |  Link
Raven2x
Registered User
 
Join Date: Aug 2004
Posts: 42
Any recommendations?
Raven2x is offline   Reply With Quote
Old 31st March 2007, 03:19   #5  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by Raven2x View Post
Alright I am attempting to encode a film's 4.0 AC3 track in MeGui but it always ends up converting it to 2.0. 5.1 tracks and 2.0 tracks convert without any channel losses. Can anyone tell me what could possibly be wrong.
...
Any recommendations?
Is not a easy problem because is not standard stream (4.0). I make some test and...:

The problem can be NicAudio decoder used in MEGUI, here is how decode different ac3 streams:
2/2.0 -> FL,FR,SL,SR ok
3/1.0 -> stereo downmix lt = 0,4xFL + 0,3xC + 0,3xS ...
2/2.1 -> FL,FR,SL,SR ? LFE missing
3/1.1 -> stereo downmix lt = 0,4xFL + 0,3xC + 0,3xS ... ? LFE missing
3/2.0 -> 6 channel FL,FR,C,LFEempty,SL,SR

The alternative is use Azid, with appropriate parameters works ok.

In the other hand NeroAacEnc seems only work with mono, stereo and 6channel.
CT aacPlus encoder support 4 channel.

With this info, if your 4.0 AC3 track is 2/2 (FL,FR,SL,SR) you still can use BeHappy to encode with CT aacPlus.
If your 4.0 is 3/1 (FL,C,FR,S) you need use:
azid -d3/1 -ol,r,c,sl your.ac3 output.wav

After you can encode to aac with BeHappy-CT aacPlus

Warning, the ac3 stream keep the info 2/2 or 3/1 but aac ignore this info. I don't know how this aac stream can be played.

My recommendation is convert this 4.0 to 5.1 (with empty channels) or 2.0 Dolby Prologic (I for 3/1, II for 2/2)
tebasuna51 is offline   Reply With Quote
Old 14th April 2007, 04:18   #6  |  Link
Raven2x
Registered User
 
Join Date: Aug 2004
Posts: 42
How would I go about going from 4.0 to 5.1 with empty channels?
Raven2x is offline   Reply With Quote
Old 14th April 2007, 09:43   #7  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
try quicktime
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 14th April 2007, 11:45   #8  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by Raven2x View Post
How would I go about going from 4.0 to 5.1 with empty channels?
If your ac3 is 2/2 you can use this file.avs like audio input in MEGUI:
Code:
a=NicAc3Source("D:\Your_2-2.ac3",DRC=0) # use your path, name and preferred Dynamic Range Compression parameter (0=not, 1=yes)
fl=GetChannel(a,1)
fr=GetChannel(a,2)
sl=GetChannel(a,3)
sr=GetChannel(a,4)
c =Tone(Audiolength(a),440,Audiorate(a),1,"silence")
lfe=c
MergeChannels(fl,fr,c,lfe,sl,sr)
Edit: if you obtain a error like:
Quote:
Error:
MeGUI.AviSynthException: GetChannel: Attempted to request a channel that didn't exist!
your ac3 4.0 is 3/1 then:

If your ac3 is 3/1 you need decode before with:
azid -d3/1 -ol,r,c,sl your.ac3 output.wav

and after use this file.avs like audio input in MEGUI:
Code:
a=WavSource("D:\output.wav")
fl=GetChannel(a,1)
fr=GetChannel(a,2)
c =GetChannel(a,3)
sl=GetChannel(a,4)   #maybe with .Amplify(0.707) to preserve the global volume (sl duplicated in sr)
sr=sl
lfe=Tone(Audiolength(a),440,Audiorate(a),1,"silence")
MergeChannels(fl,fr,c,lfe,sl,sr)

Last edited by tebasuna51; 14th April 2007 at 11:59.
tebasuna51 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 00:19.


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