Log in

View Full Version : Audio channels getting mixed up using MeGUI / Recode


toytown
19th January 2006, 21:53
Hi

Ive been trying for the last few days to get some of my HDTV transport streams encoded to H264, after a lot of learning of these forums, ive now managed to get my video encoded in a very high quality vs the source at a respectable filesize saving. However i can never get the audio encoded correctly.

Ive tried making my own avisynth file up, ive tried the MeGUI one touch encoder (also tried different settings manually) and also tried using Nero Recode (using the AVS file as source)

If i use MeGUI i get the center channel pumped through the left speaker.

besweet -core( -input C:\core-264\test.ac3 -output C:\core-264\test.mp4 -logfile C:\core-264\test.besweet.log ) -azid( -c normal ) -bsn( -6chnew -vbr_transcoding -codecquality_high -aacprofile_he ) -ota( -g max )

If i use recode (on high dev AVC) i get the center channel pumped through the right speaker.

If i play the AC3 file through media player classic etc, then i get the center channel pumped through the correct center speaker.

Ive tried making different settings in besweet to change the output channels in the audio, but i could never get it to make a difference. Has anybody else had the same issue, and how do you correct it?

EDIT - I sovled it in besweet at least, i just dropped down to the stable version of besweet 1.4. (didnt realise the 1.5 i was using was beta........doh!), still doesnt explain why it screws up in nero, but oh well...........

EDIT 2 - Actually i went through it again and the old besweet just seemed to use lame to encode to mp3, so it didnt really work at all. I used the 6chnew and 6chold options in the besweet command line, on new i got the central channel through left speaker, and with old i got the center channel through the right speaker...........anybody got a clue what im doing wrong? This is the last part i need so that i can mux my high def files together :)

bond
23rd January 2006, 13:17
this souns like the error cruncher reported here:
http://forum.doom9.org/showthread.php?t=106212

toytown
23rd January 2006, 14:28
Thanx for the info, in the other thread it makes it seem like the WAV file order is incorrect or there using an OLD nero dlls.

However just so were sure, this is what im trying.

Using a correct ordered AC3 5.1 file, ive tried a few, but the one im using now as test was one that a forum member had on his website (AC3 - 6ch 'Speaker Test' File.AC3), the file plays perfectly in WMP, WMP Classic, Winamp, Quicktime, Foobar2000 etc, all channels play through the correct speakers.

When i use Nero Recode/Besweet/Foobar2000 which are all using the same codec (nero), i always get the channels mixed up, ive tried lots of different settings to change this, including the AZID setting to change channel order, but i simply cannot get the channels right.

As far as i know im using the latest nero codecs aacenc32.dll version 4.2.2.3, which came with the upgraded nero 7 from there website (downloaded in the past 5 days to make sure i had the newest version)

I wouldnt be too miffed, but ive tried reading through the forums and searching google, and i cant find anything related to my problem........and surely everybody else is able to code H264 with AAC, so i cant think what im doing wrong. If anybody has any info that would correct this then i would be very gratefull as its the last step in getting my videos over to h264 :)

P.S to the member who supplied the test file above, im very gratefull and sorry i forgot your name, but it has been a great way of making sure i wasnt loosing my mind and also that the original AC3 files i was using were not formatted wrong. Thanx again!

bond
23rd January 2006, 14:32
try decoding the ac3 to a multichannel wav (not outputting to aac) and check if this wav has the correct channel order

if this wav has the correct channel order feed it into besweet and encode to multichannel aac and check again if the channel order is correct

if possible try the same in nero

that way, i hope, we can see where the channel mix up happens

tebasuna51
23rd January 2006, 18:41
To correct channelmapping with Nero 7 encoder you need last version of Besweet v1.5b31 and dimzon's bse_Nero7WA.dll. All in last Beligth 0.22 b9.

If you don't want use BeLigth you can use BeSweet v1.5b31 in command line with:

-dimzon( -dllname bse_Nero7WA.dll -6chnew -vbr_transcoding -codecquality_high -aacprofile_he )

Instead:

-bsn( -6chnew -vbr_transcoding -codecquality_high -aacprofile_he )

toytown
23rd January 2006, 19:21
Bond/Tebasuna51

Thanx for the help guys, i downloaded the latest beta of Besweet and the dimzon plugin, and it encoded to AAC correctly first time. Major props as i can finally get along with converting my movies now...... :)

jeffhuge
29th January 2006, 12:44
@tebasuna51
I have updated to Beligth 0.22 b9 and use
-dimzon( -dllname bse_Nero7WA.dll -6chnew -vbr_transcoding -codecquality_high -aacprofile_he )


but it still mixed up the channles

tebasuna51
30th January 2006, 02:33
@jeffhuge
Whit Nero 7 aac encoder:
aac.dll v3.0.0.3
aacenc32.dll v4.2.1.0
NeroIPP.dll v4.2.1.0

and:
BeSweet v1.5b31 by DSPguru.
--------------------------
Using azid.dll v1.9 (b922) by Midas (midas@egon.gyaloglo.hu).
Using Shibatch.dll v0.25 by Naoki Shibata & DSPguru
Using bse_Nero7WA.dll by dimzon, Build Nov 10 2005, 14:35:28

BeSweet.exe -core( -input D:\correct.ac3 -output D:\correct.mp4 )
-dimzon( -dllname bse_Nero7WA.dll -6chnew -vbr_transcoding -codecquality_high -aacprofile_he )

the channel mapping is correct. Check the versions or send more data to analyze your problem.

pest
30th January 2006, 02:51
i had to use -6chold with Nero7 and -6chnew with Nero6

jeffhuge
2nd February 2006, 10:11
@tebasuna51
it works!!
and my nero7's dlls version is higher

aac.dll v3.0.0.7
aacenc32.dll v4.2.2.3
NeroIPP.dll v4.2.3

great thx
jeff