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 Search this Thread Display Modes
Old 8th September 2005, 14:11   #1  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
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 <quality>	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 <bitrate>	Set average bitrate (ABR) to approximately <bitrate> kbps.
		(max. value 152 kbps/stereo with a 16 kHz cutoff, can be raised
		with a higher -c setting).
  -c <freq>	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-midside	Don't use mid/side coding.
  --mpeg-vers X	Force AAC MPEG version, X can be 2 or 4
  --obj-type X	AAC object type. (LC (Low Complexity, default), Main or LTP
		(Long Term Prediction)
  --shortctl X	Enforce block type (0 = both (default); 1 = no short; 2 = no
		long).

Other options
  -exe <file> Set encoder executable name. Defaut is FAAC.EXE. 
  			  You can specify another FAAC build if you wish :)
Please, post your feedback here!
Enjoy!
Attached Files
File Type: zip bsn_FAAC.zip (128.3 KB, 1068 views)

Last edited by dimzon; 14th September 2005 at 09:34.
dimzon is offline   Reply With Quote
Old 8th September 2005, 14:34   #2  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Just very minor bugfix
Attached Files
File Type: 7z bsn_FAAC_NEW.7z (118.3 KB, 459 views)
dimzon is offline   Reply With Quote
Old 8th September 2005, 15:15   #3  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,182
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...
Kurtnoise is offline   Reply With Quote
Old 8th September 2005, 15:50   #4  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Quote:
Originally Posted by Kurtnoise13
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.
Here are latest bsn_FAAC and beta bsn_Speex


Quote:
Originally Posted by Kurtnoise13
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...
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?
dimzon is offline   Reply With Quote
Old 8th September 2005, 16:04   #5  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Does anybody need OptimFROG or other losless support ?
dimzon is offline   Reply With Quote
Old 8th September 2005, 17:48   #6  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,182
Ok...here is the link : http://kurtnoise.free.fr/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.
Kurtnoise is offline   Reply With Quote
Old 8th September 2005, 17:58   #7  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Quote:
Originally Posted by Kurtnoise13


Quote:
Originally Posted by Kurtnoise13
So, 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.

Quote:
Originally Posted by Kurtnoise13
I think that he could create an new command line function, especially for you (just like -bswaplug( ) or anything else
It's good idea.

Quote:
Originally Posted by Kurtnoise13
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.
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)
dimzon is offline   Reply With Quote
Old 8th September 2005, 18:02   #8  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,182
Quote:
Originally Posted by dimzon
Wich 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.
Kurtnoise is offline   Reply With Quote
Old 8th September 2005, 18:24   #9  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Quote:
Originally Posted by Kurtnoise13
Monkeys 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
dimzon is offline   Reply With Quote
Old 8th September 2005, 21:14   #10  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
Quote:
Originally Posted by Kurtnoise13
Ok...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.
DSPguru is offline   Reply With Quote
Old 9th September 2005, 09:12   #11  |  Link
FredThompson
Registered User
 
FredThompson's Avatar
 
Join Date: Feb 2002
Location: Charlotte, NC USA
Posts: 1,960
Quote:
Originally Posted by Kurtnoise13
Monkeys 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.
__________________
Reclusive fart.
Collecting Military, Trains, Cooking, Woodworking, Fighting Illini, Auburn Tigers
FredThompson is offline   Reply With Quote
Old 9th September 2005, 10:21   #12  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,182
Quote:
Originally Posted by FredThompson
It's also closed source, unlike FLAC.
not true...there is a SDK and some extras infos in developpers MAC forums.
Kurtnoise is offline   Reply With Quote
Old 9th September 2005, 10:56   #13  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Quote:
Originally Posted by DSPguru
yes, 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
dimzon is offline   Reply With Quote
Old 9th September 2005, 19:33   #14  |  Link
Elias
MPEG-4 Crazy Lunatic!
 
Elias's Avatar
 
Join Date: Dec 2004
Posts: 1,096
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?
__________________
Elias is offline   Reply With Quote
Old 12th September 2005, 11:07   #15  |  Link
dimzon
BeHappy/MeGUI developer
 
dimzon's Avatar
 
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
Quote:
Originally Posted by Elias
Nero or FAAC?
Nero now OWN FAAC code so Nero has better quality for AAC-LC than FAAC
dimzon is offline   Reply With Quote
Old 12th September 2005, 12:11   #16  |  Link
Elias
MPEG-4 Crazy Lunatic!
 
Elias's Avatar
 
Join Date: Dec 2004
Posts: 1,096
Quote:
Originally Posted by dimzon
Nero now OWN FAAC code so Nero has better quality for AAC-LC than FAAC
What!? When did this happen?!
__________________
Elias is offline   Reply With Quote
Old 12th September 2005, 20:32   #17  |  Link
movax
Member
 
Join Date: Nov 2004
Location: Michigan
Posts: 217
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.
movax is offline   Reply With Quote
Old 12th September 2005, 21:00   #18  |  Link
Elias
MPEG-4 Crazy Lunatic!
 
Elias's Avatar
 
Join Date: Dec 2004
Posts: 1,096
Quote:
Originally Posted by movax
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.
Micro$oft-style?
__________________
Elias is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 11:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.