View Full Version : eac3to - audio conversion tool
Thunderbolt8
10th October 2007, 21:13
you are missing the 'dump' filter, which comes along with graphedit
btw. im not really into all that programming stuff and such, but I have to say the commandline from eac3to is really easy to use. I'd say the GUI gives me more trouble somehow :P
Rectal Prolapse
10th October 2007, 21:17
Harry Potter 1.64GB 16bit THD > FLAC 24bit 1.4GB
I am sure a properly ripped version will NOT have this issue. This is another way of saying: If you had bought the disc, and you get the above result, it is because you ripped it using Windows Explorer and AnyDVD instead of AnyDVD's built-in tools...ripping the disc within Windows Explorer will give you corrupted video and/or audio - which you may not even see or hear if the glitch is small enough - but will cause eac3to to see garbage data that goes beyond the 16 bit boundary.
Harry Potter 4's soundtrack is truly 16 bit. Re-rip (from the original disc of course) and try again. :)
humax
10th October 2007, 21:25
GraphEdit build 011008 is installed - btw it was a zip file . Do i have to register the dump filter ?
madshi
10th October 2007, 21:32
GraphEdit build 011008 is installed - btw it was a zip file . Do i have to register the dump filter ?
Yep, you need to run "regsvr32 dump.ax".
humax
10th October 2007, 21:44
Well same problem ...
I ll reboot to see if it works then
nautilus7
10th October 2007, 23:05
@ madshi
Which program do you use to compare if 2 files are bit-to-bit identical?
nautilus7
11th October 2007, 00:00
I am trying to convert a dts file to mono wavs, but i get the following error. Does it have to do with thes free space on my hdd (only 4,79 GB - raw is 4,79 GB - 9,58GB sum)
C:\Tools>eac3to kung.dts kung.wavs
DTS, 5.1 channels, 1:39:46, 24 bits, 768kbit/s, 48khz
Decoding DTS track to raw. Please wait...
Find sync word: 7ffe8001
Find sync extension: 3f
Warning: alias sync word (0x7ffe8001) occurred in right alignment.
Warning: alias sync word (0x7ffe8001) occurred in right alignment.
Warning: alias sync word (0x7ffe8001) occurred in left alignment.
Warning: alias sync word (0x7ffe8001) occurred in right alignment.
Warning: alias sync word (0x7ffe8001) occurred in left alignment.
Warning: alias sync word (0x7ffe8001) occurred in left alignment.
Audio Decoder output was 24 bit this time.
Convert the multi channel raw file to mono WAV files. Please wait...
Writing to the mono WAV files failed.
Splitting the multi channel raw file failed. The multi channel raw file is valid, though.
VempX
11th October 2007, 00:38
OK
please tell me how to encode the 5.1 LPCM file which demuxed from BD to 5.1 FLAC~~
m(_ _)m
calinb
11th October 2007, 04:51
I have a .thd file produced with Evodemux.
Dolby TrueHD audio stream 1 found!
First PTS = 0000921B
Substream id = B1
TrueHD stream (up to 8 channels)
Sampling frequency = 48 kHz
2 ch. decoder
channel modifier = Stereo
6 ch. decoder
channel modifier = Stereo
channel arrangement = Main (Left,Right), Centre, LFE, Surrounds (Ls/Rs)
8 ch. decoder
channel modifier = Stereo
channel arrangement = Main (Left,Right), Centre, LFE, Surrounds (Ls/Rs)
Dynamic range control = -10.6371 dB .. 8.4282 dB
eac3to v1.22 writes out the wav files as 32KHz. Sure enough--when I play them, they are about 32/48 pitch reduced and 48/32 duration lengthened.
eac3to v1.16 correctly sets the sampling rate at 48KHz when operating on a .evo file containing only this track.
Please let me know if you need a small sample, madshi
madshi
11th October 2007, 08:50
Well same problem ...
I ll reboot to see if it works then
If it still doesn't work, try running regsvr32 again. It should show a little message box. What does the text say?
madshi
11th October 2007, 08:51
Which program do you use to compare if 2 files are bit-to-bit identical?
Personally, I'm using Beyond Compare (commercial) or the latest beta of this free hexeditor:
http://www.mh-nexus.de/
madshi
11th October 2007, 08:52
I am trying to convert a dts file to mono wavs, but i get the following error. Does it have to do with thes free space on my hdd (only 4,79 GB - raw is 4,79 GB - 9,58GB sum)
C:\Tools>eac3to kung.dts kung.wavs
DTS, 5.1 channels, 1:39:46, 24 bits, 768kbit/s, 48khz
Decoding DTS track to raw. Please wait...
Find sync word: 7ffe8001
Find sync extension: 3f
Warning: alias sync word (0x7ffe8001) occurred in right alignment.
Warning: alias sync word (0x7ffe8001) occurred in right alignment.
Warning: alias sync word (0x7ffe8001) occurred in left alignment.
Warning: alias sync word (0x7ffe8001) occurred in right alignment.
Warning: alias sync word (0x7ffe8001) occurred in left alignment.
Warning: alias sync word (0x7ffe8001) occurred in left alignment.
Audio Decoder output was 24 bit this time.
Convert the multi channel raw file to mono WAV files. Please wait...
Writing to the mono WAV files failed.
Splitting the multi channel raw file failed. The multi channel raw file is valid, though.
Yeah, it's quite probable that there's not enough space on your harddisk. Never saw mono WAV file creation fail for any other reason yet.
madshi
11th October 2007, 08:54
OK
please tell me how to encode the 5.1 LPCM file which demuxed from BD to 5.1 FLAC~~
m(_ _)m
(1) Demux the LPCM track by using xport (not TsRemux!).
(2) Run "eac3to source.pcm dst.flac".
Usually that's it. Sometimes eac3to cannot automatically detect which bitdepth the LPCM track has. In that case you have to specify the bitdepth by using the "-16" or "-24" parameters. So you'd do e.g. "eac3to source.pcm dst.flac -16".
madshi
11th October 2007, 08:55
I have a .thd file produced with Evodemux.
Dolby TrueHD audio stream 1 found!
First PTS = 0000921B
Substream id = B1
TrueHD stream (up to 8 channels)
Sampling frequency = 48 kHz
2 ch. decoder
channel modifier = Stereo
6 ch. decoder
channel modifier = Stereo
channel arrangement = Main (Left,Right), Centre, LFE, Surrounds (Ls/Rs)
8 ch. decoder
channel modifier = Stereo
channel arrangement = Main (Left,Right), Centre, LFE, Surrounds (Ls/Rs)
Dynamic range control = -10.6371 dB .. 8.4282 dB
eac3to v1.22 writes out the wav files as 32KHz. Sure enough--when I play them, they are about 32/48 pitch reduced and 48/32 duration lengthened.
eac3to v1.16 correctly sets the sampling rate at 48KHz when operating on a .evo file containing only this track.
That's a bug in v1.22 which was already fixed in v1.23. Simply download and use v1.23, please.
nautilus7
11th October 2007, 09:02
Yeah, it's quite probable that there's not enough space on your harddisk. Never saw mono WAV file creation fail for any other reason yet.Yeah, that was the problem. I deleted some stuff and it worked ok. Thanks!
nautilus7
11th October 2007, 18:49
I am trying to remove the DialNorm from an ac3 2.0 track.
Eac3to says that DialNorm is removed successfully (-27db), but the track looks exactly the same (before and after the "removal") in adobe audition.
The track is a director's commentary. Do these tracks usually have DialNorm or there is a bug in eac3to?
The hex editor you suggested me above, shows some minor differences between the two tracks, so i guess something was removed.
If you need a sample, please tell me how to cut a small piece from the track.
madshi
11th October 2007, 19:45
I am trying to remove the DiagNorm from an ac3 2.0 track.
Eac3to says that DiagNorm is removed successfully (-27db), but the track looks exactly the same (before and after the "removal") in adobe audition.
The track is a director's commentary. Do these tracks usually have DiagNorm or there is a bug in eac3to?
The hex editor you suggested me above, shows some minor differences between the two tracks, so i guess something was removed.
If you need a sample, please tell me how to cut a small piece from the track.
I don't know what adobe audition does. Maybe it ignores dialnorm? I've no idea. But if you see a difference in the hex editor, then obviously eac3to has done something. My best guess is that dialnorm removal worked just fine and adobe audition is not the right tool to see a difference. Try using GraphEdit + ffdshow + WavDest + WavWriter on a 10MB sample. Then compare the result in Audacity. That should show a difference.
nautilus7
11th October 2007, 20:27
I'm afraid i wasn't clear...
The files i loaded to audition ware wavs (of the ac3s) made by tranzcode.
To sum up, what i 've done was:
1. ac3 --> remove DialNorm with eac3to --> convert to wav via tranzcode --> load in audition
2. ac3 --> convert to wav via tranzcode --> load in audition
Both look the same. Does tranzocde remove DialNorm by default?
Sample: http://rapidshare.com/files/61882717/Track15.ac3.html
http://img227.imageshack.us/img227/4874/dntestsh6.th.png (http://img227.imageshack.us/my.php?image=dntestsh6.png)
madshi
11th October 2007, 21:40
I think tranzcode ignores dialnorm.
nautilus7
11th October 2007, 21:44
That could be a good explanation. Thanks!
Any update about implementing ac3 decoding to eac3to?
madshi
11th October 2007, 22:21
Any update about implementing ac3 decoding to eac3to?
http://forum.doom9.org/showthread.php?p=1051536#post1051536
nautilus7
11th October 2007, 23:19
I meant beyond this. But as i can understand, the answer is no.
madshi
11th October 2007, 23:24
Well, I've posted that comment just a good week ago and said in there that it would be "a while before I invest time into that". A while is more than just a week. I have a real job to do besides developing eac3to...
nautilus7
11th October 2007, 23:38
Sorry... I didn't want to hear like that. Take your time. Eac3to is great anyway.
superx
12th October 2007, 18:07
whoohoo finally got stuff working, anyway how can convert a DD+ to DTS 1.5 mbbits
what programs would I need for this and how would I do it, thanks in advance.
madshi
12th October 2007, 18:14
whoohoo finally got stuff working, anyway how can convert a DD+ to DTS 1.5 mbbits
what programs would I need for this and how would I do it, thanks in advance.
Check out the first post of this thread.
Roscoe62
12th October 2007, 23:05
Hey Madshi,
Just wanted to say a big Thank You for this awesome app. To me it started out as an app I probably wouldn't use, and it's turned into an app that I could NOT do without. I'm still trying to figure out what I did before I found it. :)
Anyway, thanks for spending the time developing this wonderful app and supporting it here.
Much appreciated!
madshi
12th October 2007, 23:16
@Roscoe62, thanks for the nice feedback... :)
nmeli15
13th October 2007, 04:46
Like @Rosco62 I feel the same way. GREAT work Madshi
honai
13th October 2007, 16:14
@madshi
When and why was the option removed to convert TrueHD tracks from within an EVO? Right now I have an EVO with only one TrueHD track, and when I want to convert it to WAVs eac3to tells me to extract the TrueHD first ... only to tell me then that it's remuxing the TrueHD into an EVO before converting it.
This doesn't make much sense to me. Am I missing something here?
EDIT:
Is it because eac3to can't remove Dial.Norm. on-the-fly?
madshi
13th October 2007, 22:37
Is it because eac3to can't remove Dial.Norm. on-the-fly?
Yep, that's the reason. eac3to isn't clever enough to remove the dialnorm inside of the EVO container. It can only remove dialnorm from demuxed TrueHD files. This may eventually change in the future. But right now you have to demux first.
VempX
14th October 2007, 09:47
(1) Demux the LPCM track by using xport (not TsRemux!).
(2) Run "eac3to source.pcm dst.flac".
Usually that's it. Sometimes eac3to cannot automatically detect which bitdepth the LPCM track has. In that case you have to specify the bitdepth by using the "-16" or "-24" parameters. So you'd do e.g. "eac3to source.pcm dst.flac -16".
Please tell me how to use xport~
I had demux the 5.1 LPCM from m2ts,but I get a .mpa file......
why?
ACrowley
14th October 2007, 09:52
Please tell me how to use xport~
I had demux the 5.1 LPCM from m2ts,but I get a .mpa file......
why?
Yes ?...correct
simply rename it to raw or pcm....its only the File eextension
VempX
15th October 2007, 05:56
Yes ?...correct
simply rename it to raw or pcm....its only the File eextension
What??:eek:
I just rename the mpa to pcm?
Orz
madshi
15th October 2007, 07:48
What??:eek:
I just rename the mpa to pcm?
Yes. Of course that only works if you demuxed the right track.
sportcenter
18th October 2007, 14:32
on a 1.5Mbps E-AC3 source, what would be the difference between a flack track and a DTS one....both @ 1.5Mbps?
madshi
18th October 2007, 15:40
on a 1.5Mbps E-AC3 source, what would be the difference between a flack track and a DTS one....both @ 1.5Mbps?
You can't tell FLAC which bitrate it should use. A lossless decoder *always* has a variable bitrate. Decoding an E-AC3 source will result in 24bit of audio data. If you compress that with FLAC the file will be much larger than 1.5Mbps. Of course you could reduce the bitdepth to 16bit. In that case the size of the FLAC and the DTS tracks should be roughly similar. Don't ask me which sounds better then, though.
sportcenter
18th October 2007, 16:04
You can't tell FLAC which bitrate it should use. A lossless decoder *always* has a variable bitrate. Decoding an E-AC3 source will result in 24bit of audio data. If you compress that with FLAC the file will be much larger than 1.5Mbps. Of course you could reduce the bitdepth to 16bit. In that case the size of the FLAC and the DTS tracks should be roughly similar. Don't ask me which sounds better then, though.
so will the FLAC @ 24bit sound better than the DTS @ 1.5Mbps...noticeably at least?
madshi
18th October 2007, 16:17
so will the FLAC @ 24bit sound better than the DTS @ 1.5Mbps...noticeably at least?
It should sound a bit better. But how much depends on your equipment (receiver, speakers etc) and also on your ears. Some people may not hear a difference. Maybe more than "some". I don't know.
ACrowley
19th October 2007, 13:10
on a 1.5Mbps E-AC3 source, what would be the difference between a flack track and a DTS one....both @ 1.5Mbps?
As is said in my Ears and on my Setup EAC3 to AC3 640 sounds very close to the Source.
And youve perfect Encoder Options like the latest certified Dolby Digital v7 Pro Encoder from Sony Vegas .
And SPDIF Output works perfect to a DD Receiver.
I pers encode to FLAC only from losslesss Sources like TrueHD/LPCM/DTS HD MAS to Back it up with less Discspace.
And AC3 640 Output sound OK from AC3 Filter or ffdshow in Combi with madFlac/ffdshow
SPDIF is not possible with FLAC so you must output FLAC as AC3 640 .
EAC3 to FLAC to AC3 makes no Sense for me
So i prefer nice Dolby Digital Encoding from EAC3.
Ofcourse EAC3 1.5Mbps to DTS 1.5 Mbps is a Option too...but imho AC3 640 reencode sounds more close compared with a Surcode DTS ,also because Surcode is not the best Encoder :)
I encode to dts only from lossless Sources and not from "pre" compressed EAC3
However...decide by yourself what sound best for you
Thunderbolt8
19th October 2007, 18:45
remux of terminator 2 DC studio canal with DTS-HD MA -> flac:
Opening file L0_mainMovie.EVO
PTM of first video frame = 0000AFC8
VC-1 video stream 0 found!
First PTS = 0000AFC8
DTS HD (DTS) audio stream 0 found!
First PTS = 0000AFC8
the rebuilt evo in evodemux gave me as duration: 2:33:25.229
the converted FLAC track length is 2h 33mn 25s 258ms.
the difference is ~30ms and I really cant say whether I need that -30ms of delay or not, its too hard to find out.
just to compare, the length of the ac3 track (converted from the dtshd) is 2h 33mn 25s 280ms.
honai
19th October 2007, 19:47
The .229 and 258 are not necessarily the same base, one could be frames of any other fraction. Also, there is probably no delay but simply a difference at the end of the track, so nothing to worry about.
Thunderbolt8
19th October 2007, 21:07
I got +1ms from muxing the .flac into .mka this time (usually this does not happen though), so the original flac file had afaik .228ms
Coolpplse
21st October 2007, 21:14
Hi Madshi,
I have Nero 7.5.7.0 Installed with the Blu-Ray/HD DVD Playback Plug-in Installed and registered and I am having trouble connecting the filters for converting Dolby TrueHD to FLAC
Based on your method
Nero File Source (Async) -> Nero Splitter -> Nero Audio Decoder 2 -> Dump
When I use the TrueHD file that is demuxed I can get to here
Nero File Source (Async) -> "Error Message"
When I use the TrueHD file rebuilt with the TrueHD Audio only I get to here
Nero File Source (Async) -> Nero Splitter -> "Error Message"
Using the latest eac3to v1.23
If I can get this to work I am going to try to make a step by step guide for everyone with pictures
madshi
21st October 2007, 23:21
Hi Madshi,
I have Nero 7.5.7.0 Installed with the Blu-Ray/HD DVD Playback Plug-in Installed and registered and I am having trouble connecting the filters for converting Dolby TrueHD to FLAC
Based on your method
Nero File Source (Async) -> Nero Splitter -> Nero Audio Decoder 2 -> Dump
When I use the TrueHD file that is demuxed I can get to here
Nero File Source (Async) -> "Error Message"
When I use the TrueHD file rebuilt with the TrueHD Audio only I get to here
Nero File Source (Async) -> Nero Splitter -> "Error Message"
Using the latest eac3to v1.23
If I can get this to work I am going to try to make a step by step guide for everyone with pictures
Why are you trying to do this manually in GraphEdit? eac3to should do all that for you. Anyway, if you want to use GraphEdit, you need to rename it to Recode.exe. Furthermore please note that pirated Nero keys are known to make problems.
honai
22nd October 2007, 00:42
If I can get this to work I am going to try to make a step by step guide for everyone with pictures
I'm not sure what problem you'd be solving with that. As madshi pointed out, eac3to already does all that is needed. Going the manual route will most likely introduce problems between keyboard and chair.
Thunderbolt8
23rd October 2007, 00:40
matrix remux with 16-bit trueHD -> flac
PTM of first video frame = 00000DC7
PTM of last video frame = 15D0DB4F
VC-1 video stream 0 found!
First PTS = 00000DC7
Dolby TrueHD audio stream 1 found!
First PTS = 00000DC7
delay=0 or 110 ms
rebuilt the audio track only and loaded that evo in evodemux: length is 2:16:17.786
length of the flac: 2:16:17:680
so I guess the delay is either ~110ms or no delay at all. cant decide yet.
Coolpplse
23rd October 2007, 00:56
Why are you trying to do this manually in GraphEdit? eac3to should do all that for you. Anyway, if you want to use GraphEdit, you need to rename it to Recode.exe. Furthermore please note that pirated Nero keys are known to make problems.
I dont know whether my Nero is correctly registered but it does look like this:
http://img87.imageshack.us/img87/5695/neroag8.th.jpg (http://img87.imageshack.us/my.php?image=neroag8.jpg)
The keys arent there as I erased it on the screenshot......
honai
23rd October 2007, 01:07
delay=0 or 110 ms
Where do you get the 110ms from? It's 0ms.
TruckChase!
23rd October 2007, 06:44
Has anyone been able to get this working with a demo key of Nero and a paid key for the HD-DVD plugin? I wanted to give this a try before I shell out the 99 bux for Nero... I figured that if I could get it working with just spending the 25 dollars for the plugin I could try out the results, but unfortunately I just get "Getting "Nero File Source Async" instance failed." when trying to extract ac3 frames from a TrueHD file. (Blood Diamond) Running Vista 32bit.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.