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

rica
8th November 2008, 18:44
I wonder why people continue to ask questions about tsMuxeR/TsRemux problems in this thread? This is the eac3to thread! If tsMuxeR or TsRemux don't work correctly then you should ask in the tsMuxeR/TsRemux threads for help.

I put that deleted question here since i haven't been sure whether it is related with eac3to or TSRemux; are you ???

htpc@rischer.at
8th November 2008, 18:46
...


Thanks. I'll forward this to the libav E-AC3 decoder maintainer.


Is this with eac3to v2.74? Which country is this Blu-Ray from?




Hi, Madhi!

NO, the version is 2.73. Now, i tried it with 2.74 and it works. Damn, only one time I missed to install the newest version and.....

malibu08
8th November 2008, 18:47
You have to register Nero filters manually.
You can use Radlight Filter Manager for this purpose.
And if you want eac3to to use Nero filters, you have to put this option at the end of the line: -nero

(BTW, if you don't re-encode but just simply extract the audio (without changing it), decoders will not be used.)

Thank you, but sorry how can i do that with the manager

rica
8th November 2008, 19:07
malibu08, check yor PM box.

Sorry; out of the thread...

madshi
8th November 2008, 23:10
I put that deleted question here since i haven't been sure whether it is related with eac3to or TSRemux; are you ???
You reported that tsMuxeR or TsRemux showed an error message. What does that have to do with eac3to? If tsMuxeR or TsRemux produce an error message then it's very probable that the problem is in tsMuxeR or TsRemux and not in eac3to. So tsMuxeR/TsRemux error messages usually don't belong into this thread.

Of course there is a (slight) chance that eac3to produces a buggy file and that tsMuxeR/TsRemux fail because of that. But as far as I know this has never happened yet. So unless there's a clear indication that eac3to is at fault, I will consider any tsMuxeR/TsRemux error message as being the fault of tsMuxeR/TsRemux and not the fault of eac3to.

rica
8th November 2008, 23:48
Because of my respect to you, i'd rather shut my mouth up.

madshi
9th November 2008, 00:51
I hope you don't misunderstand me. I'm very much willing to fix any bugs in eac3to. I'm just a bit tired of having to respond to tsMuxeR and TsRemux bug reports all the time. Why do I have to suffer from bugs in other developers' software?

frogman
9th November 2008, 04:06
I hope you don't misunderstand me. I'm very much willing to fix any bugs in eac3to. I'm just a bit tired of having to respond to tsMuxeR and TsRemux bug reports all the time. Why do I have to suffer from bugs in other developers' software?

As we all know the real fix to this is to clone Madshi brain, Then pimp him out to other developers. Perhaps then we all will be happy.

PS. First Dibs

Hey, Maddhi ...My sister is available next Friday night!

hehehe!

btw: Thanks for your great tool ea3to.:thanks:

malibu08
9th November 2008, 09:37
Hi!

I have manually register the nero 9 filter "neaudio2.ax" with the radlight filter manager, but it does not work

C:\Tonspuren\eac3>eac3to -test
Nero Audio Decoder (Nero 7 or older) doesn't seem to be installed
http://www.nero.com/eng/store-blu-ray.html
CAUTION: You need Nero 7. Nero 8 won't work with eac3to.
ArcSoft DTS Decoder doesn't seem to be installed
http://www.arcsoft.com/products/totalmediatheatre
Sonic Audio Decoder (2.74.0.0) doesn't seem to be installed
Haali Matroska Muxer (2008-03-29) is installed
Nero AAC Encoder could not be located
http://www.nero.com/eng/nero-aac-codec.html
Copy NeroAacEnc.exe to the eac3to or to the Windows folder.
Surcode DTS Encoder (1.0.29.0) is installed
MkvToolnix doesn't seem to be installed
http://www.bunkus.org/videotools/mkvtoolnix

C:\Tonspuren\eac3>eac3to c:\tonspuren\test.ac3 c:\tonspuren\test_neu1.dts -nero
AC3, 5.1 channels, 1:52:21, 448kbps, 48khz, dialnorm: -27dB
I'd like to use the Nero decoder, but it doesn't seem to work.

Special Thank to Rica for try to help over PN !!!
Thank you !!!

nautilus7
9th November 2008, 10:29
You need nero 7 as clearly stated in the 1st post.

lexor
9th November 2008, 15:54
You need nero 7 as clearly stated in the 1st post.
Actually Nero9 should work (the protection Nero8 had was removed), and madshi did ask for some sort of output from graphedit to help him get it to work, but the last person who had Nero9 didn't reply back with the info.

So if madshi can re-state what it is he needs, maybe malibu will be able to provide what is needed, and we'll all have Nero9 support.

rica
9th November 2008, 16:47
Lexor i agree.
Nero7 is just a default decoder and if you can use Nero9's filters in direct show, eac3to should use it when we force nero9 decoder to be used by -nero option.
I've already asked to malibu if he has bd-blu ray plugin but haven't gotten the answer.

As far as i guess malibu doesn't have this plug-in and in this case he can see and register nero audio decoder2 filter but he can not use in graphstudio which means eac3to can not use it as well.

nautilus7
9th November 2008, 16:52
Nero 9 filters can be used outside nero showtime. This has nothing to do with eac3to though. eac3to is programmed to use nero 7 filters.

Do you think that if nero 9 could be used *right now* with eac3to, the 1st post would say otherwise? And instead of speculating, why don't you try it first?

rica
9th November 2008, 17:00
nautilus, i suppose you are confusing programmed filter (to be used as default) with any other filter forced to be used.
Malibu says he hasn't nero7; in this case eac3to would want to use programmed secondary free filter coming with eac3to.
But if you force eac3to that you will use that filter , why do you think eac3to won't use it?

Edit: why i don't try? Because i have to buy nero9 and the plug-in.

qyqgpower
9th November 2008, 17:11
Can eac3to accept multiple mono wavs input? eg. L.wav, R.wav, C.wav, LFE.wav, SL.wav and SR.wav
I tried using "wavs", "*.wav" and "+" as input parameter, but all fails.
Or is there any method to join them to a multichannel wav again?

nautilus7
9th November 2008, 17:34
why do you think eac3to won't use it?Why do you think it will?

Can eac3to accept multiple mono wavs input? eg. L.wav, R.wav, C.wav, LFE.wav, SL.wav and SR.wav
I tried using "wavs", "*.wav" and "+" as input parameter, but all fails.
Or is there any method to join them to a multichannel wav again?
No, it doesn't support multiple mono wav input.

tebasuna51
9th November 2008, 17:45
Or is there any method to join them to a multichannel wav again?

You can use WaveWizard or Sox command line:

Sox -M FL.wav FR.wav FC.wav LF.wav SL.wav SR.wav multichannel.wav

Boulder
9th November 2008, 17:52
@madshi: Will the next build include feeding 32bit floating point data into the Nero AAC encoder?

madshi
9th November 2008, 17:57
@rica, nautilus7 knows eac3to very well. Normally you can trust in what he says. So instead of trying to argue with him, you should just believe him. He told you 3 times that eac3to doesn't support Nero 9 and he is absolutely right with that.

Will the next build include feeding 32bit floating point data into the Nero AAC encoder?
Yes.

madshi
9th November 2008, 20:32
eac3to v2.75 released

http://madshi.net/eac3to.zip

* added (E-)AC3 5.1 "EX" detection
* added (E-)AC3 2.0 "Surround" detection
* added (E-)AC3 2.0 "Headphone" detection
* NeroAacEnc is now fed with up to 32bit float (if available)
* resampling option "-quality=low|high|ultra" not supported, anymore
* new option "-fast" switches SSRC resampler to fast, but low quality mode
* new option "-r8brain" forces use of r8brain resampler instead of SSRC
* added support for AES3 PCM streams in TS container
* started working on encoder plugin interface
I was wrong stating that the NeroAAC encoder wouldn't support floating point input. It does.

rica
9th November 2008, 20:36
OK madshi; as you know as well, i've trusted always his knowledge on eac3to but i still have not understood why eac3to can not use nero9 filter as forced decoder?

Second, is is possible to manage eac3to to select nero9 first and if there isn't any, this time to select nero7 as secondary choice?

Thunderbolt8
9th November 2008, 20:46
eac3to v2.75 released

http://madshi.net/eac3to.zip

* added (E-)AC3 5.1 "EX" detection
* added (E-)AC3 2.0 "Surround" detection
* added (E-)AC3 2.0 "Headphone" detection
* NeroAacEnc is now fed with up to 32bit float (if available)
* resampling option "-quality=low|high|ultra" not supported, anymore
* new option "-fast" switches SSRC resampler to fast, but low quality mode
* new option "-r8brain" forces use of r8brain resampler instead of SSRC
* added support for AES3 PCM streams in TS container
* started working on encoder plugin interface
I was wrong stating that the NeroAAC encoder wouldn't support floating point input. It does.
thanks!

one question though, is the -slowdown problem of that h264 50i .ts sample fixed yet?

nautilus7
9th November 2008, 21:01
eac3to v2.75 released

* started working on encoder plugin interfaceAny detail on this? Or it's a surprise? :p

Thanks for the update.

Chumbo
9th November 2008, 22:01
@madshi,
Just fyi, the version shown by 2.75 is v0.00.

@rica,
What part of "DOESN'T SUPPORT NERO 9" do you not understand? Give it a rest with Nero 9 already.

madshi
9th November 2008, 22:03
OK madshi; as you know as well, i've trusted always his knowledge on eac3to but i still have not understood why eac3to can not use nero9 filter as forced decoder?

Second, is is possible to manage eac3to to select nero9 first and if there isn't any, this time to select nero7 as secondary choice?
Almost anything is "possible" if I take the time to implement. But right now eac3to does not support Nero 9 decoders. It's as easy as that.

one question though, is the -slowdown problem of that h264 50i .ts sample fixed yet?
Didn't get around fixing that yet. But it's on top of my priority list.

Any detail on this? Or it's a surprise? :p
I've been asked to provide a way to add encoding plugins. Will there be many plugins? I've no idea...

madshi
9th November 2008, 22:05
Just fyi, the version shown by 2.75 is v0.00.
Thanks. I've re-uploaded a fixed v2.75 with no changes apart from working version information.

rica
9th November 2008, 23:22
Almost anything is "possible" if I take the time to implement.

Good news for Nero9 owners; i guess it is on your todo list.

SpaceAgeHero
10th November 2008, 01:10
Isn't it about time to build a GUI, madshi? :confused:

Thunderbolt8
10th November 2008, 01:47
what for? :D

bmnot
10th November 2008, 03:54
I tried a track from a DVD were the box states many times it's "Dolby Digital 5.1 Surround EX" but eac3to 2.75 detected it as plain ol AC3 5.1.

Here it is if you wanna check it out: http://www.sendspace.com/file/8r29v3

It doesn't work because it doesn't begin correctly. If it's an M2TS file, the 5th byte must be a 0x47. If it's a TS file, the first byte must be a 0x47. So you can use a hexeditor, search for the first 0x47 byte and remove the first few bytes of the file, until the fifth (or first) byte is 0x47. If that doesn't work, just repeat the process another 2-3 times. At some time eac3to will properly detect and handle the file. So you did this to the sample I gave you and it demuxed fine? Then I don't know how to give you an example to work with. I remember it occurred on Predator, if you have access to that disc. You couldn't simply make a switch to simple ignore problem in non-clean tracks?

madshi
10th November 2008, 09:59
I tried a track from a DVD were the box states many times it's "Dolby Digital 5.1 Surround EX" but eac3to 2.75 detected it as plain ol AC3 5.1.

Here it is if you wanna check it out: http://www.sendspace.com/file/8r29v3
That track is definitely not flagged as EX. It might still be EX, though. Some EX tracks are not flagged as such. But I can say with certainty that eac3to not showing this track as EX is correct.

So you did this to the sample I gave you and it demuxed fine?
Yes, but I only tested with v2.74.

Then I don't know how to give you an example to work with. I remember it occurred on Predator, if you have access to that disc. You couldn't simply make a switch to simple ignore problem in non-clean tracks?
I don't have Predator. Why don't you simply retry with the latest eac3to version? There was a bug which resulted in eac3to sometimes aborting processing at the very end of movies. That was fixed in v2.74. So probably Predator should work fine now.

ACrowley
10th November 2008, 11:13
That track is definitely not flagged as EX. It might still be EX, though. Some EX tracks are not flagged as such. But I can say with certainty that eac3to not showing this track as EX is correct.



Eah, i have some DD EX Tracks from PAL DVD which are not flagged correctly.

Thers a little Tool called EXme :) I can set the EX Flag with the Tool

madshi
10th November 2008, 11:55
There are a lot more "old" BD Releases which contains seemless branching and "splitted" Releases that produce Audio-Spikes and loud noise at the cutting/fixxing Points after timecode-rerun :(

Something is borked when using DTS, no matter if itīs Arcsoft or Sonic. With AC3-Track splitting/joining is ok.

As i can remember, the same BDīs using an older eac3to version < 2.58 doesnīt produce this errors.

A good try will be Conair/German BD. Try to assemble
the GERMAN DTS Track. On the cut point there is a loud
spike on the decoded file (destination format can be WAV or AC3 - result is the same)
I finally got around getting the German Con Air Blu-Ray to test this and I can't reproduce any problem with the German DTS track. No wrong loud spike for me. Ok, at the cut point there is this loud plane sound. That is some kind of spike. But it's supposed to be that way and it's that way if you play the separate m2ts parts, too. And it's in the AC3 track, too. So it's not caused by eac3to. Don't know if that is the spike you were talking about? Anyway, do you still have this spike problem with the latest eac3to version? And are you sure that it's caused by eac3to and not already in the original audio track?

Edit: Screw that, I *can* reproduce the problem, but only under specific circumstances...

madshi
10th November 2008, 11:56
Still the same "issue" with DTS and the -core option.
That should be fixed now, btw...

BlackJack1
10th November 2008, 12:23
Eah, i have some DD EX Tracks from PAL DVD which are not flagged correctly.

Thers a little Tool called EXme :) I can set the EX Flag with the Tool

Can you give me a link please. I searched google but with no result....
Thx.

tebasuna51
10th November 2008, 13:43
Originally Posted by ACrowley
Thers a little Tool called EXme I can set the EX Flag with the Tool
Can you give me a link please. I searched google but with no result....
Thx.

You don't need google is near here, in this Audio Encoding thread (http://forum.doom9.org/showthread.php?t=103382)

Only if bsid = 6 and xbsi2e = 1the tool can work safely

If bsid = 8 and Timecode2 = 1 maybe also can work but I never see Timecode2 = 1

Of course monsters.ac3 can't be EXme (bsid=8, Timecode2=0) safely.

jmonier
10th November 2008, 16:26
Isn't it about time to build a GUI, madshi? :confused:

The GUI listed in the first post works fine. Have you tried that?

Thunderbolt8
10th November 2008, 19:28
just as info, theres an eac3 commentary track on the kung fu panda blu-ray (its quite similar to the other ac3 commentary, but seems to be slightly edited differently at some places; or the frame rate is different, as in reviews only 1 commentary track is mentioned)

NorthPole
10th November 2008, 23:15
Just wondering if there was any thought to adding standard input to eac3to? I was looking to decode a tta lossless stream and wanted to feed it directly into eac3to for dts encoding.

BTW, thanks for the nice multi-use tool.

earl
11th November 2008, 00:35
is there a way to use eac3to to make all video and all audio stream from a .m2ts file in one step to put with out any change of bitrate into a .mkv file ?
or is there any other programm that can do this ?

itsancho
11th November 2008, 03:07
eac3to v2.75 released

http://madshi.net/eac3to.zip

* added (E-)AC3 5.1 "EX" detection
* added (E-)AC3 2.0 "Surround" detection
* added (E-)AC3 2.0 "Headphone" detection
* NeroAacEnc is now fed with up to 32bit float (if available)
* resampling option "-quality=low|high|ultra" not supported, anymore
* new option "-fast" switches SSRC resampler to fast, but low quality mode
* new option "-r8brain" forces use of r8brain resampler instead of SSRC
* added support for AES3 PCM streams in TS container
* started working on encoder plugin interface
I was wrong stating that the NeroAAC encoder wouldn't support floating point input. It does. BIG, BIG THANK YOU, madshi! :thanks:

qyqgpower
11th November 2008, 17:05
Why do you think it will?


No, it doesn't support multiple mono wav input.
I see. Thanks

You can use WaveWizard or Sox command line:

Sox -M FL.wav FR.wav FC.wav LF.wav SL.wav SR.wav multichannel.wav
The output of sox seems not to be very compliant (foobar can't play the output wav), but eac3to is able to encode it to flac correctly, so it's fine anyway:)
:thanks:

deathlord
11th November 2008, 19:29
madshi

I have a question on the new ac3 ex feature. Dolby digital ex has a 6th channel built in for use in 6.1 or 7.1 setups. Can eac3to decode those tracks to 7.1?

nautilus7
11th November 2008, 20:09
HI!

A Problem with my new Harry Potter 5 HDDVD.

It is an original german HDDVD bought from Amazon last week.

With the following analysing command

eac3to h: hp5.log

the following appears:

eac3to v2.75
command line: eac3to h: hp5.log
------------------------------------------------------------------------------
EVO, 1 video track, 1 audio track, 7 subtitle tracks, 0:43:54
"hidden"
1: Chapters, 6 chapters without names
2: VC-1, 1080i60 /1.001 (16:9)
3: E-AC3, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
4: Subtitle, English
5: Subtitle, French
6: Subtitle, German
7: Subtitle, Spanish
8: Subtitle, Japanese
9: Subtitle, Catalan
10: Subtitle, Portuguese
Track 3 is used for destination file "hp5.log".
This audio conversion is not supported.

The Tracks with the English 5.1 Sound and the German 5.1 Sound are missing. The time is 0:43:54 seems also wrong.
Do I have a corrupt disk?

:thanks:Unless you put the complete command line we can't help.

Type eac3to h: and then try eac3to h: ?) where ? stands for the main movie title and report back.

cavediver
11th November 2008, 21:07
Is it possible to keep a truehd track for remuxing into .ts or .m2ts or do I have to convert the truehd track to pcm?

I've been using the following command to extract the truehd track, but haven't been able to get it to play after remuxing with tsmuxer and then again with tsremux. I get no audio at all when trying to play the file on a Popcorn Hour A-110.

eac3to i:\zohan 1) 3: i:\zohan.thd+ac3

kemac
11th November 2008, 21:18
Is it possible to keep a truehd track for remuxing into .ts or .m2ts or do I have to convert the truehd track to pcm?

I've been using the following command to extract the truehd track, but haven't been able to get it to play after remuxing with tsmuxer and then again with tsremux. I get no audio at all when trying to play the file on a Popcorn Hour A-110.

eac3to i:\zohan 1) 3: i:\zohan.thd+ac3

I had the same results so I went with the PCM w/ AC3 secondary track (known bug work around) route to be able to play it back on the A-110.

flyingernst
12th November 2008, 09:57
eac3to v2.74
command line: "C:\Program Files\Minnetonka Audio Software\SurCode DVD DTS\eac3to.exe" "K:" 1) 4: "F:\Hancock\english.dts -nero
------------------------------------------------------------------------------
M2TS, 2 video tracks, 6 audio tracks, 19 subtitle tracks, 1:42:14
1: Chapters, 16 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (20:11)
4: TrueHD/AC3, English, 5.1 channels, 48khz
(embedded: AC3, 5.1 channels, 448kbps, 48khz)
5: AC3, English, 5.1 channels, 448kbps, 48khz, dialnorm: -30dB
6: TrueHD/AC3, German, 5.1 channels, 48khz
(embedded: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -29dB)
7: AC3, Russian, 5.1 channels, 448kbps, 48khz, dialnorm: -29dB
8: AC3, Ukrainian, 5.1 channels, 448kbps, 48khz, dialnorm: -29dB
9: DTS Express, English, 2.0 channels, 24 bits, 192kbps, 48khz
10: Subtitle (PGS), English
11: Subtitle (PGS), English
12: Subtitle (PGS), German
13: Subtitle (PGS), Dutch
14: Subtitle (PGS), Danish
15: Subtitle (PGS), Estonian
16: Subtitle (PGS), Finnish
17: Subtitle (PGS), Modern Greek
18: Subtitle (PGS), Hindi
19: Subtitle (PGS), Lithuanian
20: Subtitle (PGS), Norwegian
21: Subtitle (PGS), Swedish
22: Subtitle (PGS), Turkish
23: Subtitle (PGS), English
24: Subtitle (PGS), German
25: Subtitle (PGS), Dutch
26: Subtitle (PGS), Russian
27: Subtitle (PGS), Ukrainian
28: Subtitle (PGS), English
This audio conversion is not supported.

why? what is my failure

odin24
12th November 2008, 10:16
why? what is my failure

Your line looks fine, except there is no closing quotation (") on the destination file.

Maybe that's it???

flyingernst
12th November 2008, 10:33
oh maaaan

madshi
12th November 2008, 10:39
Just wondering if there was any thought to adding standard input to eac3to? I was looking to decode a tta lossless stream and wanted to feed it directly into eac3to for dts encoding.
What format would the data have, you send to standard input? Generally it's a difficult thing for me to add because eac3to by design first analyzes the format of the source, and then in a 2nd step rereads the whole source file to do its work. This approach doesn't fit well to standard input where the source file can not be read twice.

is there a way to use eac3to to make all video and all audio stream from a .m2ts file in one step to put with out any change of bitrate into a .mkv file ?
or is there any other programm that can do this ?
You can do "eac3to source video.mkv". That will mux the video track to MKV and demux/transcode all audio tracks to external audio files. Lossless (TrueHD + DTS-HD Master Audio) and PCM tracks will be converted to FLAC. All other bitstream audio tracks will be kept in their original form. You can then in a 2nd step use mkvtoolnix to add the audio tracks to the video MKV.

Alternatively you can use the GUI listed in the first post of this thread. The GUI allows you to automate the 2 steps mentioned above.

Muxing TrueHD as it is into MKV is currently not possible because MKV doesn't support TrueHD yet. But the transcoding to FLAC is lossless.

I have a question on the new ac3 ex feature. Dolby digital ex has a 6th channel built in for use in 6.1 or 7.1 setups. Can eac3to decode those tracks to 7.1?
No.

Is it possible to keep a truehd track for remuxing into .ts or .m2ts or do I have to convert the truehd track to pcm?

I've been using the following command to extract the truehd track, but haven't been able to get it to play after remuxing with tsmuxer and then again with tsremux. I get no audio at all when trying to play the file on a Popcorn Hour A-110.

eac3to i:\zohan 1) 3: i:\zohan.thd+ac3
This is a problem which is most probably not caused by eac3to, but by either tsMuxeR or TsRemux or by the Popcorn Hour (don't know). So you won't get help on this thread, unfortunately, unless you find evidence that eac3to is at fault.