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

Reply
 
Thread Tools Display Modes
Old 6th September 2005, 17:17   #1  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
BeSweet bsn.dll replacement to use AAC+v2 encoder

WARNING!
This thread is obsolete! Use this thread.









Get it here

Code:
BIG FAT WARNING:
 this code based on "The Winamp Transcoder" plugin (http://www.srcf.ucam.org/~wdhf2/transcoder/)

1) Rename standart bsn.dll into bsn_std.dll first
2) Place provided bsn.dll into BeSweet directory
3) Place enc_aacplus.dll (from winamp\plugins) into BeSweet directory
4) To use enc_aacplus.dll instead on Nero you must use -aacprofile_he_ct or -aacprofile_he_ct2 switch!
5) enc_aacplus.dll produces raw aac stream, don't forget to set "aac" output file extension

Command line (when using -aacprofile_he_ct or -aacprofile_he_ct2 switch, otherwise use standart switches): 
 -bsn( -cbr <bitrate> -mode <channels> -<profile>)
 	<bitrate>  - integer between 8-128, default is 48
	<channels> - integer between 1-5, default is 4
		1 - Mono (?)
		2 - Stereo
		3 - Stereo Independent
		4 - Parametric (you MUST set aacprofile_he_ct2 and <bitrate> can't exeed 48)
		5 - Dual Channel (?)
	<profile> - must be -aacprofile_he_ct or -aacprofile_he_ct2
		-aacprofile_he_ct - AACPlus v1 Encoder
		-aacprofile_he_ct2 - AACPlus v2 Encoder
Warning! It's first beta version!

Last edited by dimzon; 14th September 2005 at 10:34. Reason: typo
dimzon is offline   Reply With Quote
Old 6th September 2005, 19:22   #2  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Marseille, France
Posts: 4,382
Heya,

1st question : do you know the difference between Stereo and Stereo Independent ? Is it just like Joint-Stereo vs Stereo ?
__________________
The problem, of course, is that there are many smart people in the world... Steve Jobs

[my random stuff] | [Please, no MeGUI support via PM]
Kurtnoise is offline   Reply With Quote
Old 6th September 2005, 19:35   #3  |  Link
pcjco04
Registered User
 
Join Date: Mar 2004
Posts: 43
Tried to transcode from .ogg to .aac and it produces a playable AAC file at the good birate.

Good job
pcjco04 is offline   Reply With Quote
Old 6th September 2005, 22:36   #4  |  Link
Elias
MPEG-4 Crazy Lunatic!
 
Elias's Avatar
 
Join Date: Dec 2004
Posts: 1,088
Oh man, this is great news! I just want to say that you should keep up the great work! I'd like to try this, but I'm on Linux now, and cannot use BeSweet. Anyway, good luck!
Elias is offline   Reply With Quote
Old 7th September 2005, 07:09   #5  |  Link
ggab
GABriel
 
Join Date: Aug 2005
Location: Buenos Aires, Argentina
Posts: 113
yes, keep up the excellent work in AAC area! u rock man

thanks
ggab is offline   Reply With Quote
Old 7th September 2005, 12:03   #6  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727

Get it here.

Note! It's just until new version of BeLight is out.
Note! Place it into BeSweet folder first!

Last edited by dimzon; 7th September 2005 at 14:18. Reason: typo
dimzon is offline   Reply With Quote
Old 7th September 2005, 12:20   #7  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Quote:
Originally Posted by Doom9 homepage
Perhaps that'll open the door to an faac plugin with MP4 output shortly?
It's very easy to add another Winamp encoding plugin support:
  • enc_aac.dll - RAW AAC (by Dolby?)
  • enc_mp4.dll - AAC in MP4 container (By Dolby?)
  • enc_wma.dll - WMA Encoder
  • Other
Does anybody really need this?
dimzon is offline   Reply With Quote
Old 7th September 2005, 13:28   #8  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Marseille, France
Posts: 4,382
I vote for wma and flac...
__________________
The problem, of course, is that there are many smart people in the world... Steve Jobs

[my random stuff] | [Please, no MeGUI support via PM]
Kurtnoise is offline   Reply With Quote
Old 7th September 2005, 13:51   #9  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Quote:
Originally Posted by Kurtnoise13
I vote for wma and flac...
Seems like enc_aac.dll (AAC-LC) is not FAAC-based (i found such strings in binary: "-I ..\DolbyCE0.1\code\iaopt\Headers").
Maybe it's better to make command-line tool for AAC-LC and compare enc_aac.dll with FAAC, Nero, iTunes @ 128 kbps ???
dimzon is offline   Reply With Quote
Old 7th September 2005, 15:49   #10  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Quote:
Originally Posted by dimzon
Seems like enc_aac.dll (AAC-LC) is not FAAC-based (i found such strings in binary: "-I ..\DolbyCE0.1\code\iaopt\Headers").
Maybe it's better to make command-line tool for AAC-LC and compare enc_aac.dll with FAAC, Nero, iTunes @ 128 kbps ???
Get it here
Note! Seems like encoder produce samplerate downsampling to 32kHz for bitrate below 128 kbps
dimzon is offline   Reply With Quote
Old 7th September 2005, 19:01   #11  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
I have develop encoding plugin framework for easyest encoding plugin development. Look @ it here!
dimzon is offline   Reply With Quote
Old 8th September 2005, 02:43   #12  |  Link
Peter1234
Registered User
 
Join Date: Aug 2004
Posts: 130
When I use the following command line I get mpeg2 AAC instead of mpeg4 AAC. What do I have to change to get the command line to produce mpeg4 AAC?

"BeSweet/BeSweet.exe" -core( -input "input.ac3" -output "output.aac" -azid( -s stereo -n1 ) -bsn( -cbr 48 -mode 3 -aacprofile_he_ct2 )
Peter1234 is offline   Reply With Quote
Old 8th September 2005, 11:33   #13  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Quote:
Originally Posted by Peter1234
When I use the following command line I get mpeg2 AAC instead of mpeg4 AAC. What do I have to change to get the command line to produce mpeg4 AAC?
Nic's AAC patch
dimzon is offline   Reply With Quote
Old 8th September 2005, 17:00   #14  |  Link
Peter1234
Registered User
 
Join Date: Aug 2004
Posts: 130
Thanks.
Peter1234 is offline   Reply With Quote
Old 8th September 2005, 19:35   #15  |  Link
DeathTheSheep
<The VFW Sheep of Death>
 
DeathTheSheep's Avatar
 
Join Date: Dec 2004
Location: Deathly pasture of VFW
Posts: 1,124
Version 1 vs. Version 2

I've noticed that Winamp defaults to the aac+ version 1 encoder for 64kbps encodings. Why not default to version 2?

I then read on AAC+'s website that AAC+ version 2 was merely the manifestation of the super-new "Paremetric 2-channel" reproduction, a sort of synthesized stereo.

So if Version 2 was intended only to introduce PS, perhaps AAC+ version 1 can better encode standard SBR 48kbps+ content. However, I've never seen it in any recent evaluations. Why is that?
__________________
New VfW builds. High quality AVC Guide. Check out DeathTheSheep United today!
DeathTheSheep is offline   Reply With Quote
Old 9th September 2005, 10:43   #16  |  Link
pcjco04
Registered User
 
Join Date: Mar 2004
Posts: 43
When I mux the AAC file that I obtained from this plugin into a .MP4 file with mp4box (0.4.1DEV) , I have this line when it starts to import the audio :

Code:
AAC import SBR (implicit) - sample rate 24000 - MPEG-4 audio - 2 channels
I used -bsn( -cbr 64 -mode 2 -aacprofile_he_ct2 ) with a 48000Hz input.
The output is also recognized at 48KHz from the AAC file or with muxed MP4.
Is it a bug from MP4Box ?
pcjco04 is offline   Reply With Quote
Old 9th September 2005, 13:09   #17  |  Link
Raziel6969
Registered User
 
Raziel6969's Avatar
 
Join Date: Jun 2005
Posts: 61
Hello,

With my little experience i can tell that you can encode untill 48kbps
with PS, this sounds better than anything at that bitrate, i believe
that at higher bitrate PS doesn't help. A 64kbps (v1) sounds better
than 48kbps with PS (v2) of the same file. With the v2 i got less
stereo separation... All this appears to me.


I like the dimzon frontend to encode.

With at my test, i have 1 question, why the file size of the final .aac
is the same when i encode the original 44kHz version of a wav file,
while if that file is upsampled to 48kHz?


Bye
__________________
2 upload files: http://www.easy-sharing.com (75MB/Fast)
Raziel6969 is offline   Reply With Quote
Old 9th September 2005, 13:15   #18  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Quote:
Originally Posted by Raziel6969
With at my test, i have 1 question, why the file size of the final .aac
is the same when i encode the original 44kHz version of a wav file,
while if that file is upsampled to 48kHz?
Bcz both files has same playlength and bitrate
dimzon is offline   Reply With Quote
Old 10th September 2005, 01:48   #19  |  Link
Rockaria
nobody's nobody
 
Join Date: Mar 2005
Location: The Sun, somewhere around
Posts: 553
Quote:
Originally Posted by Kurtnoise13
I vote for wma and flac...
Winamp5.1 supports ds-show input enabling virtually any input sources.
The stand alone encoder based on the winamp transcoder looks promising if it can take the input (multi) channels from the in_dshow.dll and put to any supported encoders(including the sout), before integrating to the besweet.
Rockaria is offline   Reply With Quote
Old 12th September 2005, 16:50   #20  |  Link
AcIDo-555
Registered User
 
Join Date: Sep 2005
Posts: 4
..Crash on my system > Windows 98SE



AcIDo-555 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 06:56.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.