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

kurt
14th December 2008, 14:30
It should work the way you did it. Please post the full eac3to log (between [ code ][ / code ]).
sorry, my fault. it works with *.m2v as destination file. I think my problem was a space character in destination folder. thx, madshi!

@ nautilus: jap, Í know. just forgot to write the number above :)

LessThanJake
14th December 2008, 15:06
Hello,

eac3to can handle whole BD and HD DVD structures.
are there plans to add full DVD-structure with chapter support too?

greets
LTJ

rica
14th December 2008, 15:17
I hope that you are asking these questions because you want to make a sample for me? Because if not you're once again very much out of topic here...

I'm out of the topic at neuron2's thread i suppose :)

http://forum.doom9.org/showthread.php?p=1224102#post1224102

_ _ _ _

crazydane
14th December 2008, 18:12
Madshi,

A while back the user itsancho had an issue with Basic Instinct, where you told him to use the -seekToIFrames option to overcome a known bug in Haali's muxer. Using that flag worked like a charm for him.

However, when I try doing the same thing, I still get the same error.

Here's my log:

eac3to v2.80
command line: eac3to BASIC_INSTINCT 1) 1: chapters.txt 2: video.mkv 3: audio.flac -seekToIFrames
------------------------------------------------------------------------------
M2TS, 1 video track, 4 audio tracks, 2 subtitle tracks, 2:08:15
1: Chapters, 17 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Hi-Res, English, 6.1 channels, 24 bits, 3039kbps, 48khz, dialnorm: -4dB
(core: DTS-ES, 6.1 channels, 24 bits, 1509kbps, 48khz, dialnorm: -4dB)
4: AC3 EX, English, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
5: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
6: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
7: Subtitle (PGS), English
8: Subtitle (PGS), Spanish
Creating file "chapters.txt"...
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[v02] Muxing video to Matroska...
[a03] Remapping channels...
[a03] Decoding with ArcSoft DTS Decoder...
[a03] Removing DTS dialog normalization...
[a03] Encoding FLAC with libFlac...
[a03] Creating file "audio.flac"...
Unfortunately the Haali Muxer cannot handle this source file.
It doesn't contain enough seek/recovery points.
The "-seekToIFrames" option may work around that.
However, using this option may result in artifacts when seeking.
Aborted at file position 147783680.

Any ideas?

Btw, my issue with running eac3to directly from the DVD drive dissappeared for no reason. Strange...

Thunderbolt8
14th December 2008, 18:16
its a known probelem, use the switch -seektoIframes here.

edit: misread the beginning :S
actually it should work, at least it did some versions ago for me (probably around 2.70)

deathlord
14th December 2008, 18:28
That's weird. Especially the PTS break before the muxing failure report. My best guess is that your source is corrupt and that the corruption is responsible for the problems. Can you please rerip the disk? Please rip to harddisk first and then run eac3to on the folder on harddisk. This is known to be the most stable way if you have problems with corruption.

You were right, madshi. Reripping helped.
Thanks for your continued support!

madshi
14th December 2008, 22:37
are there plans to add full DVD-structure with chapter support too?
Plans, yes.

command line: eac3to BASIC_INSTINCT 1) 1: chapters.txt 2: video.mkv 3: audio.flac -seekToIFrames
You're asking eac3to to apply the "-seekToIFrames" option on the audio track 3.

madshi
15th December 2008, 01:45
eac3to v2.81 released

http://madshi.net/eac3to.zip

* audio gap/overlap fixing is now automatically done in a 2nd pass
* option "-normalize" maximizes the volume of the audio data, needs 2 passes
* audio clipping is detected and automatically removed in a 2nd pass
* "-2pass" activates 2 pass mode (can speedup seamless branching processing)
* superfluous zero bytes are now automatically removed in 2nd pass
* "-phaseShift" shifts surround channel phase by 90° for DPL II downmixing
* spike removal post processing filter now always produces 16bit samples
* empty channels are now reported by the bitdepth analyzer as "no audio data"
* option "-shutdown" shuts the PC down automatically after processing is done
* the HD DVD XPL with the longest title is now loaded instead of VPLST000.XPL
* eac3to can now open specific XPL files (e.g. "eac3to ADV_OBJ\VPLS002.XPL")
* eac3to can now open specific mpls files (e.g. "eac3to PLAYLIST\00002.mpls")
* fixed: TrueHD streams starting with a non-major header failed to decode
* fixed: WAV files created by eac3to with empty channels had incorrect header
* fixed: RAW/PCM gap/overlap remover sometimes didn't work correctly
This is quite a big release. Especially the automated 2 pass processing is a change which goes quite deep. Because of that there might be new bugs. As a backup plan I've added the previous v2.80 version into the v2.81 zip file, so if all else fails you can use v2.80 instead.

"Gaps" files don't exist for audio tracks, anymore, now. However, for video tracks there may still be "gaps" files. And if gaps/overlaps are detected for video tracks, you'll still need to manually restart processing to fix them. I've decided to not automate gap/overlap fixing for video tracks because (1) video gaps/overlaps are extremely rare and (2) even if there are gaps/overlaps detected for video tracks, sometimes it's better not to fix them. But audio gaps/overlaps are now automatically fixed. If possible, this is done without reading the big movie source file again. Also the video track is only ever written once, regardless of whether there are audio gaps/overlaps or not.

Thunderbolt8
15th December 2008, 01:46
thanks! :)

which might be the situations itll be better not to correct video gaps? (apart from those that I can spot a quite a delay on a first glance of course)

nautilus7
15th December 2008, 02:06
Thanks! Now I need a seamless branching blu-ray to test the changes. :D

rica
15th December 2008, 02:07
Man, i like your revolutions. :thanks:

rica
15th December 2008, 02:57
eac3to v2.81
command line: eac3to\eac3to E: 1) 4: C:\HD\audio.dtshd -8000MB
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 20 subtitle tracks, 2:17:13
1: Chapters, 20 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz
(embedded: AC3, 5.1 channels, 448kbps, 48khz)
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz)
5: Subtitle (PGS), English
*********
[a04] Extracting audio track number 4...

[a04] Creating file "C:\HD\audio.dtshd"...
[a04] Audio overlaps for 7ms at playtime 0:23:06.
[a04] Audio overlaps for 6ms at playtime 0:26:06.
[a04] Audio overlaps for 11ms at playtime 0:30:37.

[a04] Starting 2nd pass...
[a04] Realizing DTS gaps...
[a04] Creating file "C:\HD\audio.dtshd"...
eac3to processing took 15 minutes, 37 seconds.
Done.

mrr19121970
15th December 2008, 08:27
@madshi

Thanks for all the hard work man. It's appreciated.

I've a feature request concering the -demux switch and the order the titles are presented... Currently the longest title is presented 1st, and generally correct. However in Clone-Wars and a couple of others - this is not the case. The SD 'bonus feature' has a longer duration than the HD 'main feature'. My request is can HD content take priority over SD content before length of feature ?



Thanks. Mike.

madshi
15th December 2008, 09:19
which might be the situations itll be better not to correct video gaps?
Generally if there are video gaps/overlaps reported I'd recommend to first not fix them and mux everything to the final target container (e.g. MKV or m2ts). Then check the runtime where eac3to reported video gaps/overlaps and check whether audio sync is lost at that runtime or not. If you don't notice anything weird, just leave things as they are and don't fix the reported video gaps/overlaps. Let eac3to fix that only if you notice that audio goes out of sync at the reported runtime.

Sometimes eac3to reports video gaps or overlaps for every second of runtime throughout the whole movie. In that case there are most probably no gaps/overlaps, but instead eac3to detected the movie's FPS incorrectly.

I've a feature request concering the -demux switch and the order the titles are presented... Currently the longest title is presented 1st, and generally correct. However in Clone-Wars and a couple of others - this is not the case. The SD 'bonus feature' has a longer duration than the HD 'main feature'. My request is can HD content take priority over SD content before length of feature ?
Yes, that makes sense. Will add that to my to do list.

Momber
15th December 2008, 12:13
option "-shutdown" shuts the PC down automatically after processing is done
You beauty :)
Thanks so much!

Greif
15th December 2008, 13:35
eac3to v2.81
command line: eac3to\eac3to E: 1) 4: C:\HD\audio.dtshd -8000MB

Is that setting a target size of 800MB for the DTS-HD track? I didn't know you could do that.

nautilus7
15th December 2008, 14:25
Actually it's 8000MB, not 800MB. And it refers to the source file. It should read the source file till it reaches 8000MB. The output file size will be unknown.

Am i the only one that have troubles with v2.81? I can't do anything with it. It won't even display the file properties if i do eac3to input.file. I have tried with ac3 and flac. I tried also a conversion, but nothing. It simply does nothing, no progress bar, nothing.

madshi
15th December 2008, 14:29
Am i the only one that have troubles with v2.81? I can't do anything with it. It won't even display the file properties if i do eac3to input.file. I have tried with ac3 and flac. I tried also a conversion, but nothing. It simply does nothing, no progress bar, nothing.
Please try downloading again. Maybe something went corrupt? Does the v2.80 exe in the v2.81 zip work for you?

nautilus7
15th December 2008, 15:05
I have already downloaded again. Both times same result. And v2.80 from the same zip works fine.

Chumbo
15th December 2008, 15:12
Please try downloading again. Maybe something went corrupt? Does the v2.80 exe in the v2.81 zip work for you?
I'm having the same issue. I just tested it on a vob and a ts file and nothing. You can't even ctrl-c to exit. I had to kill the eac3to process with task manager.

The included 2.80 works fine. If you run 2.81 without parameters, it does show the help stuff, but doesn't seem to work with any switches. I don't think the zip file is corrupt or we couldn't unzip it successfully.

nautilus7
15th December 2008, 15:21
Exact same issues. I couldn't stop it with ctrl+c when used a flac file for input (just it), but i can stop it with ac3 input. But other symptoms are the same.

madshi
15th December 2008, 15:43
Weird. Does "eac3to -test" work? How about "eac3to nonExistingFile"? Please download this:

http://madshi.net/madTraceProcess.zip

And then run it and try to create a report for the stuck eac3to process. If you succeed getting a report, please post it here. Thanks!

nautilus7
15th December 2008, 15:57
-test works. And using a non existing file works as it should. It also works with (m2)ts container and normal commands related to it (track extraction etc).

This is from an existing file:

removed as it contains personal data

madshi
15th December 2008, 16:13
eac3to v2.82 released

http://madshi.net/eac3to.zip

* fixed: sometimes eac3to stalled before processing (introduced in v2.81)

nautilus7
15th December 2008, 16:19
Thanks! You're the best!

(PS: others who will get it make sure that you get v2.82.)

Thunderbolt8
15th December 2008, 22:45
is there actually a possibility to get rid of short fps spikes for video stream when rewriting the fps? when I slow down a movie which has these short spikes, the fps rate still increases a little at those points and therefore any external audio I'd try to sync to it goes oos from that point then. the internal audio from the .ts seems to spike as well then, as it stays in sync.

madshi
15th December 2008, 23:19
I've just tried the new version; where are the overlaps?
The first time you had used -8000MB and not -800MB.

is there actually a possibility to get rid of short fps spikes for video stream when rewriting the fps? when I slow down a movie which has these short spikes, the fps rate still increases a little at those points and therefore any external audio I'd try to sync to it goes oos from that point then. the internal audio from the .ts seems to spike as well then, as it stays in sync.
What kind of fps spikes to you mean? The only times I've seen video played sped up is when the audio track is a mixture of 5.1 and 2.0. In that case the audio decoder gets confused and reports funny timecodes and that results in video fps getting confused, as well. If that's the problem you're seeing then there's nothing that can (and should!) be done with video muxing, cause it's already correct. Just fetch a proper AC3 track from a DVD and mux that with the video.

rica
15th December 2008, 23:22
The first time you had used -8000MB and not -800MB.


Please read again the previous post; it was 800MB.

madshi
15th December 2008, 23:30
Please read again the previous post; it was 800MB.
Please read again your own v2.81 log.

rica
15th December 2008, 23:42
Please read again your own v2.81 log.

Yes, i read the original log as well; i must admit you're right.
And 8000MB includes four m2ts files so this is why i selected 8000.
By mistake i remembered it as 800.
Sorry for the inconvenience.
@all, forget it.

Edit: Previous post has been deleted by myself.... False info...

Btw, this has been deleted in the same post as well: (restored back)
Is that setting a target size of 800MB for the DTS-HD track? I didn't know you could do that.

No, this is the first part of the whole m2ts' cut lenght. (8000MB)
Nobody knows what lenght audio will be, as nautilus said.
I used this cut option to see the result immediately. (this lenght has been selected since it included four m2ts files so as to see the gaps/overlaps)

Blackwalker
16th December 2008, 07:43
hi all!
this is the first time i'm trying to use eac3to.

i had problem with audio demuxing blu-ray films with tsmuxer,
so someone suggest me to use this program.

there is a "Guide" for a noob :D , to extract Audio & Video
from a ".m2ts" file?

thx!!!

deathlord
16th December 2008, 08:51
hi all!
this is the first time i'm trying to use eac3to.

i had problem with audio demuxing blu-ray films with tsmuxer,
so someone suggest me to use this program.

there is a "Guide" for a noob :D , to extract Audio & Video
from a ".m2ts" file?

thx!!!

Hi

Read the first post of this thread! It contains a link to the eac3to wikibook. There you can find many examples on how to use eac3to.

deathlord

Blackwalker
16th December 2008, 10:45
Hi

Read the first post of this thread! It contains a link to the eac3to wikibook. There you can find many examples on how to use eac3to.

deathlord

i just check it, but my english is not so good...

if there is a guide with screenshots to how extract
audio and video form a ".m2ts" file it'd be cool!!!
if no i have to take my dictionary :D and see if i can understand
how i can use it :(

ho well, tyvm anyway!

jmonier
16th December 2008, 15:18
i just check it, but my english is not so good...

if there is a guide with screenshots to how extract
audio and video form a ".m2ts" file it'd be cool!!!
if no i have to take my dictionary :D and see if i can understand
how i can use it :(

ho well, tyvm anyway!

Try this (as listed in the first post):

http://forum.doom9.org/showthread.php?t=135095

Extract from an iso NOT from m2ts

Blackwalker
16th December 2008, 16:35
Try this (as listed in the first post):

http://forum.doom9.org/showthread.php?t=135095

Extract from an iso NOT from m2ts

you mean i have to create a "ISO" and not a ".m2ts" file from
blu-ray??

anyway, the thread talk about mkv and not about extracting Audio & Video from a ".m2ts" or "Blu-ray" disc...or my english is
so bad??? :( :(

jmonier
16th December 2008, 17:39
you mean i have to create a "ISO" and not a ".m2ts" file from
blu-ray??

Yes

anyway, the thread talk about mkv and not about extracting Audio & Video from a ".m2ts" or "Blu-ray" disc...or my english is so bad??? :( :(

To actually play it back you will have to combine Audio & Video into an mkv using mkvmerge. It will just extract them if that's what you want to do.

This is really OT for this thread. Post further questions in that thread and I'll try to answer them.

Blackwalker
16th December 2008, 18:22
Yes



To actually play it back you will have to combine Audio & Video into an mkv using mkvmerge. It will just extract them if that's what you want to do.

This is really OT for this thread. Post further questions in that thread and I'll try to answer them.

This is OT?

someone on this forum point me here and told me that eac3to is the program i need to extract from a ".m2ts" the audio & video!
i'm not talking about mkv....

Maybe i'm wrong, but i DONT think its OT.

someone else can confirm this, this program, eac3to, can do what i need? extractint the audio & video form a ".m2ts" file or ".ts" file?

i'm a still a noob with blu-ray,but i think i need someone more expert!
thx!

nautilus7
16th December 2008, 18:27
All these posts asking how to use eac3to...
You have been directed to where you can find examples. You can also search this thread. Saying that your English is bad is no excuse.

Anyway, is it so hard to look a few pages back and find an example with m2ts file?

jmonier
16th December 2008, 18:45
This is OT?

someone on this forum point me here and told me that eac3to is the program i need to extract from a ".m2ts" the audio & video!
i'm not talking about mkv....

Maybe i'm wrong, but i DONT think its OT.

someone else can confirm this, this program, eac3to, can do what i need? extractint the audio & video form a ".m2ts" file or ".ts" file?

i'm a still a noob with blu-ray,but i think i need someone more expert!
thx!

What was OT was discussing the other (GUI) program and how it makes it easy to use eac3to and how it provides screenshots (which is what you asked for). I did try to answer your question but felt it would be better to not clutter up this thread with questions about that program.

I do use eac3to via that GUI constantly so I am at least considerably more expert than you. Since your English is so bad it's easy for you to misunderstand. You should realize this and at least be more courteous with someone who is trying to help you.

Blackwalker
16th December 2008, 19:17
wasnt my intenction to be rude in any way, really.

...and my "bad english" is not a excuse...bha!

Anyway, is it so hard to look a few pages back and find an example with m2ts file? about 400 pages...

i'm "just" asking how to use eac3to...i dont think its a crime!
at last you can reply like you just do it! or maybe you need a "+1" on your post count?

like many other i'm asking this, because i didnt see any real guide, like many other programs
with screenshoots on how to use the programs,
at last i didnt find them, thats why i'm asking.

(do you see for example the guide of ripbot? that is a real guide)


ok, i'll check by myself...i see that asking is not accepted, thx anyway and have a nice day!

i'll check some pages back or i'll read all the 369 PAGES!!

nautilus7
16th December 2008, 20:09
I wrote "a few pages back". All people here are dealing with m2ts files. Someone has already posted a log file/example recently.

Blackwalker
16th December 2008, 20:41
i'll check around, thx anyway nautilus7

rica
16th December 2008, 21:18
Have a look at this:

http://en.wikibooks.org/wiki/Eac3to/How_to_Use

More details may be found at:

http://en.wikibooks.org/wiki/Eac3to

Beastie Boy
17th December 2008, 13:07
Is eac3to or any of the default filters known to lower lfe channel volume?
I have been converting lossless audio tracks (THD & DTSHD MA) to 640kbps ac3. I have done a listening test, and the only detectable difference is a noticably weaker bass.

I always convert from the lossless data, not core. This morning, I tested the DTS MA track on Mamma Mia and bass is certainly stronger on the DTS track compared to my DD track. I noticed the same effect with Iron Man which was True-HD.

Would I need to rip to wavs first and apply a boost to the lfe channel only?

Cheers, Beastie.

EDIT: If I do: eac3to DTSHD_MA_Track.ts New_ac3_track.ac3

will this use the HD data or the core data as the source?

tebasuna51
17th December 2008, 14:04
Is eac3to or any of the default filters known to lower lfe channel volume?
No, Aften have a LFE low-pass filter but the default is don't use.

I have been converting lossless audio tracks (THD & DTSHD MA) to 640kbps ac3. I have done a listening test, and the only detectable difference is a noticably weaker bass.
These problems are, most the times, by different settings in players. The sources are identical (more os less).

Would I need to rip to wavs first and apply a boost to the lfe channel only?
This never solve the problem, only add more problems.

will this use the HD data or the core data as the source?
If you have ArcSoft/Sonic the HD, if you only decode with libav the core.

madshi
17th December 2008, 14:22
Look here for more information about LFE volume:

http://www.avsforum.com/avs-vb/showthread.php?t=748147

It's a complicated topic, but as tebasuna51 says, probably caused by settings in either your player or your receiver/amp. Strange enough if there are problems it's usually DTS which has weaker bass compared to AC3. So something is funny in your setup...

Beastie Boy
17th December 2008, 16:19
Thanks for your replies. I'm bitstreaming both codecs to my amp (Marantz SR8002) so maybe it treats the two codecs differently. Just as a comparison, I examined a portion of the lfe wave file from both the core and the HD data, and both seem to be at the same level.
I'll test playback of the core DTS track and see if there's an improvement.

Cheers, Beastie.

Beastie Boy
17th December 2008, 17:12
[offtopic, but follow-up to earlier post]
After comparing samples, the levels for all the codecs are the same. However, after some listening tests, it seems as though my amp way overblows the LFE channel of HD codecs. Both AC3 and standard DTS play correctly but, THD and DTS-HD bass totally dominates the soundtrack. I guess I'll be sticking with AC3.

Cheers, Beastie.

73ChargerFan
18th December 2008, 06:49
Weird, I was going to ask about low LFE also. I don't have a clue yet, though, as to what to do.

[/ offtopic]

Killroy™
18th December 2008, 20:39
Tried 2.82 for the first time today with a seamless branch BD and kept getting this....

[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[a04] Decoding with ArcSoft DTS Decoder...
[a04] Encoding FLAC with libFlac...
[v02] Muxing video to Matroska...
[a04] Creating file "c:\bd\movie.flac"...
[a04] The last DTS frame is incomplete and thus gets skipped.
[a04] The original audio track has a constant bit depth of 24 bits.
[a04] Audio overlaps for 10ms at playtime 0:21:43.
[a04] Audio overlaps for 10ms at playtime 0:45:09.
[a04] Audio overlaps for 9ms at playtime 0:46:59.
[a04] Audio overlaps for 12ms at playtime 0:55:06.
[a04] Audio overlaps for 9ms at playtime 1:00:39.
[a04] Audio overlaps for 9ms at playtime 1:02:56.
[a04] Audio overlaps for 6ms at playtime 1:03:40.
[a04] Audio overlaps for 6ms at playtime 1:08:03.
[a04] Audio overlaps for 8ms at playtime 1:09:37.
[a04] Audio overlaps for 9ms at playtime 1:12:00.
[a04] Audio overlaps for 10ms at playtime 1:14:02.
[a04] Audio overlaps for 8ms at playtime 1:16:25.
[a04] Audio overlaps for 13ms at playtime 1:41:02.
[a04] Audio overlaps for 7ms at playtime 1:45:20.
[a04] Audio overlaps for 6ms at playtime 1:47:45.
[a04] Audio overlaps for 9ms at playtime 1:52:03.
[a04] Audio overlaps for 7ms at playtime 1:59:16.
[a04] Audio overlaps for 6ms at playtime 2:01:06.
[a04] Audio overlaps for 9ms at playtime 2:44:49.
[a04] Audio overlaps for 45ms at playtime 2:48:33.
[a04] Source file joining currently doesn't work for FLAC files.

Also tried -2pass and it also failed.