|
|
FAAC encoding plugin for BeSweet
WARNING!
This thread is obsolete! Use this thread.
Get it here!
Code:
Installation:
1) Install dimzon's BSN Framework first
2) Place provided bsn_FAAC.dll into BeSweet directory
3) Place faac.exe (command-line aac-encoder) into BeSweet directory
(tested with FAAC 1.24.1 (May 17 2005) UNSTABLE, included into package)
Usage: -bsn( -dll bsn_FAAC.dll [options] )
You can use *.aac, *.mp4, *.m4a or *.m4b as file extension,and the file format will be set automatically to ADTS or MP4.
Quality-related options: -q lt;qualitygt;Set default variable bitrate (VBR) quantizer quality in percent.
(default: 100, averages at approx. 120 kbps VBR for a normal
stereo input file with 16 bit and 44.1 kHz sample rate; max.
value 500, min. 10). -b lt;bitrategt;Set average bitrate (ABR) to approximately lt;bitrategt; kbps.
(max. value 152 kbps/stereo with a 16 kHz cutoff, can be raised
with a higher -c setting). -c lt;freqgt;Set the bandwidth in Hz (default: automatic, i.e. adapts
maximum value to input sample rate).
Expert options, only for testing purposes: --tns Enable coding of TNS, temporal noise shaping. --no-midsideDon't use mid/side coding. --mpeg-vers XForce AAC MPEG version, X can be 2 or 4 --obj-type XAAC object type. (LC (Low Complexity, default), Main or LTP
(Long Term Prediction) --shortctl XEnforce block type (0 = both (default); 1 = no short; 2 = no
long).
Other options -exe lt;filegt; Set encoder executable name. Defaut is FAAC.EXE. You can specify another FAAC build if you wish 
Please, post your feedback here!
Enjoy!
Just very minor bugfix
Good... but approval needed...If you want you can send it to me the file (kurtnoise at free dot fr) and I'll take it in my webpage.Are you succeed to create something with libfaac.dll ? Too much complicate ? do you have already checked winLAME sources ? There are some codes with libfaac. Hope this helps...
Originally Posted by Kurtnoise13Good... but approval needed...If you want you can send it to me the file (kurtnoise at free dot fr) and I'll take it in my webpage.
Here are latest bsn_FAAC and beta bsn_Speex
Originally Posted by Kurtnoise13Are you succeed to create something with libfaac.dll ? Too much complicate ? do you have already checked winLAME sources ? There are some codes with libfaac. Hope this helps...
Seems like pipelining is much more easy and common way to integrate external encoders into BeSweet. I spent 2 hour creating bsn_FAAC (there are many Win32 API code for pipelining) and i spend only 20 minutes to create bsn_Speex (based on bsn_FAAC pipeline code)
Maybe it's time to integrate with ffmpeg command-line encoder?
Does anybody need OptimFROG or other losless support ?
Ok...here is the link : BeSweet_Plugins/I know it's much more easy with command line. So, no problem for me concerning lossless. Yes, I want them...
May I suggest you something ? Try to send a MP to DSPGuru to show him this thread. I think that he could create an new command line function, especially for you (just like -bswaplug( ) or anything else because -bsn() switch is dedicated to besweet nero encoder. And it will be more clearly for everybody to avoid some confusions by creating a new switch.
Originally Posted by Kurtnoise13Ok...here is the link : BeSweet_Plugins/
Originally Posted by Kurtnoise13So, no problem for me concerning lossless. Yes, I want them...
Wich lossless encoder did You prefer? I looked for OptimFROG and FLAC, both of them can obtain RAW PCM data from stdin.Originally Posted by Kurtnoise13I think that he could create an new command line function, especially for you (just like -bswaplug( ) or anything else
It's good idea.Originally Posted by Kurtnoise13because -bsn() switch is dedicated to besweet nero encoder. And it will be more clearly for everybody to avoid some confusions by creating a new switch.
Don't forget, BSN framework still backward-compatible (if you do not specify -dll parameter it will redirect all calls to natve bsn.dll renamed to bsn_NeroAAC.dll)
Originally Posted by dimzonWich lossless encoder did You prefer? I looked for OptimFROG and FLAC, both of them can obtain RAW PCM data from stdin.
Monkeys Audio and Wavpack I would like but I dunno if we have raw pcm data from stdin.
Originally Posted by Kurtnoise13Monkeys Audio and Wavpack I would like but I dunno if we have raw pcm data from stdin.
I will try to make Wavpack encoder plugin during this week
Originally Posted by Kurtnoise13Ok...here is the link : I think that he could create an new command line function, especially for you.
yes, that wasn't hard. luckily, i had the time to do it.
In v1.5b31 you now have a -dimzon( -dllname .... ) switch.
Originally Posted by Kurtnoise13Monkeys Audio and Wavpack I would like but I dunno if we have raw pcm data from stdin.
FWIW, supposedly, Monkey's Audio adds some extra junk at the end of the files. It's also closed source, unlike FLAC.
Originally Posted by FredThompsonIt's also closed source, unlike FLAC.
not true...there is a SDK and some extras infos in developpers MAC forums.
Originally Posted by DSPguruyes, that wasn't hard. luckily, i had the time to do it.
In v1.5b31 you now have a -dimzon( -dllname .... ) switch.
Great!
check Your PM
Wow! This is so great! No more need of using the Nero dlls. One question though: which is better suited for quality AAC encoding? Nero or FAAC?
Originally Posted by EliasNero or FAAC?
Nero now OWN FAAC code so Nero has better quality for AAC-LC than FAAC
Originally Posted by dimzonNero now OWN FAAC code so Nero has better quality for AAC-LC than FAAC
What!? When did this happen?!
Nero buys up the devs, and puts them to work as paid slaves Similar to the tale of FAAC source to Nero, the PsyTel guys were assimilated by Nero too.
Originally Posted by movaxNero buys up the devs, and puts them to work as paid slaves Similar to the tale of FAAC source to Nero, the PsyTel guys were assimilated by Nero too.
Micro$oft-style? |
|