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

bmnot
26th December 2007, 02:10
I'm getting the same error Chumbo got on page 106, with TrueHD -> DTS using 1.12

eac3to.exe S:\Movie\HVDVD_TS\PEVOB_1.EVO+S:\Movie\HVDVD_TS\PEVOB_2.EVO 4: M:\movie.dts
EVO/VOB, 1 video track, 4 audio tracks, 2:31:19
1: Joined EVO/VOB file
2: VC-1
3: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
4: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB
5: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
6: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
Extracting audio track number 4...
Removing dialog normalization...
Writing WAVs...
Creating/writing file "M:\movie.L.wav"...
Creating/writing file "M:\movie.C.wav"...
Creating/writing file "M:\movie.LFE.wav"...
Creating/writing file "M:\movie.SL.wav"...
Creating/writing file "M:\movie.SR.wav"...
Creating/writing file "M:\movie.R.wav"...
-------------------------------------------------------------------------------[mlp @ 68A4E2E0]End of stream indicated
[mlp @ 68A4E2E0]Substream 1 parity check failed
[mlp @ 68A4E2E0]Substream 1 checksum failed
[mlp @ 68A4E2E0]Substream 1 length mismatch.
The libav decoder reported an error while decoding.

Retried a few times to the same error message. Even re-ripped with the same error. Have done similar conversions with no problems. I don't want to install Nero.

nautilus7
26th December 2007, 02:37
It's a known bug in the ffmpeg decoder. Until it's fixed you'll have to use nero.

calinb
26th December 2007, 03:04
Thanks. LPCM demuxing will be fixed in the next build.No--as always, thank you, madshi. LPCM works great now!
:thanks:

Xorcist
26th December 2007, 10:19
Wow, this tool is really evolving! Thanks for the great effort madshi!

I've tried to demux a couple of evos and it seems to work very well! However I have a question regarding the handling of delay. I've tried searching this thread and couldn't find an answer, but forgive me if I've overlooked a post or two.

I have several evos with TrueHD audio and a negative audio delay. I've demuxed them using this command:

eac3to "T:\sources\movie.EVO" 1: "H:\encoding\movie.h264" 2: "H:\encoding\movie.thd"

This works very well, and since TrueHD can't be delayed the output audio file is named "movie DELAY -67ms.thd". Now I want to make an AC3 out of this file, but I'm unsure as to whether eac3to delays it for me automatically. IMHO it should, but when I compress it to AC3 I get the following output:

eac3to "H:\encoding\movie DELAY -67ms.thd" "H:\encoding\movie.ac3" -nero
TrueHD, 5.1 channels, 48khz
Decoding with DirectShow (Nero Audio Decoder 2)...
DirectShow reports 5.1 channels, 24 bits, 48khz
Encoding AC3...
Creating/writing file "H:\encoding\movie.ac3"...

This suggests that delay is NOT being applied because when I do this I can see that "Applying RAW/PCM delay...":

eac3to "H:\encoding\movie DELAY -67ms.thd" "H:\encoding\movie.ac3" -nero -67ms
TrueHD, 5.1 channels, 48khz
Decoding with DirectShow (Nero Audio Decoder 2)...
DirectShow reports 5.1 channels, 24 bits, 48khz
Applying RAW/PCM delay...
Encoding AC3...
Creating/writing file "H:\encoding\movie.ac3"...

PS. I figured maybe I could demux and compress to ac3 in one go, but I guess that's not possible (yet?)

eac3to "T:\sources\movie.EVO" 1: "H:\encoding\movie.h264" 2: "H:\encoding\movie.ac3" -nero
EVO, 1 video track, 3 audio tracks, 0:50:30
1: h264/AVC, 1080p24 /1.001
2: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB, -67ms
3: AC3, 2.0 channels, 192kbit/s, 48khz, -99ms
4: AC3, 2.0 channels, 192kbit/s, 48khz, -99ms
This audio conversion is not supported.

shanghai2004
26th December 2007, 13:11
eac3to v2.12 released

<snap>
* EVO 16 bit and 24 bit LPCM demuxing supported now (need samples for 20 bit)
* some little bugs fixed[/code]

Very good! Thanks a lot!
Tested the LPCM track conversion, goes perfect now. Thanks again!

Some new issues seems to be present:

1) Now eac3to -test reports a problem with Nero
Nero Audio Decoder (Nero 7 or older) is not working correctly
Sonic Audio Decoder (4.1.1.32) works fine
Haali Media Splitter (2007-11-19) is installed
Surcode DTS Encoder (1.0.21.0) is installed
MkvToolnix (v2.1.0) is installed

2) Remux this EVO to MKV now seems to hang eac3to:
C:\HDDVD\HVDVD_TS>e:\eac3to\eac3to concert_pt1_1.evo+concert_pt1_2.evo+concert_p
t2.evo movie.mkv
EVO, 1 video track, 2 audio tracks, 2:44:24
1: Joined EVO file
2: VC-1, 1080i60 /1.001
3: RAW/PCM, 2.0 channels, 24 bits, 48khz
4: DTS Master Audio, 5.1 channels, 24 bits, 48khz, dialnorm: -4dB
Extracting audio track number 4...
Muxing video to Matroska...
Extracting audio track number 3...
Reading RAW/PCM...
Swapping endian...
Encoding FLAC...
Removing dialog normalization...
Decoding with DirectShow (Sonic Audio Decoder)...
DirectShow reports 5.1 channels, 24 bits, 48khz
Encoding FLAC...

...and stays like that, no ---- is showed, 50% cpu usage (dual core), no output after 2 hours of waiting.

Tried to process an episode of BBC's Planet Earth and that works great, so everything seems to be installed OK.

Anything I can try?

nautilus7
26th December 2007, 14:41
1) Now eac3to -test reports a problem with Nero
Nero Audio Decoder (Nero 7 or older) is not working correctly
Sonic Audio Decoder (4.1.1.32) works fine
Haali Media Splitter (2007-11-19) is installed
Surcode DTS Encoder (1.0.21.0) is installed
MkvToolnix (v2.1.0) is installed
It seems like you don't have nero hd dvd/blu-ray plug-in purchased.

Thunderbolt8
26th December 2007, 16:11
got a problem with the departed HD DVD, wanted to remux the video to .mkv and the truehd audio to flac, but at the end I received this message and I only got the .mkv output file, but no flac file:

G:\eac3to>eac3to G:\pevob_1.evo+G:\pevob_2.evo 2: departed.mkv 4: departed.flac
EVO, 1 video track, 4 audio tracks, 2:31:19
1: Joined EVO file
2: VC-1, 1080p24 /1.001
3: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
4: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB
5: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
6: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
Extracting audio track number 4...
Removing dialog normalization...
Encoding FLAC...
Muxing video to Matroska...
Creating/writing file "departed.24bit.flac"...
-------------------------------------------------------------------------------
[mlp @ 68A4E2E0]End of stream indicated
[mlp @ 68A4E2E0]Substream 1 parity check failed
[mlp @ 68A4E2E0]Substream 1 checksum failed
[mlp @ 68A4E2E0]Substream 1 length mismatch.
The libav decoder reported an error while decoding.
Waiting for DirectShow decoder thread to finish. Please wait...

G:\eac3to>

any idea what happened? should I just demux the track manually with evodemux and then convert to flac with eac3to?
btw. when I try to seek in that video file and i got a nice buffering % displayed at mpc, which takes awful long and nothing happens until then. maybe the timestamps havent been rewritten in this case? (when I rightclick -> properties on that file and then ->media then as muxer only eac3to and haali directshow is mentioned, while I believe with other files also mkvmerge was mentioned; the track length is also 6 seconds shorter than the audio track length, maybe this might indicate something) or the video remuxing also stopped shortly before the end :S

btw. I get the same error when I rebuilt the flac file seperately with evodemux and then demux it and try to convert it to flac using eac3to:

G:\eac3tp>eac3to G:\departed.truehd G:\departed.flac
TrueHD, 5.1 Channels, 48kHz, dialnorm -27dB
Removing dialog normalization...
Encoding FLAC...
Creating/writing file "G:\departed.24bit.flac"...
-------------------------------------------------------------------------------
[mlp @ 68A4E2E0]End of stream indicated
[mlp @ 68A4E2E0]Substream 1 parity check failed
[mlp @ 68A4E2E0]Substream 1 checksum failed
[mlp @ 68A4E2E0]Substream 1 length mismatch.
The libav decoder reported an error while decoding.

G:\eac3to>


I did the video remux of the departed also seperately again, without the audio conversion in the same step and now it worked properly:

G:\eac3to>eac3to G:\pevob_1.evo+G:\pevob_2.evo 2: G:\departed.mkv
EVO, 1 video track, 4 audio tracks, 2:31:19
1: Joined EVO file
2: VC-1, 1080p24 /1.001
3: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
4: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB
5: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
6: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
Muxing video to Matroska...
Rewriting MKV timecodes by using "mkvmerge". Please wait...

mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:39:56
'G:\departed.old.mkv': Using the Matroska demultiplexer.
'G:\departed.old.mkv' track 1: Using the video output module.
The file 'G:\departed.mkv' has been opened for writing.
progress: 100%
The cue entries (the index) are being written...
Muxing took 887 seconds.

Video track 2 contains 217679 frames.
eac3to processing took 55 minutes, 46 seconds.
Timestamp rewriting took 14 minutes, 47 seconds.
Done.
therefore it seems like that the video remuxing process also stopped because there was an error with the audio conversion, when executing both in the same step as done before.

Thunderbolt8
26th December 2007, 16:40
got another problem with children of men hd dvd:

G:\eac3to>eac3to G:\feature_1.evo+G:\feature_2.evo 2: G:\children.mkv
EVO, 2 video tracks, 3 audio tracks, 1:49:16
1: Joined EVO file
2: VC-1, 1080p24 /1.001
3: VC-1, 480p30 /1.001
4: E-AC3, 5.1 channels, 1536kbit/s, 48khz, dialnorm: -27dB
5: E-AC3, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB
6: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -27ms
Muxing video to Matroska...
This doesn't seem to be a valid EVO file.
Waiting for DirectShow decoder thread to finish. Please wait...

G:\eac3to>

Blue_MiSfit
26th December 2007, 17:26
I just want to say thank you to madshi and all others who have contributed to eac3to development. This has become an essential tool for the new wave of video backup. I've backed up nearly half my collection so far, and am very impressed with eac3to's speed, simplicity, and quality.

Thanks!

~MiSfit

bmnot
26th December 2007, 18:55
Thunderbolt, look at my post, #2251, and the reply #2252.
I was also working on The Departed.

Thunderbolt8
26th December 2007, 19:01
ok, ill try it with the -nero switch then again. there werent any problems with that decoder btw. the result was also completely lossless without any drc, dialnorm etc. right?

madshi
26th December 2007, 19:31
a messy.. .. anyway 16 bit wav file is accepted by all
if sample rate, bit depth, wav or raw pcm and channels can be specified, any external encoder will accept
Same than wav files with standard header and
Thanks. Will add an option for stdout output in the next build.

about ts files (both mpeg and avc) ?
Will probably be added sometime in the future. But most likely not in the next 4 weeks.

madshi
26th December 2007, 19:32
Hi Madshi, since it might take awhile to get libav updated, any chance you can update eac3to to not delete the output file upon libav error?
The libav TrueHD decoder developer told me he has already found the cause of the bug. He sais he wants to send me a fix soon.

I don't really like the idea of not deleting incorrect files. Because if I leave them there, people might be mistaken and think that the operation succeeded only to find out later that the audio track is too short.

madshi
26th December 2007, 19:35
This works very well, and since TrueHD can't be delayed the output audio file is named "movie DELAY -67ms.thd". Now I want to make an AC3 out of this file, but I'm unsure as to whether eac3to delays it for me automatically. IMHO it should, but
Currently eac3to does not take notice if there's a "DELAY whatever" in the source file name. Of course I could add support for that in a future version. For now just add "-67ms" as an additional parameter when converting the TrueHD track to AC3.

PS. I figured maybe I could demux and compress to ac3 in one go, but I guess that's not possible (yet?)
It's supposed to be possible. It seems there's bug somewhere. Will fix it in the next build...

madshi
26th December 2007, 19:37
Remux this EVO to MKV now seems to hang eac3to:
C:\HDDVD\HVDVD_TS>e:\eac3to\eac3to concert_pt1_1.evo+concert_pt1_2.evo+concert_p
t2.evo movie.mkv
EVO, 1 video track, 2 audio tracks, 2:44:24
1: Joined EVO file
2: VC-1, 1080i60 /1.001
3: RAW/PCM, 2.0 channels, 24 bits, 48khz
4: DTS Master Audio, 5.1 channels, 24 bits, 48khz, dialnorm: -4dB
Extracting audio track number 4...
Muxing video to Matroska...
Extracting audio track number 3...
Reading RAW/PCM...
Swapping endian...
Encoding FLAC...
Removing dialog normalization...
Decoding with DirectShow (Sonic Audio Decoder)...
DirectShow reports 5.1 channels, 24 bits, 48khz
Encoding FLAC...

...and stays like that, no ---- is showed, 50% cpu usage (dual core), no output after 2 hours of waiting.
Hmmmm... Does the same problem occur if you retry with only one of those EVO files? This problem will be hard for me to fix if I can't reproduce it here on my PC. Which HD DVD is this?

madshi
26th December 2007, 19:37
I just want to say thank you to madshi and all others who have contributed to eac3to development. This has become an essential tool for the new wave of video backup. I've backed up nearly half my collection so far, and am very impressed with eac3to's speed, simplicity, and quality.
Thanks for the nice feedback! :)

madshi
26th December 2007, 19:38
ok, ill try it with the -nero switch then again. there werent any problems with that decoder btw. the result was also completely lossless without any drc, dialnorm etc. right?
See first post.

madshi
26th December 2007, 19:57
eac3to "T:\sources\movie.EVO" 1: "H:\encoding\movie.h264" 2: "H:\encoding\movie.ac3" -nero
EVO, 1 video track, 3 audio tracks, 0:50:30
1: h264/AVC, 1080p24 /1.001
2: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB, -67ms
3: AC3, 2.0 channels, 192kbit/s, 48khz, -99ms
4: AC3, 2.0 channels, 192kbit/s, 48khz, -99ms
This audio conversion is not supported.
Can't reproduce this problem here. Could you please upload a 10MB sample? Thanks!

Thunderbolt8
26th December 2007, 20:41
got another problem with children of men hd dvd:

G:\eac3to>eac3to G:\feature_1.evo+G:\feature_2.evo 2: G:\children.mkv
EVO, 2 video tracks, 3 audio tracks, 1:49:16
1: Joined EVO file
2: VC-1, 1080p24 /1.001
3: VC-1, 480p30 /1.001
4: E-AC3, 5.1 channels, 1536kbit/s, 48khz, dialnorm: -27dB
5: E-AC3, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB
6: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -27ms
Muxing video to Matroska...
This doesn't seem to be a valid EVO file.
Waiting for DirectShow decoder thread to finish. Please wait...

G:\eac3to>
tried it again, same problem. tried it with rebuilding the evo (video only) with evodemux and remuxing with gdsmux then, everything worked fine. so I guess its either a problem of eac3to or directshow.

madshi
26th December 2007, 22:17
tried it again, same problem. tried it with rebuilding the evo (video only) with evodemux and remuxing with gdsmux then, everything worked fine. so I guess its either a problem of eac3to or directshow.
Rerip the disk. There's probably a glitch in there somewhere. eac3to doesn't like glitches at all.

nautilus7
26th December 2007, 22:42
Rerip the disk. There's probably a glitch in there somewhere. eac3to doesn't like glitches at all.
What a "glitch" is? :D

Xorcist
26th December 2007, 23:02
Currently eac3to does not take notice if there's a "DELAY whatever" in the source file name. Of course I could add support for that in a future version. For now just add "-67ms" as an additional parameter when converting the TrueHD track to AC3.


It's supposed to be possible. It seems there's bug somewhere. Will fix it in the next build...

Thanks for your help Madshi. I'll add the delay parameter when I encode the thd files :)

With regards to the .evo->.ac3 conversion.. I went back and checked the command I used again and found an error:

eac3to "T:\sources\movie.EVO" 1: "H:\encoding\movie.h264" 2: "H:\encoding"\movie.ac3" -nero

The extra ' " ' is of course an error, and I can't believe I didn't notice it while writing my original post. (In fact I edited it out because I thought it was only a copy/paste error..) I'm terribly sorry, and I hope you didn't spend a lot of time looking for a bug that of course wasn't there!

Keep up the good work Madshi! This is awesome, now I can create batch files that demux and even transcode audio from several movies at once!

Thunderbolt8
26th December 2007, 23:53
Rerip the disk. There's probably a glitch in there somewhere. eac3to doesn't like glitches at all.
yeah, it seems to be indeed a glitch's fault here :S
at the time where that glitch occurs also the audio track (eac3) has some problems and I have to silence with delay cut etc.

regarding that problem with the truehd track from the departed with libavcodec (which could be solved by the -nero switch), is the video remuxing also supposed to stop then, if this occurs ?

Xorcist
27th December 2007, 00:40
Thunderbolt8, I've had the same errors on the TrueHD tracks on at least one of the Star Trek TOS HDDVDs. I just switched to -nero and it works fine, but I could check later if it is a problem with all episodes or not.

Thunderbolt8
27th December 2007, 05:32
new haali version out

shanghai2004
27th December 2007, 06:01
Hmmmm... Does the same problem occur if you retry with only one of those EVO files? This problem will be hard for me to fix if I can't reproduce it here on my PC. Which HD DVD is this?

HD-DVD Eagles Farwell 1 Tour.

Tried only a single file with same result. Re-installed everything on another computer
to get rid of the Nero problem (see post #2255, just in case...). No difference.

Problem is also with the sample I provided for the 24bit LPCM fix.
(http://www.sendspace.com/file/zcz2a6, my post #2180)

Eac3to starts, but then hangs in 100% cpu usage, no output files are created.

Hope you have time to look into this.

[EDIT]
Seems hang reason is located somewhere in the DTS processing, when I only convert the video or only the LPCM track, then it works properly.

Found additional minor issue when processing LPCM files (using earlier provided sample):
a)
eac3to sample.evo music.flac --> works great

b)
eac3to sample.evo music.pcm
eac3to music.pcm music.flac
--> no go, eac3to says its a 6 channel 8 bit file and refuses the -override parameters
--> PCM file is OK, as I can read it with Adobe Audition (PCM 24bit Motorola format)

shanghai2004
27th December 2007, 06:07
It seems like you don't have nero hd dvd/blu-ray plug-in purchased.

Thanks for the response!

It worked fine 3 days ago... but you post is pointing to the right direction, the Nero updater somehow messed up the plug-in with the latest update. Re-installing Nero 7 did fix this problem.

madshi
27th December 2007, 09:19
I'm terribly sorry, and I hope you didn't spend a lot of time looking for a bug that of course wasn't there!
No big probs.

madshi
27th December 2007, 09:20
regarding that problem with the truehd track from the departed with libavcodec (which could be solved by the -nero switch), is the video remuxing also supposed to stop then, if this occurs ?
Yes. Everything must work, or else eac3to will abort the whole operation.

madshi
27th December 2007, 11:50
HD-DVD Eagles Farwell 1 Tour.

Tried only a single file with same result. Re-installed everything on another computer
to get rid of the Nero problem (see post #2255, just in case...). No difference.

Problem is also with the sample I provided for the 24bit LPCM fix.
(http://www.sendspace.com/file/zcz2a6, my post #2180)

Eac3to starts, but then hangs in 100% cpu usage, no output files are created.

Hope you have time to look into this.

[EDIT]
Seems hang reason is located somewhere in the DTS processing, when I only convert the video or only the LPCM track, then it works properly.
Works fine for me including DTS decoding. However, mkvtoolnix fails to rewrite the timestamps. But that's a bug in mkvtoolnix and not eac3to's fault.

Found additional minor issue when processing LPCM files (using earlier provided sample):
a)
eac3to sample.evo music.flac --> works great

b)
eac3to sample.evo music.pcm
eac3to music.pcm music.flac
--> no go, eac3to says its a 6 channel 8 bit file and refuses the -override parameters
--> PCM file is OK, as I can read it with Adobe Audition (PCM 24bit Motorola format)
Ouch. This is the first time that the auto detection actually detected a *wrong* format. Still overriding works for me:

eac3to test.pcm test.flac -24 -big -2 -override
RAW/PCM, 2.0 channels, 0:00:34, 24 bits, 48khz
Reading RAW/PCM...
Swapping endian...
Encoding FLAC...
Creating/writing file "test.flac"...
eac3to processing took 3 seconds.
Done.

rickardk
27th December 2007, 12:04
How does eac3to handle 7 and 8 channel lpcm tracks?
Does the -blu-ray switch remap thoose correct when converting to flac?

Is there anyway to preserve all 8 channels when decoding a DTS-HD Master Audio 7.1 track?

BTW ea3to says that the dts-hd ma track is just a dts (the core) when the m2ts is demuxed with h264tsto (Rush Hour 3 and Kingdom of Heaven)

Thunderbolt8
27th December 2007, 13:46
what does it say when using xport?

rickardk
27th December 2007, 13:56
what does it say when using xport?
I wrote about this title a couple of pages back. I then thought it had something to do with joining the two m2ts.

After more testing and reripping I thought it was the disc. Now I have tested with another disc (actually downloaded) but still no luck.


H264tsto can demux the joined m2ts withot problems (but I just get the core from the DTS-HD MA track).
xport demuxes the DTS-HD MA track (not just the core) but gives me error at the end of the first m2ts (that's why I thought it was in the joint of the two m2ts before).

madshi
27th December 2007, 14:32
How does eac3to handle 7 and 8 channel lpcm tracks?
Does the -blu-ray switch remap thoose correct when converting to flac?
You don't need the "-blu-ray" switch as long as you demuxed the LPCM track with xport. eac3to handles these LPCM tracks just fine automatically with all 7 or 8 channels.

Is there anyway to preserve all 8 channels when decoding a DTS-HD Master Audio 7.1 track?
I don't think so.

BTW ea3to says that the dts-hd ma track is just a dts (the core) when the m2ts is demuxed with h264tsto (Rush Hour 3 and Kingdom of Heaven)
Haali's Media Splitter only outputs the core. And that's what h264tsto is using for demuxing.

nautilus7
27th December 2007, 17:41
Madshi,

I 've noticed that dts-hd master audio (maybe hi-res also) decoding with sonic is very slow, while truehd decoding with nero (and even with libav) is a lot faster.
Yesterday i converted pan's labyrinth dts-hd to flac and processing took 1,5 hours.
Is this normal? Is there anything that can be done to improve speed or it's only the decoder?

madshi
27th December 2007, 19:00
I 've noticed that dts-hd master audio (maybe hi-res also) decoding with sonic is very slow, while truehd decoding with nero (and even with libav) is a lot faster.
Yesterday i converted pan's labyrinth dts-hd to flac and processing took 1,5 hours.
Is this normal? Is there anything that can be done to improve speed or it's only the decoder?
I don't think the speed can be improved by me. The Sonic DTS HD decoder is not the fastest. But 1.5 hours seems VERY long to me. Which Pan's Labyrinth release is that? I've just now converted the Spanish 16bit DTS-HD Master Audio track from my HD DVD to FLAC and it took my lower end Core 2 Duo about 34 minutes. Of course if your CPU is busy doing other things the time needed for transcoding will go up.

nautilus7
27th December 2007, 19:23
Ok, you're probably right.
I guess it took that long cause my pc wasn't in its best shape yesterday... (it is running for 2 days without restart, so something "bothered" it :eek: )
This was the 2nd time i made this conversion and it took about 1/2 hour to complete the 1st time, so there's no problem, i think.

shanghai2004
28th December 2007, 03:49
Works fine for me including DTS decoding. However, mkvtoolnix fails to rewrite the timestamps. But that's a bug in mkvtoolnix and not eac3to's fault.
[/code]

Thanks a lot for looking into this.

PCM conversion: Just tried on a another computer and it works like you say with the -override parameter. Thanks.

Mkvtoolnix timestamp issue: Possible this problem is due to the source video being 1080i60 instead of 1080p24? Tried the -no24p option in eac3to, but that option seems no longer supported.

Eac3to hangs when remux Eagles HD-DVD to MKV: Retested on several computers and the hang is only with the complete EVO files, not with the sample (sorry). The smallest EVO in the chain which still shows this problem is about 2GB, too large to upload.

Any way I can trace where it hangs to give you better feedback?

madshi
28th December 2007, 09:40
Mkvtoolnix timestamp issue: Possible this problem is due to the source video being 1080i60 instead of 1080p24? Tried the -no24p option in eac3to, but that option seems no longer supported.
The switch was renamed. See eac3to help or first post of this thread.

Yes, I also guess that it has to do with 1080i60 instead of 1080p24. However, the very same mkvtoolnix complaint appears for many h264 Blu-Ray movies (1080p24) and for the h264 HD DVD Equilibrium. So 1080i60 seems to be not the only problem.

Eac3to hangs when remux Eagles HD-DVD to MKV: Retested on several computers and the hang is only with the complete EVO files, not with the sample (sorry). The smallest EVO in the chain which still shows this problem is about 2GB, too large to upload.

Any way I can trace where it hangs to give you better feedback?
Please try whether h264tsto can remux one of the EVO files.

rickardk
28th December 2007, 15:28
Is DRC (e-ac3) still disabled with nero decoder in 2.13?
No visual indication (I think it was printed on the screen that DRC was disabled before)

madshi
28th December 2007, 15:48
Is DRC (e-ac3) still disabled with nero decoder in 2.13?
No visual indication (I think it was printed on the screen that DRC was disabled before)
Works for me (with visual indication). Please post the eac3to command line and output here.

shanghai2004
28th December 2007, 18:35
The switch was renamed. See eac3to help or first post of this thread.

Please try whether h264tsto can remux one of the EVO files.

I tried the following on 3 different computers (all XP sp2):

eac3to concert_pt1_1.evo movie02.mkv >>seems to do something for 10 seconds, then hangs, no files are made.

eac3to concert_pt1_1.evo -demux >>works, gives 3 files (LPCM, DTS, one video).

h264tsto concert_pt1_1.evo movie12.mkv >>runs for 10 seconds, creates a .mkv file of 0, then hangs. The mkv file becomes 368.493 kB after I press CTRL-C. Always this size.

So I tried the 2 other parts of the movie:
h264tsto concert_pt1_2.evo movie13.mkv >>runs for 40 seconds, creates a .mkv file of 0, then hangs. The mkv file becomes 1.360.392 kB after I press CTRL-C. Always this size.

h264tsto concert_pt2.evo movie14.mkv >>runs for 10 seconds, creates a .mkv file of 0, then hangs. The mkv file becomes 314.192 kB after I press CTRL-C. Always this size.

Playback of this MKV's in MPC works more or less (VC1 + DTS), but with a lot of stutter in alternating the audio and video and desynchronized (and of course the file is far too short). Remux with MKVmerge GUI gives no errors, but resulting file doesn't play any better.

h264tsto concert_pt1_1.evo -demux >>works, gives 2 files (one audio, one video).
(required the DUMP.AX file, which I installed for this session)

Hopefully the above is useful in any way.

madshi
28th December 2007, 18:52
@shanghai2004, since h264tsto doesn't work, either, the problem must be caused by the Haali filters. There's nothing I can do about this. You could try demuxing the video to a raw file and then dropping it into mkvtoolnix. Maybe it works, maybe not. If it works, make sure that the audio sync is correct cause muxing h264 with mkvtoolnix can eventually result in audio sync problems.

Roscoe62
28th December 2007, 22:47
madshi, first off, your development efforts on this app continue to blow me away! Phenomenal work....thank you!

Some questions?

1) - eac3to now seems able to add delay to any audio tracks (apart from TrueHD when it remains as TrueHD). Does this also apply for FLAC audio tracks? Can eac3to add delay to flac?

2) - not so much a question on eac3to, but for libav because it doesn't seem to have it's own thread. Is libav able to decode a TrueHD stream in realtime - i.e. as part of a playback graph? Is anyone doing this right now?

Thanks again!

Thunderbolt8
29th December 2007, 01:15
1) yes, it can. it already does it automatically when using the evo(s) as source, but you can also do it manually with a switch

madshi
29th December 2007, 01:42
1) - eac3to now seems able to add delay to any audio tracks (apart from TrueHD when it remains as TrueHD). Does this also apply for FLAC audio tracks? Can eac3to add delay to flac?
Yes. If you apply a delay to a FLAC track eac3to fully decodes and reencodes the audio data. Since FLAC is a lossless format this behaviour should have no disadvantages whatsoever. Meta data is copied over. You may even end up with a smaller file cause eac3to compresses with max compression ratio while the FLAC source file may have been compressed with a lighter ratio.

2) - not so much a question on eac3to, but for libav because it doesn't seem to have it's own thread. Is libav able to decode a TrueHD stream in realtime - i.e. as part of a playback graph? Is anyone doing this right now?
I'm not aware of anyone working on this. I could do it myself, I actually already thought about that - but I simply don't have the time for that right now.

Yraen
29th December 2007, 01:52
madshi,

Just wanted to say thanks for a great program. This program is definitely worth the five day waiting period here just to say thanks. Looking forward to all of the features you still want to implement.

madshi
29th December 2007, 01:53
Thanks, guys. Nice feedback is always welcome... :)

Hotpocketdeath
29th December 2007, 03:49
Slight problem.

I upgraded to nero8 long before I found this program. Now I can't get EAC3to to decode DD+ streams.

Is there a workaround to get this to work?

EDIT: NM. I found my old Nero7 install and serial number. Just finished downgrading and everything works now.

Snowknight26
29th December 2007, 05:52
Try using -libav.