Log in

View Full Version : belight/besweet won't encode AAC or Vorbis


rakan
30th December 2006, 17:04
I'm using belight and I've run into a problem. It won't encode Vorbis or AAC (it will encode mp2, mp3, WAV). I have the aac.dll and aacenc32.dll (for Nero) in the same directory as besweet is there anything else I need to install? Am I missing a dll?

I've downloaded the latest beta version of Belight and put Besweet in the same directory but when I start a job it immediately starts and then finishes the job.

Kurtnoise
30th December 2006, 17:20
Grab the last BeLight daily build and NeroAACenc.exe from Nero Digital website instead of using these libraries...

cakuhnen
30th December 2006, 17:28
What type of audio are you trying to encode? I create always a mux for WAV 5.1 then feed Belight with the mux and work ok for me

rakan
30th December 2006, 17:35
I have belight 0.22 beta 9, is that the latest build? I have neroAACenc.exe in my MeGUI folder, do I copy it to the same directory that I have belight.exe in?

I am using a AC3 format, I'm trying to convert it to and AAC or Vorbis format. I can convert this AC3 to anything else belight/besweet supports except for AAC or Vorbis.

cakuhnen
30th December 2006, 17:59
If you want encode with nero dlls (aac.dll and aacenc32.dll) in Belight you need to select AAC tab then in encoder engine select Nero Digital (Bundle) but if you want to encode with NeroAACEnc you need to select in AAC tab Nero Digital (CLI)

Look my parameters to encode six channel WAV 5.1 in to Nero AAC VBR Transcoding high quality

BeSweet.exe -core( -input "C:\SOUNDTEST\Audio\8MM2SOUNDENG.mux" -output "C:\SOUNDTEST\Audio\8MM2SOUNDENG.m4a" ) -bsn( -vbr_transcoding -codecquality_
high -aacprofile_lc -6chnew )

rakan
30th December 2006, 18:09
Hmmm, I'm not seeing the Nero Digital (CLI) option on the Encoder Engine tab, I only see Nero Digital (ND). Why do I need to make a WAV file first, doesn't Besweet convert AC3?

rakan
30th December 2006, 18:54
Well I tried everything I could think of...

I converted my AC3 to a 5.1 channel WAV and tried to convert that to Vorbis or AAC and it didn't work.

I got the neroAACenc.exe and put it in the same directory as belight and tried to encode that to Vorbis or AAC and it didn't work.

I went back to previous versions of Belight and BeSweet and tried to encode using Vorbis or AAC using both CLI and the aac.dll and that didn't work.

I'm not sure what else I'm doing wrong, but I'm guessing I'm missing a DLL somewhere. I have the 0.22 beta 9 version of belight, I cannot get the latest daily build because corecodec.org seems to be down. I suspect I have something installed wrong somewhere, I'm not sure what it is...

cakuhnen
30th December 2006, 19:10
OK but your 5.1 WAV are split? I create a 5.1 WAV then split in 6 mono wav then select File, Create Mux file then change the output format to AAC then add the 6 mono wav to each channel folders, click Save as to output the mux file then you see a option called load automatically this .mux file as input file select this option then click OK
Now go to AAC tab make your config quality like you want then click on view or edit Besweet Command line then a dialog open like this

"C:\BELIGHT\BeSweet.exe" -core( -input "C:\SOUNDTEST\Audio\8MM2SOUNDENG.mux" -output "C:\SOUNDTEST\Audio\8MM2SOUNDENG_1.m4a" -logfile "C:\SOUNDTEST\Audio\8MM2SOUNDENG.log" ) -bsn( -vbr_transcoding -codecquality_high -aacprofile_lc -6chnew )

Change the path like this to work

BeSweet.exe -core( -input "C:\SOUNDTEST\Audio\8MM2SOUNDENG.mux" -output "C:\SOUNDTEST\Audio\8MM2SOUNDENG_1.m4a" -logfile "C:\SOUNDTEST\Audio\8MM2SOUNDENG.log" ) -bsn( -vbr_transcoding -codecquality_high -aacprofile_lc -6chnew ) and click run and wait to finish :)

rakan
30th December 2006, 19:58
I tried that and it doesn't work, the same thing happens (nothing is encoded and the job ends instantaneously and outputs a 0 byte file). Here is my Besweet command line

BeSweet.exe -core( -input "C:\INC0NNF1\VIDEO_TS\sixfiles.mux" -output "C:\INC0NNF1\VIDEO_TS\sixfiles.mp4" ) -azid( -s stereo -L -3db -g 5db ) -bsn( -2ch -vbr_streaming -codecquality_high -aacprofile_he )

cakuhnen
30th December 2006, 20:07
OK friend check your PM i will try to help you :)

rakan
31st December 2006, 00:50
Cakuhnen, thanks again! You rock!

tebasuna51
31st December 2006, 02:06
To everybody, the correct way to re-encode ac3 5.1 to aac 5.1 using BeSweet and NeroAccEnc is:

"D:\...\BeSweet.exe" -core( -input "D:\...\Surr.ac3" -output "D:\...\Surr.m4a" ) -azid( -c normal --maximize ) -bsn( -vbr 1 -6chnew )

Of course you need:
The last BeSweet 1.5b31
The last bsn.dll 20060930 (http://kurtnoise.free.fr/BeLight/)
The NeroAacEnc at BeSweet folder

You can use other parameters at your choice instead:
-c normal
-- maximize
-vbr 1

BobVila
5th January 2007, 02:53
I am having the exact same problem. I have tried everything I can think of and it still won't work. I am trying to encode a 2 channel ac3 to a 2 channel aac. It starts and quits immediately. Here is my commandline in BeLight:
BeSweet.exe -core( -input "D:\Grand\grand ac3.ac3" -output "D:\Grand\grand ac3.mp4" -logfile "D:\Grand\grand ac3.log" ) -azid( -s stereo -L -3db ) -bsn( -2ch -cbr 128 ) -ota( -g max )

tebasuna51
5th January 2007, 04:15
With NeroAacEnc.exe and the apropriate bsn.dll at BeSweet folder,this work for me:

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 (shibatch.sourceforge.net).
Using bsn.dll replacement by Dimzon & Kurtnoise, Build Sep 30 2006, 16:58:17

Logging start : 01/05/07 , 04:07:46.

D:\BeSweet.exe -core( -input D:\2c_.ac3 -output D:\2c_.m4a -logfile D:\2c_.log ) -azid( -s stereo -L -3db ) -bsn( -cbr 128 ) -ota( -g max )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : D:\2c_.ac3
[00:00:00:000] | Output: D:\2c_.m4a
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 2/0, Bitrate: 192kbps
[00:00:00:000] | Output Stereo mode: Stereo
[00:00:00:000] | Total Gain: 0.000dB, Compression: None
[00:00:00:000] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] | Center mix level: BSI
[00:00:00:000] | Surround mix level: BSI
[00:00:00:000] | Dialog normalization: No
[00:00:00:000] | Rear channels filtering: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +---------------------
[00:00:20:000] Conversion Completed !
[00:00:03:000] <-- Transcoding Duration

Logging ends : 01/05/07 , 04:07:49.

BobVila
5th January 2007, 04:58
Now I'm Getting a BSN error.

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 (shibatch.sourceforge.net).
Using bsn.dll replacement by Dimzon & Kurtnoise, Build Sep 30 2006, 16:58:17

Logging start : 01/04/07 , 22:54:08.

BeSweet.exe -core( -input D:\Grand\grand ac3.ac3 -output D:\Grand\grand ac3.mp4 -logfile D:\Grand\grand ac3.log ) -azid( -s stereo -L -3db ) -bsn( -2ch -cbr 128 -codecquality_high -aacprofile_lc ) -ota( -g max )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : D:\Grand\grand ac3.ac3
[00:00:00:000] | Output: D:\Grand\grand ac3.mp4
[00:00:00:000] | Floating-Point Process: No
Error 84: error configuring bsn!
Quiting...
[00:00:00:000] Conversion Completed !

Logging ends : 01/04/07 , 22:54:08.

Any idea what I'm doing wrong?

tebasuna51
5th January 2007, 13:29
@BovVila
- You aren't using NeroAacEnc.exe (Nero Digital-CLI). The '-codecquality_high' parameter is exclusive in Nero Digital (Bundle)

- AFAIK the support for new versions of aacenc32.dll (Nero7 Bundle) is discontinued then only can work with old versions.
For me work with:
aac.dll 3.0.0.3
aacenc.dll 4.2.1.0

- Use NeroAacEnc instead aacenc.dll, is free, is better and is supported by BeSweet v1.5b31 + Bsn.dll Sep 30 2006

BobVila
5th January 2007, 18:55
Added NeroAacEnc.exe and now it works like a charm. Thanks a lot tebasuna51!!!

HeadBangeR77
8th January 2007, 15:26
@ tebasuna51

I'm directing this question to you, because you seem to have good knowledge & experience in these matters. I used to encode with Nero Digital Bundle libraries (rather old, dated 2005), using LC Profile for my AC3 5.1 => AAC 2.0 (VBR) encodings. Choosing quality like normal or extreme, or even audiophile, always produced reasonable results in terms of bitrate and filesize. I've recently upgraded ;) to NeroAacEnc.exe (Nero Digital-CLI) with the new bsn.dll you've linked to in this thread and then my problems began ...

1) AC3 5.1 => AAC 2.0 (VBR) LC, quality 0.9 : resulted in 346MB file, VBR 337 kbps, what's madness imo for stereo sound and didn't differ so much in filesize from the original AC3 soundtrack. :scared:

important commandline switches: -azid( -s stereo -c normal -L -3db ) -bsn( -vbr 0.9 -aacprofile_lc ) -ota( -g max )

2) AC3 5.1 => AAC 2.0 (VBR) LC, quality 0.7 : resulted in 273 MB filesize, VBR 266 kbps, what's still too much for me.

important commandline switches: -azid( -s stereo -c normal -L -3db ) -bsn( -vbr 0.7 -aacprofile_lc ) -ota( -g max )

At the same time encoding with LAME 3.97 -b 32 -V2 (new algorithm) gave me a 165 MB, 161 kbps file of decent quality. Identical results I achieved with Vorbis q 0.600. Going a step higher in terms of quality (I've already deleted the files), V1 or q 0.700, also produced reasonable results, somewhere between 180-190 kbps.

My question is: does the latest, greatest NeroAacEnc.exe produce files of extreme quality, and I should simply lower the slider down to 05. or even 0.4, or is there sth wrong either with the encoder itself or with BeSweet and BeLight that I use? I could provide more info, if it was necessary. Thanks in advance for any tips ;)

cheers, HeadB.

PS. I've just finished another trial, this time with old NDB libraries - AAC LC Extreme VBR 2.0 - 223 MB, VBR 217 kbps - that's reasonable imho.

PS2. MediaInfo shows the proper information about those files, while AAC DS Filter seems to freak, showing AAC+SBR (hence HC), about 150 kbps. I'm gonna do some tests with the new HE and report back here.

tebasuna51
8th January 2007, 16:24
@HeadBangeR77, look at this thread nero acc quality (http://forum.doom9.org/showthread.php?p=888477#post888477)

As you can se the range 0.4 - 0.5 (128 - 160 Kb/s aprox.) is more appropriate.

HeadBangeR77
8th January 2007, 16:44
:thanks: - that was quick, indeed :)

So basically the higher settings produce sort of extremely extreme quality, that doesn't make sense in my case, not when transcoding form a lossy source like AC3 (must dig into hydrogenaudio to check, what they consider as transparent settings). I'm just talking to myself ;)

Btw. HE v2 doesn't work for me with 2.0 as output.

tebasuna51
8th January 2007, 17:15
Btw. HE v2 doesn't work for me with 2.0 as output.
HE v2 = AAC + SBR + PS
where PS is Parametric Stereo and only can work with stereo audio.

HeadBangeR77
8th January 2007, 17:26
Thanx again, now everything is perfectly clear.

I discovered the setting of 0.50-0.55 is suitable for me and in general for stereo soundtracks. While left to auto it is switched to LC profile. Might be useful, if someone is interested in AC3 => AAC 2.0 VBR transcoding.