View Full Version : dimzon's BeSweet encoding plugins (update 2005-09-16)


dimzon
12th September 2005, 14:24
Latest build are bundled with fresh BeLight beta:
http://img188.imageshack.us/img188/874/belight4ca.png


Consist of

bse_WinampAACPlusV2 - AAC+ v2 encoder, MPEG2 AAC output (no MP4 container), no 5.1 support
bse_WinampAACPlusV2_6ch - AAC+ v2 encoder, MPEG2 AAC output (no MP4 container), 5.1 encoding only
bse_FAAC - FAAC-based AAC-LC encoding plugin, support MP4 output, now support 5.1 encoding
bse_Speex - Speex encoding plugin
bse_enhAacPlusEnc3GP - AAC+ v2 encoder based on 3GPP reference encoder from CT, MP4 output.

Future plans (frozen - I'm very busy IRL ATM):

HE-AAC 5.1 support - PRIMARY TASK
bse_WavPack - simple WavPack encoder

Doom9
12th September 2005, 14:25
maybe, 5.1 supportPlease turn that maybe into a definitely :)

dimzon
12th September 2005, 14:27
Please turn that maybe into a definitely :)
http://forum.doom9.org/showthread.php?p=710449#post710449

Doom9
12th September 2005, 15:07
so my suspicion was right after all.. the reference encoder doesn't do 5.1.

dimzon
12th September 2005, 15:43
Doom9
Can You sticky this thread?

dimzon
12th September 2005, 17:16
Seems line enc_aacplus.dll from WinAmp 5.1 can create 5.1 HE-AAC !
http://img326.imageshack.us/img326/1979/aac68bc.gif
get BeSweet encoding plugin here (http://sr2.mytempdir.com/155755)!
NOTE: Only for 5.1 encoding

CiNcH
12th September 2005, 18:08
Does not work for me with the following command line:

BeSweet.exe -core( -input input.ac3 -output output.aac -logfile output.log ) -azid( -c normal ) -dimzon( -dllname bse_WinampAacPlusV2_6ch.dll -cbr 128 -v 1) -ota( -d -192 -g max )

BeSweet error message:

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : input.ac3
[00:00:00:000] | Output: output.aac
[00:00:00:000] | Floating-Point Process: No
Error 84: error configuring bsn!
Quiting...
[00:00:00:000] Conversion Completed !

dimzon
12th September 2005, 18:17
try
BeSweet.exe -core( -input input.ac3 -output output.aac -logfile output.log ) -azid( -c normal ) -dimzon( -6chnew -dllname bse_WinampAacPlusV2_6ch.dll -cbr 128 -v 1 ) -ota( -d -192 -g max )

CiNcH
12th September 2005, 18:21
Thanks, finally working...

Nice work!!!

Doom9
12th September 2005, 18:26
bse_WinampAACPlusV2 - AAC+ v2 encoder, MPEG2 AAC output (no MP4 container), no 5.1 supportAnd now there's a 6ch one.. wouldn't it make sense to have just one plugin for everything? and do both winamp encoders only support cbr?

dimzon
12th September 2005, 18:32
And now there's a 6ch one.. wouldn't it make sense to have just one plugin for everything? and do both winamp encoders only support cbr?
I will merge them a little later :) and they both AFAIK support cbr only :(

Dark-Cracker
12th September 2005, 18:54
really nice work !
it really great to see that besweet could still expand,
a boring question but are you planning to try some input plugin (like .dts) once your work on the AAC will be stable enought ?

keep up the good work.

CiNcH
12th September 2005, 18:59
a boring question but are you planning to try some input plugin (like .dts) once your work on the AAC will be stable enought ?

Let's hope that Kurt can finalize his DTS implementation in BeLight using Tranzcode.

KpeX
12th September 2005, 22:34
Doom9
Can You sticky this thread?
I'd prefer to keep the stickies basic. Once your plugins have matured a bit and any issues have been worked out, we'll add links to the respective stickies.

Peter1234
13th September 2005, 02:12
I am having problem with FAAC plugin. FAAC.exe and bse_FAAC.dll were added to BeSweet folder. Input AC3 file is 6 channel ATSC A/52 according to foobar. The same azid and faac parameters work with this AC3 input file when used with each program individually, but do not work in BeSweet. I am new to BeSweet, so command line may not be correct.

This is my command line:


"BeSweet/BeSweet.exe" -core( -input "input.ac3" -output "output.m4a" -logfile logfile.log ) -azid( -z1 -b1 -s surround ) -dimzon( -dllname bse_FAAC.dll -b 64 )

This is the Besweet logfile:

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 bse_FAAC by dimzon, Build Sep 12 2005, 16:41:16

Logging start : 09/12/05 , 17:46:54.

BeSweet/BeSweet.exe -core( -input input.ac3 -output output.m4a -logfile logfile.log ) -azid( -z1 -b1 -s surround ) -dimzon( -dllname bse_FAAC.dll -b 64 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : input.ac3
[00:00:00:000] | Output: output.m4a
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 3/2, Bitrate: 448kbps
[00:00:00:000] | Output Stereo mode: Dolby surround compatible
[00:00:00:000] | Total Gain: 0.000dB, Compression: None
[00:00:00:000] | LFE levels: To LR -INF, 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:02:30:336] Conversion Completed !
[00:00:14:000] <-- Transcoding Duration


The output.m4a file produced is nothing but noise. What am I doing wrong? Thanks for any help.

EDIT:
I also tried this with no parameters for azid and faac (using defaults) with same results.

iradic
13th September 2005, 03:20
is this enc_aacplus.dll in your package the same as winamp's?
it's confusing since you UPX-ed it (how can i find out they are the same) ... plus you say in readme to copy the dll from winamp\plugins !?

movax
13th September 2005, 04:08
dimzon: How can you simply substitute in another DLL in the bse_ framework? Wouldn't the entrypoints/calls be vastly different? (PM me or email me if it's a long or lengthy explanation if you wish. :) )

iradic
13th September 2005, 04:18
cmd line
"C:\PROGRAM FILES\GORDIANKNOT\BESWEET\BeSweet.exe" -core( -input "C:\temp\DVD\audio.ac3" -output "C:\temp\DVD\audio.aac" -logfilea "C:\temp\DVD\BeSweet.log" ) -azid( -c normal --maximize ) -dimzon( -dllname bse_WinampAacPlusV2.dll ) -ssrc( --rate 44100 )

i get besweet error ...
debug assertion failed
program c:\program files\gordianknot\besweet\besweet.exe
file fprintf.c
line 56
expression str != null

also some versioning or date stamping of your archives (or in readme file) would be nice ...

gensem
13th September 2005, 04:46
dimzon
You are damn fast at progamming. gratz
Got love ya.


cheerz

Peter1234
13th September 2005, 07:12
iradic:

enc_aacplus.dll in package is not the same as the one in WinAmp (size is different).


The following command line works for me:

"BeSweet/BeSweet.exe" -core( -input "input.ac3" -output "mp2.aac" ) -azid( ) -dimzon( -dllname bse_WinampAacPlusV2.dll )

Kurtnoise
13th September 2005, 07:33
@Iradic : grab the last BeSweet beta.

@Dimzon : a request for the future...a plugin for oggenc : Mono encoding doesn't include in BeSweet. So, it could be a good alternative.

dimzon
13th September 2005, 08:45
is this enc_aacplus.dll in your package the same as winamp's?
it's confusing since you UPX-ed it (how can i find out they are the same) ... plus you say in readme to copy the dll from winamp\plugins !?
Yes, enc_aacplus.dll is the same but UPX-ed :)

dimzon
13th September 2005, 08:48
debug assertion failed
program c:\program files\gordianknot\besweet\besweet.exe
file fprintf.c
line 56
expression str != null

execute set > c:\set.txt and post here c:\set.txt content!

iradic
13th September 2005, 10:46
set.txt

COMSPEC=C:\WINDOWS\COMMAND.COM
PROMPT=$G$P$_$$
TEMP=C:\WINDOWS\TEMP
TMP=C:\WINDOWS\TEMP
winbootdir=C:\WINDOWS
windir=C:\WINDOWS
BLASTER=A220 I5 D1 T4 P330
CMDLINE=
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS\COMMAND\BIN;C:\GS\GS8.50

iradic
13th September 2005, 12:44
@dimzon ... did u used upx 1.93

The Ultimate Packer for eXecutables

WARNING - UNSTABLE BETA VERSION
===============================

All versions 1.9x are unstable beta releases - use them only for testing,
and never distribute a program that is packed with them !
There will be hidden bugs. Really.

The current stable release is 1.25, and the next stable release
will be called version 2.00.

and ...


diff /C/WINDOWS/desktop/dimzon.txt /C/WINDOWS/desktop/winamp.txt
6,7c6,7
< File: C:\PROGRAMS\upx\enc_aacplus.dll
< Date: 13.9.2005 13:34:40
---
> File: C:\Program Files\Winamp\Plugins\enc_aacplus.dll
> Date: 13.9.2005 13:36:04
11c11
< Location: C:\PROGRAMS\upx\
---
> Location: C:\Program Files\Winamp\Plugins\
14,15c14,15
< CRC-32: 64A6ECCF
< MD5: 2ABBDE147FE314B71F9F8D2CBC8D4022
---
> CRC-32: A15A622C
> MD5: 844FDE08B2930E74A6965C320EB2A383

dimzon
13th September 2005, 12:52
@dimzon ... did u used upx 1.93
Oh f@#k!

Any case You can download Winamp5.1 and get enc_aacplus.dll from it :)

iradic
13th September 2005, 13:15
same problems as before ... with winamp's dll

dimzon
13th September 2005, 13:43
same problems as before ... with winamp's dll
I have not Win98 installed so I can't debug my plugins under Win98...
Sorry...

Doom9
13th September 2005, 16:08
just write "no support for pocket calculator operating systems" in the release notes and be done with it. It shouldn't be your problem if people want to stick with extremely oudated and inadequate operating systems..

Peter1234
13th September 2005, 16:29
Would someone please post a command line that works with the FAAC plugin? I still can not get it to work (see my post page 1).

Kurtnoise
13th September 2005, 17:39
I am having problem with FAAC plugin. FAAC.exe and bse_FAAC.dll were added to BeSweet folder. Input AC3 file is 6 channel ATSC A/52 according to foobar. [...] The output.m4a file produced is nothing but noise. What am I doing wrong? Thanks for any help.

Same problem here...this happens only with FAAC plugin. Tried with different faac builds and this issue still occurs.

Otherwhise all seems to be ok. :)

Peter1234
13th September 2005, 19:27
@Kurtnoise13:

Thanks for your reply. At least I know I am not doing something wrong. I hope that Dimzon will fix this.

tebasuna51
13th September 2005, 19:38
@Peter1234
Same problem with Faac plugin, I tried with ac3 input like you, with wav stereo, wav 6 chan, and I get always noise.

@everybody
bse_WinampAacPlusV2_6ch and bse_WinampAacPlusV2 works for me.

Only one question related to v2 (I think not with Dimzon plugins):
In my test I used a wav stereo downmixed from a testchannel.ac3 with -azid( -s dpl ), when encode to aac v2 the audio from channels SL and SR disappears completely.
The same testchannel.ac3 downmixed with -s stereo don't have problems.

Seems like PS is incompatible with Dolby Surround Prologic?

dimzon
14th September 2005, 08:58
Same problem here...this happens only with FAAC plugin. Tried with different faac builds and this issue still occurs.

Otherwhise all seems to be ok. :)
Fixed! Check out new version (http://sr2.mytempdir.com/157773)!

Peter1234
14th September 2005, 15:05
@dimzon:

Works now. Thanks.

Kurtnoise
15th September 2005, 18:29
@Dimzon : -6chnew switch for FAAC plugin is mandatory ? coz FAAC supports multichannel wav files as input w/o specifying channels order.

dimzon
15th September 2005, 18:36
@Dimzon : -6chnew switch for FAAC plugin is mandatory ? coz FAAC supports multichannel wav files as input w/o specifying channels order.
BeSweet will not send 6ch PCM to bse_*.dll from azid without this switch. So it's not FAAC-related but BeSweet related :)

BlacKnighTTT
18th September 2005, 15:02
I've unpacked Besweet 1.5b31, bse20050914 in the same folder. I added the dll for 6ch


When i try this command line

"G:\AAC\BeSweet.exe" -core( -input "G:\Xvid\son.ac3" -output "G:\Xvid\son.aac" ) -azid( -c normal ) -dimzon( -6chnew -dllnam e bse_WinampAacPlusV2_ch6.dll -cbr 128 -v 2 )

Ive got an 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).
Error 53: Unable to get bsn.dll interfaces
Quiting...

dimzon
19th September 2005, 07:40
I've unpacked Besweet 1.5b31, bse20050914 in the same folder. I added the dll for 6ch


When i try this command line

"G:\AAC\BeSweet.exe" -core( -input "G:\Xvid\son.ac3" -output "G:\Xvid\son.aac" ) -azid( -c normal ) -dimzon( -6chnew -dllnam e bse_WinampAacPlusV2_ch6.dll -cbr 128 -v 2 )

Ive got an 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).
Error 53: Unable to get bsn.dll interfaces
Quiting...

does you place enc_aacplus.dll in BeSweet folder?

tebasuna51
19th September 2005, 12:29
" -dllnam e bse_WinampAacPlusV2_ch6.dll "
This " e " before bse_WinampAacPlusV2_ch6.dll is a typo error or is really in your command line?

bob0r
19th September 2005, 15:19
Great stuff dimzon!

I have put your files here:
http://mirror05.x264.nl/dimzon/

You can upload your own files there with ftp (read PM for info)


Keep up the great work!

dimzon
19th September 2005, 15:43
Keep up the great work!
I'm working on 5.1 HE-AAC encoding now:
http://www.hydrogenaudio.org/forums/index.php?showtopic=36971

Kurtnoise
19th September 2005, 16:26
I just discovered by debugging BeLight that the multichannel winamp encoding works only with higher bitrates (.i.e a range between 96 and 128 kbps, with 96 kbps the lower limit). Is it intended by the WinAmp encoder himself or by you Dimzon ?

dimzon
19th September 2005, 16:34
I just discovered by debugging BeLight that the multichannel winamp encoding works only with higher bitrates (.i.e a range between 96 and 128 kbps, with 96 kbps the lower limit). Is it intended by the WinAmp encoder himself or by you Dimzon ?
It's enc_aacplus.dll behavior.

iradic
20th September 2005, 16:22
i get "SBR configuration not found" (or similar) message when encoding with 3gpp reference encoder (windows 2000)

dimzon
20th September 2005, 16:35
i get "SBR configuration not found" (or similar) message when encoding with 3gpp reference encoder (windows 2000)
Post your command line + source information!

iradic
20th September 2005, 18:11
sorry...

from bat file


set infile=c:\temp\test\aac\32000\carwash_32000khz.wav
set outdir=c:\temp\test\aac\32000

besweet.exe -core( -input %infile% -output %outdir%\bswt3gpp_cbr64_mp4_nops.mp4 -logfilea %outdir%\enc_win2k.log ) -dimzon( -dllname bse_enhAacPlusEnc3GP.dll -cbr 64000 -nops )

besweet.exe -core( -input %infile% -output %outdir%\bswt3gpp_cbr48_mp4_nops.mp4 -logfilea %outdir%\enc_win2k.log ) -dimzon( -dllname bse_enhAacPlusEnc3GP.dll -cbr 48000 -nops )

besweet.exe -core( -input %infile% -output %outdir%\bswt3gpp_cbr48_ps_mp4.mp4 -logfilea %outdir%\enc_win2k.log ) -dimzon( -dllname bse_enhAacPlusEnc3GP.dll -cbr 48000 )

besweet.exe -core( -input %infile% -output %outdir%\bswt3gpp_cbr32_ps_mp4.mp4 -logfilea %outdir%\enc_win2k.log ) -dimzon( -dllname bse_enhAacPlusEnc3GP.dll -cbr 32000 )



one more thing ... seems like winamp v1 and v2 are the same thing !?

md5sums after decoding with faad:
bd7f0e601de92585316d0e02148522e2
*bswtwnmp_cbr64_aac_m2v1_64kbps.wav
bd7f0e601de92585316d0e02148522e2
*bswtwnmp_cbr64_aac_m2v2_64kbps.wav

c08592a5cdfb4c5a7b50578260815d85
*bswtwnmp_cbr64_aac_m3v1_64kbps.wav
c08592a5cdfb4c5a7b50578260815d85
*bswtwnmp_cbr64_aac_m3v2_64kbps.wav

dad6f2d92c77712cea49604b76311ce5
*bswtwnmp_cbr64_aac_m5v1_64kbps.wav
dad6f2d92c77712cea49604b76311ce5
*bswtwnmp_cbr64_aac_m5v2_64kbps.wav

dimzon
20th September 2005, 18:28
sorry...
from bat file

Use 32 for 32kbps not 32000 (it's my documentation error!) etc

iradic
20th September 2005, 20:09
BeSweet v1.5b31 by DSPguru.
--------------------------
Using Shibatch.dll v0.25 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using bse_enhAacPlusEnc3GP by dimzon, Build Sep 16 2005, 21:35:39

Logging start : 09/20/05 , 21:12:04.

besweet.exe -core( -input c:\temp\abxhr\test\aac\32000\carwash_32000.wav -output c:\temp\abxhr\test\aac\32000\bswt3gpp_cbr32_ps_mp4.mp4 -logfilea c:\temp\abxhr\test\aac\32000\enc_win2k.log ) -dimzon( -dllname bse_enhAacPlusEnc3GP.dll -cbr 32 )

same thing ... "no valid sbr configuration found"

dimzon
21st September 2005, 09:01
BeSweet v1.5b31 by DSPguru.
--------------------------
Using Shibatch.dll v0.25 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using bse_enhAacPlusEnc3GP by dimzon, Build Sep 16 2005, 21:35:39

Logging start : 09/20/05 , 21:12:04.

besweet.exe -core( -input c:\temp\abxhr\test\aac\32000\carwash_32000.wav -output c:\temp\abxhr\test\aac\32000\bswt3gpp_cbr32_ps_mp4.mp4 -logfilea c:\temp\abxhr\test\aac\32000\enc_win2k.log ) -dimzon( -dllname bse_enhAacPlusEnc3GP.dll -cbr 32 )

same thing ... "no valid sbr configuration found"

Really, there are no tuning to encode 32KHz stereo above 24kbps and below 18kbps
static const struct
{
unsigned int bitrateFrom ;
unsigned int bitrateTo ;

unsigned int sampleRate ;
unsigned int numChannels ;

unsigned int startFreq ;
unsigned int stopFreq ;

int numNoiseBands ;
int noiseFloorOffset ;
int noiseMaxLevel ;
SBR_STEREO_MODE stereoMode ;
int freqScale ;

} tuningTable[] = {


/*** mono ***/
{ 10000, 12000, 16000, 1, 1, 3, 1, 0, 6, SBR_MONO, 3 }, /* nominal: 10 kbit/s */
{ 12000, 16000, 16000, 1, 2, 0, 1, 0, 6, SBR_MONO, 3 }, /* nominal: 12 kbit/s */
{ 16000, 20000, 16000, 1, 2, 3, 1, 0, 6, SBR_MONO, 3 }, /* nominal: 18 kbit/s */

{ 12000, 18000, 24000, 1, 1, 4, 1, 0, 6, SBR_MONO, 3 }, /* nominal: 15 kbit/s */
{ 18000, 22000, 24000, 1, 3, 5, 2, 0, 6, SBR_MONO, 2 }, /* nominal: 20 kbit/s */
{ 22000, 28000, 24000, 1, 7, 8, 2, 0, 6, SBR_MONO, 2 }, /* nominal: 24 kbit/s */
{ 28000, 36000, 24000, 1, 10, 9, 2, 0, 3, SBR_MONO, 2 }, /* nominal: 32 kbit/s */

/*** patch to work with dbPowerAmp ***/
{ 10000, 12000, 22050, 1, 1, 3, 1, 0, 6, SBR_MONO, 3 }, /* nominal: 10 kbit/s */
{ 12000, 16000, 22050, 1, 2, 0, 1, 0, 6, SBR_MONO, 3 }, /* nominal: 12 kbit/s */
{ 16000, 20000, 22050, 1, 2, 3, 1, 0, 6, SBR_MONO, 3 }, /* nominal: 18 kbit/s */
{ 12000, 18000, 22050, 1, 1, 4, 1, 0, 6, SBR_MONO, 3 }, /* nominal: 15 kbit/s */
{ 18000, 22000, 22050, 1, 3, 5, 2, 0, 6, SBR_MONO, 2 }, /* nominal: 20 kbit/s */
{ 22000, 28000, 22050, 1, 7, 8, 2, 0, 6, SBR_MONO, 2 }, /* nominal: 24 kbit/s */
{ 28000, 36000, 22050, 1, 10, 8, 2, 0, 3, SBR_MONO, 2 }, /* nominal: 32 kbit/s - patched 9 -> 8*/

/*** stereo ***/
{ 18000, 24000, 16000, 2, 4, 2, 1, 0, -3, SBR_SWITCH_LRC, 3 }, /* nominal: 18 kbit/s */

{ 24000, 28000, 24000, 2, 5, 6, 1, 0, -3, SBR_SWITCH_LRC, 3 }, /* nominal: 24 kbit/s */
{ 28000, 36000, 24000, 2, 7, 8, 2, 0, -3, SBR_SWITCH_LRC, 2 }, /* nominal: 32 kbit/s */
{ 36000, 44000, 24000, 2, 10, 9, 2, 0, -3, SBR_SWITCH_LRC, 2 }, /* nominal: 40 kbit/s */
{ 44000, 52000, 24000, 2, 12, 9, 3, 0, -3, SBR_SWITCH_LRC, 2 }, /* nominal: 48 kbit/s */

/*** totally a hack to add higher bitrates ***/
{ 52000, 60000, 24000, 2, 12, 9, 3, 0, -3, SBR_SWITCH_LRC, 2 }, /* nominal: 56 kbit/s */
{ 60000, 68000, 24000, 2, 12, 9, 3, 0, -3, SBR_SWITCH_LRC, 2 }, /* nominal: 64 kbit/s */

/*** patch to work with dbPowerAmp + higher bitrates ***/
{ 18000, 24000, 22050, 2, 4, 2, 1, 0, -3, SBR_SWITCH_LRC, 3 }, /* nominal: 18 kbit/s */
{ 24000, 28000, 22050, 2, 5, 6, 1, 0, -3, SBR_SWITCH_LRC, 3 }, /* nominal: 24 kbit/s */
{ 28000, 36000, 22050, 2, 7, 8, 2, 0, -3, SBR_SWITCH_LRC, 2 }, /* nominal: 32 kbit/s */
{ 36000, 44000, 22050, 2, 10, 8, 2, 0, -3, SBR_SWITCH_LRC, 2 }, /* nominal: 40 kbit/s */
{ 44000, 52000, 22050, 2, 12, 9, 3, 0, -3, SBR_SWITCH_LRC, 2 }, /* nominal: 48 kbit/s */

{ 52000, 60000, 22050, 2, 12, 9, 3, 0, -3, SBR_SWITCH_LRC, 2 }, /* nominal: 56 kbit/s */
{ 60000, 68000, 22050, 2, 12, 9, 3, 0, -3, SBR_SWITCH_LRC, 2 }, /* nominal: 64 kbit/s */

};

Sirber
21st September 2005, 13:05
can aac and 3gp be merged in MKV?

movax
21st September 2005, 13:44
AAC, of course (mmg even autospecifes SBR/AACPlus), 3gp not sure, can't try it now as I'm at school.

CiNcH
21st September 2005, 14:03
3gp is nothing but mp4 container. Just need to extract raw aac to merge it into MKV.

aac is nothing but the raw data...

dand
21st September 2005, 14:51
Why doesn't this command line work for me:

besweet.exe -core ( -input c:\z5\adam.wav -output c:\z5\out.aac -logfilea c:\bslog.txt ) -dimzon( -dllname bse_WinampAacPlusV2.dll )

In fact, it works, but I end up with mp3 encoded file names out.aac. When I delete lame_enc.dll than I get "Error 13: Unable to get LAME interfaces"...

What to do in order to encode wav to HE aac using Winamp plugin?

dimzon
21st September 2005, 15:13
Why doesn't this command line work for me:

besweet.exe -core ( -input c:\z5\adam.wav -output c:\z5\out.aac -logfilea c:\bslog.txt ) -dimzon( -dllname bse_WinampAacPlusV2.dll )

In fact, it works, but I end up with mp3 encoded file names out.aac. When I delete lame_enc.dll than I get "Error 13: Unable to get LAME interfaces"...

What to do in order to encode wav to HE aac using Winamp plugin?
which BeSweet version do You use?

dand
21st September 2005, 15:18
BeSweet v 1.5b31

dimzon
21st September 2005, 16:14
BeSweet v 1.5b31
besweet.exe -core ( -input c:\aactest\t_44100.wav -output c:\aactest\out.aac -logfilea c:\bslog.txt ) -dimzon( -dllname bse_WinampAacPlusV2.dll )
work fine @ my PC

CiNcH
21st September 2005, 16:25
No problems here either with...

-> latest dimzon plugins build (http://sr2.mytempdir.com/157773)
-> BeSweet v1.5b31 (http://besweet.notrace.dk/BeSweetv1.5b31.zip)
-> enc_aacplus.dll taken from Winamp 5.1 Full (http://www.winamp.com/player/free.php)

... using exactly your provided command-line.

nexus
23rd September 2005, 16:41
I have a strange problem here. If I use bse_WinampAacPlusV2_6ch.dll I get a 24KHz AAC instead of 48KHz. Source is surely 48KHz.
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 bse_WinampAacPlusV2_6ch by dimzon, Build Sep 14 2005, 11:26:19

Logging start : 09/23/05 , 10:49:06.

BeSweet.exe -core( -input input.ac3 -output output.aac -logfilea my.log ) -azid( -c light ) -dimzon( -dllname bse_WinampAacPlusV2_6ch.dll -cbr 128 -v 2 -6chnew ) -ota( -d 0 -g max )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input :input.ac3
[00:00:00:000] | Output: output.aac
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Overall Track Gain: 2.614dB
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 3/2, Bitrate: 448kbps
[00:00:00:000] | Total Gain: 0.000dB, Compression: Light
[00:00:00:000] | LFE levels: To LR -INF, 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] +---------------------
[01:50:27:168] Conversion Completed !
[00:32:11:000] <-- Transcoding Duration

dimzon
23rd September 2005, 16:49
I have a strange problem here. If I use bse_WinampAacPlusV2_6ch.dll I get a 24KHz AAC instead of 48KHz. Source is surely 48KHz.
Seems like you are using non SBR-compatible decoder :)

nexus
23rd September 2005, 16:55
I used the build-in decoder from MPC. With ffdshow it works, thx.

DaWolfman
24th September 2005, 05:36
Hey Dizmon, did you try checking out the FAAC source? Perhaps buried in there somewhere has code that you could reverse-engineer to build a 5.1 AAC header/file. Just a suggestion.. good luck!

BlacKnighTTT
25th September 2005, 18:14
Yes i've put enc_aacplus.dll in besweet folder and it was a typo error

More it now goes for an mp3 transcoding !!!!!!

bond
3rd October 2005, 22:19
a boring question but are you planning to try some input plugin (like .dts) once your work on the AAC will be stable enought ?a nice dts decoder is really missing in besweet, now that libdts/libdca is available :)

dimzon
4th October 2005, 09:36
a nice dts decoder is really missing in besweet, now that libdts/libdca is available :)
I'm working on HE-AAC now!

bond
4th October 2005, 13:17
great, keep it coming :)

btw technically, whats the difference between besweet calling the nero plugins and how your plugins are handled?

dimzon
4th October 2005, 13:47
btw technically, whats the difference between besweet calling the nero plugins and how your plugins are handled?
there are only one difference - beSweet doesn't invoke BSN_Echo in my plugins...

Sirber
6th October 2005, 23:57
Hosting time is expired. Can't get them :(

dimzon
7th October 2005, 10:05
Hosting time is expired. Can't get them :(
They are bundled into latest BeLight ;)

Sirber
7th October 2005, 12:11
sweet :D

Alain2
9th October 2005, 15:52
Can't find a belight package with your plugins in ... I found them on http://mirror05.x264.nl/dimzon/ ; are they the latest versions ?
Also can you point me to a thread explaining more what is bse_enhAacPlusEnc3GP ; how does it compare to nero and winamp aac encoders ?

Thank you :)

Fl0ppy
25th October 2005, 17:52
The link it's dead! "expired" :-(

Malow
26th October 2005, 18:36
i can't get to work with lastewst winamp dll's... they have changed something?

bond
6th November 2005, 17:08
dimzon, any news on a dts decoder plugin for besweet? :(

its imho really missing, cause now people have to use some directshowfilters for that and its all pretty hard and messy

if there would be a dts decoder plugin available (based on opensource libdts/libdca (http://pessoal.onda.com.br/rjamorim/libdca.rar)) people could start doing more audio encodings from dts sources more easily and not use the ac3 sources as most surely do now
this will help quality surely


edit: someone wrote a small demo doing something like this already, but its not really widely useable:
http://forum.doom9.org/showthread.php?p=444977#post444977

dimzon
7th November 2005, 11:38
dimzon, any news on a dts decoder plugin for besweet?
Unfortunally I am very busy IRL now :(

bond
18th November 2005, 13:05
Unfortunally I am very busy IRL now :(it seems you have more time now ;)

it would be really important to get nice dts decoding done in besweet! imagine the high quality audio encodes when encoding from dts and not ac3 (which normally is reencoded from dts itself)

dimzon
18th November 2005, 13:11
it would be really important to get nice dts decoding done in besweet!
Unfortunally I have no any dts sample for development/debugging/testing :(
Can You point me on any sowtware able to create dts or provide dts sample? And I can't download more than 10-15MB...

bond
18th November 2005, 13:29
Unfortunally I have no any dts sample for development/debugging/testing :(
Can You point me on any sowtware able to create dts or provide dts sample? And I can't download more than 10-15MB...samples are available here (http://www.sr.se/multikanal/index.stm)
they seem to be inside the wav container

edit: another small sample (normal .dts) is available here (http://mitglied.lycos.de/stefanstrobl/download.htm)