View Full Version : BeSweet encoding plugin framework idea
dimzon
7th September 2005, 16:42
WARNING!
This thread is obsolete! Use this thread.
Hi!
I have an idea how to make more easy new encoding plugin development.
This idea is based onto bsn.dll API.
The idea is to rename original bsn.dll into bsn_neroAAC.dll and create own replacement for bsn.dll with same API.
New bsn.dll must analyze command line parameters collection in order to find -dll <dllfilrname> parameter. If such parameter not found bsn.dll load bsn_neroAAC.dll and delegate all calls to it. If -dll parameter found bsn.dll must load specified library and delegate all calls to this library.
So it's easy to add any amount of encoders into BeSweet: just create your own DLL implementing bsn.dll API and place it into BeSweet folder :)
I try to make such framework @ weekend (if I found free time). Framework will consist of:
new bsn.dll
AAC+ v2 encoder, adapted for this framework
RAW PCM encoder plugin - starting point for any other encoding plugin development
dimzon
7th September 2005, 18:54
Done!
First beta version is here (http://sr1.mytempdir.com/148912)!
COMPONENTS
bsn - standart bsn.dll replacement, it's framework core
bsn_WinampAacPlusV2 - AAC+v2 plugin.
bsn_RawPCM - Raw PCM output, for demonstation puposes :)
BeAAC - minimalistic BeSweet GUI for AAC+v2 encoding :) (place it into BeSweet directory)
HOWTOINSTALL dimzon's BSN Framework:
1) Rename standart bsn.dll into bsn_NeroAAC.dll first
2) Place provided bsn.dll into BeSweet directory
HOWTOUSE bsn_WinampAacPlusV2:
1) Place provided bsn_WinampAacPlusV2.dll into BeSweet directory
2) Place enc_aacplus.dll (from winamp\plugins) into BeSweet directory
3) To use enc_aacplus.dll instead on Nero you must add -dll bsn_WinampAacPlusV2.dll parameter!
4) enc_aacplus.dll produces raw aac stream with MPEG2 AAC header, don't forget to set "aac" output file extension
Command line:
-bsn(-dll bsn_WinampAacPlusV2.dll -cbr <bitrate> -mode <channels> -v <version>)
<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 <version> equal 2 and <bitrate> can't exeed 48)
5 - Dual Channel (?)
<version> - integer between 1-2, default is 2
1 - AACPlus v1 Encoder
2 - AACPlus v2 Encoder
HOWTOUSE bsn_RawPCM:
1) Place provided bsn_RawPCM.dll into BeSweet directory
Command line:
-bsn(-dll bsn_RawPCM.dll )
Please post Your feedback here!
FredThompson
9th September 2005, 10:54
Would you please consolidate your recent posts and remove the old versions? The recent release of WinAmp 5.1 and the different paths of your old posts make this a little confusing.
dimzon
9th September 2005, 11:59
Would you please consolidate your recent posts and remove the old versions? The recent release of WinAmp 5.1 and the different paths of your old posts make this a little confusing.
I'm trying to contact with DSPguru about some API changes. So wait a little :)
Sirber
9th September 2005, 21:49
May i use your DLL in my softs please? :D
Is Winamp AAC better than Nero's one?
dimzon
12th September 2005, 12:10
May i use your DLL in my softs please? :D
Yes, but wait a little for a new version (aprox 1-3 days) - where will be little API changes.
Is Winamp AAC better than Nero's one?
Yes! (But WinAmp can't produce 5.1 :devil: )
Sirber
12th September 2005, 13:58
Yes! (But WinAmp can't produce 5.1 :devil: )Neither RealAnime (yet) :D
movax
12th September 2005, 17:09
Is Winamp AAC better than Nero's one?
Yes! (But WinAmp can't produce 5.1 )
Do you have links to any articles/blind listening tests to support that? I've always wanted to try something other than Nero for my 5.1 HE-AAC needs. :)
*EDIT* Nevermind, just need a link to your PCM plugin example.
dimzon
12th September 2005, 17:11
Do you have links to any articles/blind listening tests to support that? I've always wanted to try something other than Nero for my 5.1 HE-AAC needs. :)
http://forum.doom9.org/showthread.php?t=99930
for blind test look @ HydrogenAudio forums
movax
12th September 2005, 17:16
Will look...seems like Nullsoft just released a 5.1 AACPlus encoder as well in the new WinAmp.
*EDIT* Seems like the Helix codec kicks ass at lower bitrates. Trying to find a 5.1 test of the codecs now. :)
dimzon
12th September 2005, 17:38
Will look...seems like Nullsoft just released a 5.1 AACPlus encoder as well in the new WinAmp.
No! Current Winamp bundled with enc_aacplus.dll (541184 25.08.05 21:30). There are no any encoding plugin improvement :mad:
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.