View Single Post
Old 11th March 2007, 14:05   #995  |  Link
MichalHabart
Registered User
 
Join Date: Mar 2006
Posts: 135
Quote:
Originally Posted by madshi View Post
Hey guys,

I've written a little tool named "eac3toac3", which is able to convert E-AC3 files to AC3. **WAIT**. Before you rejoice: The tool really does nothing but what was already suggested in this thread (E-AC3 -> RAW -> WAV -> AC3). Basically it automates what you have to do with GraphEdit and running all the various tools like sox and aften etc. Anyway, the tool works fine for me and makes the conversion process a bit more comfortable.

http://madshi.net/eac3toac3.zip

Code:
eac3toac3 v1.0, freeware by madshi.net

Usage: eac3toac3 srcFilename.eac3 destFilename.ac3

This tool can convert a 2.0 or 5.1 channel E-AC3 file to AC3.

For this to work correctly you need these filters to be installed:
(1) DTS/AC3/DD+ Source
(2) Sonic Audio Decoder 4.2
(3) ffdShow Audio Processor
(4) Dump filter

Furthermore these tools must be located in the same folder as eac3toac3:
(1) sox 13
(2) aften revision 449
Please note that newer ffdShow tryout versions make problems for me. I have things working correctly with the ffdShow tryouts build from December 2006. Here are some download links for the neccesary freeware tools/filters:

http://ffdshow-tryout.sourceforge.net/
http://sourceforge.net/project/showf...ease_id=485785
http://win32builds.sourceforge.net/aften/index.html

The "eac3toac3" tool has a few tricks up it's sleeve:

(1) It automatically detects whether the E-AC3 file is really an E-AC3 file, how many channels it has and which sampling rate etc.
(2) It automatically changes the Sonic Audio Decoder settings to deliver the needed channels.
(3) It automatically finds out whether the intermediate raw audio file has a bitdepth of 16 or 24 bits and adjusts the "sox" parameters accordingly.

If you don't want to convert to AC3, but to something else, you can use ".wav" or ".raw" as destination extensions. The eac3toac3 tool will then simply stop when the ".raw" respectively ".wav" file is done. Intermediate files are automatically deleted. Only the source and destination file are left on the harddisk after the tool has run through.
Hm, it is not working. I tried with Casino DD+ track this is what is got:

eac3toac3.exe h:\casino.dd+ g:\test.ac3
The file extension of the source file must be ".eac3", ".dd+" or ".wav".

When i rename dd+ track to eac3, it is recognised by that program
Can you tell me what i am doing wrong?
MichalHabart is offline   Reply With Quote