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

asarian
10th June 2008, 12:43
@ Asarian

This isn't a studio made blu-ray. You made with tsmuxer, right? It happens all the time with my tsmuxer made m2ts files. I think it's a problem with tsmuxer, so i recommend you ask there. :)
It was an HD-DVD originally, but I demuxed the audio indeed with tsMuxeR (from an mkv). It said it had 0ms delay, but the extracted audio in eac3to said it had a 600000ms delay. So, likely, indeed something went wrong in tsMuxeR.

Thanks.

xkodi
10th June 2008, 14:07
ArcSoft TotalMedia Theatre build 113

today, during the test i found two important properties of ArcSoft Audio HD decoder:

1) when decoding DTS-HD MA, no matter if 16bit or 24bit is selected in the "ArcSoft Audio HD Decoder Setting" the decoder output is always the same and has 24bit

2) for bit-perfect decoding of DTS-HD MA the real number of channels of the DTS track should be selected in "ArcSoft Audio HD Decoder Setting"

these two properties along with:

1.1) DTS-HD MA 16bit files are always decoded as 24bit, but LSB is not zero, when convert them to 16bit, the output is bit-perfect with small rounding error (as i mentioned here: http://forum.doom9.org/showthread.php?p=1147467#post1147467)

allow us to find out the real parameters (number of channels, bit-depth, sample rate) of the DTS-HD MA track with very simple procedure:

- decode the track with eac3to using "Sonic Audio Decoder" and get "DirectShow reports C channels, B bits, Skhz", where S is the real sample rate, B is the real bit-depth and C is the number of channels, but not always the real number, because Sonic do not understand 7.1 channels

- decode the track with "ArcSoft Audio HD Decoder" with different settings for number of channels until the first two decoded channels are byte-by-byte identical with the first two channels decoded with the "Sonic Audio Decoder", then this is the real number of channels

using this procedure managed to find out the real parameters on most of the samples from "DTS-HD 2008 High Definition Audio Demonstration Blu-ray Disc":

00004.m2ts: (Demo Sample: SFX) : DTS-HD MA, 7.1, 24bit, 96kHz

00005.m2ts (Movie Sample - Night At The Museum) : DTS-HD MA, 5.1, 24bit, 48kHz
00006.m2ts (Movie Sample - Eragon) : DTS-HD MA, 5.1, 24bit, 48kHz
00008.m2ts (Movie Sample - Hairspray) : DTS-HD MA, 7.1, 24bit, 48kHz
00009.m2ts (Movie Sample - Rush Hour 3) : DTS-HD MA, 7.1, 24bit, 48kHz
00010.m2ts (Movie Sample - Nature's Journey I) : DTS-HD MA, 5.0, 24bit, 96kHz
00011.m2ts (Movie Sample - Nature's Journey II) : DTS-HD MA, 5.0, 24bit, 96kHz

00013.m2ts (Music Sample: BT - Dynamic Symmetry) : DTS-HD MA, 7.1, 24bit, 48kHz
00015.m2ts (Music Sample: Pixies - Debaser) : DTS-HD MA, 5.1, 16bit, 48kHz
00016.m2ts (Music Sample: The Who - Pinball Wizard) : DTS-HD MA, 5.1, 16bit, 48kHz
00017.m2ts (Music Sample: Chieli Minucci - Daybreak) : DTS-HD MA, 7.1, 24bit, 48kHz

00022.m2ts: (Demo Sample: Orchestra) : DTS-HD MA, 7.1, 24bit, 96kHz

nautilus7
10th June 2008, 17:23
Nice tests. Madshi has some job to do... :D

Did you try any dts-hd hi res tracks? I tried one (5.1, 24bit, 2082 kbps from Testoteron HD DVD), Arcsoft decoded it, but i am not sure what it decoded. Feeding both decoders with the whole dts-hd track, didn't gave the same results. Feeding both decoders with the dts core of that track, didn't gave the same output also. So, either they don't use the same code, or something else is happening.

Jong
11th June 2008, 16:54
@Madshi,

Hi again,

I know this is a bit of a basic question, but there is a small debate over @AVSForums over whether Eac3to automatically applies the delay shown in the audio filename or if it has to be manually applied in mkvmerge. Could you please confirm is the audio delay appplied automatically when a file is demuxed or re-encoded? Is this true for both Blu-ray and HD-DVD? is there a still a bug where for some titles this does not work? How do we know? What action should we take if this problem does still exist?

Thanks.

Snowknight26
11th June 2008, 17:40
If you see something along the liens of "[a01] Applying audio delay..." in the output, then you can sleep soundly knowing that the appropriate delay has been applied to audio stream 01.

Thunderbolt8
11th June 2008, 18:44
@Madshi,

Hi again,

I know this is a bit of a basic question, but there is a small debate over @AVSForums over whether Eac3to automatically applies the delay shown in the audio filename or if it has to be manually applied in mkvmerge. Could you please confirm is the audio delay appplied automatically when a file is demuxed or re-encoded? Is this true for both Blu-ray and HD-DVD? is there a still a bug where for some titles this does not work? How do we know? What action should we take if this problem does still exist?

Thanks.its done automatically, unless when you demux a trueHD track, because you cant delay these track type. but the delay needed is included in the filename then

Jong
11th June 2008, 18:57
If you see something along the liens of "[a01] Applying audio delay..." in the output, then you can sleep soundly knowing that the appropriate delay has been applied to audio stream 01.Thanks, that is what I thought. But wanted to be 100% sure, especially as there was a bug a couple of months ago where it was not always applied.

kurt
11th June 2008, 19:08
I don't get it: If I demux an audio stream which has a delay with sth. like tsmuxer and then process this stream with eac3to, will be the delay ignored or not?

:stupid:

Thunderbolt8
11th June 2008, 21:43
if you dont use eac3to for demuxing or encoding from the source then you have to add the delay yourself, because the delay is determined from its position in the source. so when you use another program for demuxing the audio and only after that use eac3to for encoding then eac3to of course doesnt know how the relationship of that track in the source to the video stream was.

kurt
11th June 2008, 21:54
thanks for clarification! now I will sleep well :)

EPiPH0NE
12th June 2008, 03:54
if you dont use eac3to for demuxing or encoding from the source then you have to add the delay yourself, because the delay is determined from its position in the source. so when you use another program for demuxing the audio and only after that use eac3to for encoding then eac3to of course doesnt know how the relationship of that track in the source to the video stream was.


The thing is when ever I have a delay, say in a EVO file, if I demux the ES streams from the container with EVOdemux then run them through eac3to it seems to remove the delay but my streams always play fine and in synch. Actually when I let eac3to process delay it sometimes makes my files out of synch after remuxing with tsMuxeR. To be safe if my streams have delay reported by eac3to I always demux to get rid of the delay. It has seemed to work every time for me.

xkodi
12th June 2008, 18:59
@madshi

FYI, "ArcSoft Audio Decoder HD" build 113 TrueHD 7.1 decodes are bit-perfect, byte-by-byte identical with libav.

so, looks like the ArcSoft decoder is very interesting.

Thunderbolt8
12th June 2008, 20:41
madshi, would it be possible that you could output more of the undocumented switches (either here or in eac3to) ? I have a problem with a .m2ts file and am looking for that switch to ingore possible errors now, but since its not documented in eac3to I cant find it.

earl
13th June 2008, 02:42
hi guys, i have 3 little question about eac3to



----
1
----


wine --version
wine-1.0-rc3


wine /home/earl/.wine/drive_c/Programme/eac3to_2-46/eac3to.exe z:/movie.m2ts 1: video.mkv

M2TS, 1 video track, 5 audio tracks, 1:45:58
1: h264/AVC, 1080p24 /1.001 (16:9)
2: RAW/PCM, 5.1 channels, 16 bits, 48khz
3: AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -28dB
4: AC3, 5.1 channels, 640kbit/s, 48khz
5: AC3, 2.0 channels, 192kbit/s, 48khz
6: AC3, 2.0 channels, 192kbit/s, 48khz
Hooking WriteConsoleA failed (Erfolg).
[v01] Extracting video track number 1...
[v01] Muxing video to Matroska...
[v01] Starting DirectShow conversion failed.
Aborted at file position 1409024.

in a real windows it runs fine

wine /home/earl/.wine/drive_c/Programme/eac3to_2-46/eac3to.exe -test

Sonic Audio Decoder (2.46.0.0) doesn't seem to be installed
Haali Media Splitter (2008-3-29) is installed
Surcode DTS Encoder (1.0.23.0) is installed
MkvToolnix (v2.2.0) is installed


do i need anything to let eac3to create the .mkv file ? or is it a problem with wine, i hope not ..





----
2
----


eac3to 1.evo+2.evo 2: d:\abc_movie.mkv 4: d:\abc_4audio.eac3 5: d:\abc_5audio.eac3 6: d:\abc_6audio.eac3
EVO, 2 video tracks, 5 audio tracks, 6 subtitle tracks, 2:12:34
1: Joined EVO file
2: h264/AVC, 1080p24 /1.001 (16:9) with pulldown flags
3: VC-1, 480p30 /1.001 (3:2), -80ms
4: E-AC3, 5.1 channels, 1536kbit/s, 48khz, dialnorm: -27dB, -80ms
5: E-AC3, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB, -80ms
6: E-AC3, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB, -80ms
7: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -80ms
8: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -11ms
9: Subtitle
10: Subtitle
11: Subtitle
12: Subtitle
13: Subtitle
14: Subtitle
[v02] Extracting video track number 2...
[a05] Extracting audio track number 5...
[a06] Extracting audio track number 6...
[a04] Extracting audio track number 4...
[a06] Removing dialog normalization...
[v02] Muxing video to Matroska...
[a04] Removing dialog normalization...
[a06] Applying (E-)AC3 delay...
[a04] Applying (E-)AC3 delay...
[a05] Removing dialog normalization...
[a05] Applying (E-)AC3 delay...
[a04] Creating file "d:\abc_4audio.eac3"...
[a05] Creating file "d:\abc_5audio.eac3 "...
[a06] Creating file "d:\abc_6audio.eac3 "...


what does pulldown flag mean ? what have i to do if i mux the video into .mkv ?




----
3
----

"[a04] Applying (E-)AC3 delay..."
i convert the .eac3 to .ac3, and i will mux it with mkvmerge with the abc_movie.mkv file, what have i to do with the "-80ms delay" ?
.... i must set -80 ms in the mkvmerge(gui) ? or does eac3to change anything on the delay ?

odin24
13th June 2008, 04:46
I just tried to convert a LPCM track @ approx 7MB/s to DTS @1536kbps using eac3to with eac3toGUI. I used the sonic filter and Surcode is intstalled on my PC. Everything started fine, the single 5GB LPCM file was split to six single channels by eac3to then the recode began and finished after about 15 minutes. I then tried to load the file in tsMuxeR but it came back "cannot detect stream", any ideas?

Also, in eac3toGUI the default output was AC3, I changed it to DTS.

Thanks in advance.

bigdog660
13th June 2008, 08:11
I've been using eac3to for some time with no problems on both BD and HD-DVD. Just starting tonight I get the following error:

D:\LIAR_LIAR>D:\HDDVDTL\eac3to feature.evo
The (E-)AC3 reader didn't receive the format information.
The (E-)AC3 reader didn't receive the format information.
The (E-)AC3 reader didn't receive the format information.
EVO, 1 video track, 2 subtitle tracks, 1:25:56
1: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
2: Subtitle
3: Subtitle

D:\LIAR_LIAR>

Here is another example:

D:\THE_LOST_CITY>D:\HDDVDTL\eac3to PEVOB_1.evo+PEVOB_2.evo
The (E-)AC3 reader didn't receive the format information.
This doesn't seem to be a valid (E-)AC3 stream.
The format of the source file could not be detected.

D:\THE_LOST_CITY>

And one more just to be sure:

D:\LICENSE_TO_WED>D:\HDDVDTL\eac3to feature_01.evo+feature_02.evo
The (E-)AC3 reader didn't receive the format information.
The (E-)AC3 reader didn't receive the format information.
The (E-)AC3 reader didn't receive the format information.
The format of the source file could not be detected.

D:\LICENSE_TO_WED>

I checked my codecs and utils with -test, and all seems okay.

D:\HDDVDTL>eac3to -test
Nero Audio Decoder (Nero 7 or older) works fine
Sonic Audio Decoder (4.3.0.169) works fine
Haali Media Splitter (2008-3-29) is installed
Surcode DTS Encoder (1.0.23.0) is installed
MkvToolnix (v2.2.0) is installed

D:\HDDVDTL>

Even if I read directly from the HD-DVD disc, I get the same error. Different titles from other of my HD-DVD discs give the same error too.

Did a check disk, and HDD is fine. Nero is v7.11.10.0. Finally, I'm using Windows XP Pro SP3. And yes, everything was working fine even after I installed SP3... at least for a while.:confused:

Anyone have an idea what's going wrong here?

Thanks.

nautilus7
13th June 2008, 08:15
@ earl

1. Probably wine. Wait until madshi shows up to be sure.
2. Read here (http://en.wikipedia.org/wiki/Telecine).
3. A few posts above is your answer... eac3to can delay all audio tracks. Only exception is truehd demuxing (the delay value is written to the filename then). You don't to do anything in mkvtoolnix.

@ odin24

Post the eac3to log file. Probably surcode didn't start encoding (the processing time is too short).

@ bigdog660

It doesn't have to do anything with the codecs installed (-test) - these are for decoding/encoding, not reading the source files. Perhaps it is caused from bad ripped discs. Did you got all these errors in one day? Can you find a disc that works to ensure that it's not your system's problem? Can you send a sample from one of those movies to test it?

ntk
13th June 2008, 08:45
Hey folks, is BDEdit (or similar manual approach), and then entering each .m2ts filename on the command line, still the only way to figure out and then select which files to include for a branching disc?

Or is there an automatic way to select which .m2ts files to include in my "eac3to 00001.m2ts+00002.evo movie.mkv" command (e.g. if I could just specify a playlist file that would be pretty cool!)

nautilus7
13th June 2008, 11:06
eac3to can read playlist files and find the correct order automatically. Just run eac3to and set as input the root folder of your blu-ray disc. Then select the appropriate title { 1) or 2) or 3) or... } and add it to the previous command line.

mochevolete
13th June 2008, 12:29
sorry for the n00b question, but in what circumstances vc1conv must be used ?

Beastie Boy
13th June 2008, 12:55
sorry for the n00b question, but in what circumstances vc1conv must be used ?

Preparing video to make BluRay, or for creating WMV files for playback on XBox 360.

Cheers, Beastie.

mochevolete
13th June 2008, 13:21
ok, so my "normal" usage for eac3to will be Blu-ray / HD-DVD to mkv, in this case I won't need it.

thanks, Nik

nautilus7
13th June 2008, 15:50
And also the pulldown removal in eac3to is for the same purpose, but as madshi have said latest vc1conv does a better job. That's why he had removed that functionality from eac3to (he put it back by request).

rebkell
13th June 2008, 16:05
eac3to can read playlist files and find the correct order automatically. Just run eac3to and set as input the root folder of your blu-ray disc. Then select the appropriate title { 1) or 2) or 3) or... } and add it to the previous command line.

Can you type in an example command line to do that, I tried that the other day and didn't have any luck. I'll try it out this afternoon when I get home. I like tsmuxer, but eac3to has seemed to always give me better results.

One other question, will eac3to demux m2ts files and produce a raw 264 file?

nautilus7
13th June 2008, 16:26
Can you type in an example command line to do that, I tried that the other day and didn't have any luck. I'll try it out this afternoon when I get home. I like tsmuxer, but eac3to has seemed to always give me better results.Yes, sure. First type this command to get the available titles:

eac3to "F:\Rambo IV 2008 Blu-ray 1080p H.264 DTS-HD MA 7.1"
1) 00041.mpls, 2:00:22
[112+127+115+128+117+129+119+130+121+131+123+132+125].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- h264/AVC, 480p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- AC3, French, multi-channel, 48khz
- AC3, English, stereo, 48khz

2) 00042.mpls, 2:00:22
[112+127+115+128+117+129+119+130+121+131+123+132+125].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- h264/AVC, 480p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- AC3, French, multi-channel, 48khz
- AC3, English, stereo, 48khz

3) 00040.mpls, 1:31:32
[112+114+115+116+117+118+119+120+121+122+123+124+125].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- h264/AVC, 480p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- AC3, French, multi-channel, 48khz
- AC3, English, stereo, 48khz

4) 00037.mpls, 1:10:56
[87+88+89+90+91+92+93].m2ts
- MPEG2, 1080i30 /1.001 (16:9)
- AC3, English, stereo, 48khz

5) 00056.mpls, 00125.m2ts, 0:25:16
- h264/AVC, 1080p24 /1.001 (16:9)
- h264/AVC, 480p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- AC3, French, multi-channel, 48khz
- AC3, English, stereo, 48khz

6) 00046.mpls, 00115.m2ts, 0:22:32
- h264/AVC, 1080p24 /1.001 (16:9)
- h264/AVC, 480p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- AC3, French, multi-channel, 48khz
- AC3, English, stereo, 48khz

7) 00011.mpls, 00087.m2ts, 0:19:45
- MPEG2, 1080i30 /1.001 (16:9)
- AC3, English, stereo, 48khz

Then add the title you want to the previous command:

eac3to "F:\Rambo IV 2008 Blu-ray 1080p H.264 DTS-HD MA 7.1" 1)
M2TS, 2 video tracks, 3 audio tracks, 2:00:22
1: Chapters, 17 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (20:11)
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
5: AC3, French, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB

Last step is to select the streams inside the title you wanna process:

eac3to "F:\Rambo IV 2008 Blu-ray 1080p H.264 DTS-HD MA 7.1" 1) 1: c:\rambo\rambo.chapters.txt 2: c:\rambo\rambo.mkv 4: c:\rambo\rambo.flac 4: c:\rambo\rambo.dts -core 5: c:\rambo\rambo.comm.ac3
M2TS, 2 video tracks, 3 audio tracks, 2:00:22
1: Chapters, 17 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (20:11)
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
5: AC3, French, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
Creating file "c:\rambo\rambo.chapters.txt"...
[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[a04] Extracting audio track number 4...
[a05] Extracting audio track number 5...
[v02] Muxing video to Matroska...
[a04] Extracting DTS core...
[a04] Decoding with DirectShow (Sonic Audio Decoder)...
[a05] Removing dialog normalization...
[a04] DirectShow reports 5.1 channels, 24 bits, 48khz
[a04] Encoding FLAC...
[a04] Creating file "c:\rambo\rambo.flac"...
[a04] Creating file "c:\rambo\rambo.dts"...
[a05] Creating file "c:\rambo\rambo.comm.ac3"...
----------

One other question, will eac3to demux m2ts files and produce a raw 264 file?Yes, it can. Simply select the video stream and set .264 as output extension. Generally, it's not a good idea to demux video though, because it can lead to audio/video sync problems and other artifacts, but you can always try and see.

EPiPH0NE
13th June 2008, 16:37
^^^Just use Eac3to+and+More+GUI -> select 'stream' folder as input -> done. Much easier.

nautilus7
13th June 2008, 16:40
I wouldn't say that the command line way is difficult... plus the first time i used the gui, I was lost. :D

rebkell
13th June 2008, 16:51
eac3to "F:\Rambo IV 2008 Blu-ray 1080p H.264 DTS-HD MA 7.1"

Wow, that's the root directory, what I tried was just eac3to d: , which works great on HD-DVDs, I didn't see all the other stuff as a folder, I'll look a bit harder when I get off.

I'll probably try the gui, I was like nautilus7 when I tried the gui before, now that I've used eac3to some and am a little more familiar with it, the gui might be great, but I didn't have a clue about eac3to to start with and the gui was overwhelming.

Yraen
13th June 2008, 21:03
That's probably the root folder for a ripped disc. If you're running straight from your HD-DVD/BD drive then d:\ is fine.

rebkell
13th June 2008, 23:29
That's probably the root folder for a ripped disc. If you're running straight from your HD-DVD/BD drive then d:\ is fine.

It won't work for me, eac3to d: or eac3to d:\ always comes back with the message:
HD DVD disc structure not found. I can run eac3to directly on the main m2ts file in D:\BDMV\STREAMS, but that is all it works on the best I can tell, I've tried the mpls files and that doesn't work either.

Running 2.42, ouch, I would have sworn I had 2.46. Anyway, downloaded 2.46 and now all works as it should. Thanks for the replies, I would have suffered through until a newer version was released. :)

BLKMGK
14th June 2008, 00:15
eac3to can read playlist files and find the correct order automatically. Just run eac3to and set as input the root folder of your blu-ray disc. Then select the appropriate title { 1) or 2) or 3) or... } and add it to the previous command line.

Oh man - you just saved me HUGE amounts of work - thank you! I hadn't realized we could do it that easily - I've been stitching commandlines together in Notepad!

nautilus7
14th June 2008, 00:40
That's probably the root folder for a ripped disc. If you're running straight from your HD-DVD/BD drive then d:\ is fine.
Yes, of course. It's a ripped disc and f:\ is one of my many hhds. :cool:

bigdog660
14th June 2008, 01:05
@ bigdog660

It doesn't have to do anything with the codecs installed (-test) - these are for decoding/encoding, not reading the source files. Perhaps it is caused from bad ripped discs. Did you got all these errors in one day? Can you find a disc that works to ensure that it's not your system's problem? Can you send a sample from one of those movies to test it?

I found the problem... and I feel like such an idiot. I didn't have AnyDVD running in the Sys Tray. Doh!

:rolleyes:

Thanks for your help anyways.

kedoughty
14th June 2008, 05:23
I've been converting my hd dvd's for playback on appletv with the following steps:
1. anydvd to rip
2. eac3to to obtain .mkv video file and .ac3 multichannel audio
3. mkvmerge to create .mkv container file
4. visualhub to convert .mkv to .mov file (1280x720@24fps with .ac3 audio passthru)

i've been successful with many dvd's but encountered a few "problem discs" along the way. now that i've hit my 3rd problem disc, i've noticed a trend. all three (Anchorman, TopGun, and now Stardust) have h264/avc video streams. the discs i've been successful with are all vc-1.

the .mkv file created by mkvmerge won't even play on my computer (iMac with windows XP thru parallels). Multiple mkv players (VLC, mPlayer OSX and Media Player Classic). VLC gives the smoothest video playback but the audio falls out of sync. mPlayer OSX reports a progressively increasing a/v sync that maxes out around 4 sec and a larger dropped frame rate. MPC won't even play the files at all, immediately giving some error message.

consequently, the .mov file created by VisHub as played thru the appletv has a stuttering video with smooth audio playback.

the vc-1 discs (at least 10) that i've done all work fine.

thoughts?

thanks,
Kyle

rebkell
14th June 2008, 05:46
I've been converting my hd dvd's for playback on appletv with the following steps:
1. anydvd to rip
2. eac3to to obtain .mkv video file and .ac3 multichannel audio
3. mkvmerge to create .mkv container file
4. visualhub to convert .mkv to .mov file (1280x720@24fps with .ac3 audio passthru)

i've been successful with many dvd's but encountered a few "problem discs" along the way. now that i've hit my 3rd problem disc, i've noticed a trend. all three (Anchorman, TopGun, and now Stardust) have h264/avc video streams. the discs i've been successful with are all vc-1.

the .mkv file created by mkvmerge won't even play on my computer (iMac with windows XP thru parallels). Multiple mkv players (VLC, mPlayer OSX and Media Player Classic). VLC gives the smoothest video playback but the audio falls out of sync. mPlayer OSX reports a progressively increasing a/v sync that maxes out around 4 sec and a larger dropped frame rate. MPC won't even play the files at all, immediately giving some error message.

consequently, the .mov file created by VisHub as played thru the appletv has a stuttering video with smooth audio playback.

the vc-1 discs (at least 10) that i've done all work fine.

thoughts?

thanks,
Kyle

Do they have pulldown flags in them?

rebkell
14th June 2008, 14:42
Oh man - you just saved me HUGE amounts of work - thank you! I hadn't realized we could do it that easily - I've been stitching commandlines together in Notepad!

I agree, it's great, it put together Walk Hard, and synced it, that movie must have 30 or 40 pieces, I had all kinds of a/v sync problems with tsmuxer on that movie.

BLKMGK
14th June 2008, 15:15
I agree, it's great, it put together Walk Hard, and synced it, that movie must have 30 or 40 pieces, I had all kinds of a/v sync problems with tsmuxer on that movie.

no kidding, withut it here's what I had to use for AVP2!

D:\Video\eac3to>eac3to x:\BDMV\STREAM\00010.m2ts+x:\BDMV\STREAM\00050.m2ts+x:\BDMV\STREAM\00011.m2ts+x:\BDMV\STREAM\0005
1.m2ts+x:\BDMV\STREAM\00012.m2ts+x:\BDMV\STREAM\00052.m2ts+x:\BDMV\STREAM\00013.m2ts+x:\BDMV\STREAM\00053.m2ts+x:\BDMV\S
TREAM\00014.m2ts+x:\BDMV\STREAM\00054.m2ts+x:\BDMV\STREAM\00015.m2ts+x:\BDMV\STREAM\00055.m2ts+x:\BDMV\STREAM\00016.m2ts
+x:\BDMV\STREAM\00056.m2ts+x:\BDMV\STREAM\00017.m2ts+x:\BDMV\STREAM\00057.m2ts+x:\BDMV\STREAM\00018.m2ts+x:\BDMV\STREAM\
00058.m2ts+x:\BDMV\STREAM\00019.m2ts+x:\BDMV\STREAM\00059.m2ts+x:\BDMV\STREAM\00020.m2ts+x:\BDMV\STREAM\00060.m2ts+x:\BD
MV\STREAM\00021.m2ts+x:\BDMV\STREAM\00061.m2ts+x:\BDMV\STREAM\00022.m2ts+x:\BDMV\STREAM\00062.m2ts+x:\BDMV\STREAM\00023.
m2ts+x:\BDMV\STREAM\00063.m2ts+x:\BDMV\STREAM\00024.m2ts+x:\BDMV\STREAM\00064.m2ts+x:\BDMV\STREAM\00025.m2ts+x:\BDMV\STR
EAM\00065.m2ts+x:\BDMV\STREAM\00026.m2ts+x:\BDMV\STREAM\00066.m2ts+x:\BDMV\STREAM\00027.m2ts+x:\BDMV\STREAM\00067.m2ts+x
:\BDMV\STREAM\00028.m2ts+x:\BDMV\STREAM\00068.m2ts+x:\BDMV\STREAM\00029.m2ts+x:\BDMV\STREAM\00069.m2ts 2: f:\avp\avp1-vid.mkv + x:\BDMV\STREAM\00010.m2ts+ x:\BDMV\STREAM\00050.m2ts+x:\BDMV\STREAM\00011.m2ts+x:\BDMV\STREAM\00051.m2ts+x:\BDMV\STREAM\00012.m2ts+x:\BDMV\STREAM\00052.m2ts+x:\BDMV\STREAM\00013.m2ts+x:\BDMV\STREAM\00053.m2ts+x:\BDMV\STREAM\00014.m2ts+
x:\BDMV\STREAM\00054.m2ts+x:\BDMV\STREAM\00015.m2ts+x:\BDMV\STREAM\00055.m2ts+x:\BDMV\STREAM\00016.m2ts+x:\BDMV\STREAM\0
0056.m2ts+x:\BDMV\STREAM\00017.m2ts+x:\BDMV\STREAM\00057.m2ts+x:\BDMV\STREAM\00018.m2ts+x:\BDMV\STREAM\00058.m2ts+x:\BDM
V\STREAM\00019.m2ts+x:\BDMV\STREAM\00059.m2ts+x:\BDMV\STREAM\00020.m2ts+x:\BDMV\STREAM\00060.m2ts+x:\BDMV\STREAM\00021.m
2ts+x:\BDMV\STREAM\00061.m2ts+x:\BDMV\STREAM\00022.m2ts+x:\BDMV\STREAM\00062.m2ts+x:\BDMV\STREAM\00023.m2ts+x:\BDMV\STRE
AM\00063.m2ts+x:\BDMV\STREAM\00024.m2ts+x:\BDMV\STREAM\00064.m2ts+x:\BDMV\STREAM\00025.m2ts+x:\BDMV\STREAM\00065.m2ts+x:
\BDMV\STREAM\00026.m2ts+x:\BDMV\STREAM\00066.m2ts+x:\BDMV\STREAM\00027.m2ts+x:\BDMV\STREAM\00067.m2ts+x:\BDMV\STREAM\000
28.m2ts+x:\BDMV\STREAM\00068.m2ts+x:\BDMV\STREAM\00029.m2ts+x:\BDMV\STREAM\00069.m2ts 3: f:\avp\avp1-aud.ac3 -640 -libav
:eek:

mochevolete
14th June 2008, 15:30
some other n00b questions:

as a rule of thumb, when converting a BR / HD-DVD to MKV, apart from DTS/AC3/E-AC3, I'm going to deal with :
- DD TrueHD
- DTS-HD
- LPCM
so what's the best way/thing to do with these audio tracks, convert them all to FLAC ?
My main goal is to mantain the best quality possible.

Slightly OT question:
what's the situation with current audio decoders (outside of SW developed for HD discs like PDVD, Arcsoft, Nero HD), ffdshow, libav, MPV & co., what formats can decode ? AC3/DTS/FLAC/ ... ?
Any chance to see the lossless formats decoded in the short period ? And to be bitstreamed thru HDMI ?

ok, for now.. maybe :D :D

thanks, Nik :)

nautilus7
14th June 2008, 16:00
TrueHD, DTS-HD Master Audio are lossless compression formats, while LPCM is uncompressed. So for all of them FLAC (lossless also) will give best quality (no losses at all).

TrueHD and E-AC3 decoders will be part of the libav codec soon. Then we may see directshow decoders for them. There aren't any freeware DTS-HD decoders though. Best FLAC decoder is madflac.

kedoughty
14th June 2008, 18:24
Do they have pulldown flags in them?

Yes they do.

If it means anything, so do most of, if not all (as far as I can remember), the movies with vc-1 video streams.

rebkell
14th June 2008, 18:36
Yes they do.

If it means anything, so do most of, if not all (as far as I can remember), the movies with vc-1 video streams.

I'm not sure what eac3to does with the pulldowns, but I don't have problems with them on VC-1 tracks, but I have to actually extract the raw 264 stream from the mkv file and then run dgavcindex on it and it will remove the pulldown flags on avc streams. Then I run AVCSource on the dga file and it works great. I had to do that on Beowulf to get it to play correctly.

I'm sure someone here can be of more help, that's been my very limited experience with HD-DVD and avc encodes.

mochevolete
14th June 2008, 18:39
TrueHD, DTS-HD Master Audio are lossless compression formats, while LPCM is uncompressed. So for all of them FLAC (lossless also) will give best quality (no losses at all).

TrueHD and E-AC3 decoders will be part of the libav codec soon. Then we may see directshow decoders for them. There aren't any freeware DTS-HD decoders though. Best FLAC decoder is madflac.
thanks, but I've just realized that for the FLAC is needed a 6 channel analog output :(
And the output of my ALC883 is so poor...

asarian
14th June 2008, 19:45
Okay, I've been using eac3to now too to extract video/audio. And I must admit, it's quite, quite clever in figuring stuff out. :) One question, though, when I had eac3to determine the parts of the main movie ("Enchanted", Bluray), it returned something like this:

4) 00001.mpls, 1:47:28
[120+121+122+123+124+125+126+127+128+130+131+132+133+134+135+136+137+138+139+140+141+142].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)

I had to rename the parts in order to extract the video, like:

"C:\Program Files\eac3to\eac3to.exe" 00120.m2ts+00121.m2ts+00122.m2ts+00123.m2ts+00124.m2ts+00125.m2ts+00126.m2ts+00127.m2ts+00128.m2ts+00130.m2ts+00131.m2ts+00132.m2ts+00133.m2ts+00134.m2ts+00135.m2ts+00136.m2ts+00137.m2ts+00138.m2ts+00139.m2ts+00140.m2ts+00141.m2ts+00142.m2ts 2: enchanted.h264

Which works like a charm. But any chance I can get eac3to to not use 'shorthand' notation for displayed parts? I mean, so I can simply copy & paste the long parts names.

Thanks!

rebkell
14th June 2008, 19:53
Run this line
eac3to <source of disk> 4)
This will return the video tracks, audio tracks, and chapter, etc...

then you can just run a command something like this, depending on what the above command returned:
eac3to <source> 4) 1: chapters.txt 2: movie.mkv 3: movie.ac3

asarian
14th June 2008, 20:10
Run this line
eac3to <source of disk> 4)
This will return the video tracks, audio tracks, and chapter, etc...

then you can just run a command something like this, depending on what the above command returned:
eac3to <source> 4) 1: chapters.txt 2: movie.mkv 3: movie.ac3

Brilliant! Just "4)", how easy! Thanks!

ntk
15th June 2008, 08:03
eac3to can read playlist files and find the correct order automatically. Just run eac3to and set as input the root folder of your blu-ray disc. Then select the appropriate title { 1) or 2) or 3) or... } and add it to the previous command line.

This is SUCH a great tip. eac3to is a great application, but the very first page of this thread should definitely have this usage documented! I think 90% of the people using this app will just want to use these three simple steps, then remux with mkvmerge, and be done!

Thanks again for the tip!

ntk
15th June 2008, 08:07
Another (loosely related) question: where can I buy the Sonic 2.46.0.0 audio decoder that eac3to is looking for? I looked at the Sonic site and only saw a DVD decoder bundle (not bluray or HD-DVD) and the specific codecs included in the bundle weren't called out (that I could find). Any pointers? I want a legal copy, so no bittorrents plz ;)

G_M_C
15th June 2008, 08:28
Hi Madshi,

Just popped in to ask a question;

Lately i' m making some AVCHD-disk; And according to the standard the audio on those disks can only be AC35.1 (up to 640 kbps). Thats no problem, but teh standard also mentiones that the framerate for video can only be 24, 25 or 30 fps.

I' d like to ask if it is possible to implement a function like speedup is now, but only speeds up the audio to 24 fps. This way i can use EAC3to to make to convert the audio i need for my AVCHD disks, cause 24fps is closer to the original (23,976).

mochevolete
15th June 2008, 11:30
I'm a bit confused on what to do with VC1 video.

I have this stream:
3: VC-1, 1080p24 /1.001 (16:9) with pulldown flags

what are the correct steps ?
- diretcly to MKV (with the -stripPulldown ?) ?
- intermediate to VC1, then with Vc1conv to another VC1 and finally to MKV ?

thanks, Nik

nautilus7
15th June 2008, 12:16
I'm a bit confused on what to do with VC1 video.

I have this stream:
3: VC-1, 1080p24 /1.001 (16:9) with pulldown flags

what are the correct steps ?
- diretcly to MKV (with the -stripPulldown ?) ?
- intermediate to VC1, then with Vc1conv to another VC1 and finally to MKV ?

thanks, NikYou need to strip pulldown, if you intend to make the stream blu-ray (or ps3 ?) compatible. If pc playback is your goal you can simply mux it to mkv without removing the pulldown flags.