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

shon3i
12th October 2009, 10:14
madshi any chance you could integrate an open source AAC decoder like libfaad2? I know Nero has better quality but is the difference really that dramatic?What you talking about. Both decoders follow aac standard, both have exatcly same bit indentical output. FAAD is used in foobar2000 and i don't see point someone need Nero Decoder while is there full free implementation.

I can't use libfaad2 because eac3to is not GPL and so I can't use any GPL libs. I can only use LGPL.
Maybe you can use CT AAC decoder from winamp??

madshi
12th October 2009, 10:37
Would you consider adding a flag like -simpleoutput to disable console text colouring and console character position handling ?
Again: I could do this. But have you actually contacted the Wine programmers about this? It's *their* bug and not mine. Why should I implement workarounds for other software's bugs?

Maybe you can use CT AAC decoder from winamp??
Is it a winamp plugin? I wouldn't know how to communicate with it in that case...

honai
12th October 2009, 12:38
If I do that, the next person will come and say: "You write Apple Lossless files, you should also be able to read them". It's a never ending circle, I guess...

Currently my focus is on madVR, so eac3to will have to make do with bugfixes and minor improvements for a while.

Ok, I understand.

A while back you mentioned that you were working or had implemented a plugin system for eac3to with support for plugging custom filters. Would that suit my needs (I'm a programmer myself)? Any documentation for it?

dat720
12th October 2009, 15:06
Fair enough, I just wanted to put forward some suggestions, your choice whether you run with them or not.

shambles
12th October 2009, 15:23
hooray! madshi!

i have the Freedom bluray set and i would like to remux the english versions but eac3to can't do it correctly, as the playlists use only parts of certain m2ts files. it's the only bluray where i've seen such playlists.

the main m2ts for each episode has the title sequence in japanese followed by the main body, so the japanese version uses the whole m2ts file, but the other language versions have their own title/credit sequence m2ts files, and only use the main body from the main m2ts.

i uploaded the japanese and english version playlists for the first disc here: http://www.mediafire.com/?sharekey=d0332f673c7857a5af924764f9977b1de04e75f6e8ebb871

Kurtnoise
12th October 2009, 16:58
@madshi : any chance to update the lavc lib ? there are EAC3 Spectral & AAC LATM patches floating around in the FFmpeg-dev ML...

Xorp
12th October 2009, 16:59
Hmmmm... I think I'm reporting dialnorm in the same way for both AC3 and DTS. Dialnorm is rare for DTS, anyway. Do you have a DTS track where you know for sure that eac3to's dialnorm information is incorrect? I don't have the disc anymore, but eac3to reported the US Warner version of Watchmen to have -4dB DN on the DTS-MA track.

saint-francis
12th October 2009, 21:38
BTW, Why couldn't eac3to handle this on it's own?

Sorry. I don't mean to be a pest, but, can anyone shed any light on this? I have little grasp on how I got that process to work, no idea why it didn't work out of the box and I'm concerned that I'll need to do it again and will again be dependent on the good souls on this forum.

Guest
12th October 2009, 23:29
I don't have the disc anymore We can't help you with this now, per forum rule 6.

Snowknight26
13th October 2009, 00:06
My Aeon Flux Blu-ray shows something similar:

G:\Encoding Tools\eac3to>eac3to.exe "H:\" 1)
M2TS, 1 video track, 6 audio tracks, 4 subtitle tracks, 1:32:52, 24p /1.001
1: Chapters, 14 chapters
2: MPEG2, 1080p24 /1.001 (16:9)
3: AC3, English, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
4: DTS, English, 5.1 channels, 24 bits, 1509kbps, 48khz, dialnorm: -4dB
5: AC3, French, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
6: AC3, Spanish, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
7: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
8: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
9: Subtitle (PGS), English
10: Subtitle (PGS), English
11: Subtitle (PGS), French
12: Subtitle (PGS), Spanish

zn
13th October 2009, 19:32
Did you compare SSRC with SoX Resampler (http://sox.sourceforge.net/SoX/Resampling) (GPL)? Code (http://sox.cvs.sourceforge.net/viewvc/sox/sox/src/rate.c?view=markup) is under active developement (http://sox.cvs.sourceforge.net/viewvc/sox/sox/src/rate.c?view=log) right now.

The SoX resampler's "VHQ Linear Phase" configuration looks virtually identical to eac3to's SSRC implementation in the comparison site linked to above. I don't have done direct comparison tests with real audio files, though. So I can't really judge. Why don't you compare for yourself?

eac3to cannot use SoX' resamplers because eac3to is not open source and thus cannot use GPL code.

I was little bit inaccurate, libsox is library under LGPL, so it can be used

Chumbo
14th October 2009, 01:39
You mean with MKV containers? That would not be easy because I'd have to add a full FLV bitstream parser. Possible, but too time consuming right now. Maybe somewhen in the future...
It's good to see you back. I hope you're doing well.

No not MKV but FLV files, i.e., file.flv that contains the video and audio stream. Using eac3to to get info and demux would be ideal, but you're right, you'd probably need a full parser for this. If you have time and decide to implement this in the future that would be great. Thanks for considering it.

73ChargerFan
17th October 2009, 04:17
> Originally Posted by Nnoitra
> I notice that in some movies, like Kill Bill 1&2,
> forced subtitles are not detected.

Probably the Blu-Ray player fetches some additional information from somewhere else. Maybe the menus have it hard coded or something. eac3to reads out the default fields. If the information is not available there, there's nothing more eac3to can do.
SupRip can determine which subtitles are forced, with no other information than what is in the SUP file.

jmonier
17th October 2009, 14:17
SupRip can determine which subtitles are forced, with no other information than what is in the SUP file.

So can eac3to, but both it and SupRip use the forced flag which is not always there. Sometimes there is a separate subtitle track that is selected on the disc by means external to the track with no indication in the track (i.e. no forced flag) of it's function.

9700PRO
17th October 2009, 14:30
sorry but I forgot that this checkactivate.dll file is also required.


Atak_Snajpera please help!
checkactivate.dll file i didn't find. Where is he?
And please, give me advice - TMT 3.0.1.133 Patch doesn't exit anymore. Where is could be dtsdecoderdll.dll version 1.1.0.5.
Thanks you, very much.

Paddy97
17th October 2009, 15:28
Is there any way to demux DVB subtitles with eac3to?
I've tried several ways but get that the conversion is not supported. So if anyone can give me either a tip on a commandline or inform me if I am trying something that is impossible I would be happy.

eac3to shows the following when applying it to the DVB ts file so it can see the subtitles at least.

TS, 1 video track, 1 audio track, 4 subtitle tracks, 0:14:34, 50i
1: h264/AVC, 1920x1088 50i (30:17)
2: AC3, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
3: Subtitle (DVB), Swedish
4: Subtitle (DVB), Danish
5: Subtitle (DVB), Norwegian
6: Subtitle (DVB), Finnish

nwg
18th October 2009, 12:25
I have a problem with Pixar Shorts Blu Ray. It can see all the mpls but when trying to do a movie only, it cannot find anything about video, audio, subs etc.

It has 13 titles that are seamless branched which eac3to finds but that is far as I go. I have been using it with clown_bd but that is not the problem, as HdBrStream Extractor does the same.

eac3to v3.17
-----------------------------------------------------------------------
1) 00037.mpls, 0:55:27
[35+37+38+36+7+11+8+6+12+14+10+13+9].m2ts
- Chapters, 15 chapters
- h264/AVC, 1080p24 /1.001 (16:9)
- RAW/PCM, English, stereo, 48khz
- AC3, English, stereo, 48khz
- RAW/PCM, Spanish, stereo, 48khz
- AC3, Spanish, stereo, 48khz
- AC3, Catalan, stereo, 48khz
- AC3, English, stereo, 48khz

2) 00038.mpls, 0:55:27
[35+37+38+36+7+11+15+6+41+14+40+13+39].m2ts
- Chapters, 15 chapters
- h264/AVC, 1080p24 /1.001 (16:9)
- RAW/PCM, English, stereo, 48khz
- AC3, English, stereo, 48khz
- RAW/PCM, Spanish, stereo, 48khz
- AC3, Spanish, stereo, 48khz
- AC3, Catalan, stereo, 48khz
- AC3, English, stereo, 48khz

3) 00039.mpls, 0:37:47
[35+37+38+36+7+11+42+6+43+14+45+13+44].m2ts
- Chapters, 14 chapters
- h264/AVC, 1080p24 /1.001 (16:9)
- RAW/PCM, English, stereo, 48khz
- AC3, English, stereo, 48khz
- RAW/PCM, Spanish, stereo, 48khz
- AC3, Spanish, stereo, 48khz
- AC3, Catalan, stereo, 48khz
- AC3, English, stereo, 48khz

4) 00014.mpls, 00029.m2ts, 0:23:33
- Chapters, 12 chapters
- MPEG2, 1080i60 /1.001 (16:9)
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz

Choosing 1, 2 or 3 prodcues this error.

eac3to v3.17
-----------------------------------------------------------------------
This playlist contains m2ts parts with different track properties (2). <WARNING>

TinTime
18th October 2009, 15:59
Is the first m2ts in the playlist a copyright message or something? Anyway, if this is the case you might have to do this the hard way and specify the individual files yourself, excluding the one that eac3to doesn't like.

eac3to.exe 00037.m2ts+00038.m2ts+00036.m2ts+...etc.

Thinking about it, you said this is Pixar Shorts. Are the playlists that don't work the "play all" ones? If so you could look for the playlists for each individual short instead and do them separately.

nwg
18th October 2009, 22:22
Yes it is the play all that do not work. Each m2ts is a short.

TinTime
18th October 2009, 22:51
Unfortunately in that case I think you're going to have to process each short separately. eac3to doesn't support track changes during processing.

magic144
18th October 2009, 23:13
@Paddy97 - have you tried extracting with the wildcard suffix, e.g. something like

eac3to 1) 4: subs04.*

that'd be my first guess anyway, I've never encountered this subtitle type before...

Snowknight26
18th October 2009, 23:33
That won't work. The usual extenion for subtitles is either .sup, .sup, .ass. Count try .dvb as eac3to allows you to extract unrecognized formats with an extension of the format name.. though in this case, eac3to does recognize it, so who knows.

Paddy97
19th October 2009, 05:53
@magic144 and @Snowknight26

Thanks for the tips. Still no luck though.

"This subtitle conversion is not supported. "

Is the reply I get. Might be a format issue and not a commandline issue after all.

Snowknight26
19th October 2009, 07:27
Seems like madshi hasn't implemented DVB subtitle demuxing, even though eac3to has a DVB subtitle reader.

Found the string "DVB subtitles are not supported yet." when digging through the exe.

techstuff
19th October 2009, 12:31
hi

i'am a newbie so sorry,
have been looking for days in the this thread for a way to make multi wav from 6 or 8 mono wav. (1 wav with 6 or 8 channel mono)
can you do this or is it only from other multi audio format like AC3 DTS etc.

and go from 23.976 and 25.000 fps audio to 24.000 (-slowdown, -speedup)

hope you can help.

thanks

tebasuna51
19th October 2009, 13:48
have been looking for days in the this thread for a way to make multi wav from 6 or 8 mono wav. (1 wav with 6 or 8 channel mono)
eac3to don't support multiple mono inputs.
Use Sox, WaveWizard, AviSynth methods, ...

and go from 23.976 and 25.000 fps audio to 24.000 (-slowdown, -speedup)
When input is audio we can't know the original video fps (because audio don't know the video fps), if you need change the audio duration you need include both original video fps and destination video fps like this:

eac3to input.ac3 output.ac3 -23.976 -changeTo24.000

With:
-speedup equivalent to: -23.976 -changeTo25.000
-slowdown equivalent to: -25.000 -changeTo23.976

techstuff
19th October 2009, 14:07
hi

thank you tebasuna51 for your help and info.

asc28
19th October 2009, 16:05
Extracting from the root directory of Almost Famous R1 Blu-Ray. Weird EVO error even though it's a m2ts file

eac3to v3.17
command line: eac3to .\ 1) 2:D:\af.h264 3:D:\af.flac
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 20 subtitle tracks, 2:41:30, 24p /1.001
1: Chapters, 16 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz, dialnorm: -27dB
(embedded: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB)
4: AC3, Polish, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
5: Subtitle (PGS), English
6: Subtitle (PGS), Polish
7: Subtitle (PGS), Portuguese
8: Subtitle (PGS), Spanish
9: Subtitle (PGS), Chinese
10: Subtitle (PGS), Korean
11: Subtitle (PGS), Thai
12: Subtitle (PGS), Arabic
13: Subtitle (PGS), Bulgarian
14: Subtitle (PGS), Croatian
15: Subtitle (PGS), Czech
16: Subtitle (PGS), English
17: Subtitle (PGS), Hebrew
18: Subtitle (PGS), Hindi
19: Subtitle (PGS), Hungarian
20: Subtitle (PGS), Icelandic
21: Subtitle (PGS), Romanian
22: Subtitle (PGS), Slovak
23: Subtitle (PGS), Slovenian
24: Subtitle (PGS), Turkish
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Extracting TrueHD stream...
[a03] Removing TrueHD dialog normalization...
[a03] Decoding with libav/ffmpeg...
[a03] Encoding FLAC with libFlac...
[v02] Creating file "D:\af.h264"...
[a03] Creating file "D:\af.flac"...
[a03] The original audio track has a constant bit depth of 16 bits.
[a03] Superfluous zero bytes detected, will be stripped in 2nd pass.
This doesn't seem to be a valid EVO/VOB file ($0). <ERROR>
[a03] Starting 2nd pass...
[a03] Decoding FLAC...
[a03] Reducing depth from 24 to 16 bits...
[a03] Encoding FLAC with libFlac...
[a03] Creating file "D:\af.flac"...
[a03] The processed audio track has a constant bit depth of 16 bits.
Video track 2 contains 232321 frames.
eac3to processing took 52 minutes, 16 seconds.
Done.

Snowknight26
19th October 2009, 16:16
Weird EVO error even though it's a m2ts file

I don't know why people don't bother reading the last couple of pages when they post things like this. Redownload eac3to. madshi fixed that issue but didnt change the version number.

Paddy97
19th October 2009, 16:54
Found the string "DVB subtitles are not supported yet." when digging through the exe.

That makes it easier for me, I will stop trying for the time being :-)

asc28
20th October 2009, 00:42
I don't know why people don't bother reading the last couple of pages when they post things like this. Redownload eac3to. madshi fixed that issue but didnt change the version number.my bad. thanks that fixed it

ACrowley
20th October 2009, 16:57
Any News about the libav Lossless check failed on TrueHD Tracks with libavcodec ?

I would use Nero Decoder ,but teh Deocder doesnt work on Windows7 anymore

PatlaborForce
20th October 2009, 17:07
I would use Nero Decoder ,but teh Deocder doesnt work on Windows7 anymore

It works just fine on Windows 7 for me.

ACrowley
20th October 2009, 17:11
It works just fine on Windows 7 for me.

on W7 x64 ? How did you install it ?

Ah, now it works. I use standard NEro7 installer now (only Showtime). The BluRAy/HDDVD plugin is properly registered

Its a TrueHD+AC3 Track, now i get this :

Extracting TrueHD stream...
Decoding with DirectShow (Nero Audio Decoder 2)...
The DirectShow audio decoder didn't accept the input stream. <ERROR>
Aborted at file position 262144. <ERROR>

PatlaborForce
20th October 2009, 17:47
on W7 x64 ? How did you install it ?

The normal way you install Nero.

ACrowley
20th October 2009, 18:00
The normal way you install Nero.

yes, it works...eac3to finds teh Nero7 Decoder.
Can you decode TrueHD with it ?
The DirectShow audio decoder didn't accept the input stream. <ERROR>

EDIT2:
It works! i had to register the.ax manually

DrNein
20th October 2009, 18:22
Glad to see you back madshi. What is the status of the PGS subtitle issue regarding Decoder Time Stamp? Thanks.

oddwunn
20th October 2009, 20:43
Hi...I just got started using eac3to (thanks for this great tool, madshi!) and I have a real noob question.

Is this the correct Nero Blu-ray plugin that I want to use:

http://www.nero.com/enu/store-blu-ray-disc-authoring.html

If not, could some kind soul please direct me to where I can purchase the correct one?

DrNein
20th October 2009, 21:39
That's not it (and only for Nero 9 as well). It seems "BD/HD DVD Playback Plug-in" license is now only available in Asian-Pacific region and costs about $30 USD.

http://www.nero8.com/cht/store-blu-ray.html

oddwunn
20th October 2009, 21:57
Thank you, DrNein. If the Google translation is correct, I will be buying a serial number only. Is the plugin already installed in Nero 7, or do I have to find the file somewhere else?

rica
20th October 2009, 23:36
Welcome back to your home madshi, we'd missed you :)

saint-francis
21st October 2009, 00:34
Thank you, DrNein. If the Google translation is correct, I will be buying a serial number only. Is the plugin already installed in Nero 7, or do I have to find the file somewhere else?

It's just a serial #. You pop it in and you then can use the plugin.

PatlaborForce
21st October 2009, 00:58
yes, it works...eac3to finds teh Nero7 Decoder.
Can you decode TrueHD with it ?
The DirectShow audio decoder didn't accept the input stream. <ERROR>

EDIT2:
It works! i had to register the.ax manually

Yeah it works without having to do anything additionally.

oddwunn
21st October 2009, 03:11
Thanks, saint-francis...much appreciated!

oddwunn
21st October 2009, 17:11
Another newbie question - When I demux the the streams of a .m2ts file, I end up with subtitles that have the .SUP extension and chapters with .TXT extension, neither of which can be muxed into a .MKV container using MKVToolnix. What am I doing wrong?

Please note, if there is a guide somewhere that will explain all of this to me, I will gladly read it. The only guide that I found was the wiki, and it was not clear at all, or at least not to someone as new at this as I am.

Inspector.Gadget
21st October 2009, 17:28
MKVMerge doesn't handle BD-sup yet. Use Suprip to get a SRT or BDSup2Sub to get a VOBSub file.

Chapters files have to be selected in the "Global" tab, not the one where you drag and drop other streams.

radius
21st October 2009, 20:53
Hi guys,

I've been using clown_bd for ripping stuff and it looks like there an issue with the command line it uses to demux audio, -keepDialnorm is not being used on each track,
it results that some tracks keep the original dialog normalization and some get it removed...
Would there be any way, without encoding, to set the DN back in the tracks where DN was removed ?
Any possibility to get such function in eac3to ?

Thanks

oddwunn
22nd October 2009, 15:20
Thanks, Inspector.Gadget! I tried both programs - Suprip had tons of unidentified characters, so it really was not useful, but BDSup2sub worked like a charm...much better...:)

And now I have chapters installed in my .MKV files...very cool!

K1ngp1ng
22nd October 2009, 15:51
i noticed that eac3to isn't capable of removing dialnorm from dts master tracks. is this a known issue?

Thunderbolt8
24th October 2009, 16:54
guess you are refering to here: http://www.avsforum.com/avs-vb/showpost.php?p=17407462&postcount=251 (Transformers 2 IMAX BD)

was already reported here: http://forum.doom9.org/showpost.php?p=1333726&postcount=9401