View Full Version : eac3to - audio conversion tool
Falcon4
22nd November 2007, 14:46
Well, without the help of this thread, and with the marginal help of Google (pointing me to a package), I solved the problem and eac3to is now happily crunching away my audio.
The problem was that my DTS/AC3/DD+ Source DirectShow filter was corrupted - specifically, it was registered to a file that was in my "temp" folder and got deleted. I wonder who did that (no, really - I doubt it was eac3to). I also found a slew of other odd filters and plugins that no longer existed and were causing problems. Ironically enough, the K-Lite Codec Pack installer had a neat utility, the Codec Tweak Tool, that was able to detect and repair these problems. It also had a working copy of the DTS/AC3/DD+ Source tool.
So by downloading the K-Lite Codec Pack, setting it to full Custom (deselect all), choosing only the DTS/AC3 Source filter and the Codec Tweak Tool, then running the Codec Tweak Tool to scan for broken filters, I ended up solving the problem.
It sure is taking a while to decode that 30mb audio clip though... o_O
So hey. Thanks to the author of eac3to for creating it, and no thanks to the fine members of this forum for pointing out the obvious.
madshi
22nd November 2007, 15:22
Software authors should be expected to provide their bits of code for free.
Sure. Shame on every software author who dares to make a living. Of course all software authors were borne with an unlimited and neverending debt to the community. They rightfully owe their lifetime's work to the general public. That's a binding curse which must be the direct consequence of misdeeds in their previous lifes.
Oh wait! I don't believe in reincarnation! Hmmm... :confused:
honai
22nd November 2007, 15:40
Congratulations for post #1000, madshi. I admire your neverending patience. ;)
Xorcist
22nd November 2007, 18:47
I am using eac3to 2.03 and I'm trying to convert a DTS-HD track to AC3. However, the process just freezes and never finishes. I read about similar problems a few pages earlier in this thread, and they were resolved with v2.01, but I still have this problem.
Any ideas?
Here's the output:
H:\encoding\tools>eac3to bits0001.dtshd bits0001.ac3 -384 -debug
DTS Master Audio, 5.1 channels, 24 bits, 1536kbit/s, 48khz
Decoding with DirectShow (Sonic Audio Decoder)...
CreateFileW "c:\virtual.dtsma" hooked.
ReadFile (4) hooked.
ReadFile -> read: 4; newPos: 4.
ReadFile (8) hooked.
ReadFile -> read: 8; newPos: 12.
GetFileSize hooked -> 0.
SetFilePointer(0, 0) hooked.
ReadFile (12072) hooked.
ReadFile -> read: 12072; newPos: 12072.
DirectShow reports 5.1 channels, 24 bits, 48khz
Encoding AC3...
SetFilePointer(12072, 0) hooked.
ReadFile (12072) hooked.
ReadFile -> read: 12072; newPos: 24144.
nautilus7
22nd November 2007, 19:07
@ madshi
Did you have a look at the sample i uploaded? Any ideas?
Falcon4
22nd November 2007, 22:33
I am using eac3to 2.03 and I'm trying to convert a DTS-HD track to AC3. However, the process just freezes and never finishes. I read about similar problems a few pages earlier in this thread, and they were resolved with v2.01, but I still have this problem.
Any ideas?
As I kinda hinted at in my last post, mine locked up too (requiring a Ctrl+C). Turned out that xport.exe split out a botched up audio stream somehow, but a quick "eac3to ... -core" output a corrected file, which decoded properly into a mixed-up WAV file (like I asked it to) the second run-around. So my suggestion would be to do -core on it first, then decode it. Hope it helps! :)
Xorcist
22nd November 2007, 22:36
As I kinda hinted at in my last post, mine locked up too (requiring a Ctrl+C). Turned out that xport.exe split out a botched up audio stream somehow, but a quick "eac3to ... -core" output a corrected file, which decoded properly into a mixed-up WAV file (like I asked it to) the second run-around. So my suggestion would be to do -core on it first, then decode it. Hope it helps! :)
Yeah, thanks. Worked out well to get the DTS core and then transcode the DTS to AC3 :)
madshi
22nd November 2007, 22:46
@ madshi
Did you have a look at the sample i uploaded? Any ideas?
No time yet. Will have time on Sunday, I think...
Furiousflea
22nd November 2007, 23:09
Hi there, thanks for this unique program first of all :)
been having success with DTS\DTSHD tracks but EAC3 isn't working for me....
I get this message....
C:\eac3to>eac3to shepard.eac3 output.wavs
E-AC3, 5.1 channels, 2:47:30, 1536kbit/s, 48khz, dialnorm: -27dB
Removing dialog normalization...
Decoding with DirectShow (Nero Audio Decoder 2)...
Disabling DRC for Nero (E-)AC3 decoding...
The WAV writer didn't receive the format information.
C:\eac3to>
Any ideas what that means, I have purchased the HDDVD plugin for Nero 7 for this specifically so really hope it works
Thanks in advance for any help, Rob
nautilus7
22nd November 2007, 23:44
No time yet. Will have time on Sunday, I think...OK, i hope you rest a little bit. You deserve it.
menlvd
23rd November 2007, 01:11
and how about dts-hd 7.1 any chance to get worked in future?
i think dts-hd 7.1 have same as dts-hd 5.1 core of dts 1536 kbps
when i play the m2ts file Nero audio 2 showing that
bitrate: 1509
framesize: 2012
Frequency:48000
Bits: 24
Channels: 6 mask: 0x3f
** DTS Deteils:
Input Stream: DTS Digital Surround
Output Stream: DTS Digital Surround
nautilus7
23rd November 2007, 01:21
eac3to crashes when trying input.thd output.wavs with nero filters.
Here's the debug log:
date/time : 2007-11-23, 02:17:16, 296ms
computer name : NAUTILUS7
user name : Spyros <admin>
registered owner : Nautilus7
operating system : Windows XP Service Pack 2 build 2600
system language : Greek
system up time : 6 hours 39 minutes
program up time : 53 milliseconds
processors : 2x Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
physical memory : 512/1023 MB (free/total)
free disk space : (C:) 23,88 GB
display mode : 1680x1050, 32 bit
process id : $f6c
allocated memory : 3,78 MB
command line : eac3to matrix.1.thd qweqwe.wavs
executable : eac3to.exe
exec. date/time : 2007-11-18 19:28
version : 2.0.3.0
compiled with : Delphi 7
madExcept version : 3.0f beta 1
callstack crc : $7fd81968, $1b46de15, $1b46de15
count : 2
exception number : 1
exception class : EAccessViolation
exception message : Zugriffsverletzung bei Adresse 004D6D7D in Modul 'eac3to.exe'. Lesen von Adresse 00000000.
main thread ($5c4):
004d6d7d +45d eac3to.exe eac3to 797 +31 Process
004d77b7 +15f eac3to.exe eac3to 874 +17 initialization
modules:
00330000 libFlac.dll C:\Tools
00400000 eac3to.exe 2.0.3.0 C:\Tools
10000000 libAften.dll C:\Tools
10100000 lgscroll.dll 4.0.121.0 C:\Program Files\Logitech\SetPoint
5ad70000 uxtheme.dll 6.0.2900.2845 C:\WINDOWS\system32
5d090000 comctl32.dll 5.82.2900.2982 C:\WINDOWS\system32
71aa0000 WS2HELP.dll 5.1.2600.2180 C:\WINDOWS\system32
71ab0000 WS2_32.dll 5.1.2600.2180 C:\WINDOWS\system32
71ad0000 wsock32.dll 5.1.2600.2180 C:\WINDOWS\system32
71bf0000 SAMLIB.dll 5.1.2600.2180 C:\WINDOWS\system32
74720000 MSCTF.dll 5.1.2600.2809 C:\WINDOWS\system32
755c0000 msctfime.ime 5.1.2600.2180 C:\WINDOWS\system32
76390000 IMM32.DLL 5.1.2600.2180 C:\WINDOWS\system32
763b0000 comdlg32.dll 6.0.2900.2180 C:\WINDOWS\system32
76f60000 WLDAP32.dll 5.1.2600.2180 C:\WINDOWS\system32
77120000 oleaut32.dll 5.1.2600.3139 C:\WINDOWS\system32
773d0000 comctl32.dll 6.0.2900.2982 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03
774e0000 ole32.dll 5.1.2600.2948 C:\WINDOWS\system32
77690000 NTMARTA.DLL 5.1.2600.2180 C:\WINDOWS\system32
77c00000 version.dll 5.1.2600.2180 C:\WINDOWS\system32
77c10000 msvcrt.dll 7.0.2600.2180 C:\WINDOWS\system32
77dd0000 advapi32.dll 5.1.2600.2180 C:\WINDOWS\system32
77e70000 RPCRT4.dll 5.1.2600.3173 C:\WINDOWS\system32
77f10000 GDI32.dll 5.1.2600.3159 C:\WINDOWS\system32
77f60000 SHLWAPI.dll 6.0.2900.3086 C:\WINDOWS\system32
77fe0000 Secur32.dll 5.1.2600.2180 C:\WINDOWS\system32
78130000 MSVCR80.dll 8.0.50727.762 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700
7c420000 MSVCP80.dll 8.0.50727.762 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700
7c800000 kernel32.dll 5.1.2600.3119 C:\WINDOWS\system32
7c900000 ntdll.dll 5.1.2600.2180 C:\WINDOWS\system32
7c9c0000 shell32.dll 6.0.2900.3241 C:\WINDOWS\system32
7e410000 user32.dll 5.1.2600.3099 C:\WINDOWS\system32
processes:
000 Idle
004 System normal
264 smss.exe normal C:\WINDOWS\system32
2ac csrss.exe normal C:\WINDOWS\system32
2c4 winlogon.exe high C:\WINDOWS\system32
2f0 services.exe normal C:\WINDOWS\system32
2fc lsass.exe normal C:\WINDOWS\system32
3ac svchost.exe normal C:\WINDOWS\system32
3fc svchost.exe normal C:\WINDOWS\system32
45c svchost.exe normal C:\WINDOWS\System32
498 svchost.exe normal C:\WINDOWS\system32
520 svchost.exe normal C:\WINDOWS\system32
568 svchost.exe normal C:\WINDOWS\system32
660 spoolsv.exe normal C:\WINDOWS\system32
690 explorer.exe normal C:\WINDOWS
240 nod32kui.exe normal C:\Program Files\Eset
28c ctfmon.exe normal C:\WINDOWS\system32
3b8 TeaTimer.exe idle C:\Program Files\Spybot - Search & Destroy
514 nod32krn.exe normal C:\Program Files\Eset
33c nvsvc32.exe normal C:\WINDOWS\system32
54c PnkBstrA.exe normal C:\WINDOWS\system32
5a4 SetPoint.exe normal C:\Program Files\Logitech\SetPoint
5ec svchost.exe normal C:\WINDOWS\system32
6b8 WLService.exe normal C:\Program Files\Linksys Wireless-G PCI Wireless Network Monitor
134 KHALMNPR.EXE normal C:\Program Files\Common Files\Logitech\KhalShared
8b0 alg.exe normal C:\WINDOWS\System32
b14 WMP54Gv4.exe high C:\Program Files\Linksys Wireless-G PCI Wireless Network Monitor
af0 uTorrent.exe normal C:\Program Files\uTorrent
a58 firefox.exe normal C:\Program Files\Mozilla Firefox
fd8 cmd.exe normal C:\WINDOWS\system32
f6c eac3to.exe normal C:\Tools
hardware:
+ Bluetooth Device
- Bluetooth HID Manager (driver 1.0.10.0)
- Bluetooth VComm Manager (driver 1.4.8.1)
+ Computer
- ACPI Multiprocessor PC
+ Disk drives
- ST3320620AS
+ Display adapters
- NVIDIA GeForce 7600 GT (driver 6.14.10.9424)
+ DVD/CD-ROM drives
- QV4471C BHK234U SCSI CdRom Device
- TSSTcorp CDDVDW SH-S203B
+ Human Interface Devices
- Bluetooth HID Enum Device (driver 1.4.8.1)
+ IDE ATA/ATAPI controllers
- Intel(R) ICH8 2 port Serial ATA Storage Controller - 2825 (driver 8.0.0.1008)
- Intel(R) ICH8 4 port Serial ATA Storage Controller - 2820 (driver 8.0.0.1008)
- Primary IDE Channel
- Primary IDE Channel
- Primary IDE Channel
- Secondary IDE Channel
- Secondary IDE Channel
- Secondary IDE Channel
- Standard Dual Channel PCI IDE Controller
+ IEEE 1394 Bus host controllers
- VIA OHCI Compliant IEEE 1394 Host Controller
+ Keyboards
- PS/2 Keyboard (driver 4.0.0.0)
+ Mice and other pointing devices
- PS/2 Compatible Mouse (driver 4.0.0.0)
+ Modems
- Bluetooth DUN Modem (driver 1.0.6.0)
- Bluetooth Fax Modem (driver 1.0.6.0)
- Bluetooth LAP Modem (driver 1.2.1.0)
- Bluetooth LAP Modem #2 (driver 1.2.1.0)
+ Monitors
- SyncMaster 206BW,SyncMaster Magic CX206BW(Digital) (driver 3.0.0.0)
+ Network adapters
- 1394 Net Adapter
- Attansic L1 Gigabit Ethernet 10/100/1000Base-T Controller (driver 1.7.3790.7)
- Bluetooth PAN Network Adapter (driver 1.0.0.0)
- Linksys Wireless-G PCI Adapter (driver 1.0.3.0)
+ Portable Devices
- Nokia 6131 (driver 6.83.31.1)
- Phone (driver 6.83.31.1)
+ Ports (COM & LPT)
- Bluetooth Serial Port (COM10) (driver 2.0.1.1)
- Bluetooth Serial Port (COM11) (driver 2.0.1.1)
- Bluetooth Serial Port (COM12) (driver 2.0.1.1)
- Bluetooth Serial Port (COM13) (driver 2.0.1.1)
- Bluetooth Serial Port (COM3) (driver 2.0.1.1)
- Bluetooth Serial Port (COM4) (driver 2.0.1.1)
- Bluetooth Serial Port (COM5) (driver 2.0.1.1)
- Bluetooth Serial Port (COM6) (driver 2.0.1.1)
- Bluetooth Serial Port (COM7) (driver 2.0.1.1)
- Bluetooth Serial Port (COM8) (driver 2.0.1.1)
- Bluetooth Serial Port (COM9) (driver 2.0.1.1)
- Communications Port (COM1)
- ECP Printer Port (LPT1)
+ Processors
- Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
- Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
+ SCSI and RAID controllers
- SCSI/RAID Host Controller
+ Sound, video and game controllers
- Audio Codecs
- Bluetooth AV Audio (driver 1.1.2.0)
- Bluetooth SCO Audio (driver 1.1.2.0)
- FlyTV Express X1 MST-T2A2 (driver 1.30.5.1)
- Legacy Audio Drivers
- Legacy Video Capture Devices
- Media Control Devices
- SoundMAX Integrated Digital HD Audio (driver 5.10.1.6240)
- Video Codecs
+ System devices
- ACPI Fixed Feature Button
- ACPI Power Button
- ATK0110 ACPI UTILITY (driver 1043.2.15.37)
- Direct memory access controller
- Extended IO Bus
- High Precision Event Timer (driver 7.0.0.1011)
- Intel(R) 82801 PCI Bridge - 244E
- Intel(R) ICH8 Family PCI Express Root Port 1 - 283F (driver 8.0.0.1010)
- Intel(R) ICH8 Family PCI Express Root Port 2 - 2841 (driver 8.0.0.1010)
- Intel(R) ICH8 Family PCI Express Root Port 4 - 2845 (driver 8.0.0.1010)
- Intel(R) ICH8 Family PCI Express Root Port 5 - 2847 (driver 8.0.0.1010)
- Intel(R) ICH8 Family SMBus Controller - 283E (driver 8.0.0.1008)
- Intel(R) ICH8/ICH8R Family LPC Interface Controller - 2810 (driver 8.0.0.1010)
- Intel(R) P965/G965 PCI Express Root Port - 29A1 (driver 8.0.0.1010)
- Intel(R) P965/G965 Processor to I/O Controller - 29A0 (driver 8.0.0.1010)
- ISAPNP Read Data Port
- Logical Disk Manager
- Microcode Update Device
- Microsoft ACPI-Compliant System
- Microsoft System Management BIOS Driver
- Microsoft UAA Bus Driver for High Definition Audio
- Motherboard resources
- Motherboard resources
- Motherboard resources
- Motherboard resources
- Numeric data processor
- PCI bus
- Plug and Play Software Device Enumerator
- Printer Port Logical Interface
- Programmable interrupt controller
- System board
- System board
- System CMOS/real time clock
- System speaker
- System timer
- Terminal Server Device Redirector
- Terminal Server Keyboard Driver
- Terminal Server Mouse Driver
- Volume Manager
+ Universal Serial Bus controllers
- Intel(R) ICH8 Family USB Universal Host Controller - 2830 (driver 8.0.0.1008)
- Intel(R) ICH8 Family USB Universal Host Controller - 2831 (driver 8.0.0.1008)
- Intel(R) ICH8 Family USB Universal Host Controller - 2832 (driver 8.0.0.1008)
- Intel(R) ICH8 Family USB2 Enhanced Host Controller - 2836 (driver 8.0.0.1008)
- Standard Universal PCI to USB Host Controller
- USB Root Hub
- USB Root Hub
- USB Root Hub
- USB Root Hub
- USB Root Hub
cpu registers:
eax = 00000000
ebx = 004bde01
ecx = 004cca5c
edx = 00000001
esi = 004df67c
edi = 00a41cc8
eip = 004d6d7d
esp = 0012febc
ebp = 0012ff74
stack dump:
0012febc 84 ff 12 00 ac 3f 40 00 - 74 ff 12 00 14 00 00 00 .....?@.t.......
0012fecc 00 00 00 00 00 70 fd 7f - 00 00 00 00 00 00 00 00 .....p..........
0012fedc 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012feec 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012fefc 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012ff0c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012ff1c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012ff2c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012ff3c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012ff4c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012ff5c 00 00 01 01 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012ff6c c8 f6 4d 00 d0 2b a4 00 - c0 ff 12 00 bc 77 4d 00 ..M..+.......wM.
0012ff7c cc f6 4d 00 c4 f6 4d 00 - b4 ff 12 00 ac 3f 40 00 ..M...M......?@.
0012ff8c c0 ff 12 00 00 00 00 00 - 00 70 fd 7f 00 00 00 00 .........p......
0012ff9c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012ffac 00 00 00 00 00 00 00 00 - e0 ff 12 00 dc 41 40 00 .............A@.
0012ffbc c0 ff 12 00 f0 ff 12 00 - f7 6f 81 7c 14 00 00 00 .........o.|....
0012ffcc 00 00 00 00 00 70 fd 7f - ed a6 54 80 c8 ff 12 00 .....p....T.....
0012ffdc c0 97 5b 83 ff ff ff ff - 30 9a 83 7c 00 70 81 7c ..[.....0..|.p.|
0012ffec 00 00 00 00 00 00 00 00 - 00 00 00 00 58 76 4d 00 ............XvM.
disassembling:
[...]
004d6d6d mov eax, [eax+4]
004d6d70 mov ecx, [eax]
004d6d72 call dword ptr [ecx+$2c]
004d6d75 mov eax, [ebp-$a0]
004d6d7b mov dl, 1
004d6d7d > mov ecx, [eax]
004d6d7f call dword ptr [ecx+$44]
004d6d82 jmp loc_4d6da9
004d6d84 799 lea eax, [ebp-$14]
004d6d87 call -$d08c4 ($4064c8) ; System.@IntfClear
004d6d8c 800 mov al, [ebp-$15]
[...]
Furiousflea
23rd November 2007, 01:31
Hi there, thanks for this unique program first of all
been having success with DTS\DTSHD tracks but EAC3 isn't working for me....
I get this message....
C:\eac3to>eac3to shepard.eac3 output.wavs
E-AC3, 5.1 channels, 2:47:30, 1536kbit/s, 48khz, dialnorm: -27dB
Removing dialog normalization...
Decoding with DirectShow (Nero Audio Decoder 2)...
Disabling DRC for Nero (E-)AC3 decoding...
The WAV writer didn't receive the format information.
C:\eac3to>
Any ideas what that means, I have purchased the HDDVD plugin for Nero 7 for this specifically so really hope it works
To update my previous post, I tried doing the same conversion with an older version of EAC3TO, to see what happened and it came up with this error instead of the previous one (that was using the latest version of EAC3TO
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Rob>cd\wmvhd
C:\WMVHD>eac3to shepard.eac3 shepherd.wavs
E-AC3, 5.1 channels, 2:47:30, 1536kbit/s, 48khz, dialnorm: -27dB
Remove Dialog Normalization information. Please wait...
Decoding eac3 file to raw. Please wait...
Disabling DRC for Nero E-AC3 decoding...
The file size of the raw file doesn't seem to fit.
The expected file size for 16 bit is 5.39 GB.
The expected file size for 24 bit is 8.08 GB.
The real file size is 0 Bytes.
C:\WMVHD>
So.....hmmmm....I have no idea what that means, be greatful for any advice\pointer. Thanks, Rob
nautilus7
23rd November 2007, 02:24
How much free space do you have on your hdd? But i don't think the new eac3to needs lots of it...
hristoff2
23rd November 2007, 09:03
mmm missing dump filter?
- http://uploaded.to/?id=v40yi1
(obviously everything but writing/dumping the file works, as stated by the log)
nautilus7
23rd November 2007, 09:12
eac3to 2.xx version doesn't need dump filter. madshi wrote his own filter for this purpose.
Furiousflea
23rd November 2007, 14:01
How much free space do you have on your hdd? But i don't think the new eac3to needs lots of it...
Hi, Over a 70GB of space on the HD remaining so defo aint to do with that, for the old version dump.ax was "successfully registered".
?:( thanx
nautilus7
23rd November 2007, 14:19
I think we all have to wait till Sunday. Madshi will fix our "issues" then.
madshi
23rd November 2007, 16:35
I have a problematic eac3 track.
I am triyng to convert it to ac3 and eac3to stops saying that i should use delaycut to clean the track.
I load the eac3 track to the latest version of delaycut that supports eac3 and it recognize 2 frames as problematic and drops them whatever mode i choose (fix, ignore, silence). Is there a bug there?
I've checked. It's intended behaviour. The problem is that there's not a CRC error in those 2 frames. Instead there's not even a valid header for those frames. So delaycut doesn't know what to do and sees no other chance than to skip forward to the next valid header. delaycut was implemented to behave this way. Those modes work only if the header (actually only the first 2 bytes!) is valid.
in the ac3 bitrate options you don't mention 384 kbps.
There are many more supported bitrates which I didn't mention. I don't flood the help with every single supported bitrate, so I've only listed the most common ones.
madshi
23rd November 2007, 16:36
i tested the open source MLP/TrueHD decoder with "V for Vendetta" MLP track and the output is byte by byte identical to the output of eac3to 2.x, with previous eac3to 1.23 the output was different, but that was because of the first 4 bytes cut issue, so that is a huge prove for both eac3to and the open-source MLP/TrueHD decoder, because they use so different approaches and produce the same output.
Interesting! I couldn't get the open source TrueHD decoder to work, but it seems that I did something wrong.
madshi
23rd November 2007, 16:38
try to reencode dts-hd and got that
D:\minep\me_gui\tools\eac3_to>eac3to.exe i:\hair.dtshd g:\hair.ac3
DTS Hi-Res, 5.1 channels, 5:44:36, 24 bits, 1914kbit/s, 48khz
Decoding with DirectShow (Sonic Audio Decoder)...
but its only 1:56:06. From hairspay BD movie
That's an interesting track! There's a new flag combination in the DTS-HD header which eac3to didn't know yet. It got interpreted as DTS Hi-Res while actually it's DTS Master Audio 7.1. I've added support for this in the latest eac3to build.
madshi
23rd November 2007, 16:39
with a bit luck the next version might feature nice 7.1 truehd and dts-hd support ;)
Unfortunately I'm limited by what the decoders support. The Nero TrueHD decoder doesn't support 7.1 decoding. And the Sonic Audio Decoder seems to decode only 6.1, but not 7.1. With that Hairspray 7.1 DTS-HD Master Audio track Sonic only outputs 5.1, sadly. Once the open source TrueHD decoder is ready to roll, we might get 7.1 TrueHD decoding, at least.
madshi
23rd November 2007, 16:40
I'm having problems converting E-AC3 to AC3. The source is Black Snake Moan from HD DVD. I'm using Nero decoders.
Basically, it starts to decode the E-AC3, but never starts encoding with Aften - so I get no output file.
eac3.exe "i:\feature.ddp" "feature.ac3"
Running Vista x64... latest version of eac3to and Nero 7.
I can only guess that this is caused by eac3to using dirty hacks which might not work that well in Vista64. Please try the next eac3to build. I've replaced the dirty hacks with a cleaner approach. That might work in Vista64.
madshi
23rd November 2007, 16:50
eac3to crashes when trying input.thd output.wavs with nero filters.
Fixed in next build.
madshi
23rd November 2007, 16:51
The real file size is 0 Bytes.
There seems to be something wrong with your Nero installation. I'd suggest that you uninstall and reinstall Nero from scratch. If that still doesn't work please contact Nero support.
madshi
23rd November 2007, 16:58
eac3to v2.04 released
http://madshi.net/eac3to.zip
* don't need dtsac3source.ax, anymore
* don't need Nero Splitter, anymore
* don't need Sonic HD Demuxer, anymore
* replaced hacked DirectShow feeding with a cleaner approach
* added support for DTS-HD Master Audio 7.1 tracks (only 5.1 decoding)
* little performance boost for PAL speedup/down on DualCore CPUs
* fixed some bugs
Beastie Boy
23rd November 2007, 17:16
Excellent update! Thank you.
ACrowley
23rd November 2007, 17:44
eac3to v2.04 released
http://madshi.net/eac3to.zip
* don't need dtsac3source.ax, anymore
* don't need Nero Splitter, anymore
* don't need Sonic HD Demuxer, anymore
* replaced hacked DirectShow feeding with a cleaner approach
* added support for DTS-HD Master Audio 7.1 tracks (only 5.1 decoding)
* little performance boost for PAL speedup/down on DualCore CPUs
* fixed some bugs
NICE ! THX
Thunderbolt8
23rd November 2007, 17:56
thanks for the next update :)
just to clarify again, truehd 7.1 input isnt supported at all currently and dts-hd ma is, but the outcome will be 5.1?
madshi
23rd November 2007, 18:40
just to clarify again, truehd 7.1 input isnt supported at all currently and dts-hd ma is, but the outcome will be 5.1?
Everything is supported. But output is sometimes only 5.1.
Thunderbolt8
23rd November 2007, 19:23
is it actually possible that the TrueHD track from a clockwork orange is only a 16-bit track, despite whats said everywhere? I encoded it to flac with this version, the former version and also with 1.23 and each time the rest 8-bit were only zero information bits.
madshi
23rd November 2007, 19:44
is it actually possible that the TrueHD track from a clockwork orange is only a 16-bit track, despite whats said everywhere? I encoded it to flac with this version, the former version and also with 1.23 and each time the rest 8-bit were only zero information bits.
Sure it's possible. How big is the TrueHD file and what is the runtime?
shambles
23rd November 2007, 19:54
the new version fixes the problem i had.. thank you so much :)
madshi
23rd November 2007, 19:59
the new version fixes the problem i had.. thank you so much :)
Good to hear! :)
Thunderbolt8
23rd November 2007, 21:29
Sure it's possible. How big is the TrueHD file and what is the runtime?
1.32 gb for 2hours 16min
madshi
23rd November 2007, 21:42
1.32 gb for 2hours 16min
Definitely 16 bit.
madshi
23rd November 2007, 22:38
eac3to v2.05 released
http://madshi.net/eac3to.zip
* added support for libav/ffmpeg decoding of TrueHD/MLP and E-AC3
* added "-libav" switch to force libav decoding
The libav TrueHD decoder seems to work well. In my quick tests it gave out bit perfect results compared to Nero's decoder. However, with a 24bit TrueHD sample the libav decoder complained about a failing "lossless check". Still the data was bit perfect. But the complaint shows that it might still make sense to keep using the Nero TrueHD decoder for a while - at least for comparison purposes. However, we might have a chance to get 7.1 TrueHD decoding now with the libav decoder. Does anybody have a sample of a 7.1 TrueHD track?
The libav E-AC3 decoder is not useable yet IMHO. It sometimes gives out distorted sound for me. I've still enabled it so that you can play with it, if you like. Another problem of the libav E-AC3 decoder is that it always forcefully shortens the data to 16 bit.
Thunderbolt8
23rd November 2007, 23:07
However, we might have a chance to get 7.1 TrueHD decoding now with the libav decoder. Does anybody have a sample of a 7.1 TrueHD track?
I sent you that batman begins 7.1 truehd sample that day
http://www.megaupload.com/de/?d=ZGIL8AF6
madshi
23rd November 2007, 23:12
I sent you that batman begins 7.1 truehd sample that day
http://www.megaupload.com/de/?d=ZGIL8AF6
Unfortunately it's not 7.1 but only 5.1... :(
Thunderbolt8
23rd November 2007, 23:16
ew really? according to evodemux or the real data inside?
maybe its not possible for evodemux to demux or display the tracks properties properly? maybe pelican9 needs to update :S
this is what evodemux says:
mainwindow:
Dolby TrueHD audio stream 1 found!
First PTS = 000053C3 (+200ms)
Substream id = B1
TrueHD stream (up to 8 channels)
Sampling frequency = 48 kHz
2 ch. decoder
channel modifier = Stereo
6 ch. decoder
channel modifier = Lt/Rt
channel arrangement = Main (Left,Right), Centre, LFE, Surrounds (Ls/Rs)
8 ch. decoder
channel modifier = Lt/Rt
channel arrangement = Main (Left,Right), Centre, LFE, Surrounds (Ls/Rs)
Dynamic range control = -10,6371 dB .. 8,4282 dB
VTI:
Channels: 6
Wilbert
23rd November 2007, 23:27
The libav TrueHD decoder seems to work well. In my quick tests it gave out bit perfect results compared to Nero's decoder. However, with a 24bit TrueHD sample the libav decoder complained about a failing "lossless check". Still the data was bit perfect.
Afaik 24 bit output is not supported in libav, but it could be put in 32 bit. Did you get that working?
Kurtnoise13 couldn't get it to work in ffmpegsource: http://www.mediafire.com/?1we0uonvjm0
Thunderbolt8
23rd November 2007, 23:32
32-bit should be really big I guess :S
nautilus7
24th November 2007, 02:12
I've checked. It's intended behaviour. The problem is that there's not a CRC error in those 2 frames. Instead there's not even a valid header for those frames. So delaycut doesn't know what to do and sees no other chance than to skip forward to the next valid header. delaycut was implemented to behave this way. Those modes work only if the header (actually only the first 2 bytes!) is valid.
So, is there anything i can do? Can i fix the header?
Thanks for the nice updates you 've made!
Blue_MiSfit
24th November 2007, 03:29
Confirmed. Using ffmpeg to decode EAC3 I get all sorts of nasty high frequency artifacts. Not good! :)
I hope this matures!
~MiSfit
madshi
24th November 2007, 09:06
ew really? according to evodemux or the real data inside?
According to the real data inside.
maybe its not possible for evodemux to demux or display the tracks properties properly? maybe pelican9 needs to update :S
this is what evodemux says:
mainwindow:
Dolby TrueHD audio stream 1 found!
First PTS = 000053C3 (+200ms)
Substream id = B1
TrueHD stream (up to 8 channels)
Sampling frequency = 48 kHz
2 ch. decoder
channel modifier = Stereo
6 ch. decoder
channel modifier = Lt/Rt
channel arrangement = Main (Left,Right), Centre, LFE, Surrounds (Ls/Rs)
8 ch. decoder
channel modifier = Lt/Rt
channel arrangement = Main (Left,Right), Centre, LFE, Surrounds (Ls/Rs)
Dynamic range control = -10,6371 dB .. 8,4282 dB
VTI:
Channels: 6
Where does EvoDemux say that it's a 7.1 track? The 8 channel decoder settings say "Main, Centre, LFE, Surrounds" which is 5.1. So it's a 5.1 track.
madshi
24th November 2007, 09:08
Afaik 24 bit output is not supported in libav, but it could be put in 32 bit. Did you get that working?
Kurtnoise13 couldn't get it to work in ffmpegsource: http://www.mediafire.com/?1we0uonvjm0
I got 32 bit output working (only from the TrueHD decoder, not from the E-AC3 decoder) and internally converted it down to 24 bit. That gives me bit perfect results compared to Nero's decoder for both 16 bit and 24 bit TrueHD tracks.
madshi
24th November 2007, 09:10
32-bit should be really big I guess :S
Well, there's only 24 bits of real data (or even only 16 bits), so those 32 bit can be cut down to 24 bit without any loss of "real" data. And that's what eac3to does with the output of the libav TrueHD decoder.
madshi
24th November 2007, 09:12
So, is there anything i can do? Can i fix the header?
Well, you could check the frame size (in bytes) in delaycut. Then with a hex editor you can search for the frame where the first two bytes of the frame are not correct and manually correct them. Of course this only works if the "garbage" in your track is exactly one frame long. If it's real added garbage, it'd be better to skip that data. If it's not real garbage, but just a corrupted frame then it might be better to silence the frame.
MichalHabart
24th November 2007, 10:58
Hello Madshi,
thanks for your great tool. I have only one question, option -bluray is needed alway when i use as source PCM file xported from BluRay Disk? Because remember that option was in some early version of EAC3 tool but then it dissapeared and was done automatically. Now it is again manual and nothing is done automatically?
madshi
24th November 2007, 11:16
thanks for your great tool. I have only one question, option -bluray is needed alway when i use as source PCM file xported from BluRay Disk? Because remember that option was in some early version of EAC3 tool but then it dissapeared and was done automatically. Now it is again manual and nothing is done automatically?
Good question. I should have explained it.
eac3to doesn't really know (and has no way to find out) in which order the channels are, if you feed it with a RAW or PCM file. The previous eac3to version made it simple: RAW input files were not supported. Only PCM files (files with the extension "pcm") were supported. Basically eac3to interpreted any PCM file input as being Blu-Ray and thus automatically remapped the channels accordingly.
But now the new eac3to version supports both PCM and RAW files (which are really one and the same). It's impossible to know whether the file came from Blu-Ray or not. So it's also impossible to know whether the channels need to be remapped or not. eac3to v2.x now does an educated guess: PCM tracks from Blu-Ray are usually big endian. RAW tracks decoded from any DirectShow (or other) decoder are usually little endian. So eac3to v2.x handles big endian RAW/PCM files as coming from Blu-Ray and little endian RAW/PCM files as not coming from Blu-Ray. As a result channels are remapped according to Blu-Ray specs when the source file is big endian. And channels are NOT remapped at all when the source file is little endian. If the channels are remapped eac3to v2.x sais so (something like "this is probably a Blu-Ray PCM file, so I'll remap the channels").
If you demux Blu-Ray (L)PCM tracks with either xport or TsRemux the demuxed files will be big endian. In this case you don't need to tell eac3to anything. Just call it as usual with "eac3to source.pcm dest.whatever" and the channels will be automatically remapped correctly. However, if you demux Blu-Ray (L)PCM tracks by using GraphEdit -> SomeSplitter -> Dump, the resulting file will be little endian. As a result eac3to will think that this file is not coming from Blu-Ray. In this case you can use the reintroduced switch "-blu-ray" to force eac3to to remap the channels. But you need to be cautious: The DirectShow splitter might already have remapped the channels - or not.
Short version: If you use xport or TsRemux for demuxing Blu-Ray (L)PCM tracks, you don't need the "-blu-ray" switch. eac3to v2.x will still automatically remap the channels correctly for you.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.