PDA

View Full Version : Nero AAC not working with MeGui


craigcharlie
12th December 2007, 14:24
Would someone be able to answer a quick question? I've searched on the forums and can't find an answer.

I've just downloaded the latest version of MeGui and the Nero AAC encoder, and the Nero AAC refuses to work for me. Here's the output of my log file; can you tell me if you've seen this before? I'm a fairly tech-savvy user and it's bugging the hell out of my that I can't do this.



Generating jobs. Desired size: 13 MB

Desired size of this job series: 13 MB
Split size of this job series: N/A

Looking for job processor for job...

Processor found!



------------------------------------------------------


Starting job job5 at 1:12:25 PM

Starting preprocessing of job...

Preprocessing finished!

successfully started encoding

Processing ended at 1:12:28 PM

------------------------------------------------------

Log for job job5

Input: Channels=1, BitsPerSample=16, SampleRate=11024Hz
Command line used: C:\Program Files\megui\tools\neroaacenc\neroAacEnc_SSE.exe -ignorelength -he -br 128000 -if - -of "C:\Documents and Settings\Backup Admin\Desktop\Games\tasty.m4a"

Error:
*************************************************************
* *
* Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
* Copyright 2007 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Aug 6 2007 *
* Package version: 1.1.34.2 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************


ERROR: Unsupported encoding configuration

buzzqw
12th December 2007, 14:35
SampleRate=11024Hz

i suppose this is the problem...

try not forcing -HE, maybe this option is incompatible with low frequency

BHH

craigcharlie
12th December 2007, 14:43
Thanks for the quick reply. I tried using it with out a profile, which remove that option, but it still didn't work. Here's the relevant portion of the new log.

Input: Channels=1, BitsPerSample=16, SampleRate=11024Hz
Command line used: C:\Program Files\megui\tools\neroaacenc\neroAacEnc.exe -ignorelength -q 0.5 -if - -of "C:\Documents and Settings\Backup Admin\Desktop\Games\Tasty Apple.m4a"

Error:
*************************************************************
* *
* Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
* Copyright 2007 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Aug 6 2007 *
* Package version: 1.1.34.2 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************


ERROR: could not open AAC encoder

Sharktooth
12th December 2007, 14:49
channels=1
however, it's not a megui problem but a nero AAC encoder problem...

craigcharlie
12th December 2007, 14:56
hmmmm. thanks for that sharktooth.... you da man. ( I was secretly hoping you'd spot my post :) )

so is there anything I can do about that - ie, is there any way I can encode my avis using Nero AAC?

Sharktooth
12th December 2007, 15:03
yes, use have to create an avisynth script to import (DirectShowSource() or AviSource() function) the audio from your source.
duplicate the channels and then use the MergeChannels() function to re-create a pseudo-stereo file.
if you want you can even resample it to a higher frequency with ResampleAudio() ...
feed the .avs to megui as an audio input.

Sharktooth
12th December 2007, 15:13
something like:
audio=DirectShowSource("path_to_your_file.ext",video=false)
MergeChannels(audio, audio).ResampleAudio(48000)

craigcharlie
12th December 2007, 15:30
Sharktooth, thanks a billion - that worked perfectly.

It's really great to be able to use the Nero decoder, since I know it's gotten great reviews (I haven't looked into FAAC or Winamp AAC yet) - even though my audio source is just a crappy mono recording :D

cheers,
C

Sharktooth
12th December 2007, 15:33
for the best compression ensure you use one of the HEv2 (HEPS) profiles.
Since your source is mono, the HEv2 (HEPS) profile will squeeze the most from it without loosing almost any quality.

craigcharlie
12th December 2007, 15:45
Will do, thanks for that Sharktooth.

Sharktooth
12th December 2007, 15:48
i think we should somewhat automate the avisynth script creation for audio and automatically detect and "fix" the audio source issues... maybe in a future relese...
anyway, now you know how to do it ;)

craigcharlie
12th December 2007, 16:35
exactly! I hadn't done much with Avisynth scripts, so it was nice to how that one worked... I'll have to try and play around with some of the available features.

but you know what they say...

a little knowledge can be a dangerous thing :)

Kurtnoise
12th December 2007, 16:37
this is the sampling-rate the culprit (11025Hz works fine), not the channel...ND AAC encoder supports mono streams as well.

btw, don't use the SSE build.

Sharktooth
12th December 2007, 16:50
ND AAC encoder supports mono streams as well.
since when?

Kurtnoise
12th December 2007, 17:02
since the beginning iirc...:)

Sharktooth
12th December 2007, 18:13
are you sure (i cant test it right now)?

Kurtnoise
12th December 2007, 20:54
since the 1.0.7.0 for the 11025 & 22050Hz more exactly...

[Information] Log for job1 (audio, Mono - 11025.wav -> Mono - 11025.m4a)
-[Information] [12/12/2007 20:44:36] Started handling job
-[Information] [12/12/2007 20:44:36] Preprocessing
-[NoImage] Avisynth script
--[NoImage] WavSource("D:\Music\Mono - 11025.wav")
--[NoImage] EnsureVBRMP3Sync()
--[NoImage] ConvertAudioToFloat()
--[NoImage] Normalize()
--[NoImage] 6<=Audiochannels(last)?x_stereo1cba242313494d369ce4b3ef05a9784c(ConvertAudioToFloat(last)):last
--[NoImage] ConvertAudioTo16bit()
--[NoImage] return last
-[NoImage] Commandline used: -ignorelength -lc -cbr 128000 -if - -of "{0}"
-[Information] [12/12/2007 20:44:36] Encode thread started
-[Information] [12/12/2007 20:44:36] Encoding started
-[Information] [12/12/2007 20:44:36] Avisynth script environment opened
-[Information] [12/12/2007 20:44:36] Script loaded
-[Information] Input
--[NoImage] Channels: 1
--[NoImage] Bits per sample: 16
--[NoImage] Sample rate: 11025
-[NoImage] Commandline: D:\Audio\NeroDigitalAudio-1.0.7.0\win32\neroAacEnc.exe -ignorelength -lc -cbr 128000 -if - -of "D:\Music\Mono - 11025.m4a"
-[Information] [12/12/2007 20:44:36] Encoder process started
-[NoImage] Output from encoder via stderr
--[NoImage] *************************************************************
--[NoImage] * *
--[NoImage] * Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
--[NoImage] * Copyright (C) 2006 Nero AG *
--[NoImage] * All Rights Reserved Worldwide *
--[NoImage] * *
--[NoImage] * Package build date: Feb 12 2007 *
--[NoImage] * *
--[NoImage] * See -help for a complete list of available parameters. *
--[NoImage] * *
--[NoImage] *************************************************************
-[Information] [12/12/2007 20:44:37] Job completed
-[Information] [12/12/2007 20:44:37] Postprocessing
--[Information] Deleting intermediate files




but with a 44100Hz sample and the 1.0.0.2 release :

[Information] Log for job1 (audio, Mono - 44100hz.wav -> Mono - 44100hz.m4a)
-[Information] [12/12/2007 20:50:33] Started handling job
-[Information] [12/12/2007 20:50:33] Preprocessing
-[NoImage] Avisynth script
--[NoImage] WavSource("D:\Music\Mono - 44100hz.wav")
--[NoImage] EnsureVBRMP3Sync()
--[NoImage] ConvertAudioToFloat()
--[NoImage] Normalize()
--[NoImage] 6<=Audiochannels(last)?x_stereo1cba242313494d369ce4b3ef05a9784c(ConvertAudioToFloat(last)):last
--[NoImage] ConvertAudioTo16bit()
--[NoImage] return last
-[NoImage] Commandline used: -ignorelength -lc -cbr 128000 -if - -of "{0}"
-[Information] [12/12/2007 20:50:33] Encode thread started
-[Information] [12/12/2007 20:50:33] Encoding started
-[Information] [12/12/2007 20:50:33] Avisynth script environment opened
-[Information] [12/12/2007 20:50:33] Script loaded
-[Information] Input
--[NoImage] Channels: 1
--[NoImage] Bits per sample: 16
--[NoImage] Sample rate: 44100
-[NoImage] Commandline: D:\Audio\NeroDigitalAudio\win32\neroAacEnc.exe -ignorelength -lc -cbr 128000 -if - -of "D:\Music\Mono - 44100hz.m4a"
-[Information] [12/12/2007 20:50:33] Encoder process started
-[NoImage] Output from encoder via stderr
--[NoImage] *************************************************************
--[NoImage] * *
--[NoImage] * Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
--[NoImage] * Copyright (C) 2006 Nero AG *
--[NoImage] * All Rights Reserved Worldwide *
--[NoImage] * *
--[NoImage] * Package build date: May 26 2006 *
--[NoImage] * *
--[NoImage] * See -help for a complete list of available parameters. *
--[NoImage] * *
--[NoImage] *************************************************************
-[Information] [12/12/2007 20:50:33] Job completed
-[Information] [12/12/2007 20:50:33] Postprocessing
--[Information] Deleting intermediate files

Sharktooth
12th December 2007, 20:57
ok, thanks

menno
13th December 2007, 09:52
Couple of things here, I'll try to clarify.

1) unsupported encoding configuration:
For this you have to know that HE works with an "LC core" at half the samplerate. The lowest samplerate for LC AAC is 8000Hz, meaning that HE AAC can only be used from 16000Hz. Upsampling to 48000Hz is not a very good idea, HE will be used from somewhere around 11kHz and you will not have any data there anyway (as the original was 11kHz, it will not have frequencies higher than 5kHz).

2) could not open AAC encoder:
I'm pretty sure this has to do with the bitrate limit in AAC, because you are encoding a small amount of data (11025 samples per second) the maximum framesize for AAC is reached very easily. Handling this limitation has been improved for the next version already (just encodes at maximum bitrate then for that samplerate).

3) HEv2 is the best for mono:
HEv2 doesn't work on mono, the difference between HE and HEv2 is that HEv2 encodes the file as mono HE file and stores some extra data to restore the stereo file. So HEv2 is specifically designed for stereo and with mono input the encoder will simply use HE.

Sharktooth
13th December 2007, 13:41
1) then resampling to the nearest supported sample rate would be ok

3) i suggested that since i thought the encoder didnt support mono.

menno
13th December 2007, 14:02
1) indeed
3) ok ;)