PDA

View Full Version : sound and video are not synchronous


newuserxyz
26th February 2006, 14:51
Hi!

I converted a dvd-video with AutoGK to avi (DivX). I didn't change anything in the standard settings. As a result the sound is one or two seconds too late. What went wrong?


Thanx in advance ;-)

setarip_old
26th February 2006, 18:57
Hi!

Although there are undoubtedly many other methods to resynch your DivX-compressed .AVI, the follwoing work(s) very nicely:

A) If the difference between audio and video is constant throughout the video:

Load the file into VirtualDub, VirtualDubMod, or NanDub.
Set BOTH "Video"(VirtualDub, VirtualDubMod and NanDub) and "Audio" (VirtualDub and NanDub - VirtualDubMOD>"Streams>"Stream list") to "Direct Stream Copy".
From the "Audio" dropdown menu, select "Interleaving" (For VirtualDubMOD, rightclick on the listed audiostream and then select "Interleaving")
Under "Audio skew correction", set an appropriate number of milliseconds (positive or negative) in the box labelled "Delay audio track by"
Save with a new filename

B) If the difference increases as the movie plays:

From under the "Video" dropdown menu, select "Framerate" - and select "Change so video and audio durations match"
Save with a new filename

Let us know of your success ;>}

neo squidward
27th February 2006, 03:28
I am having a similar problem. I have a leadtek winfast 2000 xp. It has software encoding. I tell it to record a show using mpeg2 optimal quality. The recoded video (although enormous in size) is fine, however when I try to encode it with autogk, the sound and the video get more and more unsynced. I am having this problem with other programs as well, so I'm wondering if either its a codec probelem on the machine, or if there is somthing wrong with the mpeg2 video. Any insight would be much apperciated!

newuserxyz
27th February 2006, 16:38
Hi! ... thanx 4 reply ....

I checked the film and it seems that the difference between audio and video is constant.
I will try out the first solution tonight (it's a long movie) and let you know about the success tomorrow.

Bye the way, what's the difference between VirtualDub and VirtualDubMod?

newuserxyz
27th February 2006, 17:33
I expected the resync would take also a few hours like the conversion, but it was only 3 minutes. So I'm finished right now and Solution one worked fine!

@setarip_old:
Is there a way to avoid the synchronous problems when converting with AutoGK?

CWR03
27th February 2006, 18:49
Is there a way to avoid the synchronous problems when converting with AutoGK?
Synch problems happen with ARccOS-protected disks - you can either rip it with DVD Decrypter and the proper PSL2 file, or resynch it afterward.

newuserxyz
27th February 2006, 20:16
Synch problems happen with ARccOS-protected disks - you can either rip it with DVD Decrypter and the proper PSL2 file, or resynch it afterward.

I ripped the dvd with dvd decrypter. But what is a PSL2 file?

setarip_old
27th February 2006, 20:26
So I'm finished right now and Solution one worked fine!As always, my pleasure ;>}

CWR03
28th February 2006, 07:07
I ripped the dvd with dvd decrypter. But what is a PSL2 file?
Google your title along with "psl2," and search this forum if necessary.

e268
12th March 2006, 03:19
I ran vobblanker, and it works. Audio is now in sync with video. Thanks guys.

darkpepe
13th March 2006, 11:52
Could you plz tell how e268?

If there's a general solution for the ARccOS-protected disks but searching for psl2 files or resynching it would be great.

Thx

e268
13th March 2006, 21:36
Could you plz tell how e268?

If there's a general solution for the ARccOS-protected disks but searching for psl2 files or resynching it would be great.

Thx

Not sure if my dvd is ARccOS, but my sound was out of sync with video. So, I just ran my VTS 01 file (from DVDDecrytor) thru VobBlanker (goofle for dl).

darkpepe
16th March 2006, 07:58
I tried VobBlanker without luck, no psl2 file available for my DVD :(

Anyone knows how to synchronize ac3 tracks in VirtualDub? Any codec I must have installed? (AC3 filter already is)

Thx

e268
16th March 2006, 14:20
I might have used the TS file instead of the VTS file (I forgot how I did it), but I found the proper reference here:
http://forum.digital-digest.com/showthread.php?s=&threadid=46046

darkpepe
16th March 2006, 23:05
No luck. Thx anyway.

With the try and error technique I managed to set the delay quite accurate, but still not perfect.

Isn't there another way to sync the movie without having to save the file over and over again to set the right delay?
VirtualDub doesn't play the AC3 track when previewing :(

manono
17th March 2006, 01:40
Hi-

Isn't there another way to sync the movie without having to save the file over and over again to set the right delay?

Yeah, open the AVI in Media Player Classic. Right-click the screen and go Options->Audio Switcher->Check the "Audio time shift" box. Now, if the dialog comes before the lips move, then you want to set a positive delay. If the words trail the movement of the lips, you set a negative delay. This delay is in .ms, and 1000 .ms= 1 second. Set a test delay and test it out in the AVI. Adjust until you get it right. Remember or write down that delay, and then use it when making the delay permanent in VDubMod.

And don't forget to set the delay back to zero and uncheck the box when done, or it'll keep that same delay whenever you play an AVI with MPC.

darkpepe
17th March 2006, 07:45
Thx manono! Didn't know about that one!

A funny thing about this feature is, you have to wait the whole delay time to hear any sound after the movie starts.

In my case it's more than one and a half minute, which just renders it almost useless, because it's more time than I would need to save a new copy with VD

pstar
19th March 2006, 07:26
I have this Problem also.:mad:
Thou when i use the exact same vobs with dvd shrink or nero recode and encode it to a mp4 file it works fine. (no audio sync isses)

also i have no sync issuses while watching the iso.

I'd like to know whats going on.

The dvd is Sky high zone 4. (and some others)

It was ripped with dvd decrypter in Iso mode, then mounted with deamon tools.

using auto knot ver 2.27

darkpepe
19th March 2006, 22:44
If nero recode does is right, maybe there's a way to find out the delay it uses for the audio stream?

darkpepe
21st March 2006, 10:38
Confirmed!

Used the same source for Nero Recode and AutoGK.
While Nero Recode joins video and audio flawless, AutoGK screws up the sync :(
Must be some sort of bug in DGMPGDec...

pstar
22nd March 2006, 05:28
So is it possible to update DGMPGDec?

darkpepe
22nd March 2006, 21:25
Maybe we should ask somewhere else, DGMPGDec forum for example. The newest version still does the same mistake.

manono
22nd March 2006, 22:14
Hi-

Before you go get yourself hammered in the DVD2AVI/DGIndex Forum for falsely accusing DGIndex of being buggy, lets make sure you're creating your AVIs correctly.

I guess these are ARccOS protected DVDs you have, so you know you have to clean them up first, before running them through AutoGK. There are better people than I that know about that, but I wouldn't accuse AutoGK or DGIndex of being the source of your problems if ARccOS is involved.

pstar
23rd March 2006, 06:21
I'm not accusing anyone of anything.

From what i've read about ARccOS vobs I'm trying to encode are not protected.

I've tried "cleaning" them anyway but still the same problem a rises.

All i want to know whats going on. I'm far from a expert on this and Google isn't helping as much as it normally does. :confused:

manono
23rd March 2006, 07:16
Well, you've already claimed that DGIndex had a bug, which simply isn't true. If your DVD isn't ARccOS protected, then have you decrypted using DVD Decrypter in IFO Mode (and not File Mode or ISO Read Mode)? That way you remove the chance of Angles or multiple PGCs in the same VTS from messing things up.

pstar
23rd March 2006, 10:50
Thanks Manono I'll try that.
Thou' I'm sure I have not claimed that DGIndex has a bug. To tell truth the I'm not really sure what happens after I press start.
What i do know is that the way i used to do worked and now with "Sky high", "Into the blue" and "Stealth" all zone 4. I'm not Pointing fingers just would like things back to the super easy way of before.

Maybe i should of started with a big thaks to the contributors of Auto knotGK, insteed of I have a problem.
Really sorry if i've upset/broken board rules.:confused:

manono
23rd March 2006, 11:42
My mistake, pstar. It was darkpepe who said, "Must be some sort of bug in DGMPGDec..." I'm not exactly sure where the problem is, but it's not with DGMPGDec (which contains DGIndex).

I don't know any of those films, so I can't say for sure if ARccOS or Rip Guard or other anti-copying technology is involved, or just faulty decrypting practices before running the movies through AutoGK. But I wish you luck.

setarip_old
23rd March 2006, 18:53
@pstar

Hi!The dvd is Sky high zone 4. (and some others)
It was ripped with dvd decrypter in Iso mode, then mounted with deamon tools."Sky High" (as are, apparently, all Disney releases now) has "RipGuard" copy protection.

Although DVD Decrypter v.3.5.4 CAN successfully rip such DVDs, the rip is not "clean" - and this probably accounts for your synchronization problem. Do the following:

1) Use DVD Decrypter v.3.5.4 to rip in "File mode" (NOT "ISO mode") - select "ALL files" (NOT just "movie files")

2) Load the ripped DVD "package" into VOBBlanker - select a new location to output files

3) Set VOBBlanker to "Process all files"

4) Press the "Process" radiobutton

5) Use the new (From the new output location) DVD "package" as your source

Let us know how it goes ;>}

manono
23rd March 2006, 22:25
Hi setarip_old-

Thanks for your timely post. Now, I don't encode many newer films, so I rarely encounter these protections. However, I did back up a recent Disney Miyazaki anime release. Not knowing whether or not it had any screwy anti-copy protection, I ran it through FixVTS just to be safe and everything turned out fine.

So, let me try and pin you down on a couple of things, since you seem to know whereof you speak.

You said to decrypt in File Mode. Will it work in IFO Mode as well? That is, can you run it through VobBlanker if you have only the movie, as opposed to the whole DVD?

And FixVTS will do the same thing as VobBlanker, won't it? FixVTS can be run in place, that is, without creating another copy of the movie. It's slower that way than if you have a second drive to send the "fixed" copy, but I'm in no hurry.

And since we're getting quite a few of these threads about asynch audio and subs, and since it's natural to blame the problem on AutoGK, even though it's not at fault, would you have any interest in creating a full thread about the copy protections in use, how to spot them, which studios use them, and the easiest ways to defeat them so we can back up our favorite movies with the least problems? It would have to be a "newbie friendly" post, with "newbie friendly" remedies since many of the people here, especially those using AutoGK, haven't had all that much experience. I'll happily make such a post of yours a Stickie.

setarip_old
24th March 2006, 01:48
You said to decrypt in File Mode. Will it work in IFO Mode as well? That is, can you run it through VobBlanker if you have only the movie, as opposed to the whole DVD?As far as I know, VOBBlanker seeks the "VIDEO_TS.IFO" file, so you would have to rip in "File" mode...FixVTS will do the same thing as VobBlanker, won't it?So, I've heard. I've not had occasion to use FixVTS (It came out later than VOBBlanker), as VOBBlanker has served perfectly thusfar for all "RipGuard"-protected titles to-dateFixVTS can be run in place, that is, without creating another copy of the movie.Personally, I would never want to alter my initial rip. A modified second copy is fine with me ;>}would you have any interest in creating a full thread about the copy protections in use, how to spot them, which studios use them, and the easiest ways to defeat them so we can back up our favorite movies with the least problems?I'd be glad to create such a "sticky" regarding "RipGuard" copy protection but, with regard to "ARccOS"-copy protection, I couldn't in good conscience suggest any of the freeware "solutions" (some of which include the use of a combination of programs, plugins, etc.) because:

My personally preferred method of overcoming "ARccOS", regardless of the iteration, has always been to use the only true "one click solution" (ripping, compressing, and burning - as well as options to make 1:1 rips, join multiple DVDs, eliminate extras while retaining active menus, etc.) DVD95Copy, which is a commercial program - and I tire of being railed at over and over again by the same posters whining about, "If it isn't free, I don't want to hear about it" and being accused of "advertising" a commercial program.

pstar
24th March 2006, 04:45
Just an update.
Ripped the vobs in IFO mode. avi works mint as.
Thanks manono

manono
24th March 2006, 04:56
Oh well, it was worth a try. Thanks, setarip_old. Yeah, I'm looking for pure freeware solutions. But don't worry, you're safe from your detractors down here. :)

So, to recap, and please elaborate or correct me if I'm wrong:

RipGuard is a copy protection used only by Disney (and Buena Vista?), and can easily be defeated by decrypting the DVD with DVD Decrypter in File Mode, and then fully processing through VobBlanker or FixVTS.

ARccOS is a copy protection used by Sony (and Columbia Pictures?) and can usually be defeated using one or another of the methods as outlined here:

http://forum.doom9.org/showthread.php?t=107719

When is it useful to use DVDFab Decrypter instead of DVD Decrypter, and what has to be done afterwards, if anything? And it should be noted that I believe Sony has stopped, or is about to stop, using ARccOS.

manono
24th March 2006, 04:59
Good going, pstar!

setarip_old
24th March 2006, 06:14
@manonoRipGuard is a copy protection used only by Disney (and Buena Vista?)No, not only Disney. As a matter of fact, the first "sighting" of RipGuard was noted to be "Madagascar" by Dreamworks.

What I said regarding Disney and RipGuard was that apparently ALL (not "only") new Disney releases now appear to contain RipGuard copy protection...When is it useful to use DVDFab Decrypter instead of DVD DecrypterIt's been indicated that DVDFab Decrypter automatically replaces any and all unreadable sectors with "dummy" sectors, whether or not they are part of a protection scheme. That means that if you've unknowingly purchased a poorly pressed commercial DVD (and this has become a fairly frequent situation recently) and use DVD Decrypter to rip it, you may not be aware that you own a problematic DVD or that your rip is less than perfect - until you play it back.

In my opinion, the only thing I would recommend using DVDFab Decrypter for would be to try and salvage what you know to be an old, physically damaged DVD. And it should be noted that I believe that Sony has stopped, or is about to stop, using ARccOS.Yes, that was stated in an article in Forbes' online magazine but - The SONY movie "Capote", released the day before yesterday, is ARccOS protected...

gsgleason
26th March 2006, 21:01
I don't get it. Please tell me what I'm doing wrong.

I cannot get goblet of fire to have synchronous video and audio. I've ripped it with dvdfabdecrypter and after autogk was done, the audio and video were definitly way out of synch, and no matter what I did with nandub I couldn't get them right.

so I passed my original rip though vobblanker and that didnt' help either.

When I play my original rip (using dvdfabdecrypter) with powerdvd, it's fine.

How do I get it through autogk and have audio in synch?

setarip_old
26th March 2006, 21:47
@gsgleason

Hi!

The Region 1 version of "Goblet of Fire" has no special/newer copy protection. Try re-ripping your original, purchased DVD with DVD Decrypter v.3.5.4 (NOT DVDFab Decrypter) - and then use MPEG Mediator to convert...

gsgleason
26th March 2006, 22:03
@gsgleason

Hi!

The Region 1 version of "Goblet of Fire" has no special/newer copy protection. Try re-ripping your original, purchased DVD with DVD Decrypter v.3.5.4 (NOT DVDFab Decrypter) - and then use MPEG Mediator to convert...

MPEG mediator and not autogk?

manono
27th March 2006, 00:50
This is the GKnot/AutoGK Forum, setarip_old.

gsgleason, assuming that setarip_old is correct in saying that it doesn't have any special additional copy protection, then decrypt the movie using DVD Decrypter in IFO Mode and then let AutoGK take it from there.

setarip_old
27th March 2006, 04:15
@manono

the suggestion to try MPEG Mediator was made so that "gsgleason" could compare the results...

darkpepe
28th March 2006, 08:29
Before you go get yourself hammered in the DVD2AVI/DGIndex Forum for falsely accusing DGIndex of being buggy, lets make sure you're creating your AVIs correctly.

I guess these are ARccOS protected DVDs you have, so you know you have to clean them up first, before running them through AutoGK. There are better people than I that know about that, but I wouldn't accuse AutoGK or DGIndex of being the source of your problems if ARccOS is involved.


Maybe DGIndex does nothing wrong, but it DOES display the delay INcorrectly, while Nero Recode works perfectly on the SAME source.

PS:
Sorry for the lack of feedback lately!

gsgleason
29th March 2006, 04:31
dvd decrypter worked perfectly.

I was under the apparently false assumptino that dvdfabdecrypter worked with autogk. It apparently does not.

setarip_old
29th March 2006, 04:58
Glad to hear that DVD Decrypter v.3.5.4 worked for you ;>}

(The problem with using DVDFab Decrypter is that, purportedly, it AUTOMATICALLY replaces any and all unreadable sectors (whether part of a protection scheme or the result of physical disc problems) with "dummy" sectors)

darkpepe
29th March 2006, 07:25
So why does the DVD play correctly, and why does Nero recode have no problems converting it?

If it had dummy sectors where you should see some images, we should notice. And what do the dummy sectors have to do with wrong delays?!

kis2005
31st March 2006, 16:53
What version of Auto GK are you using? I have just run into the same problem using 2.27 on two different movies, which neither are ARccOS protected. I even double checked the source for synch errors and didn't find any. I'm unistalled and re-installed 2.26 and I'm running them one of them through again to see if I just had a bad install.

Manono - Good tip with MPC.

darkpepe
1st April 2006, 03:03
I'm using 2.27 also, just tried on an older movie with ac3 and mp3 vbr, both flawless. Was just with that sony Arccos crap DVD I had probs.

kis2005
3rd April 2006, 16:13
I've been dealing with synch problems like these with The Brothers Grimm, Madagascar, and The Cave. All of the discs seem to play fine on my DVD Player, but when I ran them through Auto GK (both 2.26 and 2.27) the audio was off.

With The Cave I was able to use a PGC Edit plugin (using the wizard) to rip with DVD Decrypter, create a PSL2 file and clean it up with FixVTS. I found the whys and hows and toolas at this link http://forum.digital-digest.com/showthread.php?t=56078 It had a godd explanation, guide and a link to a full install of the tools...which I highly recommend.

So The Cave was fixed, but I have ripped bothe The Brothers Grimm and Madagascar with DVD Decrypter and ran them through both Vob Blanker and FixVTS, encoded with DVD Shrink, and burned with Nero and each of them when run through Auto GK, had audio out of synch.

Is there any trick to using Vob Blanker or FixVTS or any other suggestions? The discs play great in a player but Auto GK doesn't like them. Any suggestions!!!

kis2005
3rd April 2006, 17:31
btw...I don't know if it makes a difference, but I'm using XviD and not DivX with Auto GK.

weaver4
3rd April 2006, 19:57
You might want to try Mpeg Mediator or Fairuse. Both of these programs seem to do a much better job of Audio Sync than AutoGK. I have been using Fairuse (with AnyDVD) on the "difficult" movies like Madagascar without any problems.

CWR03
3rd April 2006, 20:54
kis2005, you can easily correct the audio synch with VirtualDubMod after encoding with AutoGK. There's no reason to pre-process the files before encoding as long as you rip them in .IFO mode.

setarip_old
3rd April 2006, 21:17
I have ripped bothe The Brothers Grimm and Madagascar... and each of them when run through Auto GK, had audio out of synch.Just how much out of synch are they? Are you saying milliseconds or many seconds?

darkpepe
3rd April 2006, 21:29
kis2005, you can easily correct the audio synch with VirtualDubMod after encoding with AutoGK.

What if the audio is AC3? VDM doesn't play back those :(

kis2005
4th April 2006, 03:27
CWR03 - Yes I know that VDubMod can work and I have used it before and since I do use MP3 as audio, it would still do the job.

setarip_old - we are talking seconds about 1-2.

What I'm looking for is away to rip the movies properly. I was able to find a fix for The Cave and it worked like a charm, but at this point, I'm determinded.

setarip_old - what setting in Vob Blanker are you using for Rip Guard titles?

setarip_old
4th April 2006, 04:04
After loading the proper file, regardless of any message generated by VOBBlanker, select "Process All" and then press the "Process" radiobutton...

kis2005
4th April 2006, 10:26
Thanks. That is what I have been doing but just wanted to make sure. I just started working with it last week after your original post on the Rip Guard titles. It does look like the titles play smoother on the standalone, but I still have the synch problem with Auto GK.

StanHere
9th April 2006, 00:18
Like some here before me, am suffering with significant A/V sync problems using AGK v2.7 to convert in-sync DVD video input to both Xvid & DivX output, with quality settings in the 80% + range.

[The same DVD input & processed with alternative shareware
produces in-sync results, but in smaller frame size & quality versus AGK & it's wonderful 'batch mode' feature.]

I don't mind running Virtual Dub Mod to adjust the audio +/- as a post AGK step, but don't want to "spend-my-life" hunting for just-the-right 'time' correction by trial & error.

What 'diagnostic' freeware or shareware program, tool or suite exists to easily load & quickly report how many + or - MS's the AGK *.AVI is out-of-sync? Bonus would be to also report 'constant' vs 'growing' sync timing.

Thanks for Help!

Running XPPro, Intel P4 3.4, 4 Gigs Ram & 4 Gigs Cache

kis2005
10th April 2006, 00:00
I was able to fix all of my synch problems. The issue was that I unknowingly got bad rips that didn't effect the DVDs playing but caused the audio to be out of synch when processed with Auto GK. I've been able to use PGCedit's PSL2Plug-in to rip with DVD Decrypter and clean up the files with FixVTS (I never had to use VOB blanker with the plug-in, but it is an option.) I found that I was able to use it on ARcoOS or Rip Guard protection even though it is inteded for ARcoOS. You can find the Guide here:http://forum.digital-digest.com/showthread.php?t=56078 and the Plug-in here:http://forum.digital-digest.com/showthread.php?t=58318The only other thing that I changed in backing up my DVDs is that I have chosen to have DVD Decrypter to create and ISO and burn it to disc after DVD Shrink is finished. Now this last step I don't think was the main issue, but reading up on it (and I could be wrong) the added "Crap" that these protection schemes add, maybe also effecting the way Nero (which I usually use) burns the discs. This may cause a problem at the next step when I Rip the movies in IFO mode for Auto GK...this is only my opinion. So what ever the issue(s) and causes were, I have clean rips and no synch errors with Auto GK. I hope this helps.

Tae
10th April 2006, 00:55
It may help me...I guess I will go back to reripping the Disk.

What I don't understand is why Nero Recode can handle the sync problem but neither GK or Auto GK can. I want Divx AVI's because they are more widely recognized correctly than Nero Digital.

kis2005
10th April 2006, 18:31
I want Divx AVI's because they are more widely recognized correctly than Nero Digital.

You are correct about that. I started with XviD and both seem to be used more than Nero Digital.

StanHere
10th April 2006, 22:10
Thanks kis2005 but I need to correct the out-of-sync audio at the "post AGK" finished AVI stage. ARcoOS protection is not the issue with my souce DVD vob material.

'Direct Stream processing' with VirtualDubMod apears to be the most efficient way of modifying audio timing but is a lengthy 'trial & error' method if one does not know how much + /- the timing is actually off.

Consequently...........

What 'diagnostic' freeware or shareware program, tool or suite exists to easily load & quickly report how many + or - Milliseconds the AGK *.AVI is out-of-sync?

Bonus would be to also report 'constant' vs 'growing' sync timing.


I have tried "Re-derive keyframe flags [indexes]' with VitualDub v1.62 but the processing stage crashes 1/2 way through; reporting "Crash reason: Integer Divide-by-Zero +Crash context:
An integer division by zero occurred in module 'xvidcore'....

Thanks for Help!

Running XPPro, Intel P4 3.4, 4 Gigs Ram & 4 Gigs Cache

darkpepe
10th April 2006, 22:34
What I don't understand is why Nero Recode can handle the sync problem but neither GK or Auto GK can.

Would be great if anyone could look at this.

The way I see it it's a bug, and telling us over and over again that we're ripping the DVDs the way we shouldn't, is not going to solve it.

Thx

Tae
11th April 2006, 00:33
Would be great if anyone could look at this.

The way I see it it's a bug, and telling us over and over again that we're ripping the DVDs the way we shouldn't, is not going to solve it.

Thx

It could just be something the programmers that work on Nero discovered with new copy protection and solved it while the guys that do GK just don't know about it. So not really a bug, just something in newer DVD's to trip up ripping software. Kinda expected since Nero is not freeware while GK is.

kis2005
11th April 2006, 14:36
Thanks kis2005 but I need to correct the out-of-sync audio at the "post AGK" finished AVI stage. ARcoOS protection is not the issue with my souce DVD vob material.

'Direct Stream processing' with VirtualDubMod apears to be the most efficient way of modifying audio timing but is a lengthy 'trial & error' method if one does not know how much + /- the timing is actually off.



StanHere - I'm not saying that your synch issue is do only to ARcoOS but it could be due to Rip Guard or some other varient. I have had a lot of new releases that played fine in my players, but when processed through Auto GK, came up with audio our of synch. After I re-ripped them and processed them with PGCedit's PSL2 Plug-in, that uses FixVTS as the primary tool to clean the ripped files, whether or not a PSL2 file was created (only if ARcoOS protected, not if it's Rip Guard), I then re-ran in Auto GK and had no synch problem. So my synch issues were do to bad rips that only affected Auto GK and not DVD Shrink.

So if all you want to do is to reprocess 1 title that fine, but if you keep getting similar synch issues, the above method has corrected all of mine.

So good luck and if I find anything else similar the VDubMod, I'll past it on.

kis2005
11th April 2006, 14:41
It could just be something the programmers that work on Nero discovered with new copy protection and solved it while the guys that do GK just don't know about it. So not really a bug, just something in newer DVD's to trip up ripping software. Kinda expected since Nero is not freeware while GK is.

Tae - I think your on to something. They may be targeting MP4 or XviD / DivX backups. The movies can be backed up to DVD but have issues when converted to mobile or steaming media?

Tae
12th April 2006, 03:07
Tae - I think your on to something. They may be targeting MP4 or XviD / DivX backups. The movies can be backed up to DVD but have issues when converted to mobile or steaming media?


I researched and found that Narnia in particular has some new Ripguard protection in it that a lot of people had problems with until newer versions of AnyDVD came out. Dvd Dycrypter seem to rip it fine, but did not create perfect rips. Apparently Nero and DVD Shrink would throw an error when trying to burn the backup disk. I honestly have not tried to back up the DVD by burning another since I am not intending to use the DVD for playing. I wanted an AVI for XBMC that I can stream on off my PC, it seems XBMC has some trouble with Nero Digital so I was trying to create an AVI instead. I started with Robot4rip and GK, then moved onto Auto GK because of the sync trouble. Neither worked.

For now I went ahead and just created Nero Digital versions split across 3 CD's because about 700 mb is XBMC filesize limit on Nero Digital files before I start having troubles. Any bigger and they just won't play right. I just modded my Xbox, so I am going through my DVD collection adding stuff I enjoy repeated viewing a lot. So I did not want to keep messing with Narnia. I will probably go back to it later. I am new to creating AVI's, just never had a real purpose for it before I got XBMC.

I do find it odd that Nero has a problem burning Narnia but had no problem encoding an MP4 of it.

kis2005
13th April 2006, 03:30
I used PGCedit's PSL2 Plugin which ran it through FixVTS to clean up fake files and had no problem with either DVD backup or Auto GK w/ XviD after that.

DP558-User
13th April 2006, 19:04
Hello people

First of all, thanks to len0x for a great tool!

I have an admittedly minor but still annoying problem that I wonder if anyone else has come across.

I frequently encode a number of VOB-files to DivX with AutoGK. These VOB-files come from my KiSS DP558 harddisk recorder.

Regardless of what I do I get the same error: The audio and the video are out of sync. Fortunately I know how to fix it: VirtualDubMod's Interleaving-stuff, so there is no great problem, but I am still curious.

Recently I turned on the ".debug" option in "Hidden Options" in AutoGK and this gives a clue to what is going on: All the audio files include the phrase "delay 152ms" in their name. So I simply tried using that as the correction in VDubMod (-152 as 'Audio skew correction'). This was spot on, so that makes me wonder why AutoGK introduces the delay in the first place??

Any thought?

Settings:
Target Quality: 70%
Encoding to DivX
Resolution: Auto Width
Audio type: 128Kbps CBR MP3 (KiSS player won't play VBR)

setarip_old
13th April 2006, 22:40
Hi!that makes me wonder why AutoGK introduces the delay in the first place??I'd sooner suspect that your recorder is creating the files with an audio delay.

As an experiment, try ripping a commercial DVD to your hard drive and see if the same delay is introduced...

DP558-User
13th April 2006, 23:16
I'd sooner suspect that your recorder is creating the files with an audio delay.

That would seem logical. But the original VOB-files from the recorder play without a hitch and with perfect sync in various media players on the same PC where I run AutoGK.

setarip_old
13th April 2006, 23:39
That would always be the case anyway - if the created DVD "package" included reference to such a delay.

I'd still suggest you try the experiment I mentioned ...

Dragon Shenron
15th April 2006, 22:21
There still may be something with DGIndex. It corrects the field order of Rip Guard protected titles, which when opened, seem kinda interlaced. The "bad" d2v looks well, without the "interlace effect".
Maybe it doesn't detect properly the audio delay for this titles 'cause of some left behind crap in the vobs?:confused:

DP558-User
16th April 2006, 01:07
That would always be the case anyway - if the created DVD "package" included reference to such a delay.

I'd still suggest you try the experiment I mentioned ...
OK. I tried it with a DVD. Works perfectly. So I guess the recorder is at least partly to blame. I'd still like to understand what's going on though...

newuserxyz
18th April 2006, 10:14
Hi! ... I started this thread 6 weeks ago ... I allways had the problem that audio and video are not synchronous when creating divx's with AGK.
The solution for that problem is quite simple: I had no AC3 codec installed (I installed a codec package that promised it would include all codecs you need ;-)... ). After installing the AC3 codec everything works fine. All films are synchronous, even those I created before the installation of the AC3 .....
What I don't understand is the fact the AGK can use the AC3 option when no codec is installed and even vlc could play the divx (with audio delay). WMP didn't play a sound so I found out that I didn't have the codec installed.

greetz newuserxyz

CWR03
18th April 2006, 10:58
Simply put, AutoGK doesn't need anything installed to use AC3 because it's just copied from the source and muxed directly into the new container with the video.

newuserxyz
18th April 2006, 13:43
hhmm - that's true ... but how is vlc able to play the movie without the codec?

CWR03
18th April 2006, 20:01
VLC contains its own codecs and decodes the file within itself.

gsgleason
19th April 2006, 00:11
question - Can PGCedit's PSL2 Plugin rip a disc in IFO mode? It always seems to use file mode and only file mode when I use the wizard.

I'm still trying to get narnia to work with autogk. I'll stay away from dvdfabdecrypter, it seems. It's done nothing but foul things up for me.

setarip_old
19th April 2006, 01:16
Can PGCedit's PSL2 Plugin rip a disc in IFO mode?Nope...

kis2005
19th April 2006, 02:58
question - Can PGCedit's PSL2 Plugin rip a disc in IFO mode? It always seems to use file mode and only file mode when I use the wizard.

I'm still trying to get narnia to work with autogk. I'll stay away from dvdfabdecrypter, it seems. It's done nothing but foul things up for me.

I was able to backup Narnia by first processing with PGCeidit using the PSL2 Wizard and then burning a new disc, which I then used as the source to Rip in IFO mode and processed with Auto GK. Kind of a pain, but it worked and I was also left with a clean DVD.

jeanl
3rd May 2006, 20:35
Guys,
For those of you interested in some technical details on the audio/video delay that you get when dealing with protected DVDs, I can probably explain a little bit.
The protected DVDs all have in common a specific structure that seems to throw off AutoGK: the movie PGC starts with a few tiny "blank" cells (video is black and no audio). This is followed by the "normal" movie cells.
This is an example of such a structure, from the producers R2. The "tiny cells" are circled in red. The actual movie (the studio logo) starts at VCID 2/1. Playback between 1/5 and 2/1 is not supposed to be seamless as you can see from the cell flags.

http://img303.imageshack.us/img303/3814/bad14ss.png (http://imageshack.us)

The problem arises from the fact that these tiny cells are not meant to be played seamlessly with the main movie. In other words, in your DVD player, the cells are played (they last only a couple frames), and when you get to the start of the movie cells - VCID 2/1 above - , the audio and video are resynched perfectly (because the first movie cell isn't flagged for seamless playback so the video and the audio are resynched at this point).
I'm guessing that Nero also notices that and resynchs the audio/video at the start of the real movie cells which is why you don't see the a/v bad sync with nero.
Unfortunately, it appears that his is not the case for AutoGK/DGIndex: all the cells in the movie PGC are played as if they were seamless, and this results is some amount of audio/video delay. In the example above, the delay was over 1mn (technically, because the start PTS of the first tiny cell was 25257 and the PTS of the first audio frame - in the first real movie cell - was 5555454).

One solution which has been mentioned in previous posts is to simply remove these dummy cells, and make it so the movie PGC starts with the first real movie cell. This is exactly what the psl plugin does (well, to be exact, it removes the cells from the PGC, then FixVTS or vobblanker removes the corresponding material from the VOB).

But this problem isn't specific to protected DVDs. I'm guessing that any DVD with such a structure (a few cells at the start of the movie PGC, not meant to be played seamlessly with the actual movie cells) would introduce the same kind of problems in AutoGK. The tiny cells in question are not "protected", they're regular black-frame cells, with nothing wrong with them.

In short, there's nothing *really* wrong with such DVDs (other than the protection but that's another story). I'm not sure what needs to be fixed to avoid that problem though, as I'm not familiar with the inner workings of AutoGK...

jeanl

darkpepe
3rd May 2006, 23:15
It had to be DGIndex, no doubt. Now the question is, how to fix it.

Thanks for throwing some light onto the issue!

jeanl
3rd May 2006, 23:20
I can see two ways of fixing it:
1) Kludge: manually adjust the start_pts value of the first navpack to match the start_pts value of the first real movie cell. This is a kludge, not easy to do automatically because you have to figure out exactly where the actual movie starts, and that's not always very easy.
2) Make DGIndex be a bit smarter about how it syncs the audio and the video, but this might be harder to do that I imagine. Essentially, DGIndex should use the audio and video PTS to make sure both are in sync. Maybe that's what it's currently doing, but it looks like it isn't...

Jeanl

neuron2
4th May 2006, 02:19
I will first tell you what is happening in DGMPGDec (DGIndex/DGDecode) and then muse about solutions.

DGMPGDec is designed to decode video from an MPEG1/2 stream and deliver it via Avisynth. AVI does not include presentation timestamps, so there is no way to dynamically change the audio-video offset when playing an AVI. When playing MPEG, however, the timestamps allow the sync to be tracked. (Discontinuous timestamps and sync offset changes are common in broadcast environments.)

Currently, DGIndex determines the offset to be used for the entire AVI once at the beginning of the video.

The problem is not limited to DVD, and your situation is just one example of discontinuous timestamps, so fixing it at the PGC level would not be enough.

At a minimum, a timestamp dump can be added to DGIndex. You would be able to see abnormal conditions that might require processing ranges in different projects.

A good thing to do would be to convert the stream to a constant offset stream by inserting/deleting audio/video as needed. Maybe this needs to be a high priority now. Currently, ProjectX is often used to clean up discontinuous streams.

jeanl
4th May 2006, 05:06
neuron2, thanks for the explanation.
Currently, DGIndex determines the offset to be used for the entire AVI once at the beginning of the video.
This explains why we see the video/audio mis-sync: you're computnig the offset from the beginning of the video, and in this case, this results in a 1mn delay.
This also shows that your idea of a "constant offset stream" would not be convenient here: you'd have to insert 1mn of black video between the last cell of the first VOBID and the first cell of the second VOBID, hardly the desired outcome...
I don't know what Project X is, but it's good to know that it can be used to solve such discontinuity problems!
Jeanl

neuron2
4th May 2006, 14:33
This also shows that your idea of a "constant offset stream" would not be convenient here: you'd have to insert 1mn of black video between the last cell of the first VOBID and the first cell of the second VOBID, hardly the desired outcome... Not necessarily. You can just delete the unwanted crud at the beginning.

weaver4
6th May 2006, 13:50
No one mentioned the way that I do it so I thought I would chime in. My approach is not free but the authors do keep their software well updated. So if you are only interested in free software stop here.
---------------------------------------------
I use anydvd to rip the DVD to my hard drive. Then I use either CloneDVD2 (also from slysoft), Nero Recode, or DVD shrink to rip the main movie, with the audio/subtitles I want. I set these programs to no compression. Then I take the result and use it to feed AutoGK. No sync problems with any movie.

Vanderlow
8th May 2006, 18:26
I AG an adult film and it's audio was out of sync. I swore I did this film a year ago (and another one) with no audio problems. I believe it has no protection. I now converted the film using the same rip in Divx 6.2 Create and the audio was spot on.

zaldwaik
19th June 2006, 15:31
I record HDTV (ATSC) to my computer, edit commercials with VideoRedo. The result is excellent. I try to encode with AutoGK, and I alwas run into a sync problem. The AC3 sound gradually goes out of synch, it trails the video. I tried to fix it with VirtualDubMod using the method described earlier in this thread, however, the problem stays with a different direction, the sound goes out of synch gradually, but the audio is now ahead of the video.

Any ideas?

CWR03
19th June 2006, 21:29
Yes, it is the norm to have such synch issues with captured material converted with AutoGK. There are a number of solutions that you should be able to find with Search.

klingonscum
25th June 2006, 03:51
I've got an audio/video sync issue too, but it's a slightly different scenario than what I've read on this thread so far in that I'm keeping the original AC3 soundtrack... Here's the details:

Movie: The Incredibles, ripped to HD with DVD Decrypter. When I run AutoGK on the rip, it's scenario #2 from the beginning of this thread: sound starts out about in sync, and ends seriously out of sync by a few seconds by the end of the movie. But I'm using the original AC3 soundtrack, not converting to MP3 or VBR or any of that.

I tried the "Run VirtualDub, under 'Video', 'Framerate' hit 'Change so that video and audio durations match'" recommended solution, and let it process. No effect - in fact, I'm not certain, but it might even be worse by the end of the movie.

Oddly, when in VirtualDub, when I hit the play button, I get this error message: "No audio decompressor could be found to decompress the source audio format (source format tag:2000)" which sort of makes me wonder if VirtualDub can't handle AC3...

--KS

jggimi
25th June 2006, 13:36
0x2000 = ac3, that's ok.

Vdub can't deal with the stream for playback/transcoding. Since you use it with Direct Stream Copy, that shouldn't matter.

klingonscum
26th June 2006, 06:30
Well, I tried a third time to get "The Incredibles" to convert doing a complete re-rip with DVDDecrypter first, but I still have the progressive audio sync problem. This time, however, I discovered something interesting (and the first couple of times it was like this as well, but I didn't notice).

Specific details: First, I did a complete new rip with DVD Decrypter in File mode - no errors, and this rip plays just fine for me directly. I AutoGK'd it this time off of VTS_01_0.IFO, selected the English AC3 6ch soundtrack, No second audio track, No subtitles, and in the Advanced Settings I set it to Minimum Width = 720, Original (AC3) output audio type, and left "Display only forced subtitles" and "Use external subtitles" UNchecked.

After running the conversion, I opened the AVI file. Soundtrack seemed to be relatively in sync at the beginning where they're doing the "hero interviews" - but then, just after that part, something really weird happens - at the 00:02:03 minute mark, where it does the stylized "Incredibles" text graphic intro, the audio and video starts "triple stuttering" - it plays the same second of AV three times in a row, then then next second then the next. And the graphic of the text "The Incredibles" changes in each of the three seconds. The first time it reads "The Incredibles", the second time "Los Increibles", the third "Les Incroyable". This triple stuttering goes on until 00:02:30 - basically, 9 seconds of "real" movie takes up 27 seconds there at the beginning because each second is repeated three times.

Then, it's back to normal - no more stuttering, audio in sync (or very close) but by the end of the movie, out of sync by 3-4 seconds.

So. Do I have a bad initial rip from DVDDecrypter? No errors are occuring and it plays fine in Zoomplayer that way. Or are my initial settings in AutoGK bad somehow? Or do I just need some post-processing with VirtualDub (and remember, I tried Virtual Dub with both audio and video set to "Direct Stream Copy" and selected "Video | Frame Rate", "Change so video and audio durations match", and it almost seemed WORSE after that).

This is a weird one.

--KS

CWR03
26th June 2006, 08:09
In order to prevent the multiple angles (or in this case, language titles) from ripping together into one .VOB, you need to decrypt in .IFO mode. This will solve all your problems at once.

klingonscum
26th June 2006, 20:40
In order to prevent the multiple angles (or in this case, language titles) from ripping together into one .VOB, you need to decrypt in .IFO mode. This will solve all your problems at once.

Thank you - I'll give that a shot tonight and post how it goes.

--KS

klingonscum
27th June 2006, 15:35
In order to prevent the multiple angles (or in this case, language titles) from ripping together into one .VOB, you need to decrypt in .IFO mode. This will solve all your problems at once.

That did the trick! Thanks a lot, really appreciate it.

CWR03
28th June 2006, 02:04
Glad to have helped - as long as the DVD can be successfully ripped by DVD Decrypter it will work, though some ARccOS-protected disks will yield an end file with usually a 1500ms delay in audio. This is quickly and easily fixed with VirtualDubMod.

klingonscum
30th June 2006, 14:20
Ok, next dumb question - I'm trying to convert LotR - Fellowship, but it's the extended version where the movie is spanned across two DVDs. How do I get that into a single seamless AVI? I'm assuming I probably have to rip and convert each into its own AVI and then there's a joiner tool out there?

jggimi
30th June 2006, 19:02
The easiest way to combine a 2-disc set into a single seamless .avi is with VobEdit. Search for "fotr:ee" or "lotr:ee" to find many threads discussing both VobEdit and alternatives.

the_observer
4th July 2006, 19:42
Hi all,

i've read this thread but unfortunatelly i have not seen something like the problem which happened to me.

Well, here it is.
I have a 12 dvd series documentary.
Not copy protected (i think)
As always i used autogk with default settings cause i never had problems with that (i make minor adjustments about lenght for example e.t.c.)
So i managed to rip all dvd's but i have one problem with only one of them.
Well in this one i have an out of synch problem at a specific point of the movie.
In that point it seems as there are two episodes merged.
What i mean is that the movie starts ok.At about 3/4 of the dvd i see end titles ,probably the chapter ends and they have another chapter after it.
Well right after the chapter finishes (end titles) the movie on the dvd continues and it starts another chapter.From there and on i have out of synch problem.

I am a newbbie and i am afraid that maybe i havent described you my problem correctly.Letshope that you understood it as i decribed it and you have a proposition to tell me.

What i thought to do was that maybe i could autogk the vob files of the dvd one by one but then i have no subtitles :(

Any solutions?

Thx mucht for your time reading this.

manono
4th July 2006, 21:02
Hi-

Did you decrypt using DVD Decrypter in IFO Mode, as you should have? It's up at the top (Mode->IFO), and isn't the default setting.

the_observer
6th July 2006, 15:48
We r talking about autogk right?
I cant see anything at the top saying about mode....

Gehenna
6th July 2006, 16:09
He is asking how you actually got the episodes onto your hard drive (in what mode did you rip?)

If you rip in IFO mode in DVDD,you can normally just select EACH episode in turn,giving you complete episodes each time

manono
6th July 2006, 16:39
Up at the top of DVD Decrypter. Thanks, Gehenna.

the_observer
6th July 2006, 19:56
Being a moderator in another forum i can really bear with you when not having good explanations from the newbbie about his problem. So please forgive me for not explaining right to you.

Well i put the dvd inside.
I just select as input file the IFO from the dvd.
There are 2 *.IFO files.

When i import the one i get a parse error.
So i use the other and it asks me which pgc i want.
The one PGC is about 3 hours (probably the episode)
The other is about eleven minutes (probably the intro)

So i choose the 3 hours pgc.
After it finishes the job i view the newly created avi and as i said to previous message everything is going allright until at about 3/4 of the newlly crated avi the audio problem starts.

I hope i explained better this time...

Thank you for reading this...

CWR03
6th July 2006, 21:02
I just select as input file the IFO from the dvd.
In what program? DVD Decrypter oe AutoGK? AutoGK does not support individual episode ripping. In order to do this you need to download and install DVD Decrypter and use IFO mode, then you should be able to select and rip each episode one at a time from a list on the top right side. This is a separate process done before opening AutoGK.

the_observer
10th July 2006, 18:46
K mates,

i will try what you tell me.
I will first rip with dvd decrypter and then use autogk

Thx 4 your answers...