View Full Version : Transcode from MPEG2 to x264 vie MeGUI, strange sync problem
me7
20th September 2008, 19:19
I recently ripped some movie DVDs to x264 with untouched AC3 audio in MKV containers. Some files turned out to be out of sync
Afterwards I noticed that the broken files had one thing in common: When creating the d2v files with MeGuis "D2V Creator", it outputed three files, a ".d2v", a ".d2v.bad" and a ".fix.txt".
I included the files as attachment. Can this cause sync errors? Can I fix them?
gigah72
20th September 2008, 20:17
i had the same problem with staxrip. both use dgindex, so the problem seems to be on the dgindex side, imo.
me7
21st September 2008, 13:00
Do you know a workaround for this?
cynebald
21st September 2008, 16:14
You should try using the ".d2v.bad" file (with the ".bad" bit removed, of course) instead of the ".d2v" one.
http://neuron2.net/dgmpgdec/DGIndexManual.html#FixD2V
neuron2
21st September 2008, 16:18
Start your project in by a few GOPs in DGIndex. I looked at the D2V and the bad transition is between the second and third GOPs. So step in by two GOPs and hit the [ button. Then Save Project as usual.
me7
22nd September 2008, 01:48
Start your project in by a few GOPs in DGIndex. I looked at the D2V and the bad transition is between the second and third GOPs. So step in by two GOPs and hit the [ button. Then Save Project as usual.
Thanks, it worked. I noticed that the subs are slightly out of sync now though, can I easily calculate how long two GOPs are for a PAL movie (25 fps) to adjust the delay?
I have the same problem with two more files, where in the d2v do I see how many GOPs I have to skip?
neuron2
22nd September 2008, 02:42
Thanks, it worked. I noticed that the subs are slightly out of sync now though, can I easily calculate how long two GOPs are for a PAL movie (25 fps) to adjust the delay? See below.
I have the same problem with two more files, where in the d2v do I see how many GOPs I have to skip? The fix file points you to the start of the D2V data (use the offset number to locate it; note that the GOP skipping method works only if it is at the start). So you have this:
d00 5 0 0 0 0 0 90 b0 b0 a0 b0 b0 a0 b0 b0 a0
d00 5 0 12317 0 0 0 b0 b0 90 a0
d00 5 0 22370 0 0 0 d2 f2 e2 f2 f2 e2 f2 f2 e2 f2 f2 e2
900 5 0 36418 0 0 0 72 72 d2 f2 f2 e2 f2 f2 e2 f2 f2 e2
900 5 0 50470 0 0 0 72 72 d2 f2 f2 e2 f2 f2 e2 f2 f2 e2
900 5 0 64526 0 0 0 72 72 d2 f2 e2 f2 f2 e2 f2 f2 e2 Each line is a GOP. The first 7 fields are special stuff and each one after that is a frame. At the end of the second line your last frame is a0. At the start of the third line your first frame is d2. 0->2 is illegal. So you have cut off two GOPs. The first GOP has 10 frames and the second has 4. So you've cut off 14 frames.
If there is pulldown, you have to take that into account (too involved to explain here).
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.