View Full Version : command-line frontend for WinAmp AAC+ v2 encoder (upd 2006-05-15)
wammie
16th February 2006, 06:07
It seems this front end cannot be invoked by Exact Audio Copy as an external program. In my attempts, the DOS window opens very quickly and then closes. I have been unable to capture any messages from the DOS box, even with a screen capture, as the window appears only for the briefest moment.
Is there a way to use this program from Exact Audio Copy? I understand the developer would not and should not need to make this compatible with everything else out there, but if anyone knows how to make it work I'd appreciate some help.
dimzon
17th February 2006, 13:50
Winamp5.2 AAC+v2 encoder command-line frontend (new version)
http://img247.imageshack.us/img247/4605/dibujodd8ow.gif
Support for AAC-LC encoding via CT encoder
6ch support
support aacPlus HE-AAC High-Bitrate Encoder
enc_aacplus.dll from WinAmp 5.2 beta requed (tested on build 365)
new version contains some bugfix
Get it @ BeHappy Workspace (take look @ my signature)
Gabriel_Bouvigne
18th February 2006, 09:08
It seems to me that there is no way to choose between channel modes in this version.
--chmode is not parsed.
dimzon
19th February 2006, 12:45
It seems to me that there is no way to choose between channel modes in this version.
--chmode is not parsed.
ParametricStereo will be used for he-aac @ bitrate <=48kbps
JointStereo will be used otherwize
Does anybody need addittional modes? I can add it during next week
Gabriel_Bouvigne
19th February 2006, 22:57
Yes, I saw in the source code that it was using default settings according to the bitrate.
As you provided source code (thanks a lot), I modified it to be able to specify channel modes, so it suits my needs.
dimzon
19th February 2006, 23:08
As you provided source code (thanks a lot), I modified it to be able to specify channel modes, so it suits my needs.
Can You share modified binary and source (to save my time a bit)?
Gabriel_Bouvigne
19th February 2006, 23:53
Well, it's just:
if(0==strcmp("--chmode", argv[i]))
{
nChannelMode=atoi(argv[++i]);
continue;
}
dimzon
26th February 2006, 14:35
new version is out
AAC+ 6-channel encoding up to 213kbps !
shon3i
18th March 2006, 16:56
For Multichannel encoding:
LC 160-320kbps
HE 96-128kbps
HE High 96-213kbps Not working i use 192 kbs and get message
Starting job proba.ac3->proba.aac
Found Audio Stream
Channels=6, BitsPerSample=16, SampleRate=48000Hz
enc_aacPlus.exe - "C:\Documents and Settings\Nenad\Desktop\proba.aac" --cbr 192000 --high --mpeg4aac
Writing RIFF header to encoder's StdIn
Writing PCM data to encoder's StdIn
Error: System.ApplicationException: Abnormal encoder termination -4
at BeHappy.Encoder.encode()
#### Encoder StdOut ####
********************************************************************
* AACPlus v2 Encoder (using Winamp 5.2 enc_aacplus.dll)
* Source timestamp Sun Feb 26 16:19:37 2006
* Build Feb 26 2006, 16:22:43
********************************************************************
* NOTE! enc_aacplus.dll must be into executable directory
* get it from Winamp 5.2 plugins directory
* tested on Winamp 5.2 Release Feb 23 2006 Full (Not Pro) version)
********************************************************************
Input file: -
Output file: C:\Documents and Settings\Nenad\Desktop\proba.aac
SampleRate: 48000
ChannelCount: 6
BitsPerSample: 16
Bitrate: 192000
ChannelMode: Multichannel
Encoder: aacPlusHigh
Can't create encoder!
straycat
19th March 2006, 14:31
It seems this front end cannot be invoked by Exact Audio Copy as an external program. In my attempts, the DOS window opens very quickly and then closes. I have been unable to capture any messages from the DOS box, even with a screen capture, as the window appears only for the briefest moment.
Is there a way to use this program from Exact Audio Copy? I understand the developer would not and should not need to make this compatible with everything else out there, but if anyone knows how to make it work I'd appreciate some help.
I have tried as well to use enc_aacplus.exe in combination with EAC and I failed. Can anyone help?
dimzon
20th March 2006, 06:55
For Multichannel encoding:
LC 160-320kbps
HE 96-128kbps
HE High 96-213kbps Not working i use 192 kbs and get message
It's your mistake ;)
try HE 96-213kbps
HE High (Higth doesn't mean hight bitrate but hight samplerate) doen't supprt 6ch
So You must use HE-AAC (Not HE High) (96-213) or LC-AAC (160-320) for 6ch encoding
shon3i
20th March 2006, 09:31
It's your mistake ;)
try HE 96-213kbps
HE High (Higth doesn't mean hight bitrate but hight samplerate) doen't supprt 6ch
So You must use HE-AAC (Not HE High) (96-213) or LC-AAC (160-320) for 6ch encoding
Yes i know now, i soloved the problem.
dimzon
15th May 2006, 14:36
fresh version is out
Kostarum Rex Persia
15th May 2006, 18:14
Dimzon, where Im can download changelog for 20060515? Give download link, please.
dimzon
15th May 2006, 18:20
Dimzon, where Im can download changelog for 20060515? Give download link, please.
I doesn't maintain changelog for it
shon3i
15th May 2006, 19:06
Just one small bug fixed when used mp4 container and LC-AAC, everything other are same
aiyunyi
18th May 2006, 16:05
Can this cli and enc_aacplus.dll be used alone without winamp?
shon3i
18th May 2006, 16:31
Can this cli and enc_aacplus.dll be used alone without winamp?
Yes of course
aiyunyi
18th May 2006, 16:50
But I couldn't find enc_aacplus.dll, winamp is not installed here.
dimzon
18th May 2006, 17:45
But I couldn't find enc_aacplus.dll, winamp is not installed here.
Install WinAmp, get Your copy of enc_aacPlus.dll and uninstall WinAmp ;)
aiyunyi
19th May 2006, 09:09
surprisingly, i find it in kmplayer!
joynes
27th June 2006, 09:53
When i encode an 44 kHz wave sample with --lc from enc_aacplus.exe the result will be downsampled to 32 KHz. Why is this? Is there some way around?
/regards joynes
shon3i
27th June 2006, 18:40
When i encode an 44 kHz wave sample with --lc from enc_aacplus.exe the result will be downsampled to 32 KHz. Why is this? Is there some way around?
/regards joynes
What is you bitrate
joynes
3rd July 2006, 21:37
What is you bitrate
Hi! sry didnt see your replay earlier.. well my bitrate is 64 Kbps...
/regards joynes
shon3i
3rd July 2006, 21:54
Hi! sry didnt see your replay earlier.. well my bitrate is 64 Kbps...
/regards joynes
That is normal because that is too low bitrate for LC profile (encoder try to prevent how much more artifacts from audio), better than you use HE profile instead
gameplaya15143
4th July 2006, 01:09
dimzon, did you ever figure out how to add the resample option again? Remember your really old frontend could do it. ;)
joynes
4th July 2006, 09:44
That is normal because that is too low bitrate for LC profile (encoder try to prevent how much more artifacts from audio), better than you use HE profile instead
Ok i see :)... but I thought it was a common format for mobiles: 64 kbps/44 Khz Samplerate AAC LC...
i tried with neroAacEnc.exe from Nero digital which could preserve the samplerate. Is this encoder better for this sort of work?
/regards joynes
shon3i
4th July 2006, 12:00
i tried with neroAacEnc.exe from Nero digital which could preserve the samplerate. Is this encoder better for this sort of work?
Yes, but have little whrost quality than ct.
shon3i
27th September 2006, 17:23
New Coding Techologies AAC encoder is released with new version of Winamp 5.3
LC-AAC now have PNS and is optimized for speech, and have down to 8 kbps
http://img231.imageshack.us/img231/9518/ctaacdi4.jpg
HE-AAC and HE-AAC High as optimised only with speech, and aslo have bitrates down to 8kbps, and devs says that encoder have big improvments in low bitrate encoding (I tested at 48kbps and sounds better than old version, maybe now can beat nero :D)
http://img218.imageshack.us/img218/8054/ctaac1uj9.jpg
Stereo mode now can be only Joint Stereo or Parametric Stereo, oterwise can be Mono or multichannel.
This enc_aacplus.exe works good with this new version of enc_aacplus.dll.
Dimzon can you implement this new features and remove old, and update BeHappy Dialog (With rounded bitrate)! Please.
Kurtnoise
27th September 2006, 19:18
http://kurtnoise.free.fr/index.php?dir=misc/&file=enc_aacPlus_20060927.zip
I tested at 48kbps and sounds better than old version, maybe now can beat nero
Prove it instead of trolling...
shon3i
27th September 2006, 21:40
Thanks Kurtnoise for build.
Prove it instead of trolling...
IMO CT AAC is always sounds better than Nero especialy in multichannel encoding. My ears proved to me
EDIT: Sorry Kurtnoise but looks like encoder support all stereo modes which means Independet Stereo, Joint Stereo, Dual Channel, Parametric Stereo, but IS and DC is removed from winamp beacuse confuse ppls. So please if you can back --is and --dc switches
shon3i
28th September 2006, 11:07
Here is package who contains enc_aacplus.exe compiled by me, and enc_aacplus.dll, nscrt.dll, and source code.
http://www.box.net/public/n1y5sea9fl
The different from Kurtnoise build is, again it have --dc i --is switches, which means you can use again Independet Stereo and Dual Channel mode.
********************************************************************
* AACPlus v2 Encoder (using Winamp 5.3 enc_aacplus.dll)
* Source timestamp Thu Sep 28 12:03:37 2006
* Build Sep 28 2006, 12:03:42
********************************************************************
* NOTE! enc_aacplus.dll and nscrt.dll must be into executable directory
* get it from Winamp 5.3 plugins directory
*********************************************************************
Usage:
enc_aacPlus <wav_file> <bitstream_file> [options]
Options:
--cbr <bitrate> - Set bitrate (CBR) to <bitrate> bps. Default is 48000
--nops - Disable Parametric Stereo
--is - Prefer Independed Stereo
--dc - Prefer Dual Channels
--mpeg2aac - Produce MPEG2 AAC isntead of MPEG4 AAC
--lc - Encode LC-AAC instead AAC+ (bitrate up to 320000)
--high - use aacPlusHigh Encoder (bitrate up to 256000, multichannel is not supported)
--speech - tune Encoder Engine for Speech
--pns - Enable Perceptual Noise Subsitution
--mp4box - Wrap result into MPEG4 container (MP4BOX.EXE must be into executable 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
shon3i
1st April 2007, 17:57
New enc_aacplus package is out.
http://www.box.net/shared/1u8h68huvi, all files including source
********************************************************************
* AACPlus v2 Encoder (using Winamp 5.33/5.34 enc_aacplus.dll and nscrt.dll)
* Coding Technologies encoder 8.0.3
* Source timestamp Wed Mar 28 18:55:14 2007
* Build Mar 28 2007, 18:57:03
********************************************************************
Usage:
enc_aacPlus <wav_file> <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)
--mp4 - Output MPEG4 ISO compilant file .mp4 instead raw .aac
(mp4mux.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
Kurtnoise
1st April 2007, 18:08
Where does mp4mux come from ?
shon3i
1st April 2007, 19:00
Where does mp4mux come from ?
Ateme beta test, original filename is mp4muxer.exe.
gameplaya15143
3rd April 2007, 23:49
:( still no option to set the output samplerate?
SealTooGreat
4th April 2007, 05:03
Ateme beta test, original filename is mp4muxer.exe.
Is it Ateme's mp4muxer?!...or it's opensource?!
shon3i
4th April 2007, 16:27
:( still no option to set the output samplerate?
Did you mean resamle option for LC-AAC audio?
I realy don't know why you need that option, coz bandwith will be same. For everything under 96kbps better to encode as mono if LC-AAC used, or use Nero encoder, because is better optimised from 64-96kbps range.
Is it Ateme's mp4muxer?!...or it's opensource?!I relly don't know, maybe is nero muxer, but app is not opensource, and i use it from package who is linked on net, ateme 1.0.1.28 ;)
Kurtnoise
4th April 2007, 18:13
yeah...thanks to share something completely illegal.
Jongan
10th April 2007, 13:48
Try this tools www.tinymp4.com, and leave some suggestions.
tebasuna51
10th April 2007, 18:04
Try this tools www.tinymp4.com, and leave some suggestions.
3GPP Encoder with 3 cbr stereo encoder options:
- 64 Kb/s HE-AAC
- 48 Kb/s HE-AAC
- 24 Kb/s HE-AAC + PS
Can't be compared with CT aacPlus encoder.
Tinymp4 is a player, tagger, multiformat stereo decoder, ... but here speak only about encoder.
@shon3i
To avoid the problem about the legality of mp4muxer use, maybe we can preserve the old option
--mp4box
and add now, instead --mp4:
--mp4muxer
Then legal owners of mp4muxer can use it, and the rest of users continue with the free mp4box. Enc_aacplus only need send the job to mp4box or mp4muxer with the appropriate parameters.
BTW, when change the parameters all app using the tool must be changed. At least BeHappy and MEGUI must be changed to use this new version. Maybe the old parameters must be maintained for compatibility, like:
--br, --cbr
--he, --nops
shon3i
10th April 2007, 20:15
To avoid the problem about the legalityThat is true, but this package is 3 years on internet, and probably many ppl's have it, aslo there is not any eula in package, so i don't care of any rights.
Then legal owners of mp4muxer can use it, and the rest of users continue with the free mp4box. Enc_aacplus only need send the job to mp4box or mp4muxer with the appropriate parameters.That isn't problem, but i don't wont back to mp4box, because is over 1mb, and i haved much problem's with mp4box mp4's files http://forum.doom9.org/showthread.php?t=111224, not only with my standalone, aslo with winamp and foobar, now for example 6ch mp4aac in foobar 0.9.4.2 have some troubles, muxed with mp4box.
Nero, Winamp, mp4UI, mp4muxer, muxers don't have these problems.
I will go round mp4box until not solove this problems.
BTW, when change the parameters all app using the tool must be changed. At least BeHappy and MEGUI must be changed to use this new version. Maybe the old parameters must be maintained for compatibility, like:
--br, --cbr
--he, --nops
--cbr, can be added as alias, but --nops don't have sense coz --ps is now used for PS encoding.
I will update BeHappy package ASAP, so there is not problem, i realy don't care about MeGUI, because that is 10 minutes job to change switches. I know that MeGUI devs don't love CT AAC because it totality illegal, and don't have much capabillities as nero encoder.
gameplaya15143
11th April 2007, 00:04
Did you mean resamle option for LC-AAC audio?No, I mean like what was available with dimzon's first version of the frontend (which was lost way back when his hdd died). For example, input could be 44100hz stereo, and the output could be set to 24kbps 16khz HE+PS ;)
I don't know if it is even still possible with a newer version of enc_aacplus.dll, I just know that old frontend does it just fine with an old version of the encoder dll.
The link for the old frontend was (which still seems to be working) http://www.crapshack.com/aacenc.zip
I've never had any playback issues using mp4box and winamp (using ct in_mp4.dll not the nullsoft one)
Jongan
17th April 2007, 06:02
Not really,Tinymp4 is also a aacPlus encoder, it use DirectShow to decode multiformat and use 3GPP encoder to build aacPlus stream. And use Tinymp4 any other format except mp4 to be converted to mp4. Please take a look of this,Thanks.
3GPP Encoder with 3 cbr stereo encoder options:
- 64 Kb/s HE-AAC
- 48 Kb/s HE-AAC
- 24 Kb/s HE-AAC + PS
Can't be compared with CT aacPlus encoder.
Tinymp4 is a player, tagger, multiformat stereo decoder, ... but here speak only about encoder.
@shon3i
To avoid the problem about the legality of mp4muxer use, maybe we can preserve the old option
--mp4box
and add now, instead --mp4:
--mp4muxer
Then legal owners of mp4muxer can use it, and the rest of users continue with the free mp4box. Enc_aacplus only need send the job to mp4box or mp4muxer with the appropriate parameters.
BTW, when change the parameters all app using the tool must be changed. At least BeHappy and MEGUI must be changed to use this new version. Maybe the old parameters must be maintained for compatibility, like:
--br, --cbr
--he, --nops
tebasuna51
17th April 2007, 09:27
Not really,Tinymp4 is also a aacPlus encoder, it use DirectShow to decode multiformat...
Ok I say:
"Tinymp4 is a player, tagger, multiformat stereo decoder,..."
but DirectShow isn't the better way to control the decode step.
and use 3GPP encoder to build aacPlus stream.
And I say:
"3GPP Encoder with 3 cbr stereo encoder options:
- 64 Kb/s HE-AAC
- 48 Kb/s HE-AAC
- 24 Kb/s HE-AAC + PS"
Can't be compared with CT aacPlus encoder with bitrates until 320 Kb/s and multichannel options. About the quality you can see the tests in Hydrogenaudio Forums, 3GPP is below CT and Nero encoders.
Jongan
18th April 2007, 05:42
Oh, I see, Thanks.
Ok I say:
"Tinymp4 is a player, tagger, multiformat stereo decoder,..."
but DirectShow isn't the better way to control the decode step.
And I say:
"3GPP Encoder with 3 cbr stereo encoder options:
- 64 Kb/s HE-AAC
- 48 Kb/s HE-AAC
- 24 Kb/s HE-AAC + PS"
Can't be compared with CT aacPlus encoder with bitrates until 320 Kb/s and multichannel options. About the quality you can see the tests in Hydrogenaudio Forums, 3GPP is below CT and Nero encoders.
SealTooGreat
30th June 2007, 11:25
That isn't problem, but i don't wont back to mp4box, because is over 1mb, and i haved much problem's with mp4box mp4's files http://forum.doom9.org/showthread.php?t=111224, not only with my standalone, aslo with winamp and foobar, now for example 6ch mp4aac in foobar 0.9.4.2 have some troubles, muxed with mp4box.
Nero, Winamp, mp4UI, mp4muxer, muxers don't have these problems.
Use "-isma" in mp4box's cmd line. It will add tracks (0D & BIFS), like mp4UI/Winamp does by default.
montython
24th November 2007, 11:32
I guess BeHappy version given below includes an updated version of this command-line interface to enc_aacplus.dll of WinAmp.
http://forum.doom9.org/showthread.php?p=1055997#post1055997
****************************************
* AACPlus v2 Encoder (using Winamp 5.33/5.34 enc_aacplus.dll and nscrt.dll)
* Coding Technologies encoder 8.0.3
* Source timestamp Sun Aug 12 16:42:07 2007
* Build Aug 12 2007, 16:44:37
****************************************
Is this one compatible with enc_aacplus.dll (v8.1.0) included in WinAmp 5.5? It seems to be working, anyone had any problems?
tebasuna51
24th November 2007, 13:29
Is this one compatible with enc_aacplus.dll (v8.1.0) included in WinAmp 5.5? It seems to be working, anyone had any problems?
Seems work fine with enc_aacplus.dll (565.760 bytes 2007-10-10) included in winamp55_full_emusic-7plus until 320 Kb/s.
dimzon
29th January 2008, 14:00
Hi 2 all
Where is the latest source of this tool?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.