Help - Search - Members - Calendar
Full Version: Command line interface for Winamp AAC encoder
Hydrogenaudio Forums > Lossy Audio Compression > AAC > AAC - General
Super G
I would like to run the Winamp 5.52 AACplus encoder from the command line.

I found a command line executable that works with Winamp 5.3 (mentioned in this earlier thread). I tried it with the enc_aacplus.dll from Winamp 5.52 and it seems to work, but I'd like to be more confident that this is OK and that all of the parameters are getting passed properly. Unfortunately, I can't figure out who compiled the executable or how it was put together. Does anyone know where I can find more information about it?

Also, does anyone know of any other command line executables for the Winamp AACplus encoder, perhaps ones that are more recent or better documented?

I suppose I could try to write a command line exectuable myself, but I wasn't able to find an API for the Winamp AACplus encoder. Does anyone know if it's out there? I see that MediaCoder manages to call the Winamp DLL, but it seems like a lot of work to reverse-engineer MediaCoder's source code to figure out the API.

Thanks!
odyssey
I guess it would be easier to just use Nero AAC encoder? AACplus is just a trademark - It's tech term is HE-AACv2 which at least Nero also supports.
Super G
QUOTE(odyssey @ Feb 10 2008, 18:08) *

I guess it would be easier to just use Nero AAC encoder? AACplus is just a trademark - It's tech term is HE-AACv2 which at least Nero also supports.


I have found three implementations of HE-AACv2 (a.k.a EAAC+ a.k.a AACplus v2):
From what I can tell, they are not identical, and I am interested in comparing them.

Does anyone know of any other implementations out there?
jetpower
Winamp AAC CLI by tebasuna51 at doom9.org
http://www.codeplex.com/aacPlusCLI

CODE
Project Description  aacPlusCLI is command-line frontend for Coding Technologies aacPlus encoder enc_aacPlus.dll from WinAmp

********************************************************************  
AACPlus v2 Encoder (using Winamp 5.33/5.34 enc_aacplus.dll and nscrt.dll)  
Coding Technologies encoder 8.0.3  Build Jan 21 2008, 12:04:02
********************************************************************  

Usage:  encaacplus <wavfile> <bitstream_file> options  
Options:  
--br - Set bitrate (CBR) to <bitrate> bps. Default is 128000
--ps - Enable Parametric Stereo (bitrates up to 560000)
--is - Independed Stereo, disables Joint Stereo M/S coding
--mono - Encode as Mono  --he - Encode as HE-AAC (bitrate up to 128000)  
--lc - Encode as LC-AAC (bitrate up to 320000)  
--high - Encode as HE-AAC with High Bitrates  (bitrates up to 256000, multichannel is not supported)
--speech - Tune for Speech  --pns - Enable Perceptual Noise Subsitution (PNS)
--mp4mux - Output MPEG4 ISO compilant file .mp4 instead raw .aac  (mp4mux.exe must be in same directory)  
--mp4box - Output MPEG4 ISO compilant file .mp4 instead raw .aac  (mp4box.exe must be in same directory)  
--rawpcm <rate> <cnt> <bp> - Signal RAW PCM input intead of WAV  
<rate> - Samplerate in Hz (32000, 44100 or 48000)  
<cnt> - Channels count (1 or 2)  
<bp> - Bit's per sample (8 or 16)  

WARNING: this encoder can read and encode data from stdin:  
use - as input filename    
Last edited Feb 5 at 3:37 AM by tebasuna51, version 2
Super G
QUOTE(jetpower @ Feb 10 2008, 21:27) *

Winamp AAC CLI by tebasuna51 at doom9.org
http://www.codeplex.com/aacPlusCLI

Thanks jetpower! This is exactly what I was looking for--it even has the source code!

And special thanks to tebasuna51 for putting this together!
Super G
For those who are interested, here's the relevant thread on the Doom9 audio encoding forum. Be sure to scroll to the end for the most recent information.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.