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

nautilus7
23rd January 2008, 08:38
Is there a way to specify only extracting track2 and ignoring the the other audio tracks?
You can do this by using this command:

C:\eac3to>eac3to.exe EVOB002.EVO 1: ddda.mkv 2: audio.ac3

Alternately you can specify different options for each output file, like this:

C:\eac3to>eac3to.exe EVOB002.EVO 1: ddda.mkv -[options for 1:] 2: audio.ac3 -[options for 2:]

madshi
23rd January 2008, 09:09
2. I have Lives of others Blu-ray (24 fps) but video is avc, not vc-1. I guess you don't need a sample of this.
A sample would still be welcome. I've not seen any 24.000 fps samples yet, so I'd like to check that strange thing out. Have you tried remuxing the movie with eac3to? Did it work without problems?

3. Re-ripping of Million Dollar Baby isn't an option for me (:eek:). Should i try again with 2.17, or the improved gap/overlap detection doesn't make any difference in this?
No, v2.17 won't help. Well, you could try v2.17 and then use mkvtoolnix to cut away the first 10 seconds (or so) of the movie. Maybe that helps, but I'm not sure...

5. In which cases should i use the option to remove the pulldown flags? What is the difference (i know i should have asked a few versions ago, when this feature was introduced)?
Only if you want to create Xbox 360 compatible files.

6. Can you answer us whether nero and libav truehd decoders can output more than 5.1 (6ch)?
Currently there's not a single TrueHD track with more than 5.1 channels available on any disk (that I know). So there's no way to test. I guess that Nero will probably be limited to 5.1. The libav decoder might currently also be limited to 5.1, but as soon as a sample with more than 5.1 is available, the libav decoder will surely be updated to support that.

madshi
23rd January 2008, 09:18
have only demuxed blu-ray files with xport so far. thats why im wondering, why this remapping message not always appeared in every case. so do you think there could be the problem, if this message didnt appear, that my channels have been remapped in the wrong way?
If that message doesn't appear, you may have a problem. Except if the track was stereo only. In that case there's nothing that needs to be remapped.

as I said, when I try to play them with ffdshow (libavcodec) and haali, mpc will only open so far that it shows the background of the screen, but the stop/crash and react to nothing any more, with haali symbol in system tray. when I mux them with 2.14 everything plays fine
Hmmmm... I'm only testing with the MS VC-1 decoder. Can you please try that one, too? Not sure why libavcodec makes problems for you. Could you try manually rewriting the MKV with mkvtoolnix, including rewriting timestamps (with a timecode.txt file)? Does that make libavcodec work again?

million dollar baby also doesnt work with 217 for me, it reports a gap of 9 frames at 0:00:01 playtime, but same problem as with the other movies.
Can you please try to rerip the movie? The EVO is damaged.

heres the 24fps sample from infernal affairs, cut it with a hex editor so i hope its fine.
http://www.sendspace.com/file/g8ua0f
Thanks!

madshi
23rd January 2008, 09:21
Uploading samples of Sum of all fears and Born on the 4th of July tonight (no time for this yesterday).

One thing that would be great is to have fps info stored in some way. Media Control 4.7 is close to have automatic refresh rate change for all us Vista Media Center users. It reads the refresh rate from ffdshow. And titles created with 2.15 and later are reported as 25fps. So the automatic refresh rate change/match functions does not work properly.
I will contact Haali about this. It's his muxer which never writes the FPS value to the MKV header. My splitter is properly setting the value, but the Haali muxer isn't writing it to the header.

If all else fails, you can still rewrite the timestamps with mkvtoolnix. Rewriting the timestamps will also write the fps value to the header. I don't really like the idea to rewrite timestamps which should already be perfect just to have a single number added to the header, but I don't know any other way to realize that right now... :(

2.17 handles Born on the 4th of July without problems...
That's very nice... :) Have you had a chance to check if it plays fluidly without any stuttering? Also a quick comparison to a v2.14 remux would be lovely, if you have time and fun to do that.

Sample of Sum of all fears:
http://www.earselect.se/sum.evo
Thanks!

madshi
23rd January 2008, 09:23
With no fps stored in the mkv header, could someone possibly give me a heads up as to how to open my resulting MKV in MeGUI. It's telling me that there's no fps information in my file and to manually add the fps to my avisynth script. I tried but cant get it to work. Im using the avisynth script creator in the app itself. My goal is to re-encode down to 720 to play on my 360 - which until this latest version Ive been able to do using MeGUI.
I'm sorry but I don't know avisynth well enough... My ultimate aim is to get the fps stored into the mkv header some way. Just don't know how yet...

madshi
23rd January 2008, 09:23
D:\EAC3>eac3to -test
Nero Audio Decoder (Nero 7 or older) doesn't seem to be installed
Sonic Audio Decoder (2.17.0.0) doesn't seem to be installed
Haali Media Splitter doesn't seem to be installed
Surcode DTS Encoder (1.0.21.0) is installed
MkvToolnix (v2.1.0) is installed

Same as 2.16, damn. Let me see if reinstalling will help.
That's bad. Which OS are you using? Can you send me an email? I think we should try to get this sorted out via email. Works quicker than by forum. dear (at) madshi (dot) net.

Kumo
23rd January 2008, 10:42
i've got a .ts file(untouched remuxing of a bluray disk).i'd like to convert the lpcm 5.1 audio track to 6 wav mono tracks,apllying a pal speedup.first of all i've got to say that i'm not able to extract the track from .ts file neither using tsremux(doesn't recognise it at all) or xport(a discontinuity messege keep flashing while processing the stream).i worked 2 ways to do that: muxing it in mkv with gdsmux and extract the audio with mkvextract(i get a wav 5.1, channels not remapped) or demuxing audio using elecard xmuxer(i get a mpa 5.1,channels not remapped).
converting the mkvextract obtained wav file with eac3to2.16, it recognisethe track as wav 5.1,24bits,it doesn't remap the channels(i could do it later renaming the wavs) but it works fine even with pal speedup applied.
if i try to convert the xmuxer obtained mpa file (renamed .raw or .pcm), eac3to recognise it as pcm 5.1,24bits,big endian,bluray track.it changes correctly the channels mapping, but it works just with no pal speedup applied(using speedup command it stops right at the end of process showing a "the resampler thread seems to hang" message).
the questions are:
is the "mkv muxing and extracting" procedure correct?
anybody knows why with the raw file(i suppose it's better recognised by eac3to) the conversion fails with speedup?

nautilus7
23rd January 2008, 10:55
A sample would still be welcome. I've not seen any 24.000 fps samples yet, so I'd like to check that strange thing out. Have you tried remuxing the movie with eac3to? Did it work without problems?I believe you want the raw avc stream, right?

Currently there's not a single TrueHD track with more than 5.1 channels available on any disk (that I know). So there's no way to test. I guess that Nero will probably be limited to 5.1. The libav decoder might currently also be limited to 5.1, but as soon as a sample with more than 5.1 is available, the libav decoder will surely be updated to support that.Ok, thanks! I'll have an eye on this. As soon as i found such track, a sample will be up.

madshi
23rd January 2008, 11:07
converting the mkvextract obtained wav file with eac3to2.16, it recognisethe track as wav 5.1,24bits,it doesn't remap the channels(i could do it later renaming the wavs) but it works fine even with pal speedup applied.
if i try to convert the xmuxer obtained mpa file (renamed .raw or .pcm), eac3to recognise it as pcm 5.1,24bits,big endian,bluray track.it changes correctly the channels mapping, but it works just with no pal speedup applied(using speedup command it stops right at the end of process showing a "the resampler thread seems to hang" message).
the questions are:
is the "mkv muxing and extracting" procedure correct?
anybody knows why with the raw file(i suppose it's better recognised by eac3to) the conversion fails with speedup?
mkv muxing and extracting should be fine. You could also use h264tsto or GraphEdit to directly demux the audio to a raw file. I don't know why the speedup failed. That sounds strange to me. Have you tried that twice? Maybe the failure was just bad luck or something like that? Generally there shouldn't be much of a difference between feeding the PAL speedup a raw file or a wav file...

madshi
23rd January 2008, 11:08
I believe you want the raw avc stream, right?
No, I generally need samples in the original format, that is EVO. If I really wanted the raw AVC stream, I could demux it myself from the EVO. So uploading an EVO sample does not harm. I want the EVO because I also want to check the EVO timestamps and the audio tracks and how it all works together with 24.000 etc... Thanks!

nautilus7
23rd January 2008, 11:28
Then i assume you missed that this movie is Blu-ray. :D


you need a break

madshi
23rd January 2008, 11:39
Then i assume you missed that this movie is Blu-ray. :D
In that case I'd be happy about a m2ts sample... ;) Would be great if you could go a bit larger than usual in this specific case. Maybe 100MB?

you need a break
What for? :)

nautilus7
23rd January 2008, 11:45
Because i mentioned it is blu-ray in the first place, but you were talking about evo files. Just kidding though. :p

I will upload a bigger sample, but it will take some days.

Richum
23rd January 2008, 11:49
That's bad. Which OS are you using? Can you send me an email? I think we should try to get this sorted out via email. Works quicker than by forum. dear (at) madshi (dot) net.

You are very busy, let me try a few things first, obviously the issue is with either my hardware or my OS/software installed since so many others are having no problems. I can get it sorted out I think. I will email a capture of my system information and software as a last resort, if I hit a brick wall on this.

Quickly:

Win XP Pro SP2 32bit (all updates), Asus ANM2N32-SLI, AMD X64 Dual 5600 2 Gig Corsair, XF2 PCI-E Nvidia GT8600

Kumo
23rd January 2008, 12:57
mkv muxing and extracting should be fine. You could also use h264tsto or GraphEdit to directly demux the audio to a raw file. I don't know why the speedup failed. That sounds strange to me. Have you tried that twice? Maybe the failure was just bad luck or something like that? Generally there shouldn't be much of a difference between feeding the PAL speedup a raw file or a wav file...
yes, i tried many times but the result is allways the same.
does h264tsto use gdsmux/mkvextract as well?
can you tell me wich filters should i use to demux(not re-encoding) the audio track with graphedit?(.ts multiple audio streams to raw pcm/wav)
if i feed the wav file, wich channel order should i specify to change the lpcm bluray channel mapping to normal ac3/dts mapping?
i tried demuxing the lpcm audio track using h264tsto, eac3to recognise the obtained file as little endian,the raw file i obtained with elecard xmuxer was recognised as big endian.could it be the reason why i have problem converting to speeded-up wavs or could it cause any problem?

sparknburn
23rd January 2008, 13:21
I'm sorry but I don't know avisynth well enough... My ultimate aim is to get the fps stored into the mkv header some way. Just don't know how yet...

Thanks for the reply. Well, this explains alot. So the fps has never been stored in the MKV header? Then perhaps it's just a problem with my stream. I shall redo it.

My solution was simple and I over complicating things, as usual. All I had to do was make a "dummy" AVS script with the "fps=" statement in it and MeGui took care of the rest.

Thanks again! I love this app.

Chumbo
23rd January 2008, 15:55
@madshi,
Do you want a sample from this? I demuxed Fantastic Four 2 and here are the results from 2.16 and 2.17 respectively:eac3to "hvdvd_ts\HF_0.EVO"+"hvdvd_ts\HF_1.EVO" 2: ff4-2-216.vc1 -keepPulldown
EVO, 1 video track, 5 audio tracks, 1:31:49
1: Joined EVO file
2: VC-1, 1080p24 /1.001
3: DTS Hi-Res, 5.1 channels, 16 bits, 2082kbit/s, 48khz, dialnorm: -4dB
4: DTS Hi-Res, 5.1 channels, 16 bits, 2082kbit/s, 48khz, dialnorm: -4dB
5: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
6: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
7: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
Extracting primary video track...
Creating/writing file "ff4-2-216.vc1"...
Video has a gap of 4576725 frames at playtime 0:06:17.
Video has a gap of 1144178 frames at playtime 53:07:45.
Video has a gap of 1144181 frames at playtime 66:23:29.
Video has a gap of 1144180 frames at playtime 79:43:30.
Video has a gap of 1144180 frames at playtime 93:02:37.
Video has a gap of 1144181 frames at playtime 106:24:19.
Video has a gap of 1144181 frames at playtime 119:39:41.
Video has a gap of 1144181 frames at playtime 132:55:04.
Video has a gap of 1144179 frames at playtime 146:10:27.
Video has a gap of 1144181 frames at playtime 159:28:12.
Video has a gap of 1144181 frames at playtime 172:43:34.
Video has a gap of 1144180 frames at playtime 185:58:57.
Video has a gap of 1144180 frames at playtime 199:17:42.
Video has a gap of 2288362 frames at playtime 212:33:33.
Video has a gap of 1144179 frames at playtime 239:05:44.
Video has a gap of 1144181 frames at playtime 252:27:17.
Video has a gap of 1144180 frames at playtime 266:01:22.
Video has a gap of 1144180 frames at playtime 279:20:47.
Video has a gap of 1144181 frames at playtime 292:36:31.
Video has a gap of 1144180 frames at playtime 305:53:26.
Video has a gap of 1144181 frames at playtime 319:08:49.
Video has a gap of 1144180 frames at playtime 332:32:32.
Video has a gap of 1144181 frames at playtime 346:00:09.
Video has a gap of 1144180 frames at playtime 359:15:58.
Video has a gap of 2288361 frames at playtime 372:32:09.
Video has a gap of 1144180 frames at playtime 399:05:30.
Video track 2 contains 132087 frames.eac3to "hvdvd_ts\HF_0.EVO"+"hvdvd_ts\HF_1.EVO" ff4-2-217.vc1
EVO, 1 video track, 5 audio tracks, 1:31:49
1: Joined EVO file
2: VC-1, 1080p24 /1.001
3: DTS Hi-Res, 5.1 channels, 16 bits, 2082kbit/s, 48khz, dialnorm: -4dB
4: DTS Hi-Res, 5.1 channels, 16 bits, 2082kbit/s, 48khz, dialnorm: -4dB
5: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
6: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
7: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
Extracting primary video track...
Creating/writing file "ff4-2-217.vc1"...
Video has a gap of 4576725 frames at playtime 0:06:12.
Video has a gap of 1144178 frames at playtime 53:07:40.
Video has a gap of 1144181 frames at playtime 66:23:24.
Video has a gap of 1144180 frames at playtime 79:43:28.
Video has a gap of 1144181 frames at playtime 93:02:33.
Video overlaps for 2 frames at playtime 106:17:58.
Video has a gap of 1144182 frames at playtime 106:24:14.
Video has a gap of 1144180 frames at playtime 119:39:37.
Video has a gap of 1144181 frames at playtime 132:55:00.
Video has a gap of 1144180 frames at playtime 146:10:23.
Video has a gap of 1144181 frames at playtime 159:28:07.
Video has a gap of 1144180 frames at playtime 172:43:30.
Video has a gap of 1144180 frames at playtime 185:58:52.
Video has a gap of 1144181 frames at playtime 199:17:39.
Video has a gap of 2288362 frames at playtime 212:33:29.
Video overlaps for 2 frames at playtime 239:04:15.
Video has a gap of 1144181 frames at playtime 239:05:40.
Video has a gap of 1144181 frames at playtime 252:27:12.
Video has a gap of 1144180 frames at playtime 266:01:18.
Video has a gap of 1144180 frames at playtime 279:20:43.
Video has a gap of 1144181 frames at playtime 292:36:27.
Video has a gap of 1144180 frames at playtime 305:53:22.
Video has a gap of 1144181 frames at playtime 319:08:44.
Video has a gap of 1144180 frames at playtime 332:32:28.
Video has a gap of 1144181 frames at playtime 346:00:04.
Video has a gap of 1144180 frames at playtime 359:15:56.
Video has a gap of 2288362 frames at playtime 372:32:08.
Video overlaps for 2 frames at playtime 399:02:52.
Video has a gap of 1144181 frames at playtime 399:05:26.
Video track 2 contains 132087 frames.

Thunderbolt8
23rd January 2008, 18:31
Hmmmm... I'm only testing with the MS VC-1 decoder. Can you please try that one, too? Not sure why libavcodec makes problems for you. Could you try manually rewriting the MKV with mkvtoolnix, including rewriting timestamps (with a timecode.txt file)? Does that make libavcodec work again?
with the WMVideo Decoder DMO it works fine, even without rewriting timestamps with mkvmerge. but with libavcodec it wont work even with rewriting the timestamps. im dependent on libavcodec :( unless this could be somehow fixed I have to stick to 2.14 then.

btw. les make a (hopefully small) list of all movies, that cause problems at remuxing so far. for example we could list here equilibrium, unless madshi can be sure thats everything is 100% fine and there are no "maybe everything works correctly now". what about POTO, is everything fine there now? but dont list movies, which have glitches caused either by a bad rip or which only has glitches with a certain filter. so for example I wouldnt list EP1 of band of brothers here (rainbow frames with ffdshow), because it works absolutely fine with libavcodec. but I'd leave at least a questionmark for the basic instinct blu-ray, as I have glitches there then and when with ffdshow, coreavc and also VLC. same for ratatouille. and with babel I also have rainbow frames in between. so basically cases in which we can be sure the problems are somehow to blame on haali muxer/mkvmerge/eac3to
so atm it could look something like that:

equilibrium?
POTO?
babel?
the searchers?

I think it could be useful to list them at the opening post, so that not 33553 people would have to ask for the same movies over and over again. and you also dont have to go through all these mass pages, when you are for example unsure whether that movie of yours was on the list, but you cant remember and more and want to look it up.

crazydane
23rd January 2008, 22:55
A couple of questions if I may. Before I do, let me explain what I want. I have an Asus P5E-VM HDMI mobo that is capable of sending 6, 7 and 8 channel LPCM to my pre/pro at whatever bitrate the source contains. So I'm looking to convert TrueHD, DTS-HD MA and PCM to lossless FLAC. I'm not quite sure how to handle DD+, but I'll get to that.

I intend to use MPC, Media Player 11 and Media Center for playback (all under Vista Home Premium 32bit). My CPU is a Q6600 @ 3.6GHz on water.

I have done 2 HD-DVD titles so far. The first one was Training Day, which contains a TrueHD track. Here's a transcript of the event (I'm playing with this on my laptop btw, which explains the slow demux times):

http://www.cstone.net/~dk/eac3to-run1.JPG

I then dropped the .mkv video and the audiotrack2.flac file into mkvmerge and created my final .mkv container. I was then able to play back the movie with all 3 players mentioned above on my Q6600 rig. One thing that caught my eye was that the .flac lossless track was only 1.4GB. Now, looking at the PIN info from MPC, I see the following regarding the audio track:

http://www.cstone.net/~dk/TrueHDbitrate.JPG

Notice that the bitrate being reported is 4608Kbps? Given that the movie is 2:02:03, that implies the flac file should have been 4.96GB or so, not 1.4GB. Any idea what's up with that? It does sound excellent and is in perfect sync, but I'd still give the nudge to my A35 player sending the TrueHD track as bitstream to my pre/pro (Onkyo 885).

2nd title was Transformers which contains a DD+ track. Once again, I used the default command line, which yielded the following event:

http://www.cstone.net/~dk/eac3to-run2.JPG

This time, I dropped the 1536Kbps DD+ track and the video file into mkvmerge to create my final .mkv container. This time however, none of my 3 players would play the file. I believe this is due to the DD+ eac3 file. Should I have converted this to flac during the initial demuxing, or?

I'm also curious why eac3to reported a VC-1 480p30 track in addition to the main AVC track.

Any pointers would be appreciated!

nautilus7
23rd January 2008, 23:28
I am your man!!! :DNotice that the bitrate being reported is 4608Kbps? Given that the movie is 2:02:03, that implies the flac file should have been 4.96GB or so, not 1.4GB. Any idea what's up with that?The bitrate you see is from the decoded 6ch. wav file (the one transmitted through HDMI), not the flac track. Flac is variable bitrate btw, while wav is 16 bits*48 khz*6ch = 4608 kbps

I believe this is due to the DD+ eac3 file. Should I have converted this to flac during the initial demuxing, or?Yes, non of these applications have a decoder for e-ac3. I believe you can use sonic decoders in mpc, but don't think the result would be good. Though, a free e-ac3 decoder is under development and sould be ready soon for realtime playback.

Because of this most people convert high bitrate e-ac3 tracks (like this on transformers) to dts @ 1536 kbps and lower bitrate e-ac3 tracks to ac3 @ 640 kbps. Converting e-ac3 (lossy) to a lossless format like flac isn't usual. There's no quality disadvantage, but no real benefit too.

I'm also curious why eac3to reported a VC-1 480p30 track in addition to the main AVC track. This is the paramount logo, which is muxed in the main movie evos.

rickardk
24th January 2008, 01:49
I will contact Haali about this. It's his muxer which never writes the FPS value to the MKV header. My splitter is properly setting the value, but the Haali muxer isn't writing it to the header.

If all else fails, you can still rewrite the timestamps with mkvtoolnix. Rewriting the timestamps will also write the fps value to the header. I don't really like the idea to rewrite timestamps which should already be perfect just to have a single number added to the header, but I don't know any other way to realize that right now... :(


That's very nice... :) Have you had a chance to check if it plays fluidly without any stuttering? Also a quick comparison to a v2.14 remux would be lovely, if you have time and fun to do that.


Thanks!

Rewriting the timestamps will just write correct fps for VC-1. Will not work with AVC unfortunately.

Just saw that all my HD DVD remuxes with AVC (done with eac3to) still reports 25fps after I had the timestamps rewritten with mkvmerge. The frame duration is however right. So we end up with a file that plays at 23.976fps, but ffdshow reports it as 25fps.

Can cause some problems... In my case I want to have my refresh rate for myc graphic card set to match the fps.

So I thought I could make new remuxes where I first join the evos and then demux the AVC stream. When dropping an AVC stream (without container) on mkvmerge I can manually set the fps (only case when mkvmerge lets me set the fps manually). So I set the fps to 24000/1001 and load a timecode file with 24000/1001. Should produce a file that reports 23.967 fps. But instead I get a file with 29.97fps as the pulldown is left in the stream I guess. Works for AVC from Blu-rays where there is no pulldown.

So with AVC we are stuck with the fps written as 25fps or 29.97fps. Sure it will play just fine, but it will screw up features depending on reading the right fps.


Must be a way to just write the fps in the header...
But I don't really know if the pulldown must be removed on AVC streams to get ffdshow or other filters to read it right?


Don't like to rewrite timestamps as it introduces stutters with some titles. The Last Samurai [HD DVD], Goodfellas [HD DVD], Goodfellas [Blu-ray], The Island [Blu-ray] for example.
The stutters are introduced if the evos (m2ts) are remuxed (with eac3to/gdsmux) then put through mkvmerge for rewriting timestamps.

I think it would be best to not rewrite timestamps and instead have pulldown removed and fps written to header. That would be the ultimate solution!

I've done hours and hours of testing with diffrent graphic cards, drivers and power strip and my Pioneer Kuro that takes 23.976 Hz and 24.0 Hz.
Stutters is small and very hard to see if feeding the display with a 59.94 Hz signal (3:2 pulldown masks the tiny stutters).


--------------------------------------------------------------------------------------------

Also... after alot of testing my conclusion is that mkvmerge causes "the rainbow frames" and glitches discussed lately, None of the titles (of the ones I know of) gave me problems if I avoided mkvmerge. But as gdsmux does not work with some titles and often gave unsearchable files I found no solution that's actually usable.

I tried to demux an AVC stream (from a title that gave "rainbow frames" when using mkvmerge) and the mux it again with mkvmerge. For some reason (maybe because I flipped around with this setting far to many times tonight trying to fix the fps issue described above) I decided to changed the fps from 23.976 to 24 ...the problem changed character. The "rainbow frames" become far less. Don't know what to make of it...

But it must be a way round this!



Sorry if things got a little off topic. But I think most issues are important now when eac3to handles more then audio conversion.

Tegeril
24th January 2008, 02:46
I'm having trouble converting 300's TrueHD track to AC3. I've tried with 2.14, updated to 2.17, and same results. The track has very faint noise, and nothing else. I've converted TrueHD from multiple other titles without issue.

Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

V:\Encoder\Movie>"V:\Encoder\HD-DVD Tools\EAC3toGUI\eac3to.exe" "V:\Encoder\Movi
e\300 TrueHD.EVO" "V:\Encoder\Movie\300 TrueHD.ac3" -640 -24
EVO, 1 audio track, 1:56:33
1: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB, 2628056ms
Extracting audio track number 1...
Removing dialog normalization...
Applying RAW/PCM delay...
Encoding AC3...
Creating/writing file "V:\Encoder\Movie\300 TrueHD.ac3"...
[libav] End of stream indicated
eac3to processing took exactly 5 minutes.
Done.

V:\Encoder\Movie>

Any thoughts? :( Filesize also seems too low, 363,000ish KB.

Edit: For the heck of it, I re-rebuilt the audio file out of my EVOs, same problem.

saint-francis
24th January 2008, 06:13
Don't like to rewrite timestamps as it introduces stutters with some titles. The Last Samurai [HD DVD], Goodfellas [HD DVD], Goodfellas [Blu-ray], The Island [Blu-ray] for example.


I used eac3to for Goodfellas with no problem whatsoever.

This issue with no frame rate being written into the stream is (for me) a real PITA. I'm no video encoding genius and in order to get an .MKV from eac3to loaded into MeGUI's AVISynth script creator now I needed to make an .avs which only loads the file and specifies the fps= and load that as the source. How are people dealing with this?

rickardk
24th January 2008, 06:34
I used eac3to for Goodfellas with no problem whatsoever.

This issue with no frame rate being written into the stream is (for me) a real PITA. I'm no video encoding genius and in order to get an .MKV from eac3to loaded into MeGUI's AVISynth script creator now I needed to make an .avs which only loads the file and specifies the fps= and load that as the source. How are people dealing with this?

Only way I could make Goodfellas play without micro stutter at some places was to demux the vc-1 stream and mux it with eac3to. The resulting mkv will be 25fps (this time its not just the wrong frame rate written in the header. The frame duration is wrong too: 39.9999999ms). But after running it through mkvmerge to rewrite timestamps to 23.976xxxx it plays ok. BUT if I remux it into an mkv instead it will contain micro stutters.


18.48 in Goodfellas you can see this very clearly if you did the usual remux method.

Must point out that I spent yesterday with this title and have not watched the whole movie yet. So there may be problems left. But I had some "problem areas" that works ok now.
I really can't understand why it behaves like this. Problems are not spaced with a regular interval (as with fps/refresh rate missmatch). It's more like some single frames are dropped at some places (same places every time).
But when demuxed (raw) VC-1 is muxed with eac3to and then using mkvmerge to rewrite timestamps I have no problems at those places (I thought eac3to used gdsmux for doing raw vc-1 into mkv. But gdsmux hangs when trying to mux a raw VC-1 and produces a 65MB mkv file for both The Island and Goodfellas).

nautilus7
24th January 2008, 08:51
I'm having trouble converting 300's TrueHD track to AC3. I've tried with 2.14, updated to 2.17, and same results. The track has very faint noise, and nothing else. I've converted TrueHD from multiple other titles without issue.



Any thoughts? :( Filesize also seems too low, 363,000ish KB.

Edit: For the heck of it, I re-rebuilt the audio file out of my EVOs, same problem.It should be because of the -24 switch you use (it's the gui, right?). This is to specify the bitdepth of a pcm/raw file manually. It doesn't have any effect on this. I don't understand how the -24 is even being accepted by eac3to in this conversion. Try without the -24 in the command (don't use the gui). Do you use the aften build that comes with eac3to or you updated it with another version? It can also be a problem. And make sure (i mean 100%) you have the latest version, because some times the internet brower's cache doesn't return the latest version.

Tegeril
24th January 2008, 13:33
Yeah, it's the GUI...I thought it chose that automatically for the file (-24 has worked fine on the others, should I assume those had a bit depth of 24?). Got eac3to from the first page of this thread, confirmed the latest with the changelog that I got with it when I downloaded it.

Running the encode now without -24...should know pretty soon.

Also, should I never have that 24bit flag? Will the program respect bit depth if I pass it no bit depth parameters?

Kumo
24th January 2008, 13:38
i've got a problem with a lpcm track demuxed from a .ts bluray remuxed file.if i demux the track with elecard xmuxer,eac3 recognise it as big endian but it fails trying to convert it to wavs.if i demux the track with h264tsto,eac3 recognise it as little endian and it convert properly to wavs.are bluray's lpcm 5.1 tracks allways big endian?if i use the the h264tsto obtained track,should i specify "-big" using eac3to?

Tegeril
24th January 2008, 13:40
Exact same problem, ran it like this:

eac3to.exe filename.EVO outputname.ac3 -640

No sound. :confused:

nautilus7
24th January 2008, 13:58
@ Tegeril

Yes the -24 isn't needed. It's only for pcm/raw when eac3to can't find the bitdepth automatically.

You get no sound at all?

You can try several things. Does the truehd have this noise when you play the evo file in a media player (powerdvd, etc)? If no, you can convert the track to another format like flac or wav. This way you will find out if the problem is aften (ac3 encoding) or truehd decoding. If decoding is the problem you can try the nero decoder.

Last thing you can try is using the original evo files like this:

eac3to 1st.evo+2nd.evo so you get the id# of the truehd track and then:

eac3to 1st.evo+2nd.evo id#: 300.ac3/flac/wav/dts

Note that the -640 option isn't needed as it's the default bitrate for ac3 encoding.

nautilus7
24th January 2008, 14:08
i've got a problem with a lpcm track demuxed from a .ts bluray remuxed file.if i demux the track with elecard xmuxer,eac3 recognise it as big endian but it fails trying to convert it to wavs.if i demux the track with h264tsto,eac3 recognise it as little endian and it convert properly to wavs.are bluray's lpcm 5.1 tracks allways big endian?if i use the the h264tsto obtained track,should i specify "-big" using eac3to?I don't know blu-rays that much...

I believe the different endian you get is because it's been changed during demuxing with h264tsto. Wrong endian should result in noise during playback, i think, so you can identify such problem. What is the error message you get when eac3to fails to write the wavs?

Does the resulting wavs (in th other case) sound good? If yes you are ok.

Sephiroth0000
24th January 2008, 14:17
Hello everyone. The knowledge on audio here seems vast so here it goes. I have been reading up on 5.1 MP3 but yet for the life of me cannot find any programs based or a means of creating it from HD DVD audio? Any idea's or suggestions?

Any help would be greatly appreciated :)

Kal
24th January 2008, 14:19
Is it possible to take dll from Nero 7, place them in eac3to folder and uninstall Nero to get Nero 8 ?

nautilus7
24th January 2008, 14:29
Hello everyone. The knowledge on audio here seems vast so here it goes. I have been reading up on 5.1 MP3 but yet for the life of me cannot find any programs based or a means of creating it from HD DVD audio? Any idea's or suggestions?

Any help would be greatly appreciated :)Newer version of eac3to can output data to stdout. Any encoder that can use stdin as input (like lame) can be used. Vorbis, acc can be ised as well. So, i suggest rolling back a few pages and read about this feature (stdout). There are some problems though (you will understand by reading).

Note: this thread contains info only about eac3to + stdout. For further info about mp3/vorbis/acc encoding you 'll have to search the rest of the forum. :)

Sephiroth0000
24th January 2008, 14:31
Newer version of eac3to can output data to stdout. Any encoder that can use stdin as input (like lame) can be used. Vorbis, acc can be ised as well. So, i suggest rolling back a few pages and read about this feature (stdout). There are some problems though (you will understand by reading).

Note: this thread contains info only about eac3to + stdout. For further info about mp3/vorbis/acc encoding you 'll have to search the rest of the forum. :)

Thankyou very much for the quick and very in depth answer mate :P Am going to read into it right now.

nautilus7
24th January 2008, 14:35
Is it possible to take dll from Nero 7, place them in eac3to folder and uninstall Nero to get Nero 8 ?Believe me, if such thing was possible it would have been done already.

Although, if someone doesn't need nero (except its decoders) can have a minimum effect by installing only nero showtime & buying the hd dvd/blu-ray plug-in.

nautilus7
24th January 2008, 14:37
Thankyou very much for the quick and very in depth answer mate :P Am going to read into it right now.
You 're welcome.

Kumo
24th January 2008, 14:37
I don't know blu-rays that much...

I believe the different endian you get is because it's been changed during demuxing with h264tsto. Wrong endian should result in noise during playback, i think, so you can identify such problem. What is the error message you get when eac3to fails to write the wavs?

Does the resulting wavs (in th other case) sound good? If yes you are ok.

when it fails to create wavs eac3to says "the resampler thread seems to hang".
i can play the resulting mono wavs files only with nero showtime,media player classic play a weird noise(does my system miss any filter?),but if i use the resulting wavs in surcode dvd to get a dts file, it sounds fine.
if eac3to detects little endian,should i use the "-big" command(bluray's lpcm tracks are suppose to be like that)?

nautilus7
24th January 2008, 14:47
when it fails to create wavs eac3to says "the resampler thread seems to hang".
i can play the resulting mono wavs files only with nero showtime,media player classic play a weird noise(does my system miss any filter?),but if i use the resulting wavs in surcode dvd to get a dts file, it sounds fine.
if eac3to detects little endian,should i use the "-big" command(bluray's lpcm tracks are suppose to be like that)?I believe you don't need to specify -big endian. I forgot to tell you before: You can use xport for demuxing the plc track from the .ts file. It works better than the other 2 methods (don't forget the -h option).

You didn't say anything about re sampling... What is your final goal with the pcm file?

The output wavs should playback with all applications. Something is wrong. Try xport for demuxing and then eac3to. If it gives you errors again post the log file, please.

Kal
24th January 2008, 14:50
Believe me, if such thing was possible it would have been done already.

Although, if someone doesn't need nero (except its decoders) can have a minimum effect by installing only nero showtime & buying the hd dvd/blu-ray plug-in.

Ok thank you. I will just install Nero Showtime then :)

nautilus7
24th January 2008, 14:56
Ok thank you. I will just install Nero Showtime then :)

Justo be clear. I am talking nero 7. Only nero 7 works with eac3to.

If you really want to install nero 8, you can use the free libav decoder instead of the nero one. You will get same quality in truehd and something lower in ac3/eac3 decoding.

Kumo
24th January 2008, 14:56
I believe you don't need to specify -big endian. I forgot to tell you before: You can use xport for demuxing the plc track from the .ts file. It works better than the other 2 methods (don't forget the -h option).

You didn't say anything about re sampling... What is your final goal with the pcm file?

The output wavs should playback with all applications. Something is wrong. Try xport for demuxing and then eac3to. If it gives you errors again post the log file, please.

i tryed with xport, but i can't get the tracks demuxed.it scrolls a "discontinuity detected ..." error.
my final goal is to convert the lpcm 5.1 track to 6 mono wavs,applying a pal speedup, to convert them to 5.1 dts using surcode.
i can play the wavs files i get with nero showtime,i can open/play them with audition,i can use them in surcode to encode.
media player classic makes a terrible noise, vlc crash,graphedit ask me if i have all necessary filters installed.looks like it's a playback issue,due to something missing.
i tryed playing that wavs on a different pc, they play perfectly.graphedit can build a filesource->wav parser->direct sound graph.

Tegeril
24th January 2008, 15:15
@ Tegeril

Yes the -24 isn't needed. It's only for pcm/raw when eac3to can't find the bitdepth automatically.

You get no sound at all?

You can try several things. Does the truehd have this noise when you play the evo file in a media player (powerdvd, etc)? If no, you can convert the track to another format like flac or wav. This way you will find out if the problem is aften (ac3 encoding) or truehd decoding. If decoding is the problem you can try the nero decoder.

Last thing you can try is using the original evo files like this:

eac3to 1st.evo+2nd.evo so you get the id# of the truehd track and then:

eac3to 1st.evo+2nd.evo id#: 300.ac3/flac/wav/dts

Note that the -640 option isn't needed as it's the default bitrate for ac3 encoding.

I basically get extremely low volume hum/fuzz/minor static for the entire length of the file. Gonna try to encode it straight of the original EVOs to start. Thanks for all the help so far, will report back soon.

nautilus7
24th January 2008, 15:24
i tryed with xport, but i can't get the tracks demuxed.it scrolls a "discontinuity detected ..." error.
my final goal is to convert the lpcm 5.1 track to 6 mono wavs,applying a pal speedup, to convert them to 5.1 dts using surcode.
Yep, sorry. I just read your original post.

I remember others (including me) have discontinuity errors with xport, but the demuxed pcm file was just fine. Did you try the xport demuxed track with eac3to despite these discontinuities?


If all fails can you upload a sample (50 MB is enough) of the .ts file?

nautilus7
24th January 2008, 15:29
I basically get extremely low volume hum/fuzz/minor static for the entire length of the file. Gonna try to encode it straight of the original EVOs to start. Thanks for all the help so far, will report back soon.
Ok, do that first.

But you didn't tell me if this problem is due to decoding or encoding.

Try the nero decoder or different output file (encoder) like wav(s)/flac,dts..

Tegeril
24th January 2008, 15:37
Ok, do that first.

But you didn't tell me if this problem is due to decoding or encoding.

Try the nero decoder or different output file (encoder) like wav(s)/flac,dts..

Oh, haven't told you because I left for work and am now RDP'd in. Pretty laggy and I have audio disabled, so I'll have to confirm the success or failure of decodes/encodes after work today. The original EVOs play just fine in PDVD, so hopefully this will be all I need to do and I'll just consider it an EVOdemux fault.

Kal
24th January 2008, 15:51
Justo be clear. I am talking nero 7. Only nero 7 works with eac3to.

If you really want to install nero 8, you can use the free libav decoder instead of the nero one. You will get same quality in truehd and something lower in ac3/eac3 decoding.

Thank you, good to know that.

Where could I find Sonic Cinemaster Audio Decoder 4.3? With Sonic Scenarist ?

nautilus7
24th January 2008, 15:56
This (http://forum.doom9.org/showthread.php?t=133895) thread was created exactly for people don't asking here.

Kal
24th January 2008, 16:01
Tahnk you and sorry to not see this before ;)

Tegeril
24th January 2008, 16:16
Preliminary good news: The audio track is now the proper size for 640kbit AC3 and its length. I'll test it out tonight.

nautilus7
24th January 2008, 16:18
Here's a problem i have (v2.17):

eac3to trailer.evo trailer.mkv
EVO, 1 video track, 1 audio track, 0:01:54
1: MPEG2, 480i60 /1.001
2: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
Muxing video to Matroska...
Extracting audio track number 2...
Removing dialog normalization...
Creating/writing file "audiotrack 1.ac3"...
Rewriting MKV timecodes by using "mkvmerge". Please wait...


Video track 1 contains 3416 frames.
eac3to processing took 3 seconds.
Timestamp rewriting took 5 seconds.
Done.



The image in resulting mkv stutters a lot. Why? How mpeg2 video is treated by eac3to?