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

madshi
6th October 2008, 08:16
You probably missed my post
Not really, but your question has already been answered about a dozen times earlier in this thread. Just do a search for "Lossless check failed".

I muxed the audio you repaired back in and the first one which I'm assuming was the same as an audio gap of 750ms reported at 54:39 didn't appear to have any problems and the audio went out of sync.

You also reported an audio gap of 745ms at 1:49:07, which would probably coincide with the discon at the 7GB mark, there was definitely a problem in that area in the original, because that was where muxing originally caused the audio/video to go out of sync, and 745ms seems probably about right.
Ok, thanks. Still not sure whether the broadcasting is faulty or whether your recording was faulty. But probably in the end it doesn't matter much...

That explains. OCR is not needed of course, it's not important at all. Thanks!
I've asked Mosu yesterday whether he can add a version resource to the GUI. That would solve the problem...

nautilus7
6th October 2008, 10:13
I've asked Mosu yesterday whether he can add a version resource to the GUI. That would solve the problem...I 've read your request! :p

Jaja1
6th October 2008, 12:53
Not really, but your question has already been answered about a dozen times earlier in this thread. Just do a search for "Lossless check failed".
I know this used to show up on the join spots of seamless branching movies and that this wasn't a problem anymore, but this one is a single file. I see however that this isn't clear from the log or post, stupid of me. So the same "no problem" applies to non-seamless branching movies as well?

madshi
6th October 2008, 13:12
If it's after "[libav] End of stream indicated" then it doesn't matter.

rica
6th October 2008, 22:02
Hi guys,
I've been making some trials for two days.
Finally i can say it is possible to demux directly from BD/HD Disc to HDD with eac3to; which means lots of unwanted things won't be ripped on your disk. AnyDVD-HD is working on the back stage btw.
I selected one of the most difficult ones of my collection which including many m2ts files in one playlist for test.
No issues.




getting playlist info:

C:\>eac3to\eac3to.exe E:
1) 00056.mpls, 2:17:14
[0+2+6+8+9+12+13+15+16+19+20+21+24+25+26+28+118+119+32+33+34+37+39+40+42+43+45+46+49].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- DTS Master Audio, English, multi-channel, 48khz
**************************

getting track info:

C:\>eac3to\eac3to.exe E: 1)
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
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
5: Subtitle (PGS), English
****************
First Pass:

C:\>eac3to\eac3to.exe E: 1) 2: G:\Out\video_BD.h264 4: G:\Out\audio.dtshd

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
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
5: Subtitle (PGS), English
**************
[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[v02] Creating file "G:\Out\video_BD.h264"...
[a04] Creating file "G:\Out\audio.dtshd"...
[a04] Audio overlaps for 7ms at playtime 0:23:06.
[***********************************
[a04] Audio overlaps for 10ms at playtime 2:11:04.
[a04] The audio file was demuxed without making use of the gap/overlap information.
[a04] Please rerun the same eac3to command line. That will correct the gaps/over
laps.
Video track 2 contains 197424 frames.
eac3to processing took 1 hour, 13 minutes.
Done.

Second Pass:

C:\>eac3to\eac3to.exe E: 1) 2: G:\Out\video_BD.h264 4: G:\Out\audio.dtshd

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
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
5: Subtitle (PGS), English

Audio gap description file detected, will be used for processing...
[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[a04] Realizing DTS gaps...
[v02] Creating file "G:\Out\video_BD.h264"...
[a04] Creating file "G:\Out\audio.dtshd"...
Video track 2 contains 197424 frames.
eac3to processing took 1 hour, 12 minutes.
Done.

saint-francis
7th October 2008, 00:15
Hi guys,
I've been making some trials for two days.
Finally i can say it is possible to demux directly from BD/HD Disc to HDD with eac3to; which means lots of unwanted things won't be ripped on your disk. AnyDVD-HD is working on the back stage btw.
I selected one of the most difficult ones of my collection which including many m2ts files in one playlist for test.
No issues.


If you look back to the early days of this thread you will see that many people attempting what you are ran into many problems. Maybe anydvd has improved since then, I don't know. The one time I tried it I got eac3to to successfully process the video but it had all kinds of crazy colors from time to time. The only solution to the problem was to rip the disk first.

rebkell
7th October 2008, 00:21
Wow, I've been doing this for the last 2 or 3 months or so, ever since Madshi got the playlists working for blu-rays, and I've never had any problems.

rica
7th October 2008, 00:25
If you look back to the early days of this thread you will see that many people attempting what you are ran into many problems. Maybe anydvd has improved since then, I don't know. The one time I tried it I got eac3to to successfully process the video but it had all kinds of crazy colors from time to time. The only solution to the problem was to rip the disk first.

No, i think you have to update.
I also asked slysoft guys.
I think the problem has been solved.
Why not give it a go?

rica
7th October 2008, 00:34
Wow, I've been doing this for the last 2 or 3 months or so, ever since Madshi got the playlists working for blu-rays, and I've never had any problems.

Thanks for the feedback but why didn't you share this before; if i've missed any post from you sorry in advance.

saint-francis
7th October 2008, 00:47
Wow, I've been doing this for the last 2 or 3 months or so, ever since Madshi got the playlists working for blu-rays, and I've never had any problems.

Crazy. I follow this thread religiously and I haven't seen any mention of people doing this since everyone generally decided that it was unsafe.


I think the problem has been solved.
Why not give it a go?

Thanks, I will!

peterjcat
7th October 2008, 06:11
I also assumed that people were just using eac3to straight from the disc with AnyDVD HD in the background! I only ever rip to HDD first when I know I'll have to do more than one pass for whatever reason. When I've had problems, ripping to HDD first has never fixed them. I think realtime AnyDVD HD must be pretty much transparent by now.

rebkell
7th October 2008, 06:28
Thanks for the feedback but why didn't you share this before; if i've missed any post from you sorry in advance.

I never intended to hold anything back, every example I've ever used always started off with eac3to d: , with d: being my Blu-ray/HD-DVD drive, I just assumed everyone was going straight from their drives. Sorry guys, I really thought everyone was just using their drive in combination with anydvd.

fib0by
7th October 2008, 06:35
Trying to demux files recorded with MythTV from digital HD cable. eac3to reports a very large time difference for the audio track, over 1000 ms. How is that possible?

E:\>eac3to E:\debate\1091_20080926180000.mpg
TS, 1 video track, 3 audio tracks, 1:59:57
1: MPEG2, 1080i60 /1.001 (16:9)
2: AC3, English, 2.0 channels, 384kbps, 48khz, dialnorm: -24dB, -1150ms
3: AC3, French, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, -1092ms
4: AC3, esl, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, -1059ms

Here's a 50 MB sample:

http://www.sendspace.com/file/b12wpo

The file is played fine by MythTV, audio and video are in sync.

I demuxed the sample with eac3to and remuxed the tracks with tsMuxeR. The final result played fine, audio and video were in sync, but a chunk at the beginning of the video, about a second long, was missing - so it looks like eac3to dropped some video to compensate for the time difference. That's fine, it doesn't bother me too much.

So all is well, more or less, but I'm puzzled by the size of the difference. Is that how HD is being transmitted? Or is it something that MythTV did?

EPiPH0NE
7th October 2008, 07:29
Crazy. I haven't seen any mention of people doing this since everyone generally decided that it was unsafe.

Been doing it for ages now with zero issues.

rica
7th October 2008, 19:13
Hey guys, thanks for the feedbacks.

fofwp
8th October 2008, 06:24
I have an issue with Constantine and Serenity HD-DVD's. I converted the audio for both these titles to ac3 (using libav), and it appears that at some places the audio clips.

I can upload a small clip of a particular scene in Constantine where this is most prominent. The scene is a flashback when he is a kid and he sees a demon on a bus. However, I don't know how to cut this small portion out of the main mkv. Any help?

madshi
8th October 2008, 07:46
Trying to demux files recorded with MythTV from digital HD cable. eac3to reports a very large time difference for the audio track, over 1000 ms. How is that possible?

E:\>eac3to E:\debate\1091_20080926180000.mpg
TS, 1 video track, 3 audio tracks, 1:59:57
1: MPEG2, 1080i60 /1.001 (16:9)
2: AC3, English, 2.0 channels, 384kbps, 48khz, dialnorm: -24dB, -1150ms
3: AC3, French, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, -1092ms
4: AC3, esl, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, -1059ms

Here's a 50 MB sample:

http://www.sendspace.com/file/b12wpo

The file is played fine by MythTV, audio and video are in sync.

I demuxed the sample with eac3to and remuxed the tracks with tsMuxeR. The final result played fine, audio and video were in sync, but a chunk at the beginning of the video, about a second long, was missing - so it looks like eac3to dropped some video to compensate for the time difference. That's fine, it doesn't bother me too much.

So all is well, more or less, but I'm puzzled by the size of the difference. Is that how HD is being transmitted? Or is it something that MythTV did?
That's how it's transmitted, sometimes. Nothing wrong with that. As long as audio sync is correct there's nothing to worry about. Although I'll check why the first video frames seem to be missing. Shouldn't really be the case. eac3to dismisses non-"I" frames at the beginning of the stream. But these non-"I" frames should not decode correctly, anyway.

P.S: Just checked: The first video frames are in the file before the file information package. So basically in order to understand the first video frames eac3to would have to first read a part of the file to find the information package and then skip back to the beginning and reread everything. That's not how eac3to works right now. But it should be possible to do it. I'll put it on my to do list.

BTW, what is that third audio track? The first two audio streams have the language identifiers "eng" (English) and "fra" (French). But the third has the language identifier "esl" which I don't know how to interpet.

I have an issue with Constantine and Serenity HD-DVD's. I converted the audio for both these titles to ac3 (using libav), and it appears that at some places the audio clips.

I can upload a small clip of a particular scene in Constantine where this is most prominent. The scene is a flashback when he is a kid and he sees a demon on a bus. However, I don't know how to cut this small portion out of the main mkv. Any help?
I'd need the original E-AC3 data for that scene. You can demux the original data by using eac3to. Then you can use delaycut to cut it down.

deathlord
8th October 2008, 14:35
A sample would be nice. Are you sure that the back channels are silent throughout the whole movie? I mean they may be silent for most of the movie, but maybe they're used only once in a while?

Sorry for taking so long. I have scanned through the file several times and the back channels are always at -inf. However, I don't know how to systematically check if there really is no signal whatsoever.
Here is a sample:
http://www.megaupload.com/?d=GLQ2UP05

deathlord

fib0by
9th October 2008, 05:47
That's how it's transmitted, sometimes. Nothing wrong with that. As long as audio sync is correct there's nothing to worry about.

Right, I was just curious.
So, you're saying, that's how it comes through the cable. Well, I just recorded another show, same channel, and the values are different:

E:\debate>eac3to debate2.mpg
TS, 1 video track, 3 audio tracks, 1:59:55
1: MPEG2, 1080i60 /1.001 (16:9)
2: AC3, English, 2.0 channels, 384kbps, 48khz, dialnorm: -24dB, -872ms
3: AC3, French, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, -846ms
4: AC3, esl, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, -813ms

Weird. Why would they change the delay all the time?

BTW, what is that third audio track? The first two audio streams have the language identifiers "eng" (English) and "fra" (French). But the third has the language identifier "esl" which I don't know how to interpet.

I have no idea. The content of all 3 tracks seems to be the same (english).

ACrowley
9th October 2008, 07:27
can anybody give me a link to some 7.1 samples (dtshd,truehd) ?

edit:
i have some samples now

Greif
10th October 2008, 00:23
BTW, what is that third audio track? The first two audio streams have the language identifiers "eng" (English) and "fra" (French). But the third has the language identifier "esl" which I don't know how to interpet.

I've never seen it before, but it probably refers to English as a Second Language.

fib0by
10th October 2008, 00:24
Would it be possible to have a simpler chapter listing?
Right now, from the chapters list provided by eac3to, I filter out any line containing the string "NAME"; then, from the remaining lines, I only retain everything after the "=" sign. Like this:

cat chaps.txt | grep -v NAME | cut -d = -f 2 > chapters.txt

(This is Bash shell, yes, but it's still on Windows, under Cygwin. I haven't tried to run eac3to on Linux under emulation yet.)

So, what I'm saying is, it would be nice if eac3to could simply dump the list of timestamps, one timestamp per line. No names, no equal signs, nothing else, just the "naked" timestamp values. I never had a need for anything else from the current format of the chapters list and I don't even know if there's a case when that information could be useful - it seems redundant to me.
The "naked" list could easily be imported in tsMuxeR or other applications that simply require a list of timestamps, no need to filter out other things.

Or even more generic: create a list of "naked" timestamps, and let the user choose the separator. Users of the tsMuxeR GUI version will prefer a list separated by newline, because that's how tsMuxeR GUI wants the list. Users of the command-line muxer would prefer comma as a separator, because that's the way to pass the list to the command-line muxer (-blah=timestamp1,timestamp2,timestamp3.......).

If not possible, then OK. I can continue to do the grep thing. It's just a feature that's nice to have.

Zwitterion
10th October 2008, 02:35
Would it be possible to have a simpler chapter listing?
Eac3to currently uses the OGG format which is used in MKVmerge and MP4box.
I think too many chapter formats would bloat eac3to unnecessarily. I'd prefer a simple tool which can convert between various chapter formats (is there such a thing?).

odin24
10th October 2008, 03:02
Eac3to currently uses the OGG format which is used in MKVmerge and MP4box.
I think too many chapter formats would bloat eac3to unnecessarily. I'd prefer a simple tool which can convert between various chapter formats (is there such a thing?).

Subtitle Workshop.

http://www.urusoft.net/download.php?lang=1&id=sw

rack04
10th October 2008, 04:05
Trying to work with Ratatouille. Anybody know what the difference is in the angles?

http://i11.photobucket.com/albums/a199/rack04/untitled-1.jpg

Octo-puss
10th October 2008, 08:40
What exactly does this message mean?
[a05] The libav DTS decoder doesn't decode the full DTS-HD information
It processes the file, but I wonder how big problem it is.
The first post mentions some decoders. How do I make eac3to work with them? Automatically by installing them?

Where do I obtain the libav/ffmpeg TrueHD? This one seems to be free by looks of it and since it's said it works fine, I thought it'd be the thing.

nautilus7
10th October 2008, 08:48
Trying to work with Ratatouille. Anybody know what the difference is in the angles?
You can play the different .m2ts files to figure out what's about. Most probably it has to do with language specific parts.

What exactly does this message mean?
[a05] The libav DTS decoder doesn't decode the full DTS-HD information
It processes the file, but I wonder how big problem it is.It means that only the DTS core of the track will be decoded and used as source. If you want t make a flac from this track, then it is a serious problem.

The first post mentions some decoders. How do I make eac3to work with them? Automatically by installing them? Yes, as long they are installed in your system they work with eac3to. the command eac3to -test will give a report about the installed decoders.

Where do I obtain the libav/ffmpeg TrueHD? This one seems to be free by looks of it and since it's said it works fine, I thought it'd be the thing. The libav decoder comes with eac3to package.

Octo-puss
10th October 2008, 08:59
It means that only the DTS core of the track will be decoded and used as source. If you want t make a flac from this track, then it is a serious problem.
That I don't understand. What is the DTS core?
The source is DTS Master Audio, variable bitrate from what I saw in MediaInfo. All I did was tell eac3to to save it as .dts.

Yes, as long they are installed in your system they work with eac3to. the command eac3to -test will give a report about the installed decoders.

The libav decoder comes with eac3to package.
Well, if it comes with the program, I don't understand why I got the above message, when the first post states it works perfectly well with DTS.
Doing eac3to - test provided no information about it, btw.

nautilus7
10th October 2008, 09:06
DTS core is a DTS track inside the DTS-HD track.

Libav works with fine with DTS, not DTS-HD. It is only able to decode DTS tracks thus only the DTS core of the DTS-HD track.

Libav isn't listed under the -test command, because it isn't a directshow decoder and doesn't need installation.

Octo-puss
10th October 2008, 09:13
Aha, so it's just a little bit lower quality, but nothing too bad?
I am looking at arcsoft.com and can't seem to find any word about the dts decoder. What gives?

nautilus7
10th October 2008, 09:20
Well, i wouldn't say a little bit lower, since DTS-HD master audio is a lossless format, while DTS is lossy, but all depends on your ears and sound equipment.

Have a look at the wikibooks page of eac3to (http://en.wikibooks.org/wiki/Eac3to) under the how to use section to find info about the needed decoders.

Octo-puss
10th October 2008, 09:33
thanks a lot dude

himan2001
10th October 2008, 11:21
Hello Madshi.

I have strange problems with the Seemless Branching Movie Harold & Kumar 2:

on EVERY gap-fixed Point is a Loud Spike in the AC3 encoded file. As i remember older Versions doesnīt have this Problem.

There is a special reason for using Sonic instead ArcSoft: Arcsoft produces sometimes distorted audio while downmixing from 7.1 -> 5.1:

eac3to v2.66
command line: eac3to 10) 2: d:\video.mkv 3: d:\audio.ac3 -448 -sonic
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 1:47:41
1: Chapters, 23 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48khz
4: DTS Master Audio, English, 2.0 channels, 24 bits, 48khz
5: DTS, English, 2.0 channels, 24 bits, 256kbps, 48khz
6: Subtitle (PGS), English
7: Subtitle (PGS), Spanish
[a03] The Sonic Audio Decoder doesn't fully decode 7.1 channels.
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Decoding with DirectShow (Sonic Audio Decoder)...
[v02] Muxing video to Matroska...
[a03] DirectShow reports 5.1 channels, 24 bits, 48khz
[a03] Encoding AC3 <448kbps> with libAften...
[a03] Creating file "d:\audio.ac3"...
[a03] This audio track has a constant bit depth of 24 bits.
[a03] Audio overlaps for 10ms at playtime 0:10:23.
[a03] Audio overlaps for 6ms at playtime 0:11:23.
[a03] Audio overlaps for 9ms at playtime 0:11:48.
[a03] Audio overlaps for 8ms at playtime 0:12:47.
[a03] Audio overlaps for 10ms at playtime 0:19:52.
[a03] Audio overlaps for 9ms at playtime 0:22:30.
[a03] Audio overlaps for 15ms at playtime 0:45:02.
[a03] Audio overlaps for 10ms at playtime 0:48:46.
[a03] Audio overlaps for 7ms at playtime 0:49:10.
[a03] Audio overlaps for 6ms at playtime 1:01:05.
[a03] Audio overlaps for 11ms at playtime 1:02:25.
[a03] Audio overlaps for 7ms at playtime 1:05:19.
[a03] Audio overlaps for 10ms at playtime 1:06:19.
[a03] Audio overlaps for 9ms at playtime 1:20:48.
[a03] Audio overlaps for 6ms at playtime 1:36:53.
[a03] Audio overlaps for 7ms at playtime 1:38:12.
[a03] Audio overlaps for 5ms at playtime 1:39:25.
[a03] Audio overlaps for 8ms at playtime 1:40:22.
[a03] The audio file was demuxed without making use of the gap/overlap information.
[a03] Please rerun the same eac3to command line. That will correct the gaps/overlaps.
Added fps value to MKV header.
Video track 2 contains 154945 frames.
eac3to processing took 37 minutes, 46 seconds.
Done.

I found out that with actual 2.66-Version itīs no longer possible to decode the audio from german HD-DVD "Terminator 2" with ARCSoft DTS-Decoder.
This HD-DVD has two 7.1 Audios.

eac3to stops with invalid Channel-Table, when using ArcSoft.
Set Deocder to -sonic then it works fine - by decoding 5.1 only.

Another issue i found by decoding "Superman-The Movie".
(5.1/AC3/640 -> 5.1/AC3/448)
The Result was defect/unusuable/crap. (an AC3-File with invalid timecode and only noise in it)

Going the manual way: .wavs -down16 -> encode the wavs to 5.1 was working fine. This Movie has 2,5 hours Playtime.
Maybe a new boundery bug (4 GB, or something) ?

I testet an older Version of eac3to (2.58) and figured out, that this issues here is not present. ?! Hmm....

Edit:


ac3to v2.66
command line: eac3to 10) 3: d:\audioARCsoft.ac3 -448
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 1:47:41
1: Chapters, 23 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48khz
4: DTS Master Audio, English, 2.0 channels, 24 bits, 48khz
5: DTS, English, 2.0 channels, 24 bits, 256kbps, 48khz
6: Subtitle (PGS), English
7: Subtitle (PGS), Spanish
Audio gap description file detected, will be used for processing...
[a03] AC3 encoding only supports 6 channels. Will mix the surround channels.
[a03] Extracting audio track number 3...
[a03] Mixing surround channels...
Loading white noise (needed for dithering)...
[a03] Decoding with ArcSoft DTS Decoder...
[a03] Encoding AC3 <448kbps> with libAften...
[a03] Realizing RAW/PCM gaps...
[a03] Creating file "d:\audioARCsoft.ac3"...
[a03] This audio track has a constant bit depth of 24 bits.
Video track 2 contains 154945 frames.
eac3to processing took 27 minutes, 47 seconds.
Done.


Retested it with Arcsoft and has same result. On All fixed gaps loud sparkles...

Edit2:

Found a working Solution:


eac3to v2.66
command line: eac3to 10) 3: d:\audio.dts -core
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 1:47:41
1: Chapters, 23 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48khz
4: DTS Master Audio, English, 2.0 channels, 24 bits, 48khz
5: DTS, English, 2.0 channels, 24 bits, 256kbps, 48khz
6: Subtitle (PGS), English
7: Subtitle (PGS), Spanish
Audio gap description file detected, will be used for processing...
[a03] Extracting audio track number 3...
[a03] Extracting DTS core...
[a03] Realizing DTS gaps...
[a03] Creating file "d:\audio.dts"...
Video track 2 contains 154945 frames.
eac3to processing took 15 minutes, 6 seconds.
Done.

and then:

eac3to v2.66
command line: eac3to audio.dts audio.ac3 -448
------------------------------------------------------------------------------
DTS, 5.1 channels, 1:47:43, 24 bits, 1536kbps, 48khz
Decoding with DirectShow (Sonic Audio Decoder)...
DirectShow reports 5.1 channels, 24 bits, 48khz
Encoding AC3 <448kbps> with libAften...
Creating file "audio.ac3"...
eac3to processing took 17 minutes, 17 seconds.
Done.


The DTS-Core is only 5.1 and was gap-fixed without problems.
I checked the final AC3 result on ALL gap-marks/timecodes and file is OK!

So using 7.1? or DTS-HD directly (without core) there are problems in the fill/add/appendpoint/whatever/? routine...

Can you check what is wrong when gap-fixxing the Raw DTS-HD Stream instead the core in the 2.nd fixx-run ?

i tryed the last step with version 2.65 and version 2.66 and booth encoded ac3-files are ok NOW - but in version 2.66 the final file was 2 AC3-frames shorter as when using 2.65.

frank
10th October 2008, 19:31
rica wrote:
Remuxing of BDs including multiple m2ts files with TSMuxer doesn't correct or remove the gaps/overlaps; so they have to be re-processed by eac3to,
eac3to can not correct gaps/overlaps of True HD files on those BDs, so they have to be transmitted to any other uncompressed or lossless files like pcm or wav or flac.
There is an easier way.
Load the re-encoded video stream into tsMuxer. Then load the playlist .mpls into tsMuxer, select only the wanted original audio stream and mux direct to Blu-ray.
tsMuxer respects the audio gaps!
You will get a synchronous BD.

rica
10th October 2008, 19:59
rica wrote:

There is an easier way.
Load the re-encoded video stream into tsMuxer. Then load the playlist .mpls into tsMuxer, select only the wanted audio stream and mux direct to Blu-ray.
tsMuxer respects the audio gaps!
You will get a synchronous BD.

Frank,

I did try this before, as is.
I got the playlist information from BDInfo and directly remuxed needed files.(via TSMuxer)
When i tried to demux back with eac3to, i saw the gaps/overlaps again in created m2ts under BDMV.

Is any tip/trick in loading re-encoded video; i didn't understand? Why re-encoded video?

frank
11th October 2008, 10:41
No need to reencode if you want to stay at 1920x1080.
But I only use 720p, burning on DVD-9. That's why I reencode.

Don't demux the sound track with these gaps!
If you need the separated track you have to process with eac3to that handles the gaps.

Switch to the ripped BD folder and start the command
<path> eac3to.exe .Watch the output and then make your batch.

Example:
d:\eac3\eac3to.exe 2) 4: cetk.ac3

eac3to needs some seconds to search subfolders for the needed mpls and starts demuxing the core.
Make 2 runs. The second one compensates the gaps.

It works with TrueHD!

rica
11th October 2008, 10:55
Frank,
what i am trying to say is TSMuxer remuxing doesn't correct the gaps and overlaps. So those gaps/overlaps must be corrected by eac3to before remuxing with TSMuxer.

madshi
11th October 2008, 11:03
Not necessarily. Those combined m2ts files with overlaps in them can still play correctly, if the media player is clever enough. Personally, I don't like the idea of having such "dirty" m2ts movie files, though, where you depend on the media player working around the problem...

frank
11th October 2008, 11:06
No. As I said, TsMuxeR respects the timestamps and gaps exactly if you mux the sound via playlist .mpls. Movie plays the same way as with gaps (that are only discontinuities in timestamps) on the original BD.
On remuxing you can select the AC3 core in TsMuxeR.

If you remux a demuxed track then TsMuxeR combines all sound packets continously. Gaps are not respected and the result is asynchronous.

I managed the same movie as you and all things are ok.

rica
11th October 2008, 11:09
I've been really confused :confused:

Edit:Think about i first get an m2ts remux via TSMuxer (directly from mpls)
Demux audio with TSMuxer(as is)/not with eac3to and
Remux back with TSMuxer.
What happens?
Will TSMuxer respect the timestamps this time since audio has been demuxed by itself?

himan2001
11th October 2008, 17:36
I found another small bug:

When a DTS 7.1 Track is in a m2ts-File and try to encode the -CORE 5.1 to ac3; eac3to ignore the -core setting
and will downmix the DTS-HD from 7.1 to 5.1 with Arcsoft.

Demuxing the -core from the file first and encode the resulting 5.1 core later is OK.

Greif
11th October 2008, 18:02
Try out this new GUI and let me know what you think:

http://forum.doom9.org/showthread.php?p=1193742#post1193742

http://stuff.griffore.com/stuff/HdBrStreamExtractor.jpg

shon3i
11th October 2008, 18:38
Try out this new GUI and let me know what you think:

http://forum.doom9.org/showthread.php?p=1193742#post1193742

http://stuff.griffore.com/stuff/HdBrStreamExtractor.jpg
http://img410.imageshack.us/img410/3444/29906746cs2.jpg

I think i have problem :) On mine sistem i have Net Framework 2.0 SP1 installed, i put this exe into eac3to folder and just started app and i get error :)

nautilus7
11th October 2008, 23:08
I found another small bug:

When a DTS 7.1 Track is in a m2ts-File and try to encode the -CORE 5.1 to ac3; eac3to ignore the -core setting
and will downmix the DTS-HD from 7.1 to 5.1 with Arcsoft.

Demuxing the -core from the file first and encode the resulting 5.1 core later is OK.Can you post your command line? You most probably do something wrong.

flyingernst
12th October 2008, 12:22
when I demux TrueHD Files to flac (without options), they only get decoded/encoded in 16bit? Would it be better to hang on any options?!

decode with ffmpeg:
[a04] Extracting audio track number 4...
[a04] Extracting TrueHD stream...
[a04] Removing TrueHD dialog normalization...
[a04] Decoding with libav/ffmpeg...
[a04] Encoding FLAC with libFlac...
[a04] Creating file "E:\legend\englisch.24bit.flac"...
[libav] End of stream indicated
[libav] Lossless check failed - expected 0, calculated 15
[a04] This audio track has a constant bit depth of 16 bits.
[a04] The zero bytes were successfully removed.
Video track 2 contains 149472 frames.
eac3to processing took 13 minutes, 52 seconds.
Done.


decode with nero

[a04] Extracting audio track number 4...
[a04] Extracting TrueHD stream...
[a04] Removing TrueHD dialog normalization...
[a04] Decoding with DirectShow (Nero Audio Decoder 2)...
[a04] DirectShow reports 5.1 channels, 24 bits, 48khz
[a04] Encoding FLAC with libFlac...
[a04] Creating file "E:\legend\englisch2.24bit.flac"...
[a04] This audio track has a constant bit depth of 16 bits.
[a04] The zero bytes were successfully removed.
Video track 2 contains 149472 frames.
eac3to processing took 15 minutes, 6 seconds.
Done.

which options should i use so that a 24bit TrueHD does not get downconverted
Thanks, Greetings, Michael

tebasuna51
12th October 2008, 13:06
...
[a04] This audio track has a constant bit depth of 16 bits.
...

which options should i use so that a 24bit TrueHD does not get downconverted

Isn't downconverted, the initial source was 16 bit depth.
:search:

odin24
12th October 2008, 15:21
Guys, I'm trying to work with an HDDVD structured folder but eac3to doesn't recognize it. I get the error "HDDVD / Blu-ray disc structure not found", when in fact I havn't modified it in any way.

I also noticed the "feature_0.evo" and "feature_1.evo" are actually named feature_|0.evo and feature_|1.evo, and there is no VPLST000.XPL file, just 001 and 003.

This is my first attempt at an HDDVD, thanks for the help.

madshi
12th October 2008, 15:25
Try renaming one of the VPLST files to VPLST000.XPL.

frank
12th October 2008, 17:36
@rica
Demux audio with TSMuxer(as is)/not with eac3to and
Remux back with TSMuxer.
What happens?
Will TSMuxer respect the timestamps this time since audio has been demuxed by itself? No, you'll get asynchronous results.

nautilus7
12th October 2008, 17:52
Why do people keep talking about tsmuxer here. This i can't understand!



@madshi, I have a feature request.

Since DTS Pro Encoder is spreading more and more and we can create 6.1 DTS files, i am thinking of some additions.

-down7 switch which takes a 7.1 track and convert it to 6.1 by mixing together the BL and BR channels to BC.
-proper patch for the agm writer to support 6.1 if not already done.
-if output is agm and source 7.1 and no downmix option is specified, then automatic downmix to 6.1 should be applied as in 6/7.1 --> dts with surcode.

Also why -down6 isn't working on 7.1ch TrueHD tracks? (eac3to input.thd output.wav -down6)