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

nautilus7
17th January 2008, 20:32
I just completed the transformers backup. All went fine.

The command line i used was:

eac3to 1st.evo+2nd.evo 2: movie.mkv 4: audio.ac3

Can't be easier. Right?

BlackJack1
17th January 2008, 21:20
You need nero 7 and the hd dvd/blu-ray plug in. It's in the 1st post.

You can check what you have/need by typing:
eac3to -test

Welcome.

Thanks for reply. Sorry for noob question but where must I write command line? In cmd window?
Second: I saw on 1st site: Nero 7 but what exactly application includes Nero directshow decoders from my list?

Regards,
BJ

nautilus7
17th January 2008, 21:29
OK, now i 've got what you asked in the first place. You just need to install nero showtime.

You type the commands in the cmd window.

edo1080
17th January 2008, 22:15
If I have a DD+ track demuxed with evodemux from an HD DVD which is the syntax to convert such track into 6 mono wavs with eac3to ? Thanks

nautilus7
17th January 2008, 22:51
eac3to input.eac3 output.wavs

Did you read the 1st post? :devil:

edo1080
17th January 2008, 23:12
of course I did but I have the following error:

the WAV writer didn't receive the format information

So I started thinking I was wrong in typing the syntax

BlackJack1
17th January 2008, 23:12
OK. Begining to install soft and plugins :)
One more time thanks for help.

nautilus7
17th January 2008, 23:17
of course I did but I have the following error:

the WAV writer didn't receive the format information

So I started thinking I was wrong in typing the syntax
Make sure you have the latest eac3to version and run it with -test switch to see if everything is working right.

edo1080
17th January 2008, 23:42
I get "nero audio deocder is not working correctly" anyway i simply uninstalled nero 8 and installed nero 7. maybe i had to clean all the registry entries before?

nautilus7
17th January 2008, 23:46
Did you get this message before or after nero 7 installation?
Do you have the hd dvd/blu-ray plug in installed/purchased???????

Richum
18th January 2008, 00:40
I just completed the transformers backup. All went fine.

The command line i used was:

eac3to 1st.evo+2nd.evo 2: movie.mkv 4: audio.ac3

Can't be easier. Right?

Yes it should be just that easy, and that is what I expected but not what I got. I used that command line.

I purchased the Blu-Ray/HD DVD plugin online, installed Nero Essentials, entered the plug-in reg number and it said I needed to update Nero, so I am downloading the update now. Once installed and the plug-in is activated I will try again and report back.

edo1080
18th January 2008, 14:11
Do you have the hd dvd/blu-ray plug in installed/purchased???????

I think it's correctly installed, but is it a separate plugin file or is it included in the 7.10.1.2 setup file?

Anyway I succesfully decoded into wav using the sonic decoder. My file is a Dolby Digital plus 5.1 768 kbit/sec but the problem is I need to cut 19ms after 1 hour of runing time. One solution could be to cut after one hour and obtain one file and then make a new cut from 1h19ms to the end of file and obtain a second one. the I can join the 2 , but delaycut won't see it as DD+, it sees it as DD with crazy values. Is there another way?

nautilus7
18th January 2008, 15:41
The plug in is included in the setup, but you have to buy a serial number separately. It's most probably the plug in which causes the problems with nero decoder.

Which extension has the e-ac3 file you load to delaycut? It should be .eac3 or .ddp. If delaycut isn't working you can try a hex editor.

Richum
18th January 2008, 15:44
Quick question do the version numbers look right in this eac3to test report?

D:\EAC3>eac3to -test
Nero Audio Decoder (Nero 7 or older) works fine
Sonic Audio Decoder (4.2.0.102) works fine
Haali Media Splitter (2007-12-28) is installed
Surcode DTS Encoder (1.0.21.0) is installed
MkvToolnix (v2.1.0) is installed

edo1080
18th January 2008, 16:15
If delaycut isn't working you can try a hex editor

It isn't working , but how can I know the timings using an hex editor?

do the version numbers look right in this eac3to test report?

Yes they do

crazydane
18th January 2008, 16:32
Greetings. From reading the first post, I see that:

--- cut ---
For best DTS decoding you need:
(1) "Sonic Cinemaster Audio Decoder 4.3" DirectShow filter
--- cut ---

To optain this, am I correct in assuming that I need to purchase the following from the Sonic web site:

CinePlayer DVD Decoder Pack (for Windows XP) @ $14.99?

I further assume this will work fine under Vista?

Final question. How the heck do I purchase a serial number for Nero7? All they seem to be selling these days is a serial number for Nero8. I downloaded and installed the latest Nero7 demo and purchased the hd-dvd/blu-ray plugin serial number and activated it. But my Nero7 demo itself expires on 31.01.2008.

I appoligize for the noob questions, but I didn't see them addressed before.

Richum
18th January 2008, 16:52
It isn't working , but how can I know the timings using an hex editor?



Yes they do

Thanks, then I have some other problem.

Chumbo
18th January 2008, 17:09
...To optain this, am I correct in assuming that I need to purchase the following from the Sonic web site:

CinePlayer DVD Decoder Pack (for Windows XP) @ $14.99?...
I believe the HD decoder pack only comes with their Scenarist product.

saint-francis
18th January 2008, 17:51
I believe the HD decoder pack only comes with their Scenarist product.

Is this true? Doesn't Scenarist Cost tens of thousands of Dollars? So all of the people here who are using this feature have purchased Scenarist? :confused:
I think the front page should be updated with information on topics such as:
"How to purchase/activate the Nero HD DVD/ BD plugin."
And
"How to obtain the Sonic decoder."

These are questions that have been asked time and time again in this exceedingly long thread.

crazydane
18th January 2008, 18:23
Yikes, I checked with a reseller and Scenarist is $5000! Surely there has to be a cheaper alternative to purchasing this essential filter...

madshi
18th January 2008, 19:48
If there is need to discuss how and where to get the Sonic decoder let's please start a separate thread about that. This thread is dedicated to eac3to and should be not be clustered with discussion about how to license the Sonic decoder. I will then be happy to update the first post of this thread with the results of the (hypothetical) other thread.

So, please someone create a new thread and maybe post a link to it here. But please no lengthy discussion about how to license Sonic here. Thank you, guys!

saint-francis
18th January 2008, 20:02
Other thread now located here (http://forum.doom9.org/showthread.php?t=133895).

nautilus7
18th January 2008, 20:10
Wow. Madshi is back!!!

madshi
18th January 2008, 20:25
Wow. Madshi is back!!!
I was never gone. I'm just only in "listening only" mode right now cause I'm very busy with other stuff.

nautilus7
18th January 2008, 20:28
It isn't working , but how can I know the timings using an hex editor?
Ok, that's probably too difficult to do.
Every eac3 frame is 5,33 ms long. How do you recognize when a new frame begins? All frames begin with the same sequence.

But i think you should try a little bit more the delaycut option.

nautilus7
18th January 2008, 20:41
I was never gone. I'm just only in "listening only" mode right now cause I'm very busy with other stuff.That's good to hear.

edo1080
18th January 2008, 22:55
It doesn't sound impossible to do even if a bit hard. The problem is how to join after cutting.

nautilus7
18th January 2008, 23:37
You wont cut. Just remove the number of frames you want to. Don't forget to back up the original track in case something goes wrong.

jhoff80
19th January 2008, 17:21
This mlp track ripped from DVD-A tubular bells gives an error:

D:\Movies\FullDisc\TUBULAR BELLS\AUDIO_TS\output>"c:\Program Files\ea3to\eac3to.
exe" "track-11-[Lf Rf Ls Rs C LFE].mlp" track11.flac
MLP, 5.1 channels, 24 bits, 48khz
Remapping channels...
Encoding FLAC...
Creating/writing file "track11.flac"...
[mlp @ 68A4E2E0]Lossless check failed - expected f6, calculated a2
------------------------------------------------------------------------------[m
lp @ 68A4E2E0]Lossless check failed - expected 0, calculated e7
eac3to processing took 1 minute, 39 seconds.
Done.


http://rapidshare.com/files/84126032/track-11-_Lf_Rf_Ls_Rs_C_LFE_.cut.mlp.html
(this is only the begining of the file)

It was ripped with DVDAExplorer_a7.exe from decrypted DVD-A. The resulting FLAC looks and sounds OK. Is this a bug in libav?

I'm getting the same issue with both discs I've tried ripping so far, the unencrypted NIN "The Downward Spiral" and the encrypted NIN "With Teeth" dualdisc DVD-a discs. Any updates?

madshi
19th January 2008, 21:44
The stdout can be used to encode to ogg or aac.

This work for me:

eac3to 6chan.wav stdout.wav | neroaacenc -q 0.5 -if - -of 6chaac.mp4
eac3to 6chan.wav stdout.wav -0,2,1,4,5,3 | oggenc2 -Q -q 5 - -o 6chogg.ogg


But still there are problems when I try:
eac3to 6chan.ac3 stdout.wav -libav | neroaacenc -q 0.5 -if - -of 6chaac.mp4
eac3to 6chan.ac3 stdout.wav -libav -0,2,1,4,5,3 | oggenc2 -Q -q 5 - -o 6chogg.ogg

I get the log:
eac3to v2.14
eac3to 6chan.ac3 stdout.wav -libav -0,2,1,4,5,3
AC3, 5.1 channels, 0:00:20, 448kbit/s, 48khz
Remapping channels...
Remapping channels...
Loading white noise (needed for dithering)...
Writing WAV...
Creating/writing file "stdout.wav"...
Writing the destination file failed.
(similar for aac)

EDIT: of course this work for me
eac3to 6chan.ac3 out2.wav -libav -0,2,1,4,5,3
(not problem with -libav decoder)

EDIT2: and same problem using like input .thd, .mlp, .eac3 or .dts
I can reproduce the problem. But it's not a bug. The problem is that when eac3to begins to write the WAV file, it doesn't know yet how many samples the decoder will output exactly. As a result the WAV header is written in such a way that the WAV file seems to be empty. Because of this neroaac3enc aborts processing because it thinks the WAV file is empty.

You can easily "fix" the problem by adding the "-ignorelength" parameter to neroaacenc. It works just fine for me that way.

madshi
19th January 2008, 21:45
Small feature request if possible: merging 6 separate FLACs to a 5.1 FLAC. Currently, eac3to doesn't do this, nor does FLAC.exe. :)
Merging 6 files to one is generally possible but it would cost me some programming time. Because of that I don't really have it on my to do list right now, I'm sorry. I think there are more important things that I need to add first.

madshi
19th January 2008, 21:51
This mlp track ripped from DVD-A tubular bells gives an error

[mlp @ 68A4E2E0]Lossless check failed - expected 0, calculated e7
Is this a bug in libav?
Yes, this seems to be a bug in the libav decoder. I've forwarded your sample to the decoder programmer. Hopefully we'll get a fix sooner or later. For now you can use the Nero decoder. Or you can keep using libav. The bug seems to affect only one audio block (just a few milliseconds in the audio file) and the difference between faulty decoding (libav) and correct decoding (Nero) isn't big. At least it's not visible in a WAV form editor.

madshi
19th January 2008, 21:52
actually, my mistake, it does consist of two files..

BDMV/STREAM/00000.m2ts 19.36 GB
BDMV/STREAM/00001.m2ts 22.51 GB

I joined them into one big file using copy /b command prompt. Maybe that could've caused delay?
The delay could be caused by this. Would it be possible for you to upload the last 20MB of 00000.m2ts and the first 20MB of 00001.m2ts (as separate files, please)? There will not be any benefit for you doing that right now cause eac3to does not handle m2ts files yet. But I'd like to put those samples on storage for later. They might help me figuring out how to handle audio/video well in situations like yours.

madshi
19th January 2008, 21:53
havent had a trueHD track with the latest version for a while, so I assume this is normal now (the mlp@ end of stream message)?

[code][mlp @ 68A4E2E0]End of stream indicated
[mlp @ 68A4E2E0]End of stream indicated
This is normal and correct.

madshi
19th January 2008, 21:54
just a general question. will or does an ac3 made from a truehd source sound better than an ac3 made from the eac3 source or is it the same?
Using a TrueHD source should normally sound a little bit better.

madshi
19th January 2008, 21:55
I love this app but has it gotten slower processing streams? I took over 2.5 hrs to convert an eac3 stream to ac3. Or am I crazy.
As nautilus7 already hinted, the latest eac3to version is supposed to be very little bit slower with E-AC3 decoding. But 2.5 hours is really a lot. Do you have a single or dual core CPU? The performance hit of the latest eac3to version is only very little on dual core CPUs, but it will double processing time on single core CPUs.

madshi
19th January 2008, 21:59
I'm getting the same issue with both discs I've tried ripping so far, the unencrypted NIN "The Downward Spiral" and the encrypted NIN "With Teeth" dualdisc DVD-a discs.
Can you please upload a sample of each track? Please make sure that the sample shows the same problem before uploading them. I'll then forward the samples to the MLP/TrueHD decoder programmer. The more samples we collect the better.

Thunderbolt8
19th January 2008, 22:37
The delay could be caused by this. Would it be possible for you to upload the last 20MB of 00000.m2ts and the first 20MB of 00001.m2ts (as separate files, please)? There will not be any benefit for you doing that right now cause eac3to does not handle m2ts files yet. But I'd like to put those samples on storage for later. They might help me figuring out how to handle audio/video well in situations like yours.
as I said, the delay should actually only be 32ms max, in case of DD+ and if case of lpcm, dtshd or truehd even less and not noticeable at all, because its only 1 part which was joined to the 1st one.

Snowknight26
19th January 2008, 22:42
eac3to v2.14
eac3to.exe FEATURE_1.EVO+FEATURE_2.EVO 4: kingkong.eac3
EVO, 2 video tracks, 4 audio tracks, 3:07:23
1: Joined EVO file
2: VC-1, 1080p24 /1.001
3: VC-1, 480p30 /1.001
4: E-AC3, 5.1 channels, 1536kbit/s, 48khz, dialnorm: -27dB, 1001ms
5: E-AC3, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB, 1013ms
6: E-AC3, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB, 1013ms
7: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
Extracting audio track number 4...
Removing dialog normalization...
Applying (E-)AC3 delay...
Creating/writing file "kingkong.eac3"...
Video track 2 contains 269566 frames.
Video track 3 contains 324001 frames.
eac3to processing took 1 hour, 12 minutes.
Done.

C2Q and a fast HDD, shouldn't take that long. I could have sworn it was much faster before the parallel reencoding.

nautilus7
19th January 2008, 23:03
This is another thing (evo demuxing). We are talking about e-ac3 decoding.

K-rnivoro
19th January 2008, 23:03
Weird thing, maybe madshi can help me out.
eac3to seems to work ok for me, it was able to convert EAC3 stream form Troy to AC3 (with Nero of course..). so that's tell me everything is in order.
Thing is, Eac3to can't detect eac3 stream from a rip of "Fearless" movie, it says "The format of the source file could not be detected"
I though i was doing something wrong BUT Sonic Cinemaster is able to play back that .eac3 and also detects it as a DD+ 6 Channles (at the Sonic HD Demuxer window) so the file it has the right format.
Any clue? Want me to upload a fragment of it?

nautilus7
19th January 2008, 23:09
I believe there is some garbage in the start of your track.

The first 5 MB should be ok.

jhoff80
20th January 2008, 00:00
Can you please upload a sample of each track? Please make sure that the sample shows the same problem before uploading them. I'll then forward the samples to the MLP/TrueHD decoder programmer. The more samples we collect the better.

I had the issues with basically every track on each of the discs with some tracks having a long string of them, maybe 30 or 40 of those lossless check failed messages. I was going to attempt to upload them but didn't know of any way to copy only a few megs of each file. I thought when I had XP that I could just copy a file and while it was being copied over make a copy of the beginning of that file, but in Vista this doesn't seem to work.

nautilus7
20th January 2008, 00:05
Use a hex editor like HxD or see this (http://forum.doom9.org/showpost.php?p=1078871&postcount=2177) post.

K-rnivoro
20th January 2008, 01:03
I believe there is some garbage in the start of your track.

The first 5 MB should be ok.

OK, just tell me how to do it...where do I have to upload the sample ?

nautilus7
20th January 2008, 01:27
Instructions on how to cut a sample, look at my previous post.

You can upload the sample here (http://www.sendspace.com).

K-rnivoro
20th January 2008, 01:51
Instructions on how to cut a sample, look at my previous post.

You can upload the sample here (http://www.sendspace.com).

There you go:
http://www.sendspace.com/file/7t735g

and just in case:
http://www.sendspace.com/file/7t735g

I've tried woth the "tail section" of the track, same luck... check it out, I'll be waiting for news..

nautilus7
20th January 2008, 01:58
Both links are the same... Is this the start of the track?

K-rnivoro
20th January 2008, 02:09
Both links are the same... Is this the start of the track?

Yes, is the same link and it's the start of the file. I just put it twice to be sure (never paste a link before)
I meant I tried to feed eac3to with the tail of the track and it keeps not to recognize it as a eac3 track.

nautilus7
20th January 2008, 02:22
Never mind. I fixed it. As i suspected there were some garbage in front of the track (the real audio info).

http://img237.imageshack.us/img237/74/sampleyb6.th.png (http://img237.imageshack.us/my.php?image=sampleyb6.png)

Open the original track with a hex editor (you can use the free HxD (http://mh-nexus.de/downloads/HxDBetaen.zip)) and delete the 1st 416 bytes. Then you 'll be ok. Make a back up of the track before anything!

EDIT: Just to explain what i did. In your track every frame (eac3 consists of frames) is 1024 bytes long and starts with 0B 77 01 FF. You can easily see that the 1st one is not 1024 bytes, while the rest of them is. Why is it garbage and not just a cut/half frame? Because is completely different from the next frames (the text on the right).