View Full Version : Aften 0.0.8 is out
TFM_TheMask
25th June 2010, 17:35
Try http://code.google.com/p/wavtoac3encoder/
video_magic
27th June 2010, 11:33
Please note:
http://sourceforge.net/projects/win32builds/files/
And http://kurtnoise.free.fr is just as dead.
So - where is a really "current" alternative?
Oops, I meant that is current as in it doesn't give a '404 page', but the builds are quite old you are right.
tebasuna51
27th June 2010, 12:34
In http://code.google.com/p/wavtoac3encoder/downloads/list the aften-git-20091226-icl11_1_054 is the last build I know.
wisodev
27th July 2010, 22:02
Version 4.6 and later 4.7 of WAV to AC3 Encoder have been released today:
Changes:
- Fixed: Issue 5: Importing .mux files in ANSI not possible
- Added support for avisynth in AMD64 (64-bit) builds using http://code.google.com/p/avisynth64/.
Downloads:
http://code.google.com/p/wavtoac3encoder/downloads/list
Yobbo
31st July 2010, 22:58
THANK YOU, Wisodev! I always look forward to updates for WAVtoAC3Enc!!! It's a tool in my kit that I use regularly!
MrVideo
31st July 2010, 23:36
Version 4.6 and later 4.7 of WAV to AC3 Encoder have been released today
OK, what does this program do that aften doesn't?
MrVideo
1st August 2010, 07:49
Version 4.6 and later 4.7 of WAV to AC3 Encoder have been released today
I got an e-mail that showed a response that you gave to my query, yet it appears that the response was deleted.
All of my audio work is done via the CLI, in scripts that I have written to automate the process of stuff that I do.
wisodev
1st August 2010, 08:08
OK, what does this program do that aften doesn't?
Its GUI version.
wisodev
1st August 2010, 08:13
I got an e-mail that showed a response that you gave to my query, yet it appears that the response was deleted.
All of my audio work is done via the CLI, in scripts that I have written to automate the process of stuff that I do.
But my GUI has other goal then CLI version:
- It has optimized aften builds.
- Supports Avisynth scripts under Win32 and x64 OS.
- Can be used to automate several jobs from command-line using presets.
- Has MUX wizard.
- Supports unicode file names.
- You can access all aften options in one place and tweak quickly.
MrVideo
1st August 2010, 08:21
But my GUI has other goal then CLI version
Thanks for the info.
Silly me, I should have also followed the link in you signature.
DVB-Freak
18th November 2010, 09:09
Hello wisodev!
Is the project dead?
The site on google don't work anymore.
Best regards
DVB-Freak
Blue_MiSfit
18th November 2010, 09:21
encwavtoac3 5.0 is out now http://www.videohelp.com/tools/EncWAVtoAC3
sneaker_ger
18th November 2010, 10:43
Too bad AviSynth input still does not work properly.
LigH
18th November 2010, 10:56
That works in BeHappy and MeGUI (which uses the engine derived from BeHappy).
http://behappy.codeplex.com/
http://forum.doom9.org/showthread.php?t=104686
sneaker_ger
18th November 2010, 11:15
Thanks for the info. Didn't know BeHappy is still being developed (probably mixed it up with BeSweet).
tebasuna51
18th November 2010, 12:40
http://code.google.com/p/wavtoac3encoder/
still work for me.
sneaker_ger
18th November 2010, 12:48
Yes, the site seems to work again. He probably reactivated it or something.
Brazil2
26th August 2011, 14:51
Does anyone know why AC3 files encoded with Aften are not showing any information in MediaInfo ?
All other AC3 tracks I have, extracted from DVD / BD and samples from this forum, are showing details in MediaInfo like this:
General
Complete name : F:\Test\ac3test.ac3
Format : AC-3
Format/Info : Audio Coding 3
File size : 3.20 MiB
Duration : 1mn 0s
Overall bit rate : 448 Kbps
Audio
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Duration : 1mn 0s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 3.20 MiB (100%)
But files encoded with Aften are showing this:
General
Complete name : F:\Test\ac3.ac3
File size : 1.57 MiB
I'm using aften-git-20091226-icl11_1_054-win32 (http://code.google.com/p/wavtoac3encoder/downloads/detail?name=aften-git-20091226-icl11_1_054-win32-bin.zip&can=2&q=), mostly through Foobar but I got the same results in a command line box, with these parameters:
-readtoeof 1 -pad 0 -exps 32 -s 1 -b 448 - %d
While muxed into an MP4 file with YAMB then the information becomes available:
General
Complete name : F:\Test\ac3.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 1.57 MiB
Duration : 29s 326ms
Overall bit rate : 449 Kbps
Encoded date : UTC 2011-08-26 13:31:00
Tagged date : UTC 2011-08-26 13:31:00
Writing application : Yamb 2.1.0.0 [http://yamb.unite-video.com]
Audio
ID : 1
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : ac-3
Duration : 29s 326ms
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 1.57 MiB (100%)
Title : AC-3
Encoded date : UTC 2011-08-26 13:31:00
Tagged date : UTC 2011-08-26 13:31:00
But it's gone again once the track has been extracted from the MP4.
However the files created by Aften are playing fine with Foobar and VLC.
Is it an Aften issue or a MediaInfo issue ? Any thoughts ?
Kurtnoise
26th August 2011, 15:06
but I got the same results in a command line box, with these parameters:
-readtoeof 1 -pad 0 -exps 32 -s 1 -b 448 - %d
why are you using -pad 0 -exps 32 -s 1 ? try without these switches...
jruggle
26th August 2011, 15:07
Does anyone know why AC3 files encoded with Aften are not showing any information in MediaInfo ?
...
Is it an Aften issue or a MediaInfo issue ? Any thoughts ?
My guess is MediaInfo since you say the files play correctly.
Just for kicks, add '-xbsi1 1' to your commandline and see if that changes what MediaInfo prints out.
jruggle
26th August 2011, 15:17
why are you using -pad 0 -exps 32 -s 1 ? try without these switches...
'-s 1' should not cause any issues since the block switch flags are in the audio blocks, not in the frame header. '-pad 0' would have no effect on this since it only changes how source audio data is passed to libaften. '-exps 32' should definitely not have any effect on this since it's just an algorithmic decision option.
The only thing I can think of right off-hand is that maybe MediaInfo expects the extended bitstream format. That is what most commercial AC-3 encoders produce, but it is certainly not required. Aften only uses it if one of the extended metadata options is set.
Brazil2
26th August 2011, 15:22
why are you using -pad 0 -exps 32 -s 1 ?
Because of this:
To convert a wav file 5.0 you can use WavToAc3Enc or eac3to with external Aften.exe encoder:
eac3to source50 stdout.wav | Aften -pad 0 -readtoeof 1 -exps 32 -s 1 -b 640 - output.ac3
where:
-exps 32 -s 1 -b 640
is the best quality (and slow encode) than Aften can offer.
try without these switches...
It's the same.
Just for kicks, add '-xbsi1 1' to your commandline and see if that changes what MediaInfo prints out.
No change either.
jruggle
26th August 2011, 15:45
It's the same.
...
No change either.
Hmm...not sure then. I am unable to reproduce the issue in Linux with MediaInfo v0.7.16. I get normal output. Could you provide a small sample?
Brazil2
26th August 2011, 16:01
I think I've found out the issue: it only happens when the source file is not 48 KHz. As I'm not doing any sampling rate conversion I ended up with a 44.1 KHz file which doesn't show any information in MediaInfo.
But all of the tests I've done with the resulting files at 48 KHz are showing detailed information in MediaInfo. And BTW same goes for AC3 files created with ffmpeg so there are chances it's a MediaInfo issue.
jruggle
26th August 2011, 17:16
I think I've found out the issue: it only happens when the source file is not 48 KHz. As I'm not doing any sampling rate conversion I ended up with a 44.1 KHz file which doesn't show any information in MediaInfo.
But all of the tests I've done with the resulting files at 48 KHz are showing detailed information in MediaInfo. And BTW same goes for AC3 files created with ffmpeg so there are chances it's a MediaInfo issue.
That's odd. I thought at one point that might be the cause, but 44.1kHz files also work fine for me with MediaInfo v0.7.16.
tebasuna51
26th August 2011, 19:17
Because of this:
...
-exps 32 -s 1 -b 640
...
Then for what you put: -exps 32 -s 1 -b 448 ?
Let the defaults for -b 448
No problem with AC3 streams, maybe a MediaInfo bug like put:
Bit depth : 16 bits
Lossy compressed streams don't have Bit depth, and we can't know the bitdepth of the source, can be 16, 24, 32, ... bits
@jruggle, please a new version with last improvements.
Brazil2
26th August 2011, 19:19
Weird, I got it working with some 44.1 KHz files but not with some other ones.
I've uploaded some samples here: http://www.multiupload.com/9Z1X01V9FF
Two of them are working fine with MediaInfo but the third one doesn't.
tebasuna51
26th August 2011, 19:36
... the third one doesn't.
No problem with your file:
File ........: D:\Internet\Aften\NotOK-Owner.ac3
Size ........: 1642300 bytes
----------------------------------------- First Frame Info
SampleRate ..................: 1 (44100 KHz)
BitRate .....................: 15 (448 Kb/s)
Version (bsid) ..............: 6 (Alternate sintax)
Bit Stream mode (bsmod) .....: 0 (main audio service: complete main, CM)
Audio coding mode (acmod) ...: 2 (2/0 - L, R)
Dolby Surround Mode .........: 0 (not indicated)
Low frequency effects channel: 0 (Not present)
Dialogue normalization ......: - 31 dB
RF atenuattion ..............: 0 (Not present)
Languaje ....................: 0 (Not present)
Audio Production Info .......: 0 (Not present)
CopyRight bit ...............: 0
Original bit ................: 1
Preferred stereo downmix mode: 0 (not indicated)
Lt/Rt center mix level ......: 4 (0.707, -3.0 dB)
Lt/Rt surround mix level ....: 4 (0.707, -3.0 dB)
Lo/Ro center mix level ......: 4 (0.707, -3.0 dB)
Lo/Ro surround mix level ....: 4 (0.707, -3.0 dB)
Xbsi2e ......................: 0 (Not present)
Additional Bsi ..............: 0 (Not present)
Block switch flags ..........: 0
Dither flags ................: 3
Dynamic Range Info ..........: 0 (Not present)
------------------------------------------- Rest of Frames
Frame SR BR PB BS BM AM LF DN DyRaCo Bytes Before Header
--------- -- -- -- -- -- -- -- -- ------ -------------------
2 1 15 0 6 0 2 0 31
3 1 15 1 6 0 2 0 31
4 1 15 1 6 0 2 0 31
5 1 15 0 6 0 2 0 31
6 1 15 0 6 0 2 0 31
7 1 15 0 6 0 2 0 31
8 1 15 0 6 0 2 0 31
9 1 15 0 6 0 2 0 31
10 1 15 0 6 0 2 0 31
11 1 15 1 6 0 2 0 31
12 1 15 1 6 0 2 0 31
13 1 15 0 6 0 2 0 31
...
833 1 15 1 6 0 2 0 31
834 1 15 1 6 0 2 0 31
835 1 15 0 6 0 2 0 31
836 1 15 0 6 0 2 0 31
837 1 15 0 6 0 2 0 31
838 1 15 0 6 0 2 0 31
839 1 15 0 6 0 2 0 31
840 1 15 0 6 0 2 0 31
841 1 15 0 6 0 2 0 31
842 1 15 0 6 0 2 0 31
--------------------------------------------- Revised Info
Total Frames ......: 842
Duration ..........: 29,328 seconds. ( 0 h. 0 m. 29,328 s.)
------------------------------------------------- End Info
But don't work fine with MediaInfo, is a MediaInfo bug.
jruggle
26th August 2011, 19:45
@jruggle, please a new version with last improvements.
I don't really have time for a release right now. I'm very busy improving the (E-)AC3 encoder in Libav. It's better than Aften now, and I will most likely no longer do additional improvements to Aften other than bug fixes.
Brazil2
27th August 2011, 12:31
No problem with your file:
----------------------------------------- First Frame Info
SampleRate ..................: 1 (44100 KHz)
BitRate .....................: 15 (448 Kb/s)
Version (bsid) ..............: 6 (Alternate sintax)
Bit Stream mode (bsmod) .....: 0 (main audio service: complete main, CM)
Audio coding mode (acmod) ...: 2 (2/0 - L, R)
Dolby Surround Mode .........: 0 (not indicated)
Low frequency effects channel: 0 (Not present)
Dialogue normalization ......: - 31 dB
RF atenuattion ..............: 0 (Not present)
Languaje ....................: 0 (Not present)
Audio Production Info .......: 0 (Not present)
CopyRight bit ...............: 0
Original bit ................: 1
Preferred stereo downmix mode: 0 (not indicated)
Lt/Rt center mix level ......: 4 (0.707, -3.0 dB)
Lt/Rt surround mix level ....: 4 (0.707, -3.0 dB)
Lo/Ro center mix level ......: 4 (0.707, -3.0 dB)
Lo/Ro surround mix level ....: 4 (0.707, -3.0 dB)
Xbsi2e ......................: 0 (Not present)
Additional Bsi ..............: 0 (Not present)
Block switch flags ..........: 0
Dither flags ................: 3
Dynamic Range Info ..........: 0 (Not present)
------------------------------------------- Rest of Frames
Frame SR BR PB BS BM AM LF DN DyRaCo Bytes Before Header
--------- -- -- -- -- -- -- -- -- ------ -------------------
2 1 15 0 6 0 2 0 31
3 1 15 1 6 0 2 0 31
...
841 1 15 0 6 0 2 0 31
842 1 15 0 6 0 2 0 31
--------------------------------------------- Revised Info
Total Frames ......: 842
Duration ..........: 29,328 seconds. ( 0 h. 0 m. 29,328 s.)
------------------------------------------------- End Info
Which tool are you using that gives this information ?
Zenitram
27th August 2011, 19:44
I think I've found out the issue: it only happens when the source file is not 48 KHz.
You're right: there was a bug in MediaInfo preventing analysis of some non-48 KHz file.
That's odd. I thought at one point that might be the cause, but 44.1kHz files also work fine for me with MediaInfo v0.7.16.
I added CRC check in newest versions, and this piece of code was buggy with non-48 KHz streams.
Corrected in latest development snapshot (https://sourceforge.net/projects/mediainfo/files).
tebasuna51
28th August 2011, 12:02
Which tool are you using that gives this information ?
The attached one, read some info here:
http://forum.doom9.org/showthread.php?p=1159994#post1159994
Last version LeeAudBi7.7z here (https://forum.doom9.org/showthread.php?p=424067#post424067)
Brazil2
28th August 2011, 14:08
The attached one, read some info here:
http://forum.doom9.org/showthread.php?p=1159994#post1159994
Thanks :) :thanks:
Mug Funky
6th September 2011, 03:11
@ tebasuna51:
is it possible that this tool could be used to patch an existing ac3 with data (such as DRC values) from another?
i suppose we'd have to guarantee the blocks are all aligned and all that, or is DRC frame based?
here's where i regret not learning C when i had time back in the day. it doesn't seem fair to ask for stuff without contributing something (or at least doing it myself from the source).
tebasuna51
6th September 2011, 10:25
is it possible that this tool could be used to patch an existing ac3 with data (such as DRC values) from another?
i suppose we'd have to guarantee the blocks are all aligned and all that, or is DRC frame based?
Yes each frame must have the same length and we can't insert data into a frame.
We can replace something like Dialog Normalization, the flag about Dolby ProLogic, ... and after recalculate the CRC's of the frame.
But we can't insert new data.
xabregas
3rd September 2017, 18:13
Is there a way to cutoff frequency to lets say 80HZ and add more bass to audio??
LigH
3rd September 2017, 20:19
Filtering and mixing audio is not the duty of an encoder, at least not to change the sound to personal preferences of a single listener, instead it should try to reproduce the sound with as little distortion as possible. But there is the exception of quality optimization (this is the mentioned "cutoff" of hardly noticable highest frequencies, usually above 12...16 kHz, which mostly disturb the encoding quality) and preparation of content with a specific purpose. The LFE channel would be designed to contain low frequencies only; but is intentionally named "Low Frequency Effects: It is usually not meant to contain only the filtered low frequencies of already existing full spectrum channels, but rather additional effects (especially regarding audio of cinematic movies). You may use the LFE mixdown to add existing low frequencies of present channels into the LFE channel; but it is (AFAIR) not intended to serve this purpose only.
tebasuna51
4th September 2017, 12:29
The cutoff frequency is for cut high frequencies, like LigH say, and is related with bitrate because save high frequencies need much more bitrate.
The low frequencies don't need be cut because don't need much bitrate, and always is saved like original without changes.
BTW please remember than Aften encoder is deprecated and replaced with ffmpeg (https://forum.doom9.org/showthread.php?p=1522077#post1522077) (supported by jruggle) encoder.
Please read some improvements here: https://forum.doom9.org/showthread.php?p=1794293#post1794293
xabregas
5th September 2017, 13:47
Thanks for the answers but i didnt explained the reasons behind why i wanted to do this.
As you might all be aware now amazon streams come with the new Dolby Digital Plus aka E-AC3. At first i tought i would get better audio and stopped purchasing itunes and started buying amazon. But the problem is i didnt get better. My soundcard can decode only AC3 and DTS. So i can`t seem to send E-AC3 trough spdif. I solved the issue at first by doing real time ac3 encoding of E-AC3 and sending through spdif and it worked but the audio was all wrong. Too strong on explosions and voices too low even with DDR enabled and sometimes the voices come strong and wrong mapped. I went to Amazon foruns asking if they could provide AC3 stream for all the episodes but they dont seem to be interested in doing that.
So how can i encode E-AC3 real time or not to AC3 and get the usual quality i was used to when i used the itunes audio? Or do i need to purchase every episode i already got from amazon on itunes just to have proper audio sending through?? I tought cutting off high frquencies and making dialogue normalizer to -31 would solve this? But aften only accept wav streams. How do i decode e-ac3 stream to wav the right way?
Thanks
tebasuna51
5th September 2017, 14:58
Like I say before forget Aften.exe
You can recode directly EAC3 to AC3 with ffmpeg with a batch file like:
rem Modify next line with the path to ffmpeg in your system
set FFMPEG=D:\Programa\Audio\0\ffmpeg
FOR %%I in (*.eac3) DO "%FFMPEG%" -drc_scale 0 -i "%%I" -acodec ac3 -ac 6 -ab 448k -center_mixlev 0.707 "%%I_.ac3"
pause
All eac3 in folder are converted to ac3 at bitrate selected (here 448 Kb/s)
xabregas
5th September 2017, 17:14
I am a bit noob to work with what you gave me but after testing many times and changing the paths i got it to work. Turns out the problem was in the .eac3. It worked with .ec3. :D
Thanks!!!
GMJCZP
10th June 2021, 22:37
Sorry if I'm posting in the wrong way but I'm trying to download the latest version of LeeAudioDib and I get an error message in Sendspace.
filler56789
10th June 2021, 22:56
Sorry if I'm posting in the wrong way but I'm trying to download the latest version of LeeAudioDib and I get an error message in Sendspace.
Give a try to this URL:
https://docs.google.com/file/d/0B0rPtrLUrGhIYmM1MDNhODktMzMxYi00YWJmLWFhMGYtY2NmYTk2YjJjZTkw/view?resourcekey=0-7F-yW80tmQTCKtzqlGKzYA
GMJCZP
11th June 2021, 03:04
Give a try to this URL:
https://docs.google.com/file/d/0B0rPtrLUrGhIYmM1MDNhODktMzMxYi00YWJmLWFhMGYtY2NmYTk2YjJjZTkw/view?resourcekey=0-7F-yW80tmQTCKtzqlGKzYA
That is the version of 2008, tebasuna upload today the version 6 by Sendspace here (https://forum.doom9.org/showthread.php?p=1522330#post1522330).
By the way, it seems to be 64 bit only and I need the 32 bit one.
Edit: problem resolved, here (https://forum.doom9.org/showthread.php?p=1944711#post1944711).
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.