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

yesgrey
19th June 2008, 01:16
If you want me to look into this problem, I need a little sample of this file. 10MB should be enough.

madshi, here (http://www.sendspace.com/file/t5ntqm) it is. It's a 30MB sample, because less than this the problem did not happen.
It should have a 3rd track, a LPCM track.

Thanks.

BLKMGK
19th June 2008, 04:08
Thanks. The problem is caused by the PiP DTS audio track. Will be fixed in the next build.

Do you need additional samples Madshi?

madshi
19th June 2008, 09:59
Will eac3to be able to deal with these tracks (dts express?)? Have you find any specs about this?
I don't have any specs about it. I'm not sure if I can support it. Maybe yes, maybe no. But does anybody really care about PiP audio?

here (http://www.sendspace.com/file/t5ntqm) it is. It's a 30MB sample, because less than this the problem did not happen.
It should have a 3rd track, a LPCM track.
This is a faulty TS file. The LPCM track is stored under the program ID "0x80", which is normally used for MPEG2 video tracks in TS files. As a result eac3to tries to interpret the LPCM data as MPEG2 video, which of course won't work. Still eac3to should be able to handle the h264 and AC3 tracks just fine. But the LPCM track is just plain wrong and as a result eac3to will not be able to handle this track correctly. You can demux it with xport, though. Rename the demuxed file to "audio.pcm" then. Then eac3to will be able to handle the LPCM data.

The latest version of eac3to generally does support LPCM tracks in TS files, but the LPCM track must at least have a Blu-Ray descriptor, so eac3to knows that it's supposed to be an LPCM audio track and not an MPEG2 video track.

Do you need additional samples Madshi?
For the crash problem with PiP movies? Probably not. Although, if you want to be sure that the next build will not have a problem with the specific movie you've got you can upload a sample. I'll double check then. But I think the problem should be fixed, anyway.

Momber
19th June 2008, 10:56
But does anybody really care about PiP audio?
LOL! Good question. I'd say "only as far as safely and permanently trashing it goes" :)

BLKMGK
19th June 2008, 12:30
LOL! Good question. I'd say "only as far as safely and permanently trashing it goes" :)

I guess my question is - where is this actually used in the movie? Is it the Director's comments stuff? If so then meh, I'm not concerned with it - I want to watch the silly movie!:eek: If the previous version could rip it and this one cannot then hopefully the fix is somewhat obvious. :D I generally overwrite old versions and am now kicking myself for that.

Madshi for now I'll hold off as I suspect that you've got it nailed, Jumper is the only movie I need this for - not sure what the sample above is from but fingers crossed.

Any reason why I couldn't copy the files from the disk and "rip" from the copied files? They would be unencrypted <shrug> Just not ever tried that, seems like it ought to work if I am pointing your tool at a directory vs a drive letter. Might try that for fun this evening but I think it would work.

nautilus7
19th June 2008, 13:29
Any reason why I couldn't copy the files from the disk and "rip" from the copied files? They would be unencrypted <shrug> Just not ever tried that, seems like it ought to work if I am pointing your tool at a directory vs a drive letter. Might try that for fun this evening but I think it would work.
Not sure I understand what you mean.. Jumper uses a new version of BD+ and only latest AnyDVD can crack it.

lexor
19th June 2008, 16:29
Hey madshi, I've got a question regarding options for DTS decoding. The OP states that Sonic decoder is preferred due to avoiding the 4 problems commonly encountered. Now I know there is an open source solution for those who don't have Sonic, but since its merits aren't discussed, I'd like to direct your attention to a different DTS decoder that I use in my workflow. It's a plug-in for Foobar2000 player called foo_dts.dll (http://acropolis.lokalen.org/2006/10/foobar2000/my-foobar2000-components/) (which right there could potentially render it useless, if it is too much work to integrate). However, in my tests the plug-in doesn't suffer from problems 3 and 4, it provides user with option for 1 (default DRC=off, which we like). I'm not sure about testing problem 2, but I use SoundForge to encode my AC3 (following the guide in the sticky here) and I get different RMS value for different sections of dialog, which according to the discussion in that thread is indicative (though inconclusive) evidence of the absence of Normalization. The only technical drawback of that plug-in is that it's mostly developed for DTS-CD, so only 5.1 support.

What do you think, madshi, will this be too much work for too little to try to make eac3to use that plug-in? On a related subject, what is the drawback of current free solution that makes you recommend Sonic decoder?

nautilus7
19th June 2008, 16:32
Does it support DTS-HD tracks? That's the main use of Sonic decoder.

lexor
19th June 2008, 16:41
Does it support DTS-HD tracks? That's the main use of Sonic decoder.

Probably not, with the DTS-CDs being it primary target. The main reason I would want to use the DTS decoder in eac3to is to convert DTS to wav (for further processing in SoundForge to get AC3). Since I don't know of pros and cons of eac3to's free DTS decoder I was using fb2k, just because it appears to avoid the 4 problems. That's the only reason I brought this up.

nautilus7
19th June 2008, 17:52
You can also use libav for plain DTS decoding. It works pretty well (non of the 1-2-3-4 problems are present).

rebkell
19th June 2008, 18:04
I have a question about demuxing the video stream, I know that you can use the command line switch (example)
1: movie.mkv and it will mux the video stream into an mkv container, but I was wondering if you can just demux the raw video stream into movie.h264 or movie.mpg or movie.vc1, instead of using the demux which demuxes all streams and from my reading only extracts into the source directory where the m2ts/ts/mpg etc file resides? I like to encode my movies and I use dgavcindex for the 264 files and unfortunately it can't parse mkv containers, so I have to extract the 264 stream from the mkv before I can use it.

If this is in the thread already I apologize, but my eyes glaze over after reading so many pages and a search on the thread didn't really turn up anything definitive to me.

nautilus7
19th June 2008, 18:27
To demux a specific stream you have to set as extension to the output file the actual one. E.g 1: video.264 or 1: video.vc1 (the same goes for audio streams)

Furthermore, DGAVCIndex can handle .m2ts (blu-ray) and .ts containers, so if your source is such, you don't need to demux at all.

rebkell
19th June 2008, 18:37
To demux a specific stream you have to set as extension to the output file the actual one. E.g 1: video.264 or 1: video.vc1 (the same goes for audio streams)

Furthermore, DGAVCIndex can handle .m2ts (blu-ray) and .ts containers, so if your source is such, you don't need to demux at all.

Tried the .264 extension and don't remember the exact message, but something along the lines of not supported, tried mpg same message. The m2ts files are ok, but it isn't much solution for playlists with multiple pieces, etc... eac3to also deals with all those overlaps, etc... I figured since he's muxing the streams into an mkv container, that it might not be that difficult to just demux the raw streams, notice I said might because I have no idea if it would be a major pain or not, and I can live just fine with things the way they are.

boykster
19th June 2008, 18:53
Not sure I understand what you mean.. Jumper uses a new version of BD+ and only latest AnyDVD can crack it.

My current method for all BD's is to make an iso with ImgBurn, mount it with Daemontools, and use eac3to on that mounted iso. AnyDVD can do its magic either during ripping with ImgBurn or when you mount the iso, so its a win either way.

nautilus7
19th June 2008, 19:23
Tried the .264 extension and don't remember the exact message, but something along the lines of not supported, tried mpg same message.Did you select the correct stream number? Can you post the log file please?

rack04
19th June 2008, 19:28
Tried the .264 extension and don't remember the exact message, but something along the lines of not supported, tried mpg same message. The m2ts files are ok, but it isn't much solution for playlists with multiple pieces, etc... eac3to also deals with all those overlaps, etc... I figured since he's muxing the streams into an mkv container, that it might not be that difficult to just demux the raw streams, notice I said might because I have no idea if it would be a major pain or not, and I can live just fine with things the way they are.

Doesn't it have to be .h264 extension?

rebkell
19th June 2008, 19:31
Did you select the correct stream number? Can you post the log file please?

It's on my home PC, but I selected the correct track, because I just changed the existing command line, up arrow and tried another extension (h264) with the same results, up arrowed again to get the command line back and changed the extension to mkv and it muxed it into an mkv file, so I'm sure I didn't select the wrong stream.

Can you do it? It fails pretty quickly, it doesn't even try to demux.
I'll do it again when I get home, but if you've got something close by, I'd be interested if you can make it happen?

Edit: I'm not totally positive, thinking back that I tried h264 as an extension, I'll try it again when I get home, I think I did, but I will double check when I get the chance.

BLKMGK
19th June 2008, 21:25
Not sure I understand what you mean.. Jumper uses a new version of BD+ and only latest AnyDVD can crack it.

Yes, WELL aware of this. However I HAVE that new version and can easily see the files but the existing eac3to software bombs when I attempt to pull put the video and audio tracks for compression. My question is can I simply copy them off of the BD media and then use eac3to to process them at a later time or will I need to have the media in the drive? I am pretty sure the media isn't needed and can be put away but I want to make sure.

nautilus7
19th June 2008, 22:14
@ rebkell

Output should be .h264. Sorry, my bad.

eac3to "F:\Close Encounters of the Third Kind 1977 Collector's Edition Blu-ray 1080p H.264 TrueHD 5.1 DTS-HD MA 5.1\Feature Disc" 1) 2: video.h264
M2TS, 1 video track, 4 audio tracks, 2:17:13
1: Chapters, 20 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: AC3, Spanish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -29dB
4: TrueHD/AC3, English, 5.1 channels, 48khz
5: TrueHD/AC3, French, 5.1 channels, 48khz
6: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
[v02] Extracting video track number 2...
[v02] Creating file "video.h264"...
---------------


@ BLKMGK

Yes, of course. You can copy the files to the HDD and then use eac3to to process them (that's what I do all the time :rolleyes: ).

73ChargerFan
19th June 2008, 23:34
... can I simply copy them off of the BD media and then use eac3to to process them at a later time
Right click on the fox icon near the clock, and select "Rip Video DVD to Harddisk".
Updated on 6/17/08 for Jumper BD.

yesgrey
20th June 2008, 00:21
You can demux it with xport, though.

Have you tryed it? I have and can't do it. I only can extract the ac3 track.

With: xport sample1.ts 1 1 1
I get the video h264 file and the ac3 audio.

With: xport sample1.ts 1 1 2
I get the video h264 file and no audio file.

Am I using xport wrongly?

Edit: Forget it. I have done it with tsMuxeR. Thanks anyway.

BLKMGK
20th June 2008, 01:46
Right click on the fox icon near the clock, and select "Rip Video DVD to Harddisk".
Updated on 6/17/08 for Jumper BD.

Yah that will take the WHOLE BD disk. However for eac3to I *think* I just need the m2TS files and some of the other stuff in the Stream directory. Not sure how much that will save me though but I'll look. At least it can be decoded now!:cool:

73ChargerFan
20th June 2008, 04:31
The entire Hellboy BD is 46.0GB, and the stream directory is 46.0GB. Draw your own conclusions!

saint-francis
20th June 2008, 04:48
IMO it's a good idea to rip the entire disk. First, it has been shown numerous times throughout this thread that using anydvd to rip the disk leads to less problems with poor rips. Second, it's always good to haave the entire disk on the HDD incas there is a need to go back and work with material you didn't intend to use the first time.

zeropc
20th June 2008, 07:27
i encountered a little problem while encoding dts-hd ma to ac3 and i dunno what to do.

eac3to v2.47
command line: "C:\Program Files\encoding-tools\eac3to\eac3to.exe" "G:\jumper\BDMV\STREAM\00001.m2ts" 3: "C:\dts\jumper.ac3"
------------------------------------------------------------------------------
M2TS, 1 video track, 1 audio track, 1:28:29
1: Chapters, 25 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
[a03] Extracting audio track number 3...
[a03] Decoding with DirectShow (Sonic Audio Decoder)...
[a03] DirectShow reports 5.1 channels, 24 bits, 48khz
[a03] Encoding AC3...
[a03] Creating file "C:\dts\jumper.ac3"...
[a03] This track is not clean. Processing aborted.
[a03] Please clean the track with delaycut and then retry eac3to.
Aborted at file position 25130254336.

i demuxed the audio stream with tsmuxer and opened it in delaycut 1.3 which aborted the clean-up after about 70%

any idea what i can do?

nautilus7
20th June 2008, 08:53
I though 2.47 crashes with Jumper... :confused:

You can re-rip the disc and try again. Or wait a few days and try with the upcoming 2.48. What does the delaycut log say (it outputs the dts core only, but there isn't another way)?

G_M_C
20th June 2008, 09:42
I wouldn't care it crashed with "Jumper";

If it was a very good movie, that was worth backing up, it would be another story ... but now ....

:p

/me runs :D

I'd rather see EAC3To having a option to speedup/lowdown to 24 fps, as 24 fps is the original framerate of movies in general. Because of that, such a feature would be logical to implement imho; Not only because it is very very usefull to us AVCHD-creators ;)

tman24
20th June 2008, 13:12
I'm trying to make an online backup of an HD-DVD. I've ripped the disk using AnyDVD fine, but there are two FEATURE files that make up the movie. I can extract the correct video and audio streams using eac3to, but basically end up with two mkv files and two flac files that need putting back together (in the right order). Normally I use MKVMerge when I have a single mkv and flac file and this works great.

What's the best way to put these files back together, or is there a better way to demux them using eac3to, so I actually only end up with one mkv and one flac file

Thanks

nautilus7
20th June 2008, 13:37
eac3to feature1.evo+feature2.evo 3: video.mkv 4: audio.flac

( 3: and 4: are random, use the proper numbers)

Beastie Boy
20th June 2008, 14:44
Tried the .264 extension and don't remember the exact message, but something along the lines of not supported, tried mpg same message.

Just a thought, but it's not a VC1 video stream is it?

Cheers, Beastie.

rebkell
20th June 2008, 14:57
Just a thought, but it's not a VC1 video stream is it?

Cheers, Beastie.

No, it was an avc/264, the extension needs to be h264 and if you want to extract mpeg2, you need to use the m2v extension and of course vc1 on the vc1 encoded files.

I appreciate all the help and of course cheers to madshi for developing and keeping up such a great program.

tman24
20th June 2008, 16:00
eac3to feature1.evo+feature2.evo 3: video.mkv 4: audio.flac

( 3: and 4: are random, use the proper numbers)

Thanks. Seems easy enough. I'll give it a go.

Isn't eac3to a simply amazing bit of software.

zeropc
20th June 2008, 16:31
I though 2.47 crashes with Jumper... :confused:

i used eac3to more gui for the conversion and got the log i posted.

You can re-rip the disc and try again. Or wait a few days and try with the upcoming 2.48. What does the delaycut log say (it outputs the dts core only, but there isn't another way)?

here is the log from delaycut for the dts-hd ma fix try

[Input info]
Bitrate=1536
Actual rate=1509.750000
Sampling Frec=48000
TotalFrames=1273473
Bytesperframe=2012.0000
Filesize=2562227960
FrameDuration= 10.6614
Framespersecond= 93.7966
Duration=03:46:16.965
Channels mode=C+L+R+SL+SR
LFE=LFE: Present
[Target info]
StartFrame=0
EndFrame=1273472
NotFixedDelay= 0.0000
Duration=03:46:16.964
====== PROCESSING LOG ======================
Time 00:00:00.010; Frame#= 2. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.031; Frame#= 4. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.053; Frame#= 6. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.074; Frame#= 8. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.095; Frame#= 10. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.117; Frame#= 12. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.138; Frame#= 14. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.159; Frame#= 16. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.181; Frame#= 18. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.202; Frame#= 20. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.223; Frame#= 22. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.245; Frame#= 24. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.266; Frame#= 26. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.287; Frame#= 28. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.309; Frame#= 30. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.330; Frame#= 32. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.351; Frame#= 34. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.373; Frame#= 36. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.394; Frame#= 38. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.415; Frame#= 40. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.437; Frame#= 42. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.458; Frame#= 44. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.479; Frame#= 46. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.501; Frame#= 48. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.522; Frame#= 50. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.543; Frame#= 52. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.565; Frame#= 54. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.586; Frame#= 56. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.607; Frame#= 58. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.629; Frame#= 60. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.650; Frame#= 62. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.671; Frame#= 64. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.692; Frame#= 66. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.714; Frame#= 68. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.735; Frame#= 70. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.756; Frame#= 72. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.778; Frame#= 74. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.799; Frame#= 76. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.820; Frame#= 78. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.842; Frame#= 80. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.863; Frame#= 82. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.884; Frame#= 84. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.906; Frame#= 86. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.927; Frame#= 88. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.948; Frame#= 90. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.970; Frame#= 92. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:00.991; Frame#= 94. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.012; Frame#= 96. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.034; Frame#= 98. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.055; Frame#= 100. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.076; Frame#= 102. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.098; Frame#= 104. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.119; Frame#= 106. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.140; Frame#= 108. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.162; Frame#= 110. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.183; Frame#= 112. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.204; Frame#= 114. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.226; Frame#= 116. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.247; Frame#= 118. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.268; Frame#= 120. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.290; Frame#= 122. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.311; Frame#= 124. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.332; Frame#= 126. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.353; Frame#= 128. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.375; Frame#= 130. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.396; Frame#= 132. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.417; Frame#= 134. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.439; Frame#= 136. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.460; Frame#= 138. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.481; Frame#= 140. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.503; Frame#= 142. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.524; Frame#= 144. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.545; Frame#= 146. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.567; Frame#= 148. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.588; Frame#= 150. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.609; Frame#= 152. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.631; Frame#= 154. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.652; Frame#= 156. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.673; Frame#= 158. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.695; Frame#= 160. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.716; Frame#= 162. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.737; Frame#= 164. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.759; Frame#= 166. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.780; Frame#= 168. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.801; Frame#= 170. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.823; Frame#= 172. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.844; Frame#= 174. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.865; Frame#= 176. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.887; Frame#= 178. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.908; Frame#= 180. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.929; Frame#= 182. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.951; Frame#= 184. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.972; Frame#= 186. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:01.993; Frame#= 188. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:02.014; Frame#= 190. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:02.036; Frame#= 192. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:02.057; Frame#= 194. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:02.078; Frame#= 196. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:02.100; Frame#= 198. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:02.121; Frame#= 200. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Time 00:00:02.142; Frame#= 202. Unsynchronized frame...SKIPPED 68 bytes. Found new synch word
Too Many Errors. Stop Logging.
Number of written frames = 423387
Number of Errors= 451362


what worked was extracting the dts core, run it through delaycut without problem and then i used the fixed dts stream in eac3to for the ac3 conversion.

nautilus7
20th June 2008, 18:09
All these "errors" in delaycut are from the hd extensions of the master audio track. If you managed to output the dts core with eac3to, then the problem is in the master audio extensions. You should be fine with the dts core --> ac3 though (regarding sound quality).

todaystudy
20th June 2008, 19:46
Sounds really great, thanks for your efforts!

BTW nice setup there! I'm running standard consumer HW here, but over SPDIF I can also hear the difference between full-bitrate DTS and AC3@640kbps, so TruHD->DTS seems like the only way to go.

BLKMGK
20th June 2008, 22:50
That's jumper, he's apparently not been reading the thread...

bigggt
21st June 2008, 03:38
Hi , Im very new to all this HD stuff but can't figure out how to convert EAC3 to ac3.

I have nero 7 and hd dvd plugin installed and sonic installed, i ripped Knocked up with anydvd and ran the .evo through Eac3to conversion utility GUI and it demuxed all the tracks but no conversion of the eac3 file.

i tried running the EAC3 file through the GUI but get this

eac3to v2.47
command line: "C:\Tools\eac3to\eac3to.exe" "K:\KNOCKEDUP\HVDVD_TS\FEATURE_1_MERGED.rebuilt - 3 - E-AC3, 5.1 channels, 1536kbps, 48khz.eac3" "K:\KNOCKEDUP\HVDVD_TS\FEATURE_1_MERGED.rebuilt - 3 - E-AC3, 5.1 channels, 1536kbps, 48khz.ac3"-192 -nero
------------------------------------------------------------------------------
E-AC3, 5.1 channels, 2:12:56, 1536kbit/s, 48khz
This audio conversion is not supported.

I know its something stupid that i'm doing wrong ,so any help would be appreciated

thanks

Snowknight26
21st June 2008, 04:44
GUI support should go in the GUI thread, but.. add a space between the " and -192.

nautilus7
21st June 2008, 09:17
@ s26

This is the keymaker's gui, not Yraen's. It doesn't have its own thread.

@ bigggt

This is a known bug in Keymaker's gui, which is also outdated. Switch to the alternate gui (http://forum.doom9.org/showthread.php?t=135095).

bigggt
21st June 2008, 12:13
OK thanks

all sorted out now

rack04
22nd June 2008, 05:00
When demuxing h264 is there a way to keep 23.976? I keep getting 29.97 when demuxing h264.

Encoder888
22nd June 2008, 05:11
I have a question, I tried extracting the PCM audio of Stranger Than Fiction (seamless branching, has only 2 parts), but eac3to didn't detect any gaps, which i thought was weird, cause it always does with seamless branching movies. I tried both FLAC and AC3, no gaps... Then I tried extracting the AC3 stream, and it detected one 32ms gap (naturally, since it only has 2 parts). I tried muxing together the video with each and both sound well-synced after the joint point... I guess 32ms is really hard to tell, even if one was off, so... My question is - is it possible for a seamless branching title to have its AC3 overlap/gap and its PCM be perfect without any gaps... Or is it eac3to that's not detecting it? I need to know if its in perfect sync, I'm really anal about this LoL

rebkell
22nd June 2008, 05:59
When demuxing h264 is there a way to keep 23.976? I keep getting 29.97 when demuxing h264.

tsmuxer might possibly remove the pulldowns, I'm assuming hd-dvd, blu-ray doesn't normally have pulldowns in their h264 files.

madshi
22nd June 2008, 07:40
Hey madshi, I've got a question regarding options for DTS decoding. The OP states that Sonic decoder is preferred due to avoiding the 4 problems commonly encountered. Now I know there is an open source solution for those who don't have Sonic, but since its merits aren't discussed, I'd like to direct your attention to a different DTS decoder that I use in my workflow. It's a plug-in for Foobar2000 player called foo_dts.dll (http://acropolis.lokalen.org/2006/10/foobar2000/my-foobar2000-components/) (which right there could potentially render it useless, if it is too much work to integrate). However, in my tests the plug-in doesn't suffer from problems 3 and 4, it provides user with option for 1 (default DRC=off, which we like). I'm not sure about testing problem 2, but I use SoundForge to encode my AC3 (following the guide in the sticky here) and I get different RMS value for different sections of dialog, which according to the discussion in that thread is indicative (though inconclusive) evidence of the absence of Normalization. The only technical drawback of that plug-in is that it's mostly developed for DTS-CD, so only 5.1 support.

What do you think, madshi, will this be too much work for too little to try to make eac3to use that plug-in? On a related subject, what is the drawback of current free solution that makes you recommend Sonic decoder?
I've adjusted the first post of this thread to document how well the libav/ffmpeg DTS decoder works - which is supported by eac3to. I don't see a reason for looking for open source alternatives - unless you find one which can handle DTS-HD.

Have you tryed it? I have and can't do it. I only can extract the ac3 track.

With: xport sample1.ts 1 1 1
I get the video h264 file and the ac3 audio.

With: xport sample1.ts 1 1 2
I get the video h264 file and no audio file.

Am I using xport wrongly?

Edit: Forget it. I have done it with tsMuxeR. Thanks anyway.
FWIW, xport also sees the PCM track as being "video", for the reasons I explained in my previous post. So you would have had to use "xport sample1.ts 1 2 1" and then the mpv file would have been the PCM track. But of course using tsMuxeR is fine if that works for you.

I'd rather see EAC3To having a option to speedup/lowdown to 24 fps, as 24 fps is the original framerate of movies in general. Because of that, such a feature would be logical to implement imho; Not only because it is very very usefull to us AVCHD-creators ;)
I'll put that on my todo list. However, I'm not sure how useful it actually is (other than AVCHD, I mean), cause Blu-Ray is usually 23.976. So all newer displays are also optimized for 23.976 and not for 24.000.

When demuxing h264 is there a way to keep 23.976? I keep getting 29.97 when demuxing h264.
You're talking about HD DVD, I guess? All HD DVD video tracks are 23.976 with pulldown flags - which looks like 29.97. There's no way to "keep" this at 23.976 because it's not pure 23.976 to start with. You can however "change" it to 23.976 by removing the pulldown flags. eac3to cannot do that for h264 right now. But you can use the tool "h264info" to remove the pulldown flags.

I have a question, I tried extracting the PCM audio of Stranger Than Fiction (seamless branching, has only 2 parts), but eac3to didn't detect any gaps, which i thought was weird, cause it always does with seamless branching movies. I tried both FLAC and AC3, no gaps... Then I tried extracting the AC3 stream, and it detected one 32ms gap (naturally, since it only has 2 parts). I tried muxing together the video with each and both sound well-synced after the joint point... I guess 32ms is really hard to tell, even if one was off, so... My question is - is it possible for a seamless branching title to have its AC3 overlap/gap and its PCM be perfect without any gaps... Or is it eac3to that's not detecting it? I need to know if its in perfect sync, I'm really anal about this LoL
The gaps are always biggest for AC3 tracks, simply because AC3 audio frames are so long. One AC3 frame is 32ms long. One DTS frame is usually only 10ms. With PCM an audio frame is even shorter. When you have only 2 m2ts parts it's usual that there are no gaps detected for PCM while there may be a gap detected for AC3 tracks - or not. PCM gaps are reported and fixed only if they are bigger than 7ms. So don't worry. In your case the PCM gap must be smaller than 7ms.

Atak_Snajpera
22nd June 2008, 11:16
Madshi: Why whole demuxing process is terminated (files removed) with just one corrupted audio stream? (log says something about using delay cut)
It would be better if eac3to could skip damaged audio stream and continue with the rest of streams.

rickardk
22nd June 2008, 11:17
Is the lfe channel always mixed at -10dB for all formats (AC3, E-AC3, TrueHD, DTS, DTS-HD (MA), LPCM)?

DVD-A tracks (MLP)?

Does any of the default decoders apply the +10dB for the lfe channel? (I hope not)

madshi
22nd June 2008, 12:56
# MLP Channel Assignments Mask and MS channels order Detect-MaskCh eac3to libav remap Samples
-- ------------------------ -------------------------- -------------------- ----------- ----------
0 M 0x0004 FC 1.0 0x0004 ok not needed 00_100.mlp
1 L R 0x0003 FL FR 2.0 0x0003 ok not needed 01_200.mlp
2 Lf Rf (S) 0x0103 FL FR BC 3.0 0x0007 (1) not needed 02_210.mlp
3 Lf Rf (Ls Rs) 0x0033 FL FR BL BR 4.0 0x0033 ok not needed 03_220.mlp
4 Lf Rf (LFE) 0x000B FL FR LF 2.1 0x0007 (1) not needed 04_201.mlp
5 Lf Rf (LFE S) 0x010B FL FR LF BC 3.1 0x0033 (1) not needed 05_211.mlp
6 Lf Rf (LFE Ls Rs) 0x003B FL FR LF BL BR 4.1 0x0037 (1) not needed 06_221.mlp
7 Lf Rf (C) 0x0007 FL FR FC 3.0 0x0007 ok not needed 07_300.mlp
8 Lf Rf (C S) 0x0107 FL FR FC BC 4.0 0x0033 (1) not needed 08_310.mlp
9 Lf Rf (C Ls Rs) 0x0037 FL FR FC BL BR 5.0 0x0037 ok not needed 09_320.mlp
10 Lf Rf (C LFE) 0x000F FL FR FC LF 3.1 0x0033 (1) not needed 10_301.mlp
11 Lf Rf (C LFE S) 0x010F FL FR FC LF BC 4.1 0x0037 (1) not needed 11_311.mlp
12 Lf Rf (C LFE Ls Rs) 0x003F FL FR FC LF BL BR 5.1 0x003F ok not needed 12_321.mlp
13 Lf Rf C (S) 0x0107 FL FR FC BC Can't detect (3) not needed 13_310.mlp
14 Lf Rf C (Ls Rs) 0x0037 FL FR FC BL BR Can't detect (3) not needed 14_320.mlp
15 Lf Rf C (LFE) 0x000F FL FR FC LF Can't detect (3) not needed 15_301.mlp
16 Lf Rf C (LFE S) 0x010F FL FR FC LF BC Can't detect (3) not needed 16_311.mlp
17 Lf Rf C (LFE Ls Rs) 0x003F FL FR FC LF BL BR 5.1 0x003F ok not needed 17_321.mlp
18 Lf Rf Ls Rs (LFE) 0x003B FL FR LF BL BR 4.1 0x0037 (1) (2) -0,1,4,2,3,5 18_221.mlp
19 Lf Rf Ls Rs (C) 0x0037 FL FR FC BL BR 5.0 0x0037 (2) -0,1,4,2,3,5 19_320.mlp
20 Lf Rf Ls Rs (C LFE) 0x003F FL FR FC LF BL BR 5.1 0x003F ok already done 20_321.mlp
(1) Need more complete detection (2/2.1 type) to assign the correct MaskCh.
(2) When decoded with libav need remapping channels.
(3) Can't decode these samples with eac3to:
"The format of the source file could not be detected."
This will be added/fixed in the next build.

Do you happen to also have samples for all the funny DTS channel formats? :)

:thanks:

madshi
22nd June 2008, 13:00
Madshi: Why whole demuxing process is terminated (files removed) with just one corrupted audio stream? (log says something about using delay cut)
It would be better if eac3to could skip damaged audio stream and continue with the rest of streams.
This has been discussed multiple times. eac3to is currently extremely picky and only handles 100% clean files well. This might be improved in a future version. But right now I prefer to make clean sources work perfectly. Only afterwards I might work on improving support for damaged files.

Is the lfe channel always mixed at -10dB for all formats (AC3, E-AC3, TrueHD, DTS, DTS-HD (MA), LPCM)?

DVD-A tracks (MLP)?

Does any of the default decoders apply the +10dB for the lfe channel? (I hope not)
I think tebasuna51 can probably answer this best. However, I've just done some tests with funny AC3 channel formats and sometimes the Nero decoder boosted volume on some channels. But normally in my experience the decoders recommended to be used by eac3to (see first post of this thread) do not do any do anything "wrong". In other words: I tried encoding a WAV file in AC3 and DTS. And decoded them again. And encoded them again. And decoded them again. The volume of all channels were unchanged in my tests. I didn't test this with all decoders, but I think the decoders recommended for use with eac3to should be fine.

lexor
22nd June 2008, 14:26
I didn't test this with all decoders, but I think the decoders recommended for use with eac3to should be fine.
Is the default free decoder in eac3to (libav?) among the ones you tested or do you mean only the recommended paid ones?

madshi
22nd June 2008, 15:02
Is the default free decoder in eac3to (libav?) among the ones you tested or do you mean only the recommended paid ones?
libav works fine. See first post of this thread.