Log in

View Full Version : eac3to - audio conversion tool


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 [241] 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308

tebasuna51
3rd January 2013, 15:59
No matter if is aac, mp3 or wav. Your receiver can restore the surround and center channels if have the DPL II decoder inside.

LigH
3rd January 2013, 16:37
Dolby ProLogic is an analog technology. It analyzes phase directions and delays in signals as electrical voltage fluctuations, not as bits and bytes.

There is no technical relation between Dolby ProLogic (analog surround sound mixing) and Dolby Digital (digital audio compression), except for the same company which developed them.

A third different, unrelated technology developed by the Dolby Labs are noise reduction techniques for audio on magnetical tapes.

And a fourth, even more unrelated remark: Thomas Dolby made a song about Science! (http://www.youtube.com/watch?v=m42KM_2br4c) But his stage name was only inspired by the noise reduction techniques, he was not a member of Dolby Labs...

Boulder
3rd January 2013, 17:18
• Proper ac3 decoding. Whilst a freeware prog like azid can properly decode ac3, it's a real shame such powerful instrument as eac3to uses nero/libav for that, because both decoders has defects (http://forum.doom9.org/showthread.php?t=161654).Are those libav problems reported to the devs?

paradoxical
3rd January 2013, 17:22
The decoder author responded in the thread. The problem is that the results in that thread are based on the libav decoder as it was more than a year and a half ago. Which is why madshi asked if those results were even still relevant.

The test you're linking to is 1.5 years old and the guy reponsible for the libav AC3 decoder has seen and commented on the test results those 1.5 years ago, too, so I would say a retest would be needed to make sure those results are still valid today. And if they are, a bug report should be created for libav/ffmpeg, so that the problem is fixed.

bilditup1
3rd January 2013, 18:57
We can't support downloaded (and fake) files.


Right, didn't mean to offend anyone or feel entitled

phate89
3rd January 2013, 19:05
No matter if is aac, mp3 or wav. Your receiver can restore the surround and center channels if have the DPL II decoder inside.
Dolby ProLogic is an analog technology. It analyzes phase directions and delays in signals as electrical voltage fluctuations, not as bits and bytes.

There is no technical relation between Dolby ProLogic (analog surround sound mixing) and Dolby Digital (digital audio compression), except for the same company which developed them.

A third different, unrelated technology developed by the Dolby Labs are noise reduction techniques for audio on magnetical tapes.

And a fourth, even more unrelated remark: Thomas Dolby made a song about Science! But his stage name was only inspired by the noise reduction techniques, he was not a member of Dolby Labs...

Ok i finally understood. Thanks for the help :thanks:

Thunderbolt8
3rd January 2013, 23:02
thanks for the update! :thanks:

Groucho2004
4th January 2013, 09:55
No matter if is aac, mp3 or wav. Your receiver can restore the surround and center channels if have the DPL II decoder inside.

Picking up on that once more - I don't have a surround setup (and probably never will), just a plain stereo system. In this case I should always use "-downStereo", right?
Also, if I downmix DTS tracks, should I use the "phaseshift" option or does the downmix algorithm take care of that? How can I even determine if the back channels have a phase shift?

tebasuna51
4th January 2013, 12:17
Picking up on that once more - I don't have a surround setup (and probably never will), just a plain stereo system. In this case I should always use "-downStereo", right?
Yes.
Also, if I downmix DTS tracks, should I use the "phaseshift" option or does the downmix algorithm take care of that? How can I even determine if the back channels have a phase shift?
This is a old question.

A correct 5.1, no matter if is AC3 or DTS, must have surround channels already "phaseshifted" over same info in front channels, by soft or when are recorded with microphones at different places, if you do a new "phaseshift" you can finish with 180º than convert the mathematical "+", in mix functions, in a "-" and cancel many info.

Like you don't know how the 5.1 was generated my recommendation is don't use "phaseshift", most the times is the correct way. And only try "phaseshift" when the previous mix sounds strange.

Groucho2004
4th January 2013, 12:24
Yes.

This is a old question.

A correct 5.1, no matter if is AC3 or DTS, must have surround channels already "phaseshifted" over same info in front channels, by soft or when are recorded with microphones at different places, if you do a new "phaseshift" you can finish with 180º than convert the mathematical "+", in mix functions, in a "-" and cancel many info.

Like you don't know how the 5.1 was generated my recommendation is don't use "phaseshift", most the times is the correct way. And only try "phaseshift" when the previous mix sounds strange.

OK, thanks!

madshi
4th January 2013, 13:32
... the azid.dll should still be available from many BeSweet related sources.
Yes, but there's no matching header anywhere to be found, and the dll exports a bunch of APIs without any names or descriptions. I don't feel like reverse engineering the dll.

Is that still accurate or is libavcodec on par now?
Argh, I changed the first page of this thread, but didn't update the same description in the help.

Curious, why the change from Nero to libav as the preferred DD decoder?
Because there were some problems with the Nero decoder. Mostly, disabling DRC didn't work for all tracks.

Errors that libavcodec spits out break the progress bar
Doesn't happen for me!! Did you maybe replace the libav/ffmpeg dlls with a different version? Can anybody reproduce this problem?

This still doesn't appear to work with 5.0 DTS files.
is't true eac3to 3.25 don't downmix 5.0 files (tested DTS, AC3 and WAV).
Yes, a stupid mistake. I added all the code to make the downmixing work for all possible channel configurations, but then forgot to remove some code which disables downmixing for less than 6 channels. I'll release a new build, but I'll wait a couple of days, in case some other bugs show up. So guys, do testing *now*, because the next eac3to build will probably have to do for a few months again.

• avi, mp4, mov, mpg, flv demuxing(maybe even muxing, that would be fantastic). Basically, avi/mp4 support is most important feature I think eac3to is lacking, along with
Yeah, that would be nice, but it would be a lot of work, so it won't come anytime soon.


• Proper ac3 decoding. Whilst a freeware prog like azid can properly decode ac3, it's a real shame such powerful instrument as eac3to uses nero/libav for that, because both decoders has defects (http://forum.doom9.org/showthread.php?t=161654).
There's no header available for the azid.dll. I think the best solution would be to first double check whether the libav decoder still suffers from the same problem today (that test you mention is 1.5 years old after all), and if it does, post a bug report to the libav devs.

• and also, downmix to mono and ac3/dts dialnorm applying - minor, but still useful features.
What would you need dialnorm for? I believe it's a fundamentally broken concept.

Snowknight26
4th January 2013, 14:32
Doesn't happen for me!! Did you maybe replace the libav/ffmpeg dlls with a different version? Can anybody reproduce this problem?

If I extracted the zip to the same folder as previous instances of eac3to, would the latest version of libavcodec be used (avcodec-54.dll) or would old ones be used if they were present (such as avcodec.dll)?

tebasuna51 had a similar result (http://forum.doom9.org/showpost.php?p=1608764&postcount=96) but he used -progressNumbers or whatever the command is. Strange how mine shows the same thing as ffmpeg "[truehd @ 00000000]" whereas his shows "[libav]".

I'll see what happens when I clear out the eac3to folder..

madshi
4th January 2013, 14:38
I used the ones included in the zip. tebasuna51 had a similar result (http://forum.doom9.org/showpost.php?p=1608764&postcount=96) but he used -progressNumbers or whatever the command is. Strange how mine shows the same thing as ffmpeg "[truehd @ 00000000]" whereas his shows "[libav]".
tebasuna51's results are fundamentally different. "[libav]" means eac3to got the log message from libav. "[truehd @ ...]" means ffmpeg/libav bypassed eac3to and wrote the log directly to the command line window. Which ffmpeg/libav should not do because eac3to told it to forward all log messages to eac3to instead of writing them to the command line window. So the logging system is broken for you, but not for tebasuna51, nor for me.

Snowknight26
4th January 2013, 14:43
Well, I'm not sure what to say but having gone through the thread I see a few people have different results.

For example:
'[libav]': http://forum.doom9.org/showpost.php?p=1599868&postcount=11866
'[truehd @ 00000000]': http://forum.doom9.org/showpost.php?p=1600129&postcount=11883


Edit:
Just tried a corrupt file and eac3to only showed '[libav]' so I guess it was using older dlls that were present in the folder. Case closed. :p

nickintheforest
4th January 2013, 16:14
Yes, but there's no matching header anywhere to be found, and the dll exports a bunch of APIs without any names or descriptions. I don't feel like reverse engineering the dll.
Ok, azid hasn't source code. But liba52 has. liba52 in group "A" too (http://forum.doom9.org/showthread.php?p=1508819#post1508819).

paradoxical
4th January 2013, 16:19
Ok, azid hasn't source code. But liba52 has.

The source code isn't needed or the issue. The issue is the required header to actually call into the DLL.

liba52 in group "A" too (http://forum.doom9.org/showthread.php?p=1508819#post1508819).

Yes, based on a test that is 1.5 years out of date. You and get8p seem to gloss over the part where madshi has repeatedly stated that you should be checking that the issue is even still relevant today since the decoder has had changes made to it since that test. Then, if the issue still exists, report them to libav so they can be fixed. This would be the best solution.

madshi
4th January 2013, 18:20
liba52 is GPL, not LGPL, so I can't use it.

mrr19121970
4th January 2013, 18:25
Perhaps there is an issue with the new version?

http://forum.slysoft.com/showpost.php?p=361367&postcount=2976

Used eac3to 3.25 to successfully process Brave and Finding Nemo with ClownBD. However, the playback of Brave contains audio drops (3 in the first 5 minutes) like in Total Recall (2012). I have not checked Finding Nemo yet.

madshi
4th January 2013, 18:33
Not sure what is meant with "contains audio drops". I've personally tested Brave and had no problems with playback whatsoever.

sl1pkn07
4th January 2013, 19:29
according to http://forum.doom9.org/showthread.php?t=23921 and http://web.archive.org/web/20020205230410/http://www.doom9.org/sources.htm and http://web.archive.org/web/20020414191825/http://www.doom9.org/sources.htm

http://web.archive.org/web/20020205230410/http://www.doom9.org/Soft21/Sources/azid-dll-1.7.1.zip
http://web.archive.org/web/20020414191825/http://www.doom9.org/Soft21/Sources/azid-dll-1.8.zip

have sources to api call dll

but.... don't download

EDIT: http://web-beta.archive.org/web/20090228063605/http://dspguru.notrace.dk/BeSweetv1.5b23DLL.zip

is possible use azid trought beesweet dll? (the zip contains headers) (i don't know if beesweet.dll uses azid.dll)

Chumbo
5th January 2013, 01:38
@madshi/tebasuna51,
Thanks so much for your efforts. Great to see a new version. :)

madshi
5th January 2013, 12:04
according to http://forum.doom9.org/showthread.php?t=23921 and http://web.archive.org/web/20020205230410/http://www.doom9.org/sources.htm and http://web.archive.org/web/20020414191825/http://www.doom9.org/sources.htm

http://web.archive.org/web/20020205230410/http://www.doom9.org/Soft21/Sources/azid-dll-1.7.1.zip
http://web.archive.org/web/20020414191825/http://www.doom9.org/Soft21/Sources/azid-dll-1.8.zip

have sources to api call dll

but.... don't download

EDIT: http://web-beta.archive.org/web/20090228063605/http://dspguru.notrace.dk/BeSweetv1.5b23DLL.zip

is possible use azid trought beesweet dll? (the zip contains headers) (i don't know if beesweet.dll uses azid.dll)
No, that besweet dll doesn't help at all.

madshi
5th January 2013, 12:26
eac3to v3.26 released

http://madshi.net/eac3to.zip

* fixed: downmixing of less than 6 channels to stereo failed
* patched libav AC3 decoder to properly decode high frequencies
* added support for floating point volume changes (e.g. -0.5db)
* dialnorm is no longer removed from DTS-HD tracks (didn't work, anyway)

hubblec4
5th January 2013, 13:15
thanks a lot madshi, you are the best.

filler56789
5th January 2013, 13:18
eac3to v3.26 released

http://madshi.net/eac3to.zip

* fixed: downmixing of less than 6 channels to stereo failed

* patched libav AC3 decoder to properly decode high frequencies

* added support for floating point volume changes (e.g. -0.5db)

* dialnorm is no longer removed from DTS-HD tracks (didn't work, anyway)

:thanks: ( again ) :)

get8p
5th January 2013, 15:53
Thanks! Ac3 fix is a huge plus. Finally ac3 demux and decode is possible in one line.
Never got the answer, is there any thoughts on avi, mp4, mov, mpg, flv demuxing(maybe even muxing) and downmix to mono?

Overdrive80
5th January 2013, 16:14
Never got the answer, is there any thoughts on avi, mp4, mov, mpg, flv demuxing(maybe even muxing) and downmix to mono?

It would be major improvements, and madshi only will do minor changes, for now.

get8p
5th January 2013, 16:37
Well, then I'd like madshi to tell if he's putting it in future to-do list, so I'd just stop asking.
And downmixing to mono, it can't be that big of a deal?

nickintheforest
5th January 2013, 17:13
> * patched libav AC3 decoder to properly decode high frequencies
thank you, madshi :)

Snowknight26
6th January 2013, 07:15
* encoder bitdepth for lossy DTS tracks is no longer displayed

It still is for DTS core tracks:
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48kHz)

madshi
6th January 2013, 09:27
It still is for DTS core tracks:
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48kHz)
Oh well... Maybe next time...

madshi
6th January 2013, 09:28
eac3to v3.27 released

http://madshi.net/eac3to.zip

* fixed: raw processing cut away 16 samples sometimes
I'll probably be gone for a while now.

VincAlastor
6th January 2013, 10:11
thank you madshi for eac3to to keeping alive!!! the new release makes me very happy ^^

if you want to expand features in future, maybe you take a look at qaac (neroaac development stopped for years) and flaccl (better compression and sometimes faster than flac.exe; i don't know if flaccl can handle 24bit stream now)

thanks again :)

DarkSpace
6th January 2013, 10:30
Thank you for the new releases, and for taking the time to implement float Volume changes as well!

tebasuna51
6th January 2013, 10:38
Thanks madshi!

if you want to expand features in future, maybe you take a look at qaac (neroaac development stopped for years) and flaccl (better compression and sometimes faster than flac.exe; i don't know if flaccl can handle 24bit stream now)

You can always use qaac (I don't know flaccl) like external encoder with:

eac3to input stdout.wav | qaac -V 99 --ignorelength -o output.m4a -

06_taro
7th January 2013, 03:39
flaccl can handle up to 32bit pcm IIRC, you can always use pipe method: eac3to.exe input stdout.wav | CUETools.FLACCL.cmd.exe -o output.flac -

VincAlastor
7th January 2013, 03:55
thank you for your help. i use eac3to often with megui and staxrip automatically... in cmd i think it's not practically for daily using. and why should eac3to come out with outdated encoders (neroaac, flac) and not with newer, often better encoders?

tebasuna51
7th January 2013, 11:54
thank you for your help. i use eac3to often with megui and staxrip automatically... in cmd i think it's not practically for daily using. and why should eac3to come out with outdated encoders (neroaac, flac) and not with newer, often better encoders?

- You can't prove than qaac is better than NeroAacEnc at default eac3to -quality=0.5

- If you don't like command line maybe you can test the GUI UsEac3to.

- MeGUI support qaac now.

LigH
7th January 2013, 14:55
From the archive:

dg providem me with v1.9 :)
THX for that DSPguru

but i have read the documentation from the azid files and the author (midas) wants me to add splash screens, and some other things which i personally dont really like.
...

The azid.dll could possibly be used via the besweet.dll, but I believe that will only shift the issue to another level.

Midas (Azid), DSPguru (BeSweet), DarkAvenger (HeadAC3he) — Hopping from one dead horse to another... :o

And there is also a package with azid.exe CLI decoders (P3/P4 opt.), but you may try to avoid intermediate files?

Chumbo
7th January 2013, 15:02
eac3to v3.27 released

http://madshi.net/eac3to.zip

* fixed: raw processing cut away 16 samples sometimes
I'll probably be gone for a while now.
Thanks again. Hey, before you go, would you update the first post to reflect version 3.27 please?

madshi
7th January 2013, 15:14
From the archive:

The azid.dll could possibly be used via the besweet.dll, but I believe that will only shift the issue to another level.

Midas (Azid), DSPguru (BeSweet), DarkAvenger (HeadAC3he) — Hopping from one dead horse to another... :o

And there is also a package with azid.exe CLI decoders (P3/P4 opt.), but you may try to avoid intermediate files?
Doesn't matter anymore, anyway. See v3.26 release notes.

Atak_Snajpera
8th January 2013, 19:05
does new version still need MSVCP71.dll in system folder?

http://forum.doom9.org/showthread.php?p=1607304#post1607304

rapscallion
8th January 2013, 20:09
Thanks madshi for new version....however, Nemo 7.1 THD, decode to wavs, still fails lossless check :


[libav] Lossless check failed - expected 00, calculated f4. <WARNING>
[libav] Lossless check failed - expected 00, calculated 65. <WARNING>
[libav] Lossless check failed - expected 00, calculated f6. <WARNING>
[libav] Lossless check failed - expected 00, calculated 88. <WARNING>
The original audio track has a constant bit depth of 20 bits.


I've never seen the 20 bits depth before, besides this nemo track.

Edit: Correction, the previous libav (ver 3.25) would crash completely, while now it creates the wavs w/the warnings above. This is the same thing when creating flac via ffmpeg, so maybe it's a somehow corrupted stream.

Overdrive80
9th January 2013, 02:56
Hi, one question... Does eac3to decode to do "slowdown"???

tebasuna51
9th January 2013, 03:20
Hi, one question... Does eac3to decode to do "slowdown"???
Yes, slowdown-resample work over uncompressed audio data then eac3to must decode compressed audio before.

Furiousflea
11th January 2013, 09:54
Is there still a need to remap channels when decoding DTS 6.1 tracks with Arcsoft decoder with latest eac3to.

The changelog is ambiguous if that has been fixed or do we still need to specify a channel layout?

tebasuna51
11th January 2013, 10:38
Is there still a need to remap channels when decoding DTS 6.1 tracks with Arcsoft decoder

Decode was always fine, only when you use -down6 was wrong.
And fixed now.

dansrfe
12th January 2013, 08:49
So I recently bought a bluray which has 16-bit, 96Khz TrueHD and 24-bit, 48Khz DTS-HD/MA audio tracks. My question is: if space is not an issue and playback will always involve decoding to PCM via arcsoft's decoder or the like, which track should I keep in the mkv encode?

Also, as a side question, if I will always play back from my computer then is it better to encode lossless audio from DTS-HD/MA or TrueHD to FLAC and maintain the original file's bit-depth and sample rate or should I just keep the original DTS-HD-MA/TrueHD file?

Furiousflea
12th January 2013, 10:11
Decode was always fine, only when you use -down6 was wrong.
And fixed now.

Thanks for explaining that, much appreciated.

tebasuna51
12th January 2013, 11:55
So I recently bought a bluray which has 16-bit, 96Khz TrueHD and 24-bit, 48Khz DTS-HD/MA audio tracks. My question is: if space is not an issue and playback will always involve decoding to PCM via arcsoft's decoder or the like, which track should I keep in the mkv encode?

Seems than standard human ear can distinguise until 20 bit precission audio but not much over 20 KHz frequency (samplerate 40 KHz).

Also, as a side question, if I will always play back from my computer then is it better to encode lossless audio from DTS-HD/MA or TrueHD to FLAC and maintain the original file's bit-depth and sample rate or should I just keep the original DTS-HD-MA/TrueHD file?

If your PC can send to receiver, through HDMI, PCM multichannel audio (decoded from FLAC or DTS-HD-MA/TrueHD) then the quality is always the same. Flac files have less size.

There are external players (PopCorn, Xtreamer, ...) than can send also Flac decoded to PCM multichannel.